1. why SAP scripts are client dependent and smart forms are not?
when we create a smartform in development server its automatically will copy to the testing server like other
classical report becoz it generates a function module after creating a smart form.but in sap script it will not copy to
the testing server, we have to use scc1 transaction code to transfer the request then only we can test the output.so the
sap script is client-dependent.
2. Table ztest has a secondary index on the following fields: tnum, tcode.
Select * from ztest where tnum ne '123' and tcode = '456'.
Why is the index not used in the above case?
a) Indexes are not allowed on Z tables
b) Variables must be used, NOT literals
c) Select individual fields, not select *
d) Client is not in the where clause
e) NE invalidates the use of an index
Info: Can someone explain in detail why this happened? It will be really helpful to handle to case in Secondary index.
In my opinion, the correct answer is E: NE invalidates the use of an index
3. How many types of table types?
There are 4 types of tables:
1). Transparent tables
2). Pooled Tables
3). Cluster tables
4). Internal Tables
4. how to call the smart form from the report?is it Possible or not?
yes it is possiple to call smartform from a report, all we have to do is at first execute the smarform once, it will
generate a function module number.
Go to the report where to call the smartform call the funcntion module(ctrl+f6)give function name
SSF_FUNCTION_MODULE_NAME press enter. In the export parameters FORMNAME give the smartform name within single
codes and in import parameters FM_NAME (F_NAME TYPE RS38L_FNAM ), give F_NAME which stores the function module
number generated after executing the smart form.
5. How you can perform field-validation in your dialog program ?
You can validate your fields in the PAI module of the program by placing them between the CHAIN & ENDCHAIN Statement.
6. Which configuration we have to make first before we want to start Business Workflow with our SAP R/3
The first of all you should check the TCODE: SWU3 Then config step by step according to the tcode screen.
7.WHAT IS FIELD-SYMBOLS?
Fields symbols are just like pointers in C. They points to the data object at runtime but do not allocate any memory for that data object.
8. WHAT IS TABLE BUFFERING AND ADVANTAGE?
TABLE BUFFERING IS USED TO IMPROVE PERFORMANCE OF OPEN SQL STATEMENTS.
TABLE BUFFERING IS NOTHING BUT STORING THE CONTENTS OF THE DB TABLES IN THE APPLICATION SERVER BUFFER.
BUFFERING IS OF THREE TYPES.
1) SINGLE RECORD BUFFERING
2) GENERIC BUFFERING
3) FULL BUFFERING
9. WHAT IS THE USE OF SECONDARY INDEXES AND WHAT IS MAX LIMIT OD SECONDARY INDEXES?
SECONDARY INDEXES ARE USED FOR FAST RETRIEVAL OF DAT FROM THE DB TABLES.
WE CAN CREATE MAXIMUM OF 15 SECONDARY INDEXES.
10. WHAT IS TCODE TO CREATE NEW MESSAGE TYPE?
We use these t-codeS in the case of IDOC's only :- WE81 TO CREATE MESSAGE TYPE
WE82 TO LINK MESSAGE WITH IDOC TYPE
But if we want to create a message in ABAP report then we use the following t-codes:
se91 for message maintainance.