[SAP CAR-DTA] – HOW TO SIMULATE INBOUND SALES DATA TO SAP CAR DTA WITHOUT INTEGRATION

Hi all,

In this topic, i will show you how to create sales data to SAP CAR DTA without integration.

NOTE: THE TESTING TOOL FOR IDOC PROCESSING IS ONLY ON THE DEVELOPMENT OR SANDBOX ENVIRONMENT. DO NOT USE IN PRODUCTION ENVIRONMENT

Some useful resources you can find on topics:

SAP IDOC tutorial

SAP CAR DTA Configuration steps

1/ SCENARIO

When implement SAP CAR DTA (Data Transfer and Audit) and Customizing POS Data Warehouse configured. Technical / Functional consultant needs to create sales inbound to SAP CAR DTA for configuration setup unit test.

SAP GUI already supports us function to do simulates data (TCode WE19 ). Here we can input data into IDOC structures and process send data to SAP CAR system the same ways with inbound sales integration.

The configuration steps below will show you how to simulate inbound sales data.

2/ Create Logical System

Add new logical system TCode: BD54

3/ Create Partner Profile

Create new partner profile with Logical System (LS) type

Add inbound message type to profile

Parameter NameParameter Value
Message Type/POSDW/POSTR_CREATEMULTIPLE
Process CodeBAPI
Processing by Function ModuleTrigger Immediately

4/ Testing tool IDOC for Processing

ObjectValue
TCodeWE19
Basic Type/POSDW/POSTR_CREATEMULTIPLE06

Enter IDOC Header information

Parameter NameParameter ValueExample
Receiver PortSAP + SYSTEM IDSAPDCS
Receiver Partner No.Any valueRCVPRN
Receiver Partner RoleLogical System TypeLS
Sender PortAny valueTEST
Sender Partner NoLogical System, get from Step 2SAPZ2H
Sender Partner TypeLogical System TypeLS
Message TypeInbound Sales Message Type/POSDW/POSTR_CREATEMULTIPLE

5/ Enter data to IDOC fields

For Sales inbound IDOC we need to focus to segments:

Segment NameRemarks
/POSDW/E1BPSOURCEDOCUMENTLIThis segment content receipt header information
/POSDW/E1BPRETAILLINEITEMThis segment content sale items in the receipt
/POSDW/E1BPLINEITEMDISCOUNTThis segment content discount information of item
/POSDW/E1BPTENDERPayment information of receipt

To input data to fields, just double-click to the segment

6/ Process IDOC

Process Inbound IDOC after fill data to segments

IDOC create success

7/ Process Data from QMON

After IDOC is created in step 6, we need to process the inbound queue if the system is configured through Inbound Queue.

TCode: /POSDW/QMON

Data create in QMON with Key reference to IDOC created in step 6.

Select line and process data to POS Workbench

7/ Check data created in POS Workbench

Sale inbound created in POS Workbench (Tcode: /POSDW/MON0)

Thanks,

Cuong Dang (Cody)

5 comments

  1. Hi Cuong

    Thanks for sharing this knowledge, it is very helpful.
    I managed to post the IDOC in my CAR ( CARAB 5.0 – FPS04) test system.
    However , I got the following error message :

    “Sum of items does not equal the payment sum” ( Message number 10, Message class /POSDW/ACTIONS).

    My Sales is $ 279900 inclusive tax of $27738 (10%)
    Payment Sum is $ 279900 ( Thus Payment amount equals to sales amount)

    In one of SAP blog says: Above error normally is caused by incorrect XI mapping. However we dont use XI at the moment, I created the Posting through WE19 ( manually created IDOC).
    https://community.sap.com/t5/customer-relationship-management-blogs-by-members/basics-of-pipe-monitoring-part-i/ba-p/12894635.

    Any input or advise on above issue ?
    Really appreciate your inputs and thanks in advanced!.

    Best Regards
    Jimmy
    [Fyi,We both worked under Ele**** on one Retail project (for V**Gr**p) in your home country , back on 2017. 🙂 ]

    Liked by 1 person

  2. Hi Cuong,

    Thanks for your document. I have a query, for non decimal currencies (HUF, VND, KRW ) how it is to be handled in SAP CAR, any standard FM is available or we have to do custom code?

    Same way how it to be propagate to BW, using same task of decimal currency or we need to define new task.

    Like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.