how to use table control in bdc

Answer Posted / muthukumaran

For table control in bdc declare two variable as integer.
set the variable value as 0.In the program before the line
item perform statement set the counter value as 1.
count=count+1.then u hv to use the concantenate
statementfor the line items for example
concantenate '(lfa1-banks('count'))' into cval
perform bdc using cval.
during recording for the line items we hv record for the
next page also for the line item.goto standard tool bar u
hv to press the next page button.
if count=5.
perform bdc using p+ ->this for next page
endif
clear count.

Is This Answer Correct ?    30 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A function module can be called from a transaction screen outside an abap/4 program. State true or false. : abap modularization

571


Exception handling and how does it transfer from called method to calling method?

882


How to find the return code of an stmt in abap programs?

630


Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul

3271


What is sap abap data dictionary?

641






What are the events in screen programming?

626


What is sap abap tables?

631


data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.

1901


Explain the difference between tables and structures?

499


How do you save data in bdc tables? : abap bdc

594


What are the uses of secondary indexes?

563


B -Credit Note report Selection Screen Ranges: Creation date Sales Org Sold to Party Selection condition: Document Category – VBTYP should be ‘O’ Table to be used: VBRK, VBRP,VBPA,ADRC List the CR order types or credit billing type by customer number (or selected customer) and displays the: - Billing Document date (FKDAT) - Customer number (KUNRG) - Name of the reseller (on top of the SAP No) (NAME1) - Billing document number,(VBELN) - order reason (AUGRU_AUFT) - Amount (NETWR) - Currency (WAERK) Group Currency wise, billing type wise sum of Net value. When user double click on field ‘Billing Document #’ , display the document in VF03 Do this using OO ABAP.

2481


Difference between sap script and report?

756


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?

602


Is it possible to run host command from SAP environment? How do you run?

623