SAP ABAP IMG Activity /SPE/BADI_CP_STLOC_C (BAdI: Check Storage Location for Redirecting)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-SPM-INB (Application Component) Goods Receipt Process
     /SPE/ID_HANDLING (Package) Inbound delivery handling
IMG Activity
ID /SPE/BADI_CP_STLOC_C BAdI: Check Storage Location for Redirecting  
Transaction Code /SPE/52000841   (empty) 
Created on 20050405    
Customizing Attributes /SPE/BADI_CP_STLOC_C   BAdI:Checking Storage Location for Redirecting 
Customizing Activity /SPE/BADI_CP_STLOC_C   BAdI:Checking Storage Location for Redirecting 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SPE/BADI_CP_STLOC_C    

Use

In the ERP system, you can use the /SPE/BADI_CP_STLOC_CHECK Business Add-In (BAdI) to check whether the new storage location in a Contract Packager (CP) inbound redirect scenario is valid.

This BAdI is called after the standard checks have been passed. Method CHECK_STLOC is called for a more restricted check of the new storage location. This method can reject the storage location, but cannot change it to another storage location.

Requirements

You can use this BAdI only if you have activated Service Parts Management (SPM).

Standard settings

This BAdI is not active in the ERP system.

Activities

To activate this BAdI, you must create an active implementation.

Example

You have three CP storage locations for your plant: 0001, 0002 and 0003. Now incoming goods should be redirected from the planned location 0001 to a different one. Value 0002 has been entered in dialog as new storage location. The standard checks verify whether the new storage location is valid for a CP Inbound scenario.

You can implement logic in the BAdI that specifies goods in storage location 0001 can only be redirected to storage location 0003, not storage location 0002. Storage location 0002 will be rejected.

Further Information

See documentation for the BAdI Interface /SPE/BADI_CP_STLOC_INTFC.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /SPE/BADI_CP_STLOC_C 0 AC00000096 Cross-Application Topics 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050406 
SAP Release Created in 600