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

How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

952


What is the use of program rsbdcsub? : abap bdc

856


What is the difference between abap and hr abap? : abap hr

828


did u done enhancement framework?how u implemented?

5279


What is the tcode for sapscript forms?

856


What are two methods of modifying sap standard tables? : abap data dictionary

931


What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?

804


What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary

835


What is the modification assistant?

774


How to call a subroutine in sapscript?

780


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1747


how can we use the text randomly or circularly in smartforms.... means... suppose i have 'abap' horizantally... but i want it in vertically... how can... plz any body tell me this....

1845


Give few names of pooled tables in sap ?

1706


What is difference between dependent and independent data?

768


Events that can be used in both the classical and interactive reports

1324