Ansicht
Dokumentation

BADI_DECLARATION_SEL - BAdI: Data Selection for Intrastat Declaration - OLD

BADI_DECLARATION_SEL - BAdI: Data Selection for Intrastat Declaration - OLD

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.
SAP E-Book

This Business Add-In (BAdI) is used in the component Global Trade Services (GTS) in the area of Intrastat.
You can use this BAdI to control the selection of data for creating Intrastat declarations.

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).

The following method is available: AFTER_SELECTION

Import Parameters

  • Country in which the declaration is created (IV_COUNTRY)
  • Goods direction (IV_DIRECTION)
  • '1' - Receipt

  • '2' - Dispatch

  • Year for which the declaration is created (IV_REPORTING_YEAR)
  • Month for which the declaration is created (IV_REPORTING_MONTH)
  • Currency in which declaration is to be created (IV_REPORTING_CURRENCY)
  • Goods direction 'Receipt' (IV_DIRECTION = '1')
  • Document header structure in Materials Management purchase order (IS_MM_PURCH_ORDER_HEADER)

  • Document item structure in Materials Management purchase order (IS_MM_PURCH_ORDER_LINE_ITEM)

  • Goods direction 'Dispatch' (IV_DIRECTION = '2')
  • Document header structure in Sales and Distribution billing document (IS_SD_INVOICE_HEADER)

  • Document item structure in Sales and Distribution billing document (IS_SD_INVOICE_LINE_ITEM)

Export Parameters

  • The indicator (EV_EXCLUDE_FROM_SELECTION) controls whether the data record being processed is to be used for the Intrastat declaration:
  • ' ' Data record is included into the data set.

  • 'X' Data record is excluded from the selection; that is, it is not reported.

Change Parameters

  • CS_RECORD_INTRASTAT

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.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3332 Date: 20240607 Time: 154356     sap01-206 ( 112 ms )