Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC for VA02 Transaction

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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