Professional Documents
Culture Documents
from
10.
11. What is the difference between One-step and Twostep in Table-Maintenance Generator?
12. Suppose a Database Table Contains say 20 thousand
Records and what is the Best way to get them all to an
Internal Table.?
ANS: In the select statement try to have the fields in the internal table in
the same order as in the table. In ur select conditions see to that u try to
use all the primary fields.
13.
24. Can we get a field from the table? Where the field
name is stored as variable. The field name is obtained
from concatenating the input field.
25.
ANS: When u do ur recording u will have a tab for Next line or Insert. U have
to capture tat in ur recording. If ur tcode doesnt have that in the recording
then u have to set up a page down (=P+) and loop it based on the line entries
u c on teh screen.
26. Suppose we are transfer data through BDC from
legacy to SAP
and their is some duplicate data in
legacy system but we dont
want this in SAP system .So how can we check that this
data is already exist
27. Can we use two transaction code in one BDC like
XK01 & XD01 if yes .how?
28.
ANS: Well in DI mtd u have a std SAP program which does the load based on
ur file. If u wanna know wat is hte name for it. Goto LSMW in the first step u
select the DI method load and when u select the object for material ( I think
it is 0060 or 0030) then it will give u the name of the program that is the
prog which is used by SAp.
FOr runtime analysis, goto tcode SE30. it will options of
transaction/program/etc. Check whichever one u wanan test and enter the
name and hit hte Execute tab (it will be in the middle of the screen). Now
runt he prog/tcode with the input parameters and then coem back to SE30
and in the bottom of hte screen u will see a tab called ANALYZE. Hit on it
and will u see the performance of ur prog/transaction
36. I have a question. In SAP scripts I have to print a currency value only
when it is zero.
ANS: suggested that you place dummy statements under IF/ELSE and see
which one get printed (and if the /E element ever get executed)
NOTE: there is a standard program SF_MIGRATE to migrate scripts to
smartforms.......try it ....if u get any error reply me
36. I am facing a proclem in ALV Ineteractive report. The report is having
data of MARA table on first list and when i double click on any material
number then it should show the detail of material consumption and
remaining stock . How to catch event in ALV Interactive report.
ANS: WHEN '&IC1' is the user command for double click.You read data from
that table using the index like this :
RS_SELFIELD TYPE SLIS_SELFIELD
READ TABLE IT_MARA INDEX RS_SELFIELD-TABINDEX
then u will get only the select matnr..
then Loop at the IT_MARA.
move data from IT_MARA to IT_Detail
and display the data as secodnrary list.
37. i need to know how can i transport an abap query from a development
server to a test server?
38. in ALV reporting when u execute ur report which event gets triggered.
39. can any body send me the code for f4 help & data validation in ALV.
ANS: f4 help - FM : REUSE_ALV_VARIANT_F4
40. what are the tables get updated when we create a sales order?
ANS: VBAK,VBAP,KNA1,KNB1
41. what are the tables get updated when we create a delivery?
ANS: LIKP,LIPS
42. Does Internal Table consists of logical data or physical data ?
43. wats the difference between Work area and Internal table?
Ans: Work area is needed to read record from intrenal table
and apply computation. work area is that it hold only one record at a time by
default it holds last record.
44. Wats the difference between logical data n physical data?
45. How many indexes does a database table contain ?if a
table contain 55 records then how many primary and
secondary indexes are there.
46. Can anyone tell me about Parallel Cursor.
Ans: It will maintain the relationship between the cursor for the original
query (the root cursor) and the cursors for the corresponding subqueries (sub-cursors). This will allow ORACLE to do parallel fetches
from multiple cursors on behalf of an application.
Rows will be fetched asynchronously from the subcursors and returned
to the application as needed.
If TAB1 has n1 entries and TAB2 has n2 entries, the time needed for
the nested loop with the straightforward algorithm is O(n1 * n2),
whereas the parallel cursor approach takes only O(n1 + n2) time.
48.What is full one full implementation?
Ans: Well interesting answers regarding Full implementation. To what I know
a full cycle implementation is implementing SAP for a client who is not using
SAP currently. Say if client is using Oracle and wants to switch to SAP, then u
study the business (Blue Print Phase) and then give the client time estimate
of the Implementation and start decveloping specs for the same (realization
phase).
Then u start developing the data conversions, important reports w/o which
the business cant run, similarly the SAP scripts, Create PO, sales order, etc.,
In doing so u mite have to do Userexits, create Zfields specific for the client,
etc., (Development Phase).
When u r comfortabel wit the Dvelopment then u do ur testing with bigger
chunk of data and then slowly try to do with the Production data (cut over
phase) and then finally u GO-LIVE with no more Oracle. Then u have
Production Support after u Go-live.
49.Do u have any idea about how to create user exits in tcode FB60 ?
Ans:
50.I need to upload a flat file(.txt) with / at the end of fields.
how to upload this into Application server. I need to clean this txt and upload
it.
51.How i verify if the ruquisition is locked by another user ?
57. Is there any specific steps to print bar codes from SAP (from within
Smartforms) including data fetch and printer configurations.
58. How can i read the data in bar code form directly into sap i.e. without
being uploading it to TXT file and then uploading to SAP or in other means
what are the normal ways read bar codes from within SAP.
59. 1. How to transport dependent objects in SAP ABAP Scripts, Text
Elements
Clint dependent Tables (Data Dictionary objects).
60. In Report , Internal tables Itab is initial (0 records), and I used for all
entries for Jtab in this case: Data will come to itab or not.
61. How do we create value table?
62. If we have defined both check table and value table which takes the
precedence?
63. Can a data element exists without domain?
64. How to give the value range(fixed values) for domains and where they
get stored?
65. Is there any standard SAP report which gives a count of the number of
times a program is executed ?
Ans:: Try transaction STAT
66. When we create a customer the information is updated in structure
RF02D and the some tables like KNA1 are updated. How can we find the
tables for master data transactions?
Ans: Go to ABAP Workbench -> Overview -> application hierarchy - SAP ->
follow the customizing based tree for your application. Double click on a
lowest hierarchy level to get for the correct marked development class. Here
you can find all the tables, views, logical databases etc. used for a system
operation.
67. How can I access SAP through Internet?
Ans: SAP has its own Internet transaction Server (ITS) . Other products
include Haht, WebObjects, NetDynamics etc. Each product has its' own
architecture. However to access the database, access paths SAP GUI or RFC
Channel have to be used.
68. How can we transport the standard text?
Ans: Refer note 3355 in OSS for a complete explanation. The SAPscript
objects that should be transported must be written in a transport request.
The entries are as follows:
R3TR FORM NAME (NAME = Name of the layout set)
R3TR STYL NAME (NAME = Name of the style)
R3TR TEXT OBJECT,NAME,ID,L
(OBJECT = Text object, NAME = Text name, ID = Text ID, L = Text language)
If you want to transport a number of texts, you can use report RSTXTRAN to
insert the individual text keys into a correction. The transport request must
be entered and released via the transport system.
69. How to find what transactions a particular user was running for a given
period in the past.
Ans: You may use the transaction - STAT.
70. How to lock an user defined transaction for some time during which no
user can access the same?
Ans: Use transaction SM01. Scroll through the transactions and check
against the transaction to be locked. And after the maintenance is over, go
back to SM01 and uncheck the same to unlock
71. Our ABAP program is working properly in Foreground. Can I schedule it
for background processing on the weekend?
Ans: SAP standard program RSBDCSUB helps you to schedule the job. Create
a variant for RSBDCSUB with the BDC session name.
72. How can we send a mail to the user intimating him that his report/BDC is
completed in background
Absolute X-position
Absolute Y-position
Absolute positioning
Reserved height
Shift to right
UOM = CM
Text title
Line width for text = 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Postscript scaling
Width & Height according to PS scaling
Number of Tiff gray levels (2,4,9) 2
Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Window type CONST
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally in the text element , mention
/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
Please note that if object name is not indicated as 'ZHEX...', the logo may not
be printed!
You will not be able to see the logo in a test print. The same will be printed in
actual printout.
If you are using two logos in the same layout, the names of the logos should
be unique. Say 'ZHEX-MACRO-LOGO1' and 'ZHEX-MACRO-LOGO2'. Else all the
information will be overwritten.
If the logo is not EXACTLY TIFF 6.0 , the same will not be printed.
See OSS notes 5995, 18045, 39031 for some inputs.
75. We want an RFC do the following transactions - MB1A, MB1C,>MB01
(goods receipt/issue).
Ans: Call the RFC INBOUND_IDOC_PROCESS with IDOC_CONTROL and
IDOC_DATA. The structure in the field sdata in the IDOC_DATA are e1mbxyh
and e1mbxyi.