cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI not found in Delivery note item level

jpriya
Explorer
0 Likes
1,251

Hi Experts,

Recently am working in delivery note form, where we need to convert item delivered into some quantities, I have explored all badi available in public cloud for delivery item. I have checked using custom tracing, no badi is triggering .while executing "display outbound delivery" . Can you suggest if any BADI available for item level in outbound delivery.

Please note, I have added BADI for header level.(LE_SHP_MODIFY_HEAD)

SAP S/4HANA Cloud Public Edition Extensibility 

Accepted Solutions (1)

Accepted Solutions (1)

Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi jpriya,

I am not sure if you got the chance to check the Help: Business Add-Ins (BAdIs) for Delivery Management

The equivalent Item level BAdI is listed there

Jerry_Lowery_0-1740152750596.png

You mention you expect the BAdI to be called on Display Delivery, but that is unlikely as no change is taking place.

I don't remember all the triggers, but seems like it is Save, PGI, reverse PGI, or change like to the description field of the item, you would need to test this 

I hope this helps.

Thank you

Jerry

 

jpriya
Explorer
0 Likes
Hi Jerry, I have implemented the above BADI, but its not getting triggered, that is why am looking for do we have any other BADI available in public cloud to implement in item Lavel.
Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi jpriya,

I am not understanding your comment.

You indicated you implemented the Header level BAdI and asked where to find the Item level one.

I provided the screenshot showing the item level one and also provided the help link to the list of the all the available BAdIs, which includes the item level one.

I also indicated that the BAdI would not likely be triggered in the Display Outbound Delivery app as there are no changes done with that app.

If you could clarify which BAdI you implemented, and how you are trying to trigger it, we could possibly provide more help.

Thank you

Jerry

jpriya
Explorer
0 Likes
Hi Jeery, Thanks for your update. My doubt, was when am doing custom logic tracing, I can see the badi that i have implemented in header lavel is getting trigger, but I dont see item lavel BADI in custom logic tracing.
jpriya
Explorer
0 Likes
+ I have implemented the below BADI 1)LE_SHP_SAVE_DOCUMENT_PREPARE 2)LE_SHP_MODIFY_HEAD 3)LE_SHP_MODIFY_ITEM The process am following while doing custom tracing are - 1) open display outbound delivery 2) giving outbound number -> execute 3) switching to display->change 4) menu->extra->output delivery ->output control -> adding my custom form 5) display Then when am checking in custom logic tracing, i Can see only "LE_SHP_MODIFY_HEAD" is triggered. Why other two BADI are not getting triggered. That is my question. Regards, Jagadhatri
Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi jpriya

Please check the help link - per the help, the Item BAdI would be triggered:

"You can use this BAdI to modify a changed or newly created item. You can also change delivery document header fields. This BAdI is called after one or more items have been changed or newly created."

Per your workflow, you are only changing the header, you are not changing or adding any items. But I think simply adding the form is not enough of a change to trigger the doc prepare BAdI. I am actually a little surprised it triggered the Header BAdI. 

Could you try to make a change to the Item - for example, edit the description of one of the items. Note that Quantity change might not trigger the BAdI at the item level. - please confirm this with your testing.

Thank you

Jerry

 

jpriya
Explorer
0 Likes
Hi Jerry, Thanks for your response. Yes, I can see the item BADI is getting trigger after i have done some changes in item lavel. In this case, both header and item badi are triggering.

Answers (0)