SAP BLOG SAP LT Replication Server for CFin – Third-Party System Integration

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
This blog is intended for project members responsible for implementing Central Finance with Non-SAP System. this blog explains the various steps to follow and the special Considerations to transfer data into SLT Staging table .

Introduction:

There is various tool available to update SLT that help to load data to a simplified staging area. The staging area is used to connect Source system that have different data models than a Central Finance system. A new Mass transfer ID is needed in SLT for the Source system. General journal entries (including source references, Profit Center and trading partner) for Accounting Documents (e.g. Invoices, Credit memos, etc.) can be transferred from Source system to Central Finance.

Post replication of data, Application Interface Framework (AIF) is triggered to control data processing within the Central Finance system. The monitoring of the FI document processing is done in the AIF. In AIF, the error messages for documents which are not posted in the Central Finance system are displayed. The correction of these documents can be done, and documents can be reprocessed from within the AIF.

1-35.png


1-Pre-Requisites:

  1. Install the current content version, download the content file and upload it to the SAP Landscape Transformation Replication Server system using program DMC_UPLOAD_OBJECT
  2. The upload program has two parameters. For the first parameter, specify the path to the list file (*_LIST.TXT). For the second parameter, specify the path for the data file (*_DATA_xxx.txt).
  3. Create the tables for the staging area. following database tables required to generate.



Table Description
/1LT/CF_E_HEADERDocument header table
/1LT/CF_E_ACCTAccounting items
/1LT/CF_E_DEBITDebtor items
/1LT/CF_E_CREDITCreditor items
/1LT/CF_E_WHTAXWithholding tax items
/1LT/CF_E_PRDTAXProduct tax items
/1LT/CF_E_EXTENTCustomer extension on header level
/1LT/CF_E_EXT_ITCustomer extension on item level

You can start a data load once the data is uploaded into the staging area. You can also start the replication process for the staging area; this means that once data is inserted into the staging area, it will be replicated to Central Finance. Note that, as header tables are linked to dependent tables, you need to ensure that all records for dependent tables are inserted before the records for the header tables are inserted (this is because the replication of data might start once header records are inserted)

2-Options to update Data in SLT Staging Table

  1. ABAP Program for SLT Staging Area
  2. SAP HANA smart data integration
  3. BAPI – Inbound Interface
  4. Other Options

ABAP Program for SLT Staging Area

Requirements:
Customer Transactions from the non-SAP instance need to be replicated to S/4HANA central Finance system via SLT. In order to transfer the Accounting Documents, an ABAP program need to be developed to transfer the information appropriately to the SLT staging area from where the data can be further passed to the Central Finance AIF interface via standard SLT triggers.

High level approach:

Step 1: Input data files (.csv) containing details of the Accounting Documents will be uploaded on the SLT application server instance via SFTP. Data fields in the file will be as per the standard SLT table structures for the Non-SAP data transmission.

Step 2: Input files will be read from the application layer (on time basis) via ABAP program and will be parsed based on the SLT structures, mapped to the right fields and will be populated to be updated on the SLT tables. Following tables will be used for the same.

Step 3: File once successfully processed, will be marked so that the same file is not getting picked up in the next run.

Step 4: Once the records are populated in the SLT staging tables (dependent tables first, header table later) the std. SAP SLT DB triggers will pull the data based on the active SLT replication configuration and will replicate it to the Central Finance AIF interface for processing.

Scope –

  1. Read the files data from the SLT application server, parse it based on the SLT structures, mapping handling, and populate it on the SLT staging area.
  2. Duplicate / data redundancy checks will be there in the ABAP program
  3. Conversion of fields to SAP DDICs will be required for certain fields and will be built in the ABAP program
  4. No data harmonization/ complex mapping will be handled in the ABAP program. Mapping is assumed to be provided by the input file.
  5. Authorizations logic need to be validated during the ABAP program build.
  6. ABAP program will have the logic to move the processed file to another folder/or another approach so that the same file is not picked up again.
  7. Basic/Unit testing for the ABAP program from SAP for data samples provided.
  8. Update FMs to ensure data consistency for data updates
  9. Determination of failed records during the processing of the file

Assumptions-

  1. Separate .CSV files will be created per SAP SLT table structure and will be uploaded to the application layer file directory.
  2. UNIQUE_ID and other key fields will be provided by the input file and ABAP program does not need to generate it.
  3. The input file will be available on the SLT application server(AL11) . The file transfer from SFTP to SLT app server is not part of scope for the program.

SAP HANA smart data integration

  • SDI is very easy to Design and can manage complex data flows
  • Fully Graphical user interface
  • Drag-and-Drop design paradigm
  • Same approach for simple to complex flows, single or multiple flows

Available Transformations

Basic SQL: Aggregation, Filter, Join, Sort and Union

Advanced SQL: Case, Lookup, Pivot and Unpivot

Data Life cycle : Date Generation, History Preserving Map Operation, Row Generation, Table Compare and Data Mask

Data Quality: Cleanse, Match and Geocode

Code Execution: AFL, Procedure and R Script

2-34.png


Data Load Process flow:

3-34.png


BAPI – Inbound Interface

Approach :
Develop a Custom Program to read files stored in Application server and post Accounting Documents in S/4 HANA via BAPI/IDOC

Pros

    • The file format and sequence of data can be flexible.
    • Both Header and line item can be maintained in a same file with Unique ID

Cons

    • No Standard content (SLT) can be used to post Accounting Document in S/4
    • Extensive Testing required on the custom development
    • Standard error monitoring and reprocessing capabilities of AIF cannot be leveraged
    • Custom Error handling strategy to be developed
    • Cannot utilize SAP Customer Support System, referencing the E2E failure point for the Internal
    • Any system upgrade may require adjustment to Custom Code
    • Need to Custom build for mapping of key data like Company code, profit center etc. (Non-availability of Master Data Governance)

Important Notes for Non-SAP System

2610660 – SAP LT Replication Server for Central Finance – Third-Party System Integration

2589428 – Third Party Interface: Posting documents with more than 900 line items

2551200 – Central Finance Third Party Interface: Additional Filed PRDTAX_CODE in Structure CF_E_DEBIT and CF_E_CREDIT

Conclusion:

This blog is very useful for all the customers and Consultants who are planning to implement Central Finance with Non-SAP System .it Covers the Consideration of Understand the supported various business scenarios in SLT.

Okumaya devam et...
 
Üst