Application Development and Automation 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: 
Read only

BAPI_SHIPMENT_CHANGE

Former Member
0 Likes
974

Hi,

I'm having difficulties with this FM: BAPI_SHIPMENT_CHANGE. I run the FM and then BAPI_TRANSACTION_COMMIT but no changes takes place in VTTK.

In my scenario I need to update the route and container ID. I put the shipment number, route and container ID to bapishipmentheader, and fill same fields of bapishipmentheaderaction with 'C'. Then I call the FM's and no change takes place

My guess is that error is in the bapishipmentheaderaction. Any ideas what to put there?

br,

Tapsa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

1) Declare a Internal table as type of like the 'Return" table returned by the BAPI.

and then pass this Internal table to the BAPI and finally see the contents of error message in tht table if any.

2) u may need to lock and unlock the concerned table before update by FMs like -

ENQUEUE_E_TABLE and DEQUEUE_E_TABLE

1 REPLY 1
Read only

Former Member
0 Likes
549

1) Declare a Internal table as type of like the 'Return" table returned by the BAPI.

and then pass this Internal table to the BAPI and finally see the contents of error message in tht table if any.

2) u may need to lock and unlock the concerned table before update by FMs like -

ENQUEUE_E_TABLE and DEQUEUE_E_TABLE