Hierarchy

⤷

⤷

IMG Activity
ID | WLF_SOA_SMT_STL_0001 | BAdI for Determination of Plant or ShipToLocation |
Transaction Code | S_EBS_44000202 | (empty) |
Created on | 20101112 | |
Customizing Attributes | WLF_SOA_SMT_STL_0001 | BAdI for Determination of Plant or ShipToLocation |
Customizing Activity | WLF_SE_BTD_LOCATION | BAdI for Determination of Plant or ShipToLocation |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | WLF_SE_BTD_LOCATION |
Use
This Business Add-In (BAdI) is used in Agency Business. It is called when an agency invoice is created using the service InvoiceRequest_In or when an InvoiceRequest message is sent out using the service InvoiceRequest_Out_V1. With the BAdI's methods, you can determine a plant on the basis of the ShipToLocation and, if confirmed, you can determine the ShipToLocation on the basis of the current invoice header and invoice item data. The outbound request process uses the same enhancement as the inbound confirmation process.
Requirements
Standard settings
The BAdI is for single use only, but there is an enhancement implementation with a default implementation of this BAdI available, if software component EA-Retail is active.
Activities
When you call up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.
If you have already created other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed.
- In this dialog box, choose Create.
- Enter a name for the BAdI implementation in the Implementation field and then choose Create. The initial screen for creating BAdI implementations appears.
- Enter a short text for the implementation in the Short Text for Implementation field on the initial screen.
- From the tab index, choose Interface. The Name of Implemented Class field is filled automatically on this tab page because the system assigns a class name using the name of your implementation.
- Save your entries, and assign the implementation to a development class.
- Position the cursor on the method and double-click to call up method processing.
- Enter the code for the implementation between the statements method <Interface Name> ~ <Name of Method> and endmethod.
- Save and activate your code. Return to the Edit Implementation screen.
- Save the entries on the Change Implementation screen.
- Note: It is also possible to create an implementation for a BAdI first and then activate it later. In this case, end your processing at this point.
- Choose Activate. The code you stored in the method will now be run through when the application program is executed.
Example
For more information, see the documentation of the BAdI methods:
- inbound data mapping: MAP_SHIP_TO_LOC_TO_PLANT
- outbound data mapping: MAP_PLANT_TO_SHIP_TO_LOC.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20101112 |
SAP Release Created in | 606 |