0% found this document useful (0 votes)
517 views9 pages

Batch Derivation With BADI Derivation - SAP Blogs

Batch Derivation with Badi Derivation

Uploaded by

Sudeep Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
517 views9 pages

Batch Derivation With BADI Derivation - SAP Blogs

Batch Derivation with Badi Derivation

Uploaded by

Sudeep Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner

About
About

 
Home / Community / Blogs + Actions

Batch Derivation with BADI Derivation


February 20, 2013 | 406 Views |

santosh sarda
more by this author

MAN Production Planning (PP)


SAP ERP | badi | batch | derivation | enterprise resource planning | managament | sap erp manufacturing production planning

share
0 share
0 tweet share
0

Follow

Purpose: When sender passes values of numeric single value characteristics


to receiver, we can either pass minimum/maximum or average value of
multiple sender batches. We will show case how BADI enhancement

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 1/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

DERIVATION can be utilized and mean absolute value can be calculated and
sent to receiver batch for results.

Example:

Receiver Material N-2600 Cetepharm-N tablet in IDES client.

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 2/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

When these sender batches send the SI characteristic to receiver sender


batch would calculate the plain average.

SI (receiver) = (30+90)/2 = 120/2=60.

With the help of BADI DERIVATION we would calculate mean average with
below formula:

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 3/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

SI( receiver) = SI % of sender1*batch qty issued of senderbatch1 / total qty


issued to receiver +

SI % of sender2*batch qty issued of senderbatch2/ total


qty issued

SI( receiver) = = 30*0.1/0.4+90*0.3/0.4

SI( receiver) = =7.5+67.5=75.

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 4/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 5/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

1. Method BWU_LIST_CALL_AFTER: CT_BWU_LIST table would


provide you the information about all batches so far issued

to the process order.Extract the same in global internal table


I_BATCH_TAB to be used in method RECEIPIENT_VALUES_AND_STATUS.

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 6/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

Logic to be written in method RECIPIENT_VALUES_AND_STATUS:

1. Refine the batches received as a result of batch where used


search results from I_BATCH_TAB to make sure we are only
considering results relevant to receiver process order.

2. Refine I_BATCH_TAB to have batches relevant to consumption


only ( Type C from I_BATCH_TAB).

3. Calculate the total quantity of sender batch issued to process


order.

4. Apply mean absolute formula explained above if


i_recipient_condition_record-exit1 = c_wtavg which is control
parameter we defined in receiver condition record in EXIT1.

5. Update results in CT_RECIPEINT_VALUES parameter of


method which would flow to batch automatically.

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 7/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

Receiver batch shows mean absolute average instead of simple average per
formula explained above.

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 8/9
12/18/2017 Batch Derivation with BADI Derivation | SAP Blogs

Same way BADI DERIVATION can be useful in implementing your own logic
during batch derivation.

Alert Moderator

Be the first to leave a comment


You must be Logged on to comment or reply to a post.

Share & Follow


Privacy Terms of Use Legal Disclosure Copyright Trademark Sitemap Newsletter

https://blogs.sap.com/2013/02/20/batch-derivation-with-badi-derivation/ 9/9

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy