Hi!
I need advice on methodology of using POSDM.
I have the following scenario:
1. During the cash session every POS system sends detail checks to POSDM one-by-one.
Checks should be loaded in BW (cubes, reports) immediately.
There is no any problem in that task.
For loading checks from PI to POSDM i'm going to use IDOC /POSDW/POSTR_CREATEMULTIPLE01.
2. In the end of session POS system sends Z-report with total amount, type of payments etc. There can be several session and several Z-reports on every POS during one day. Of course, we have an unique session number.
And at the moment of Z-report coming I have to do in POSDM several tasks:
A) To collect and to aggregate all detail checks for that POS and that POS session.
B) To check if total amount of detail checks is equal to total amount of Z-report.
C) To send to ERP IDOC WPUUMS with aggergated checks only for that session
D) To send to ERP IDOC WPUTAB with payments only for that session.
The way of implementing step 2 is not clear for me. The questions are:
1. What is the best way for sending Z-report to POSDM? Should we send IDOC WPUTAB from PI to POSDM? Or something else?
2. Should I use two-steps processiing in POSDM in such situation?
3. How to trigger tasks of step 2 (agregate and send to ERP checks from that POS session)?
What should I setup in POSDM for it automatically start these tasks in the moment of coming Z-report?
4. Where should I realize the logic of filtering checks only from current shop and current POS session?
Any advice are welcome, thanks.