Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hu-Autopack: user exit zxv51su01

Hi Friends,

My requirement is that to create HU, Hu number is batch number. we import CT_items value from BADI BADI_HU_AUTOPACK(method propsal) to userexit and if CHARG is not initial then we assign the batch to CS_HU_HEADER-exidv .

In my case. There are 20 line items, posnr is 10,20,30...200 .

In background, FM V51F_PACKING_CREATE creates HU's, but after 80th line item,  100th line item is executing  because it packs the 80th and 90 line item in same hu number(same HU material). likewise it behaves the up 20th line item.

Now the issues is that the use exit executes 12th line item at the same time, the FM V51F_PACKING_CREATE executes 20th line item(LT_ITEMS) afterthat userexit is not triggered so 13th line item onwards gives system generated HU no. 

How to get the runtime values in the user user exit or is there any other solution.

Thanks with Regards,

Vallamuthu M.

Not what you were looking for? View more on this topic or Ask a question