Hierarchy

⤷

⤷

IMG Activity
ID | S2P_PROPOSAL_CREATOR | BAdI: Defining User-Specific Replenishment Proposal Creation |
Transaction Code | S_KA5_12001168 | IMG Activity: S2P_PROPOSAL_CREATOR |
Created on | 20020607 | |
Customizing Attributes | S2P_PROPOSAL_CREATOR | BAdI: Defining User-Specific Replenishment Proposal Creation |
Customizing Activity | S2P_PROPOSAL_CREATOR | BAdI: Defining User-Specific Replenishment Proposal Creation |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | S2L_PROPOSAL_CREATOR |
Use
You implement this Business Add-In (BAdI) if, when creating replenishment proposals, you want to use different quantities and dates than the ones determined in the missing quantities calculation.
Requirements
Standard settings
If you have not implemented the Business Add-In, the system uses the standard logic for creating replenishment proposals.
Activities
Create an implementation of the Business Add-In. Implement method IF_EX_S2L_PROPOSAL_CREATOR~CREATE_PROPOSALS
.
In BAdI Method CREATE_PROPOSALS
, create replenishment proposals for the desired quantity and date. Use method CL_PSEG_CONTROL->CREATE_REPL_PROPOSAL
to create the replenishment proposals. You can set the quantity and date of the replenishment proposal using the methods CL_REPL_PROPOSAL_S2L->SET_QUANTITY
and CL_REPL_PROPOSAL_S2L->SET_TIME.
You can procure the already existing replenishment proposals using method CL_PLNG_CALCULATION_S2L->GET_EXISTING_REPL_PROPOSALS
. This is necessary, for example, if you do not want to create a new replenishment proposal for every missing quantity but you want to add the quantity to an already existing replenishment proposal.
Description of the interface parameters of the BAdI Method CREATE_PROPOSALS
Import Parameters:
- SEGMENT
Reference to the supply segment - PLNG_PARAMS
Control parameters required for the missing quantities calculation and the creation of replenishment proposals: - SIM_CALC
Reference to missing quantities calculation - MAX_NEW_RPROP_QTY
Total quantity of new replenishment proposals to be created
Export Parameters:
- DONE
This parameter must be set (DONE = 'X') so that the calling program recognizes that the creation of replenishment proposals has been completed. If you have not set this parameter, the system uses the standard logic for creating replenishment proposals (CL_PLNG_SEGMENT_S2L->CREATE_PROPOSAL).
Example
You want to implement a simple logic for creating replenishment proposals.
You stage the components you require in production once daily at a fixed time. You stage the components for the amount of the calculated missing quantities which you group together, if necessary (see also the example implementation).
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030120 |
SAP Release Created in | 471 |