cancel
Showing results for 
Search instead for 
Did you mean: 

IBP-OBP: How to register changes in your orders using BADI /IBP/ECC_SAVE_ORDER_STOCK

0 Kudos

Hi SAP Experts,

I'm implementing SAP IBP Order based planning, using S4HANA Add on for SAP IBP.

In order to fulfill the client's requirements, I'm using the BADI IBP/ECC_SAVE_ORDER_STOCK. Through this BADI the system is creating the purchase orders based on quality inspection lots (to make realistic stock projections, therefore proper planning).

I'm stuck dealing with the deletion of these records once a time that the quality stock is transported to unrestricted-use. I checked for standard cases that, when new orders are created, they are registered first on the table /IBP/ORDER_DELTA, and if the order is deleted or modified, this is registered in the same table with an "F" in the DEL_IN field of that table.

Do you have an idea of how to maintain a real-time update for none standard records (creation. editing, and deletion) by using this BADI and ORDER_DELTA table?

Thanks for your reply.

former_member194529
Active Contributor
0 Kudos

Hi Renato,

Were you able to find a solution for your requirement? If so, please feel free to share it here.

Thanks,

Ivan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Community,

We developed a solution for the question made.

The solution was a Z program that runs every "n" minutes. This program read the modification's log from tables EKPO and EKET (filtering for Scheduling agreement positions). Next, the program calls the function of reconciliation (/IBP/ECC_RECONCIL_ORDER) just for the materials collected by the log.

The program runs the function with the flag of purchased orders. This process ensures having the data always updated once SAP IBP Order-Based Planning is going to planning.

Best Regards.

Answers (1)

Answers (1)

ramguevara
Explorer
0 Kudos

I'm interested in your question. We came across this as well for customizing scheduling agreements as PO. At the moment my work around is to run the ibp/reconciliation job which delete the PO's not found (e.g - my customized scheduling agreements) and then run full load to load only updated data.

Unfortunately i had not come across in any documentation of how the delta table works and if and how the BADI's support it.