SAP ABAP IMG Activity /SAPSLL/GTS_BADI_DAR (BAdI for Transfer of MM and SD Documents to Check for Archivability)
Hierarchy
SLL_PI (Software Component) GTS Plug-In
   SD-FT (Application Component) Foreign Trade
     /SAPSLL/PLUG_IN_R3 (Package) Legal Services: PI Functions and PI Services
IMG Activity
ID /SAPSLL/GTS_BADI_DAR BAdI for Transfer of MM and SD Documents to Check for Archivability  
Transaction Code /SAPSLL/91000078   (empty) 
Created on 20050407    
Customizing Attributes /SAPSLL/GTS_BADI_DAR   Transfer of MM and SD Documents: Check for Archivability 
Customizing Activity /SAPSLL/GTS_BADI_DAR   Transfer of MM and SD Documents: Check for Archivability 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /SAPSLL/GTS_CMOD_ARCH_CHK    

Use

With SAP Global Trade Services (SAP GTS), you can archive the following objects by choosing from the SAP GTS Area Menu GTS: Basis -> Archiving:

  • Customs documents
  • Sanctioned party list data
  • Application logs
  • Business partners
  • Preference determination data

For more information on the objects you can archive, see the input help.

However, this Business Add-In (BAdI) allows you to control the customs documents that you archive.

For more information, see Archiving in SAP Library.

Requirements

Standard settings

Activities

This BAdI consists of the following methods:

  • SALES_ORDER_CHECK
    With this method you can control the logic of the check the system performs on sales order documents that you select for archiving. The following parameters are available for this:

    Importing:
    - IT_VBAK
    Table type for structure VBAK
    - IT_VBAP
    Table type for structure VBAP
    - IT_VBUK
    S&D document: Header status and administrative data
    - IT_LIKP
    Table type S&D document: Delivery: header data
    - IT_LIPS
    Table type S&D document: Delivery: item data
    - IV_VBELN
    S&D document number

    Changing:
    - CV_FLDRA
    Document cannot be archived
  • OUTBOUND_DELIVERY_CHECK
    With this method you can control the logic of the check the system performs on outbound delivery documents that you select for archiving. The following parameters are available for this:

    Importing:
    - IT_LIKP
    Table type S&D document: Delivery: header data
    - IT_VBUK
    S&D document: Header status and administrative data
    - IV_VBELN
    S&D document number

    Changing:
    - CV_FLDRA
    Document cannot be archived
  • PURCHASE_ORDER_CHECK
    With this method you can control the logic of the check the system performs on purchase order documents that you select for archiving. The following parameters are available for this:

    Importing:

    - IT_EKKO
    Table type for purchasing document headers
    - IT_EKPO
    Table type for purchasing document items
    - IV_EBELN
    Document number of purchasing document

    Changing:
    - CV_FLDRA
    Document cannot be archived

Example

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 POLLOCZEK  20060516 
SAP Release Created in 600