01-07-2005 1:08 PM
Hi,
I would appreciate if somebody can guide me to write BDC for transactions involving table control (Ex. VA02, to change schedule line information for an item not currently visible on the screen).
Thanks in advance.
Regards,
Shyam
Message was edited by: Shyam Khemani
01-07-2005 1:15 PM
Hi Shyam,
I recommend you to use the BAPI:
BAPI_SALESORDER_CHANGE
Go to SE37 -> and Visualize the BAPI
With this you only must pass the value from the Sales Order you want to change, don´t forget the
The Schedule Line that you wanna fill, you can find them in the TABLES: SCHEDULE_LINES inside the BAPI, when you fill this fields don't forget to check with 'X' the same field but in the table SCHEDULE_LINESX.
call function 'BAPI_TRANSACTION_COMMIT' after you call the BAPI.
Regards
Carlos
01-07-2005 1:22 PM
Inside the BAPI, in the TAG "IMPORT" you must fill the ORDER_HEADER_IN and ORDER_HEADER_INX with the information of the Sales Order you will update.
I hope you'll find this information helpful.
01-18-2005 6:42 AM
Thanks for your suggestions, but I was looking for some tips/techniques for writing BDC programs for transactions having table control (in case we don't have any BAPI available).
Regards,
Shyam