2007 Mar 11 5:26 AM
Hi,
I have written a BDC program for the transaction VA01 using the session method.The incoming data is in the form of two files - header and detail.Hence, there are two internal tables- one for header and the other for detail. After calling GUI_UPLOAD twice and calling BDC_OPEN_GROUP, I have used one loop for header internal table where the header data enters the BDCDATA internal table and within this loop, I have used a loop for detail internal table where the detail data enters the BDCDATA internal table. Thus, the recording values are split into header and detail.Then, I have called BDC_INSERT. However, when testing the program using a flat file, only the header data enters the database. Also, there is a field MABNR(01) for material number in the BDC recording whose source SAP structure is RV45A. However, the file format requires the source SAP table to be VBRK i.e. the data should enter VBRK table. Please help.
2007 Mar 11 1:43 PM
Hi ,
When you create a recording for VA01 data cannot enter table VBRK
Because VBRK IS BILLING table and VBAK is order table for Billing transaction is VF01 .
pLEASE REWARD if useful
2007 Mar 11 1:43 PM
Hi ,
When you create a recording for VA01 data cannot enter table VBRK
Because VBRK IS BILLING table and VBAK is order table for Billing transaction is VF01 .
pLEASE REWARD if useful
2007 Mar 17 6:28 AM
Thanks for the information, Dinesh.
Now I have another problem.
When I enter Mode of Transport in the header, it does not get copied to the items.
Hence, it shows that the document is incomplete. This happens even when I execute the BDC recording directly using the process button after the recording is created. And hence, this is the case when I execute the BDC program as well. However, in normal cases when we create a Sales order through VA01, if we enter Mode of transport in the header it gets copied to the items and hence, the document is complete.
Please help.
2009 Jul 29 10:19 AM