Ansicht
Dokumentation

J_3RF_IMCD_BADI - BAdI: Import Customs Declaration Data

J_3RF_IMCD_BADI - BAdI: Import Customs Declaration Data

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this BAdI to modify Import Customs Declaration document header data.

This BAdI has the following methods:

  • PBO_HEADER - you can use this method to implement the PBO logic for new fields in the IMCD header. This method has the following parameters:
  • IS_IMCD_HEADER - IMCD header structure

  • CV_HEADING - text for the new header tab

  • CV_CPROG - program to call

  • CV_DYNNR - screen to call

  • IV_DISPLAY_MODE - display mode indicator

  • PAI_HEADER - you can use this method to implement the PAI logic for new fields in the IMCD header. This method has the following parameters:
  • IV_OKCODE - current functional code

  • IV_ACTIVE_TAB - current tab (if the current tab is not the one created using this BAdI then the BAdI will not activate)

  • CS_IMCD_HEADER - IMCD header structure

  • CV_UPDATE_HEADER - indicator for update of IMCD header by the Import Customs Declaration solution after the method is called

  • CV_UPDATE_ITEMS - indicator for update of IMCD items by the Import Customs Declaration solution after the method is called

  • CHECK_HEADER - you can use this method to check the IMCD header before saving it. This method has the following parameters:
  • IS_IMCD_HEADER - IMCD header structure

  • CT_RETURN - table with messages that occur after the system checks the data

  • PBO_ITEM - you can use this method to implement the PBO logic for new fields in an IMCD item. This method has the following parameters:
  • IS_IMCD_ITEM - IMCD item structure

  • CV_HEADING - text for the new header tab

  • CV_CPROG - program to call

  • CV_DYNNR - screen to call

  • IV_DISPLAY_MODE - display mode indicator

  • PAI_ITEM - you can use this method to implement the PAI logic for new fields of an IMCD item. This method has the following parameters:
  • IV_OKCODE - current functional code

  • IV_ACTIVE_TAB - current tab (if the current tab is not the one created using this BAdI then the BAdI will not activate)

  • CV_FORCE_CHANGE - force update of data

  • CS_IMCD_HEADER - IMCD header structure

  • CS_IMCD_ITEM - IMCD item structure

  • CHECK_ITEM - you can use this method to check an IMCD item before saving it. This method has the following parameters:
  • IS_IMCD_ITEM - IMCD item structure

  • CT_RETURN - table with messages that occur after the system checks the data

  • CHANGE_ITEM_FIELDCAT - you can use this method to change the field catalogue for items on the ALV-based output list. This method has the following parameters:
  • CT_FCAT - field catalogue structure

  • CHANGE_TOOLBAR - you can use this method to add buttons to the toolbar on the ALV-based output list. This method has the following parameters:
  • CO_OBJECT - output list menu object

  • DATA_CHANGED_FINISHED - you can use this method to change how the system processes ALV-based output list fields upon the DATA_CHANGED_FINISHED event. This method has the following parameters:
  • IT_GOOD_CELLS - changed cells

  • CT_IMCD_ITEMS - IMCD item table

  • CT_ALV_ITEMS - ALV-based output list table

  • PROCESS_USER_COMMAND - you can use this method to implement processing for additional functional codes. This method has the following parameters:
  • IV_COMMAND - current functional code

  • IO_IMCD - local IMCD object in the Import Customs Declaration solution

  • CT_ALV_ITEMS - table with output list items

  • CS_IMCD_HEADER - IMCD header structure

  • CV_AGGR_COMMODITY - structure that contains indicators for aggregation of item data in the IMCD header if they are changed (after calling this parameter the system calls the main solution)

  • CV_UPDATE_HEADER - indicator for update of IMCD header by the Import Customs Declaration solution after the method is called

  • CV_UPDATE_ITEMS - indicator for update of IMCD items by the Import Customs Declaration solution after the method is called

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

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.






BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 7356 Date: 20240523 Time: 212805     sap01-206 ( 119 ms )