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 Solve a Particular Ticket in Realtime ?
What are user exits? What is involved in writing them? What precations are needed?
How to determine the attributes of an internal table?
Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.
What are aggregated objects : abap data dictionary
what is the difference between Blocked ALV and interactive ALV?
Can you delete data element, which is being used by table fields?
What is payroll driver ? : abap hr
There is 1 person but it’s displaying that this person cannot be booked. He is not available for the business event. Can you tell me where is it going wrong? What can be the reasons? : sap abap hr
Why do we use logical blocks in abap program?
Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary
How would you set the formatting options statically and dynamically within a report?
What are the parameter types for a method?
what is the exact code that shoud be implimented in sap note
Performance tuning techniques