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

What is the difference between getting and get late?

727


What are the dis-advantages of logical databases? : abap hr

790


How can you find the field/data underlying a transaction?

752


Explain get cursor field?

835


Explain what are the events in screen programming?

706






What is the different between template and a table?

731


How can we send data to external programs?

795


hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp

3367


What is the full form of spro? : sap abap hr

875


THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15992


If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?

1103


when does a list get sent to the screen on the presentation layer?

1575


wht is the diff. b/n initialization and lotus of event

1556


if while coding power goes off , how to retrieve the codes?

1770


What are the ways you can do the tuning?

683