SAP ABAP IMG Activity WLF_SOA_SMT_PTY_0005 (BAdI for Determination of Internal Customer or Vendor Master)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
IMG Activity
ID WLF_SOA_SMT_PTY_0005 BAdI for Determination of Internal Customer or Vendor Master  
Transaction Code S_EBS_44000206   (empty) 
Created on 20101112    
Customizing Attributes WLF_SOA_SMT_PTY_0005   BAdI for Determination of Internal Customer or Vendor Master 
Customizing Activity WLF_SOA_SMT_PTY_0005   BAdI for Determination of Internal Customer or Vendor Master 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WLF_SE_PARTNER_FROM_BTD_PARTY    

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. Using the methods that are provided in this BAdI, you can determine the customer or vendor number from the GDT BusinessTransactionDocumentParty.

Requirements

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.

Standard settings

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.

  1. In this dialog box, choose Create.
  2. Enter a name for the BAdI implementation in the Implementation field and then choose Create. The initial screen for creating BAdI implementations appears.
  3. Enter a short text for the implementation in the Short Text for Implementation field on the initial screen.
  4. 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.
  5. Save your entries, and assign the implementation to a development class.
  6. Position the cursor on the method and double-click to call up method processing.
  7. Enter the code for the implementation between the statements method <Interface Name> ~ <Name of Method> and endmethod.
  8. Save and activate your code. Return to the Edit Implementation screen.
  9. Save the entries on the Change Implementation screen.
  10. 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.
  11. 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 for vendor determination: GET_VENDOR
  • inbound data mapping for customer determination: GET_CUSTOMER

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