How to handle table control in BDC?

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


Please Help Members By Posting Answers For Below Questions

Explain the concept of clusters in payroll

2121


If yes then why do we require logical database

2695


How do you set up background jobs in sap?

561


Difference between sap script and report?

741


Explain sap abap 3-tier architecture?

729






What is sequence of event triggered in report?

594


What are matchcodes?

550


Explain the advantages/disadvantages of logical databases?

555


Explain different types of locks?

558


Explain what are the different functions used in sap script?

542


how do you transport lsmw data from one system to another?

649


What are the components of sapscript?

621


What is evaluation path, where do we do it and why? : sap abap hr

562


Define structure in abap data dictionary?

609


8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?

1606