Multiple Line items
hi all SAP gurus,
Iam trying to upload excel file(test data file) to va21 and va22 transcation using a chain script where iam calling these individual scripts by using REF command in eCATT editor.The issue iam facing is i have done TCD recording for va21.I have declared IT_linedata as export parameter of the type VBAP.From the test file iam capturing the line items corresponding to various quotations in this it_linedatatable.This internal table has to be exported to va21 script where i have declared this as import parameter.The problem is how to assign this itab values containing material and quantity to the command interface parameters .
'S' 'BDC_CURSOR' 'RV45A-KWMENG'
'S' 'RV45A-MABNR(01)' V_MATNR
'S' 'RV45A-KWMENG(01)' V_KWMENG
something like above.
i need to automatically increment this command interface parameters using inline ABAP code according to items given in the test file.
I would highy appreciate if anyone can get back to me with the inline ABAP code.
I know how to do this in bdc but as iam currently working on this scenario would appreciate ur help.
thanks and regards,
parvez
ABAP consultant