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: 

BAPI for Creating/Changing HU02 transaction Data

Srisap
Participant
0 Kudos

Hello All,

I have used BDC for HU02, but it doesn't work.

I have data coming from a third party system through an Idoc. But the CALL TRANSACTION fails with sy-subrc = 1001 which is Batch failed.

But when I use WE19 transaction the HU02 gets updated with the gross weight net weight and tare weight.(I have to update these three fields)

Anybody, please help. It's urgent.

Regards,

Sridhar Karra.

1 ACCEPTED SOLUTION

ritesh_dugad2
Active Participant
0 Kudos

Try one of these Bapi's inplace of the BDC. You may have to use one or combination of Bapi's depending on your requirements.

BAPI_HU_CHANGE_HEADER

BAPI_HU_CREATE

BAPI_HU_PACK

BAPI_HU_REPACK

BAPI_HU_UNPACK

BAPI_HU_PI_CHANGE

BAPI_HU_PI_CREATE

1 REPLY 1

ritesh_dugad2
Active Participant
0 Kudos

Try one of these Bapi's inplace of the BDC. You may have to use one or combination of Bapi's depending on your requirements.

BAPI_HU_CHANGE_HEADER

BAPI_HU_CREATE

BAPI_HU_PACK

BAPI_HU_REPACK

BAPI_HU_UNPACK

BAPI_HU_PI_CHANGE

BAPI_HU_PI_CREATE