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 create a link between modified form and modified print program?
What are the events used in abap in the order of execution?
How is conversion of data types done between abap/4 & external level?
Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?
What is the transaction code to display the payroll results ? : abap hr
What is the use of dequeue function module? : sap abap data dictionary
What do you understand by work area and internal tables in abap? Why do we use it?
Name a few data dictionary objects? : abap data dictionary
What is sap locking?
How do I find the output type of a table or a program?
How do you Export a session ?
what precautions or prerequisites do you follow to update a record into database table and how
Explain what are standard layouts sets in the sap script?
What are the different attributes that can be assigned to a variant?
Explain the Inportance of pa40? : abap hr