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
In which time constraint does the infotype records depend on the subtype ? : abap hr
How do you control printer functions from sapscript?
How is the command suppress-dialog useful?
How to eliminate duplicate entries in internal tables? : abap data dictionary
How do you import pay scale data from non sap to sap? : sap abap hr
What is a batch input session? : abap hr
What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary
Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.
Explain what is an rfc?
How will you define posting procedures?
Can a transparent table exist in data dictionary but not in the database physically? : abap data dictionary
What are field symbols?
Why we are using Macros instead of Function Modules
What are the different functions used in sap script?
Where do you create indexes in abap?