Ansicht
Dokumentation

J_1UF_ACT_COMPARE_BA - BAdI: Balance Notification

J_1UF_ACT_COMPARE_BA - BAdI: Balance Notification

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used for the Balance Notification program for Ukraine.

You can use this BAdI to change the way the program uses contract numbers.

This BAdI contains the following methods:

  • SET_DEFAULT_VALUES - used to set required values for hidden selection parameters P_DBTAB (table name), P_DBFLD (field name) and P_LNGTH (length of a contract number). For example, you maintain contract number in the document header text (the field BKPF-BKTXT) in format 'XXXXXXXXXXYYY...YYY' where XXXXXXXXXX - contract number and YYY...YYY - some additional information. Then in the method implementation you should set the following 'LOW'-values: 'BKPF' for P_DBTAB, 'BKTXT' for P_DBFLD, 10 for P_LNGTH. When the report is run the field 'Document Header Text' will be used at the selection screen for contract selecting and the first 10 characters of the 'Document Header Text' will be used for document selection.
  • Documents will be selected according to the specified field using the specified number of characters. The allowed fields are: BKPF-BKTXT, BKPF-XBLNR, BSEG-SGTXT, BSEG-XREF1, BSEG-XREF2, BSEG-XREF3, BSEG-ZUONR. The maximum length of contract number is 18.
  • INPUT_CONTROL - used to check and change input data.
  • CHANGE_BEFORE_OUTPUT - used to retrieve external number and date of contracts and change other data before output to print.

In the standard system, there is no activated BAdI implementation.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

To display the sample code, choose Goto -> Sample Code -> Display.

This BAdI uses the interface J_1UF_ACT_COMPARE_IF. For more information, display the interface in the Class Builder.






Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2673 Date: 20240523 Time: 204411     sap01-206 ( 100 ms )