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

Create Packing Instruction with BAPI_HU_PI_CREATE

Former Member
0 Likes
2,330

Hi,

I'm using BAPI_HU_PI_CREATE to create packing instructions.

The return is 'S Success' with the right identification number but physically the packing instruction is not created !

I don't understand ....

Thanks for your help.

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
1,511

Hello.

I don't know that particular BAPI, but usually, after calling a BAPI, you must call BAPI_TRANSACTION_COMMIT to the changes take efect. Give it a try.

Regards.

Valter Oliveira.

Hi,

I'm using BAPI_HU_PI_CREATE to create packing instructions.

The return is 'S Success' with the right identification number but physically the packing instruction is not created !

I don't understand ....

Thanks for your help.

5 REPLIES 5
Read only

valter_oliveira
Active Contributor
0 Likes
1,512

Hello.

I don't know that particular BAPI, but usually, after calling a BAPI, you must call BAPI_TRANSACTION_COMMIT to the changes take efect. Give it a try.

Regards.

Valter Oliveira.

Read only

former_member182371
Active Contributor
0 Likes
1,511

Hi,

use BAPI_TRANSACTION_COMMIT after the babi call.

e.g.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Best regards.

Read only

Former Member
0 Likes
1,511

Hvae u called the BAPI_TRANSACTION_COMMIT at the end of ur BAPI Fm? If not call the above Function module.

Regards,

Kiran Bobbala

Read only

Former Member
0 Likes
1,511

Hi Alain,

is this BAPI is giving success message? if it is giving success message, call the BAPI 'BAPI_TRANSACTION_COMMIT'.

for more info about this BAPI refer the Documentation in SE37.

Reward if found helpful.

Regards,

Boobalan Suburaj

Read only

Former Member
0 Likes
1,511

I think I have to go sleeping ...

Thanks for your answers !