Dear Friends,
There had been very limited help available for SAP POS Data Management (POS DM) for the person who is new to it. So this is just an attempt to provide a quick guide for the most desired feature in POS DM.
There are always instances where the transactions are transferred twice to POS DM due to various network related reasons. It is very much essential that we check the transactional data for duplication to avoid same transactions posted twice to ECC. This document demonstrate the steps to be taken to implement the duplication check in POS DM for transaction data.
In POS DM, all the processing are being executed by means of tasks. There are various tasks to be configured in order to aggregate the POS data and generate WPUTAB and WPUUMS IDoc for Collection and Sales respectively. To implement the duplication check in SAP POS DM, we can use task 1001 which standard SAP task. I am considering the following logic for my document to fulfill the duplication check.
Below steps are given by keeping the above logic. You can configure as per your requirement. The other alternative will be first check the duplication check followed by a Sales Audit task.
Please note that the duplication check will check for the combination of Store ID, Transaction Date, POS No, Transaction Number. If this combination is repeated, the transaction will be marked as duplicate.
Launch POS DM customizing environment by transaction code /POSDW/IMG.
Our first prerequisite is before we execute the duplication task (1001) we need to check whether the Sales Audit task (0002) is successful or not. There is a standard rule (0003) already available in POS DM which will indicate the status of Sales Audit task. Please see the below figure showing rule for Sales Audit.
Path: POS DM IMG: POS Data Management -> POS Inbound Processing -> Tasks -> Define Rules
Next step is to use this rule code in our duplication task (1001). Navigate to standard configuration of task 1001 to attach this rule code. By attaching this rule code to task, we are ensuring that if the Sales Audit task is completed then only carry out duplication check.
Path: POS DM IMG: POS Data Management -> POS Inbound Processing -> Tasks -> One-Step Processing -> Define Tasks
Select the duplication task 1001 for your profile and click on Details button on the toolbar.
Following settings are required for task 1001. Please note below points.
This completes the configuration of Duplication task and its prerequisite. Next step is use the status of Duplication task to carry out the next status.
For this, we have to create a rule in which we will mention that if the duplication check is positive (means it is duplication), the transaction should go in Error status otherwise it should be Completed status. To define this logic, let us configure our own rule in POS DM.
Path: POS DM IMG -> POS Data Management -> POS Inbound Processing -> Tasks -> Define Rules
In this screen, click on New entries and configure you rule as per the given image below.
In the rule definition we need to do the following settings.
Once the duplication check is passed, the transaction is to be executed for IDoc generation. For the same, please configure the task 0013 (Generate WPUAB IDoc) as per given image.
Please see the encircled setting. We are making sure that the task 0013 should be executed only if the rule Z001 which we created above is successful. Save your settings.
Similarly you can configure task 0014 which is Generate WPUUMS IDoc.
Finally assign at least these 4 tasks to your profile.
Apart from this various other tasks can be configured as per the client's requirement
This way you can achieve the duplication task implementation. If there are any duplicate transactions, the task overview will show an error. You can check the execution of this task. Open POS DM workbench and see the error transaction. If the transactions are duplication, the same will be recorded in the workbench. Select your transaction and click on Messages button.
From error message you will see that the tasks are failed due to same POS No and Transaction Number combination.
If you check the Task overview of this transaction you will see that task 0013 and 0014 are not processed due to failed status of 1001 task.
This is the end of duplication check implementation and its confirmation that it is working.
I hope this will help our POS DM consultants as quick guide.
Thanks & Regards - Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.