Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Status

Page Status

OwnerTATARU-ext, Eugenia 
Stakeholders
Jira Request ID

Jira
serverSyensqo's Jira
serverIdd8efc1ef-48bd-3b4e-8714-ad827f4f059b
keyERP-59

Jira Development ID

Jira
serverSyensqo's Jira
serverIdd8efc1ef-48bd-3b4e-8714-ad827f4f059b
keyERP-843

High- Level Specification

ParameterValue
Application SystemGTS 
Business Process Reference12.03.04.01 Manage Intrastat Inbound

Functional Overview

The functional design of the enhancements describes the scenario(s) where enhancements to existing SAP programs are required.


Scope and Objectives

 In SAP GTS, an Intrastat Inbound flow involves capturing data from an IBD or GR in an ERP system and transferring it to GTS for Intrastat Declaration processing.

There are cases when for indirect materials coming from Ariba Guided Buying, goods without material master data such as: laptop, supplies or even services to be having missing classification and free text mentioned on the PO. At the time of the PO creation in S/4 and send it to GTS, the information received will be incomplete; the Intrastat Specialist User will require additional data on the declaration in GTS in order to make a better idea of the item used; for this the Intrastat Inbound Declaration will have to be enhanced with other data coming from S/4 like: Vendor and Material Group description (PO source).


Process Flow Diagram

Image RemovedImage Added

Step

Description

Comment

1Send PO from S/4HANA
2Send Return PO SO from S/4HANA
3Send GR non stock materials from S/4HANA
4Send GR stock materials from S/4HANA
5Send Invoice details from S/4HANA
6Receive data feeder system in Intrastat Declaration 
47Manage Intrastat Declarations Fiori AppEnhancement related


Assumptions

  1. SAP GTS & S/4HANA interface connection available.
  2. SAP GTS configuration settings performed.

Dependencies

N/A

Security, Integrity and Controls

N/A


Configuration Requirements

In GTS

Mandatory:

  1. Create Business Partner with BP Role as: SLLFTO, SLLPOI, General and Financial Services.
  2. Create Provider of Information for the respective BP.
  3. Define the necessary Business Transaction types.
  4. Activate Legal Regulation
  5. Define Partner CountriesCountry of Origin
  6. Assign Partner Countries Country of Origin to Countries of Declaration

Optional:

  1. Define Country of OriginPartner Countries
  2. Assign Country of Origin Partner Countries to Countries of Declaration
  3. Define Movement Codes
  4. Define Modes of Transport at the Border
  5. Define Incoterms


In S/4: ensure Intrastat-relevant data is maintained such as: commodity codes, country of origin and vendor/material master data.

Language Requirements

EN only.

Special Requirements

N/A


Design Rationale

Functional Requirements

For Intrastat Inbound flows, the POs from S/4HANA will trigger the creation of the declaration in GTS. For cases when POs are missing its master data (free text only), or when classification missing, it required to enhance the declaration in GTS with other data in order to provide a better clarity on the item used.

Therefore, following data must be added to the standard Fiori App “Manage Intrastat Declarations” ,under Additional data Tab for those whose length is 20 and 40.

  • Material group description → assign it to CHAR 4020

  • Supplier name → assign it to CHAR 40

  • Supplier number → assign it to CHAR 2010

Proposed Technology to Use

BADI /SAPSLL/INTRASTAT_SELECTION in SAP S/4HANA.

The fields on a PO transactional level can be found as:

EKPO
  • T023T-MATKL-WGBEZ for
material
  • Material group
(
  • 's description
)
EKPO
  • EKKO-LIFNR for Supplier number
  • LFA1- LIFNR-NAME1 for Supplier description

See Processing Logic for more details. (number and description)


Data Source Considerations

N/A

TableField NameComments/Calculation/Field Manipulation











Data Validation Considerations

N/A

TableField NameComments/Calculation/Field Manipulation













Custom Tables

N/A

Master Data

N/A

FieldDescriptionData Type/LengthValidation rule/ Value Help









Configuration Table

N/A

FieldDescriptionData Type/LengthValidation rule/ Value Help








Selection Screen Enhancement

N/A

Field NameDescription

Select:

Data Type/LengthDefault Value/ Validation rule/ Value HelpSelection Logic













Processing Logic

Note: Trigger this logic only when material number (MATNR) is missing on the Purchase Order (EKPO-EBELN = DONUM (DOITM for item) inside the BADI).

BADI /SAPSLL/INTRASTAT_SELECTION

Method CHANGE_DATA use parameter CT_DECL_SITEMS_FS

Within component types: /SAPSLL/ADDF1ADDF4, /SAPSLL/ADDF2ADDF5/, /SAPSLL/ADDF3 ADDF2 link it to the below EKPO & dependencies technical fields and send it to GTS within ADDA1, ADDA2, ADDA3 ADDA* fields. Ensure the length is matching between S/4 - GTS additional data fields (20, 40 CHAR).

Based on the PO number & item (EKPO-EBELN = DONUM (DOITM for item) inside the BADI)):

  • Take MATKL (material group) from EKPO and pass it into T023T (as MATKL key) to retrieve WGBEZ. Eventually link it to the ADDF4 of the BADI parameter → sends to GTS
  • Take LIFNR (Supplier number) from EKKO and link it to the ADDF2 of the BADI parameter → sends to GTS
  • For supplier's name see below options to pick it up:
    • Option 1: Take LIFNR from EKKO and pass it into LFA1 (as LIFNR key) to retrieve NAME1 (Supplier description). Eventually link it to the ADDF5 of the BADI parameter → sends to GTS
    • Option 2: Once the PO arrives to GTS is automatically linked to the Provider of Information App (as part of Intrastat process) which contains the Business Partner/Vendor. The name of the Vendor will be therefore automatically assigned by the system.
  • MATKL for material group (description)
  • EKPO-LIFNR for Supplier (number and description)

Volumetrics

N/A


Performance Considerations

N/A



Error Handling

N/A


Testing

How to Test

Test Conditions and Expected Results

IDConditionExpected Result
1Material Group description and Vendor available on the POADDF* are properly filled in the Intrastat Inbound Declaration of GTS.
2Material Group description missing and Vendor available on the POThe ADDF* fields receives the vendor information (number and description) but the ADDF* for the material group is empty. The user will have to get in touch with the buyer and complete it manually.
3Material Group description available and Vendor missing on the POThe ADDF* fields the material group description but the ADDF* for the vendor is empty. The user will have to get in touch with the buyer and complete it manually.
4Material Group description and Vendor both missing on the POThe ADDF* fields are empty in GTS. The user will have to get in touch with the buyer and complete it manually.
5Negative case - PO has material number Enhancement should not get triggered.


Test Considerations/Dependencies

Purchase Orders must be first created in S/4HANA. 


Other Information


Development Details

Package

Package NameParent Package




Enhancement Implementation

Enhancement TypeStandard Definition NameCustom Implementation NameDesign Rationale Reference









Other Development Objects

Object TypeObject NamePurpose/High Level LogicDesign Rationale Reference








Appendix

Custom Authorization Group Naming Convention

This table is based on the Syensqo development standards document. It provides the naming conventions for authorization groups to associated with custom reports and tables to comply with security requirements.

ABAP

ZFIZMMZPSZCOZSDZBCZFIZCA
TABLESZFITZMMTZPSTZCOTZSDTZBCTZFITZCAT

See also


Attachments
previewfalse
patterns^(?!.*\.(png|jpg|jpeg|svg)$).*
sortOrderdescending

Change log

Change History
limit10