16 January 2014

SAP ABAP QUESTIONS & ANSWERS-4



SAP ABAP QUESTIONS & ANSWERS-4 :-


Q. Normally how many and what files get created when a transaction program is written ?  What is the TOP program ? 
ANS:-
ABAP/4 program.
DYNPRO

Q. What are the include programs ? 

ANS:-
When the same sequence of statements in several programs are to be written repeadly they are coded in include programs (External programs) and  are included in ABAP/4 programs.

Q. Can you call a subroutine of one program from another program ? 
ANS:-
Yes- only external subroutines Using 'SUBMIT' statement.

Q. What are the general naming conventions of ABAP programs ? 
ANS:-
Should start with Y or Z.

Q. How do you find if a logical database exists for your program requrements ? 
ANS:-
SLDB-F4.

Q. How do you find the tables to report from when the user just tell you the transaction he uses ? And all the underlying data is from SAP structures ? 
ANS:-
Transcode is entered in command field to open the table.Utilities-Table contents-display.

Q. What are the different modules of SAP ? 
ANS:-
FI,CO,SD,MM,PP,HR.

Q. How do you get help in ABAP ? 
ANS:-
HELP-SAP LIBRARY,by pressing F1 on a keyword.

Q. What are the different elements in layout sets ?
 
ANS:-
PAGES,Page windows,Header,Paragraph,Character String,Windows.

Q. Can you use if then else, perform ..etc statements in sap script ? 
ANS:-
yes.

Q. What takes most time in SAP script programming ? 
ANS:-
Layout design and logo insertion.

Q. What are presentation and application servers in SAP ? 
ANS:-
The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server.

Q. In an ABAP/4 program how do you access data that exists on a presentation server vs on an application server ? 
ANS:-
i)using loop statements.
ii)flat 

Q. What are different data types in ABAP/4 ? 

ANS:-
     Elementary - 
     predefined C,D,F,I,N,P,T,X.
     userdefined TYPES.
 ex: see in intel book page no 35/65
     Structured - 
     predefined    TABLES.
     userdefined Field Strings and internal tables.

Q. What has to be done to the packed fields before submitting to a BDC session. 
ANS:-
     Fields converted into character type.

Q. What is the structure of a BDC sessions. 
ANS:-
      BDCDATA (standard structure).

Q. What are the fields in a BDC_Tab Table. 
ANS:-
      program,dynpro,dynbegin,fnam,fval.

Q. What is the difference between a pool table and a transparent table and how they are stored at the database level. 
ANS:-
Pool tables is a logical representation of transparent tables .Hence no existence at database level. Where as transparent tables are physical tables and exist at database level.

Q. What is cardinality ? 

ANS:-
For cardinality one out of two (domain or data element) should be the same for Ztest1 and Ztest2 tables. M:N


No comments:

Post a Comment