Answer Posted / narasimha reddy
Bdc Approach is Screen and function code interface.
When enter the screen we required enter multiple Data
same screen.
example va01. at enter qty and material fields. if system allowed only Limited entries. after press enter system allocated some entries. finally save button.
This logic recorded in SHDB Transaction.
loop at it_vbap into wa_vbap.
concatenate 'VBAP-AMTNR(' V1 ')' Into field.
perform sub_fld v1 wa_vbap-matnr.
" we assum system allowed 5 entries after enter data again 5 fields allowed.
v1 = v1 + 1.
if v1 = 6.
v1 = 1.
perform sub USING 'BDC_OKCODE. '00/'.
PERFORM SUB1 USING 'SAPMV45A' '4100' 'X'.
perform sub USING 'BDC_OKCODE. '00/'.
endloop.
ABOVE CODE FOR SAMPLE .
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to load data from ms excel sheet to sap by using bdc method ? : abap bdc
What is the use of program rsbdcsub? : abap bdc
What is the difference between abap and hr abap? : abap hr
did u done enhancement framework?how u implemented?
What is the tcode for sapscript forms?
What are two methods of modifying sap standard tables? : abap data dictionary
What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary
What is the modification assistant?
How to call a subroutine in sapscript?
hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.
how can we use the text randomly or circularly in smartforms.... means... suppose i have 'abap' horizantally... but i want it in vertically... how can... plz any body tell me this....
Give few names of pooled tables in sap ?
What is difference between dependent and independent data?
Events that can be used in both the classical and interactive reports