Ansicht
Dokumentation

WLF_SOA_SMT_MAT_0004 - BAdI for Determination of Material Number

WLF_SOA_SMT_MAT_0004 - BAdI for Determination of Material Number

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Settlement Management (LO-AB) component. It is called when a settlement document is created using the InvoiceRequest_In service. With the method of this BAdI, you can determine the material number from the GDT BusinessTransactionDocumentProduct.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

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. In the dialog box, 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 ~ and endmethod.
  8. Save and activate your code. Return to the Edit Implementation screen.
  9. 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.
  1. Choose Activate. The code you stored in the method will now be run through when the application program is executed.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2578 Date: 20240523 Time: 214736     sap01-206 ( 49 ms )