Vous êtes sur la page 1sur 29

POS Inbound Processing Engine

PDF download from SAP Help Portal:


http://help.sap.com/saphelp_posdm/helpdata/en/4e/9617be3aec6ea9e10000000a42189b/content.htm

Created on June 03, 2015

The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help Portal.

Note

This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.

© 2015 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE
and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by
SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express
warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other
SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in Germany and other
countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Table of content

PUBLIC Page 1 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Table of content
1 POS Inbound Processing Engine
1.1 Generation of POS Transactions
1.1.1 POS Inbound
1.1.1.1 Use of the BAPI /POSDW/BAPI_POSTR_CREATE
1.1.1.2 Use of IDocs
1.1.2 Generation Using the POS Workbench
1.1.3 Real-Time Individual Processing (Trickle Feed)
1.2 Aggregation of POS Transactions
1.2.1 Aggregation in Task Processing
1.2.2 Forming of Aggregates
1.3 Task Processing
1.3.1 Sending Data to SAP CRM
1.3.2 Using the PIPE Dispatcher
1.3.3 Sending Data to POS Analytics
1.3.4 Sending Data to SAP Retail
1.3.4.1 Sending Sales Data via IDoc WPUBON
1.3.4.2 Sending Sales Data via IDoc WPUUMS
1.3.4.3 Sending Means of Payment Data via IDoc WPUTAB
1.3.4.4 Sending Financial Transaction Data via IDoc WPUFIB
1.3.4.5 Sending Goods Movement Data via IDoc WPUWBW
1.3.5 Sending Data to SAP F&R
1.3.6 Sending Data to Credit Card Settlement
1.3.7 Outbound of sales data to SAP DMF-based applications
1.3.8 Task Processing for POS In-Memory Analytics
1.3.8.1 Enhancing Transaction Data for POS In-Memory Analytics
1.3.8.2 Supplying POS In-Memory Analytics with Distributed Transaction D
1.3.8.3 Determining Transaction Data Status
1.3.9 Aggregation Tasks
1.3.10 Using Outbound Tasks
1.3.11 Tasks for Checking Transactions
1.3.11.1 Check for Duplicate Transaction Numbers
1.3.11.2 Displaying Gaps in Receipt Numbers
1.3.11.3 Checking Comparisons for Totals Transactions
1.3.12 Rules
1.3.12.1 Check for Balanced Transaction
1.3.12.2 Comparing Receipt Data and Cash Desk Totals
1.3.12.3 Check for Performance of Sales Audit
1.3.12.4 Credit Card Data Check
1.4 Outbound Processing of Aggregates
1.4.1 Performing Outbound Processing
1.5 Archiving Transaction Data
1.6 Providing POS Transactions for Online Stock Queries and Inventor
1.7 Encryption of Payment Cards
1.8 Roles
1.8.1 Sales Auditor/POS Monitoring
1.8.2 POS Inbound Processing Engine (PIPE) Administration
1.9 Enterprise Services
1.9.1 Point Of Sale Transaction Processing
1.9.1.1 Point Of Sale Transaction
1.9.1.1.1 Point Of Sale Transaction In
1.9.1.1.1.1 Create Point Of Sale Transaction as Bulk
1.9.1.1.2 Point Of Sale Transaction Out
1.9.1.1.2.1 Request Loyalty Membership Activity Journal as Bulk

PUBLIC Page 2 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
1 POS Inbound Processing Engine

Using the POS Inbound Processing Engine (PIPE), you can receive and process movement data from your stores. The PIPE can process the following data:
Sales and returns including the related tax data and discount information
Means of payment data
Financial transactions
Goods movements
Totals records and cashier statistics
The PIPE updates the transaction data and makes it available for further processing.
You have the following options:
Checking and correction of the data from the transferred POS transactions
Summarization of the data of POS transactions in order to reduce the data volume
Supply of follow-on systems (for example, SAP BI, SAP Retail or SAP F&R) with the data from the POS transactions for further processing.

Integration
The transferred sales data is relevant for providing the following functions in SAP for Retail with POS data:
Supply of POS data to Business Content for POS Analytics and Point of Sale in SAP BI
Supply of the POS Interface Inbound in ERP and SAP R/3 with POS data
Supply of SAP Forecasting and Replenishment in SAP SCM with POS data
Supply of credit card settlement with POS data
The following figure represents the data flow in the PIPE:

Features
Generation of POS transactions:
This includes both the manual creation of POS transactions and the conversion of data that is received in different formats such as IDocs of message types
WPUBON, WPUUMS, WPUTAB, WPUWBW, WPUFIB and WPUKSR or also in BAPI format.
Carrying out of the sales audit with the POS Workbench
You have the following options:
Manual check of the data transfer
Error and message analysis
Display of processing history and follow-on documents
Search for POS transactions
Changing POS transactions
Carrying out checks for transaction data
This includes the following:
Carrying out of automatic master data checks
Check for Duplicate Transaction Numbers
Display of gaps in receipt numbers
Check for balanced sales and tender totals of POS transactions

PUBLIC Page 3 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Comparing receipt data and cash desk totals
Checking credit card data
Summarization of transaction data using automatic aggregation when sending POS data to follow-on systems or by formation of aggregates
Supply of follow-on systems with POS transaction data
This includes the following:
Send data to SAP BI
Send sales data via IDoc WPUBON to SAP Retail
Send sales data via IDoc WPUUMS to SAP Retail
Send sales data via IDoc WPUTAB to SAP Retail
Send financial transaction data via IDoc WPUFIB to SAP Retail
Send goods movement data via IDoc WPUWBW to SAP Retail
Send data to SAP F&R
Send data to credit card settlement

1.1 Generation of POS Transactions

You wish to create POS transactions in the PIPE in order to check them in the PIPE and to be able to forward the related data to the linked follow-on systems.
There are several ways to generate POS transactions:
POS Inbound via BAPI
POS Inbound via IDoc
Create Using the POS Workbench
Using the Point Of Sale Transaction In inbound service interface

1.1.1 POS Inbound

This function enables you to transfer transaction data from the POS system to the PIPE for further checking and processing.

Features
The system provides the following alternatives for supplying the PIPE with POS transaction data:
Synchronous Transfer with the Standard BAPI Structure
Asynchronous Transfer Using IDocs
Master data checks are automatically carried out during the inbound processing as described in Master Data Checks.
By default, the following BAdIs are activate in the inbound processing:
BAdI: POS Transaction Aggregation on Header Level
BAdI: POS Transaction Aggregation on Item Level
BAdI: POS Transaction Aggregation on Tender Level
BAdI: POS Transaction Data Distribution to Item Level
BAdI: POS Transaction Inbound Data Status Processing Enablement
For more information on the BAdIs listed above, refer to their corresponding descriptions in the SAP POS DM Customizing. Also, see Task Processing for In-
Memory Analytics.

1.1.1.1 Use of the BAPI /POSDW/BAPI_POSTR_CREATE

This function enables you to transfer POS transaction data synchronously from the POS store system to the PIPE. The use of the BAPI
/POSDW/BAPI_POSTR_CREATE is the preferred method for sending POS transaction data from a store to the PIPE and, if appropriate, processing the data
immediately (see also Real-Time Individual Processing (Trickle Feed)).

Features
You have set up an RFC-capable program that transfers the POS transaction data from the store system to the BAPI and maps it to the required structures and
fields.

Activities
The store system transfers the data of the POS transactions to the BAPI /POSDW/BAPI_POSTR_CREATE . The BAPI receives the data and posts it to the
connected database. The POS transactions are generated automatically.

1.1.1.2 Use of IDocs

This function enables you to use IDocs to transfer POS transaction data from the POS store system to the PIPE and to make use of the advantages of
asynchronous transfer.

PUBLIC Page 4 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Activities
You can use different IDoc types in order to transfer different data from the POS system to the PIPE. In addition to the standard POS IDoc types, a generated IDoc
(message type /POSDW/POSTR_CREATEMULTIPLE ) is also available:
POS IDoc types:
You can use the following POS IDoc types for data transfer:
WPUBON : Transfer Detailed Sales Data to PIPE
WPUUMS : Transfer Sales Data Without Means of Payment Info to PIPE
WPUTAB : Transfer Means of Payment Information to PIPE
WPUFIB : Transfer Financial Transactions to PIPE
WPUKSR : Transfer Cashier Data to PIPE
WPUWBW : Transfer Goods Movements to PIPE
Generated ALE Interface:
You can use the generated message type /POSDW/POSTR_CREATEMULTIPLE for data transfer to PIPE. This way you can transfer the same POS
transaction data as with BAPI /POSDW/BAPI_POSTR_CREATE since the structure of the message type comprises all elements of the BAPI structure.
The interface then matches. The only difference is that the transfer is asynchronous with use of the IDocs.

1.1.2 Generation Using the POS Workbench

In this process, you manually generate POS transactions in the PIPE in order to use them productively or for test purposes.

Process
Start the POS Workbench and generate whatever POS transactions you wish as described under Editing POS Transaction Data.

1.1.3 Real-Time Individual Processing (Trickle Feed)

You can use this function to transfer POS transactions from the POS system to the PIPE in order to process them in real time and to supply the follow-on systems
with the corresponding data. Real-time individual processing therefore, comprises the complete processing of POS transaction data, and the POS inbound is only
the first part of this.

Activities
You transfer the occurring transaction data regularly and in real time to the PIPE using one of the POS Inbound options. Prioritize the tasks to be carried out and
assign them the task type Immediate Processing in order to carry out automatic checks and rules or to quickly supply follow-on systems with data. As soon as a
POS transaction is posted in the PIPE, the system carries out all defined checks immediately and sends the transaction data to the follow-on systems if no errors
have occurred. The processing there can now start.

Note
Carrying out certain checks (for example, the check for missing receipt numbers) can prove to be difficult in some situations with real-time individual
processing.

1.2 Aggregation of POS Transactions

In this process, the data of POS transactions are summarized (aggregation). Then you can send this aggregated data to other systems.
This significantly reduces the data volume generated. At the same time, the transfer of aggregated information improves performance and saves time.

Process
The system provides two options for aggregating POS transaction data. On the one hand, you can set up automatic aggregation for processing of tasks that are
processed with the single-step procedure. On the other hand, you can form aggregates that are first stored in the database. These aggregates are then processed
in a subsequent step.

1.2.1 Aggregation in Task Processing

You would like to group and aggregate POS transaction data during task processing.

Prerequisites
Ensure that you have assigned the required aggregation methods in the PIPE Customizing to the tasks to be processed in the Tasks One-Step Processing
Tasks area. You can check the settings for the aggregation methods under Tasks One-Step Processing Tasks in Customizing and if you wish
you can configure your own aggregation method.

PUBLIC Page 5 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Activities
The system automatically performs the aggregation of POS transaction data within task processing.
You can choose between the following aggregation methods:
Aggregate Loyalty Items According to Customer Card Number:
The system aggregates loyalty data of POS transactions for each customer card number. The aggregation is also valid for loyalty data that is associated with
the sales items.
The aggregation method is intended for use in connection with the task of creating and sending Loyalty Data to SAP CRM.
Grouping According to Posting Date:
The system does not perform any specific aggregation for task processing, but simply groups the transactions to be processed according to their posting
date. In this way they are always unique thanks to their posting date.
Aggregation According to Material:
The system aggregates sales item data of POS transactions for each material number, unit of measure and currency and creates packages within task
processing.
The aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUUMS.
Aggregating Material with Conditions:
The system aggregates sales item data of POS transactions for each material number, unit of measure and currency. The corresponding taxes and
discounts are also aggregated for the aggregation of the sales item data. The system creates the corresponding packages within the task processing.
The aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUUMS.
Aggregation according to F&R Type and Material:
The system aggregates sales item data of POS transactions for each material number, unit of measure and currency and creates packages within task
processing.
The aggregation method is intended for use in connection with the task of sending data to SAP F&R and is generally to be used for this.
Aggregation Means of Payment:
The system aggregates the means of payment of POS transactions for each posting date, means of payment type and means of payment currency and
creates packages within task processing.
The aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUTAB.
Aggregation Means of Payment Enhanced:
The system aggregates the means of payment of POS transactions for each posting date, POS number and cashier and creates packages within task
processing.
This aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUTAB.
Aggregate Sales Items According to ItemID and Qualifier:
The system aggregates sales item data of POS transactions for each itemID, qualifier, unit of measure, and currency, and creates packages within task
processing.
The aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUUMS.
Aggregate Sales Items According to ItemID and Qualifier with Details:
The system aggregates sales item data of POS transactions for each itemID, qualifier, unit of measure and currency. The corresponding taxes and
discounts are also aggregated for the aggregation of the sales item data. The system creates the corresponding packages within the task processing.
The aggregation method is intended for use in connection with the task for creating and sending the IDoc WPUUMS.
For each of the named aggregation methods you can set an additional time grouping criterion, the aggregation period. This enables you to use the system for even
finer aggregation. Only POS transactions that are in the same aggregation period are aggregated together. You can choose from the following aggregation period
options:
10-minute schedule line for time stamp
Posting Date
Posting date/Transaction currency
Hour of time stamp
Day of time stamp
Week of posting date
Week of time stamp
Month of posting date
Month of time stamp
After aggregation the system sends the data aggregated within the task processing, for which the aggregation was performed, on to the corresponding follow-on
system. For more information, see Task Processing.

1.2.2 Forming of Aggregates

You can use this function to summarize POS transaction data by updating it to aggregates in the database. Then, in a second step, you can process the
summarized data further.

Prerequisites
Ensure that you have made the necessary settings in the PIPE Customizing.
For more information, see Aggregation Tasks.

Features
Summarization of POS transaction data by way of formation of aggregates is carried out using separate tasks (aggregation tasks) that can be set for POS
transactions.
For more information, see Aggregation Tasks.

1.3 Task Processing


PUBLIC Page 6 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
1.3 Task Processing

In this process, you process one or more of the tasks provided by the system for specific transaction data.
Operations on POS transactions are called tasks. The system provides the following task types for processing POS transactions:
Tasks for supplying follow-on systems with POS transaction data
Tasks that are to be carried out manually, where completion is retained in the PIPE as a reminder
Tasks for checking transaction data
Aggregation tasks that serve to form aggregates by summarizing POS transaction data
The following table provides an overview of the tasks that are provided for processing in the standard system:

Task Code Task Description

0001 Supply BW Without Distribution

0002 Sales Audit Performed, Manual Task

0004 Supply BW with Distribution

0005 Supply of Old POS Content in BW

0009 Generate WPUBON IDoc (Non-Goods Items)

0010 Generate WPUBON IDoc

0011 Generate WPUWBW IDoc

0012 Generate WPUFIB IDoc

0013 Generate WPUTAB IDoc

0014 Generate WPUUMS IDoc

0015 Credit Card Settlement

0016 Confirmation of Credit Card Settlement

0017 Supply ERP Inventory Management

0018 Supply CRM Loyalty Interface

0020 Supply SAP Forecasting and Replenishment

0030 Check Balancing for Totals Transactions

0040 Perform Transaction Reversal

0050 Supply - DMF-Based Applications

0060 Calculation for Short/Over Balancing

0061 Send Short/Overs to ERP

0101 Oil & Gas SSR Payment Card Data Processing

1001 Check for Duplicate Transaction Numbers

1002 Check for Receipt Numbers Without Gaps

5001 LPA: Provision of Suspicious Transactions

8001 Aggregate Transaction Data for Analytics

8002 Supply Analytics Cont. with Distributed Transaction Data

8003 Determine Transaction Data Status

The specified aggregation tasks are listed under Aggregation Tasks.

Prerequisites
If you wish to carry out a certain task for a defined POS operation, and thus for a specific type of POS transaction, you ensure that the following settings are made
in PIPE Customizing.
Ensure that you have set the type of tasks to be carried out under Tasks One-Step Processing Define Tasks or Tasks Two-Step
Processing Define Aggregation Task depending on the requirements to one of the values Immediate Processing , Collective Processing or Manual
Processing .
Under POS Transactions , check the task group that is assigned to the relevant POS transaction and assign a task group if required.
Under Tasks Define Task Group , ensure that the task group that is assigned to the transaction type of your POS transaction actually exists.
Ensure that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .
Check also, if necessary, if processing of a task for a defined POS transaction type makes sense.

Process
Depending on the setting in PIPE Customizing for the type of task to be processed, you have the following options for carrying out task processing:
Automatic task processing:
In the case of tasks with type Immediate Processing , the system carries out the processing immediately the POS transaction is created. The creation of
POS transactions in the POS Workbench is an exception to this. In this case, no immediate processing takes place and you must carry out processing as
described in the following section.

PUBLIC Page 7 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Task processing using POS Workbench or PIPE Dispatcher:
In the case of tasks with type Collective Processing , you must start processing of the task with an explicit call.
To do this, you have the following two options:
You carry out the task processing using the POS Workbench.
For more information, see Control of Task Processing.
You carry out task processing with the PIPE Dispatcher (transaction /POSDW/PDIS).
For more information, see Using the PIPE Dispatcher.
Manual task processing and conversion of task status
In the case of tasks with type Manual Processing , you must set the task to Completed by way of the user interface as soon as you have completed it. To
do this, use the POS Workbench.
For more information, see Control of Task Processing.

1.3.1 Sending Data to SAP CRM

In this process, you send the loyalty data of POS transactions to SAP CRM via the service interface LoyaltyMembershipActivityJournalCRMBulkRequest_Out .

Prerequisites
In Customizing, you created the outbound task by choosing in the IMG POS Data Management POS Inbound Processing Tasks One-Step
Processing Define Tasks and by copying the Profile 0001 Task Code 0018 as a template. In the Parameters for this task, also ensure that in the Control
Section, the Code for Aggregation Method is 0009.

Process
The Task Code 0018 Transfer Loyalty Data is available in the standard SAP system for sending loyalty data at header level or retail line item level that is
available in POS transactions to CRM.
You send the relevant data aggregated by setting the aggregation method for task processing in task Customizing according to the customers' loyalty card number.
For more information, see Aggregation in Task Processing.
You carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
Once the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.2 Using the PIPE Dispatcher

You process one or more tasks for a quantity of POS transactions in the background.

Procedure
1. In the PIPE menu, choose POS Processing POS Data Parallel Processing and start the PIPE Dispatcher (transaction /POSDW/PDIS).
2. Set the data selection criteria you require. Enter the tasks to be processed by entering the corresponding task codes in the selection screen. In addition, you
can restrict the POS transactions to be considered by way of store, posting date, and business transaction. If you require further selection criteria, you can
extend the data selection area by choosing the pushbutton Further Selections .
3. By selecting the appropriate checkbox in processing control you can:
Carry out a processing test run:
The processing protocol displays the results of processing with your chosen selection criteria. The test run does not make any changes to the
database.
Process errors:
Tasks that have status Error or Error During Cancellation are taken into account in processing if you first choose the status Ready or Ready to be
Canceled . Remove the errors so that the system can process the relevant tasks.
Consider Customizing changes:
Tasks that have subsequently become active for POS transactions by way of Customizing changes are taken into account by the system.
Switch off prioritization of task processing:
The system carries out processing of the tasks in the order in which they are entered on the selection screen. This way you can override the priorities
assigned in task Customizing.
4. You can enable parallel processing using the PIPE Dispatcher. To do so, select the Parallel Processing checkbox and enter the appropriate parameters
in the selection screen.
5. Then you can select the criteria for the processing protocol output. By selecting Protocols you can view the saved protocols of earlier processing. The
system displays a specific selection screen for choosing the protocol. Here you can restrict the choice of the relevant protocol as well as set time
restrictions, for example, for users or programs.
6. Perform the processing once you have made all the settings. The result is displayed in the processing protocol if you have activated this. If errors have
occurred, the system displays a red status symbol with a corresponding error message. If a processing step was performed successfully, the system
displays a green status symbol.
7. You can view the task status for individual POS transactions in the POS Workbench.
More information, see Using the POS Workbench.

1.3.3 Sending Data to POS Analytics

In this process, you send the data from POS transactions to POS Analytics in order to create analyses and statistics such as sales analysis, error statistics, or
loss prevention. For more information, see https://help.sap.com/bicontent BI Content Version Application Help Industry Solutions Trading Industries

PUBLIC Page 8 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Retail Trade Store Analytics POS Analytics .

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The following tasks are available in the standard system for sending data to POS Analytics:
0001: Supply BW Immediately, Non-Aggregated, with Distribution
0004: Supply BW with Distribution
Carry out processing of the task for the relevant POS transactions depending on the task type.
For more information, see Task Processing.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.4 Sending Data to SAP Retail

You can send the data from POS transactions to SAP Retail in order to generate follow-up documents there or to process the data in other ways.
The following options are available for sending POS transaction data to SAP Retail:
Send Sales Data via IDoc WPUBON
Send Sales Data via IDoc WPUUMS
Send Means of Payment Data via IDoc WPUTAB
Send Financial Transaction Data via IDoc WPUFIB
Send Goods Movement Data via IDoc WPUWBW
Alternatively, you can also supply SAP Retail with data by generating aggregates and carrying out the corresponding outbound processing.
For more information, see Outbound Processing.

1.3.4.1 Sending Sales Data via IDoc WPUBON

In this process you send the sales data of POS transactions, both individually and summarized, to SAP Retail. You can use the IDoc WPUBON for this to transfer
the following data:
Header information of POS Transaction
Data of sales items
Discount information
Tax information
Tender data

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
Both of the following tasks are available for sending sales data to SAP Retail when using the IDoc WPUBON.
0010 - Generate IDoc WPUBON
0009 - Generate IDoc WPUBON (Non-Merchandise Items)
With the provision of a separate task for non-merchandise items, you can process this item data at an early stage independently of the merchandise item data and
then send it to SAP Retail.
Carry out processing of the task for the relevant POS transactions depending on the task type.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.4.2 Sending Sales Data via IDoc WPUUMS

PUBLIC Page 9 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
In this process you can send the sales data of multiple POS transactions, summarized, to SAP Retail. You can use the IDoc WPUUMS for this to transfer the
following POS transaction data:
Header data:
Store
Posting date
Transaction currency
Data of sales items
Discount information
Tax information

Note
Transfer of tender data via IDoc WPUUMS is not possible. If you wish to transfer this data also to SAP Retail, you send, in addition to IDoc WPUUMS
also the IDoc WPUTAB to SAP Retail.

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The task 0014 Generate IDoc WPUUMS is available for sending sales data to SAP Retail when using the IDoc WPUUMS.
If you wish to send the relevant data aggregated, you have to set an appropriate aggregation method for task processing in task Customizing. For more information,
see Aggregation in Task Processing.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.4.3 Sending Means of Payment Data via IDoc WPUTAB

In this process you can send means of payment data of multiple POS transactions (summarized) to SAP Retail. You can use the IDoc WPUTAB for this to
transfer the following POS transaction data:
Header data: store, posting date, department, POS number, and cashier
Means of payment data

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The task 0013 Generate IDoc WPUTAB is available in the standard system for sending means of payment data to SAP Retail using the IDoc WPUTAB.
If you wish to send the relevant data aggregated, you have to set an appropriate aggregation method for task processing in task Customizing. For more information,
see Aggregation in Task Processing.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.4.4 Sending Financial Transaction Data via IDoc WPUFIB

In this process you can send financial transaction data related to POS transactions to SAP Retail. You can use the IDoc WPUFIB for this to transfer the following
POS transaction data:
Header data:
Store
Posting date
Transaction number
Cashier

PUBLIC Page 10 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Financial transaction data

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The task 0012 Generate IDoc WPUFIB is available in the standard system for sending financial transaction data to SAP Retail using the IDoc WPUFIB.
You carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.4.5 Sending Goods Movement Data via IDoc WPUWBW

In this process you can send goods movement data from POS transactions to SAP Retail. You can use the IDoc WPUWBW for this to transfer the following POS
transaction data:
Header data
Store
Posting date
Transaction number
Cashier
Goods movement data

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The task 0011 IDoc WPUWBW is available in the standard system for sending goods movement data to SAP Retail using the IDoc WPUWBW.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

Sending Data to SAP F&R

In this process you send the data of POS transactions to SAP Forecasting & Replenishment (SAP F&R).

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The task 0020 Supply SAP Forecasting and Replenishment is available in the standard system for sending sales data, goods receipt information, and goods
issue information to SAP F&R.
You should send the relevant data aggregated by setting the aggregation method for task processing in task Customizing according to the F&R type and material.
For more information, see Aggregation in Task Processing.
You carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.

PUBLIC Page 11 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.6 Sending Data to Credit Card Settlement

In this process, you send transaction data from credit card payments to credit card settlement and receive confirmation of the processing status.

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The standard system provides the following tasks for sending transaction data to credit card settlement:
0015: Credit Card Settlement
0016: Confirmation of Credit Card Settlement
Using task 0015, you can transfer the settlement data to credit card settlement.
You carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
The external system further processes the data asynchronously and, on completion of settlement, provides confirmation of the result of processing. The
corresponding status is updated as status of the manual task 0016 in the PIPE.
If the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.7 Outbound of sales data to SAP DMF-based applications

You can use this function to send the sales and related data from POS sales transactions to SAP DMF-based receiver systems. This data is needed by SAP
Demand Management Foundation (SAP DMF) to create suitable demand models. In addition, other applications besides SAP DMF that require up-to-date sales
information can also make use of this data.
The following information is transferred:
Data for the combination of store, day, product and offer:
Sales in base unit of measure
Net sales in local currency of the store
Gross sales in local currency of the store
Transaction count
Squared sales in base unit of measure (squared sales is calculated per transaction and then added to existing data)
Cubed sales in base unit of measure (cubed sales is calculated per transaction and then added to existing data)
Data for the combination of store and day:
Store traffic
You can perform the transfer in either of two ways:
One-step process - In the standard customizing (profile 0001) this is provided as the task with code 0050.
Two-step process:
The aggregation of the transactions in a POS aggregate is done in the first step.
The outbound of the aggregated data is done in the second step.
In the standard customizing this function is provided as follows:
Aggregation of transactions is done by the task with code 2050.
The POS aggregate has code 0050.
The corresponding outbound task is done by the task with code 3050.
Choose either the one-step process or the two-step process based on your processing requirements:
The advantage of the one-step process is that it has the minimum overall resource consumption (runtime, disk space). This advantage occurs when the
block size is not restricted and all data to be sent is available. (The transfer of POS data takes place after shop closing when the complete POS upload
has taken place). If either the block size is restricted or the transfer starts when not all data is available, sales records might be sent several times. This
increases the network load as well as the workload on the receiver system.
The advantage of the two-step process approach is that each sales record is sent only once if the outbound task is executed after all transactions have
been aggregated in the POS aggregate. This reduces the network load and the workload on the receiver system. In addition, if you execute the aggregation
task (in a trickle feed scenario) multiple times during the day, the multiple execution as well as the restriction of the package size will have no
consequences for the transfer of data itself. If you restrict the package size you have more control over the main memory consumption. Additionally, if you
execute the aggregation task multiple times during the day, you reduce the workload in the critical night window. The drawback of this approach is the
higher overall workload because the POS aggregates have to be updated on the database.

Prerequisites
You have made the following settings in Customizing for POS Inbound Processing (PIPE):
You have created a suitable customizing profile by choosing General Settings Define Profiles .
You have assigned the transfer relevant stores to that profile by choosing General Settings Store Settings .

PUBLIC Page 12 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
You have maintained a task group for the aggregation and transfer of sales transactions by choosing Tasks Define Task Group .
Transaction types:
You have maintained a transaction type group for the transfer relevant (sales) transactions by choosing POS Transactions Define Type Group for
POS Transactions .
You have maintained the transfer relevant transaction types and assigned them to the corresponding transaction type group and task group by choosing
POS Transactions Define POS Transaction Type .
Sales item types:
You have maintained the relevant sales item type groups by choosing POS Transactions Define Type Group for Sales Items .
You have maintained the transfer relevant sales item types and assigned them to the corresponding item type group and task group by choosing POS
Transactions Define Sales Item Types .
Tax types:
You have maintained the relevant tax type groups by choosing POS Transactions Define Type Group for Taxes .
You have maintained the relevant tax types and assigned them to the corresponding tax type groups and task group by choosing POS Transactions
Define Tax Types .
Discount types:
You have maintained the relevant discount type groups by choosing POS Transactions Define Type Group for Discounts .
You have maintained the relevant discount types and assigned them to the corresponding discount type groups and task group by choosing POS
Transactions Discount Type .
When using the one-step process:
You have created the outbound task by choosing Tasks One-Step Processing Define Tasks (using task 0050 for profile 0001 as a copy
template). You have set the task type to 1 (Collective processing). You have set the parameter DMF_APPS to a suitable value depending on the set of
applications running on the receiver system.
You have maintained the RFC destination of the receiver system by choosing Tasks Define Additional Details for Tasks .
You have assigned the task to the corresponding task group for the transfer of sales transactions by choosing Tasks Assign Tasks to Task Group .
When using the two-step process:
You have created the task for the aggregation of data in Customizing by choosing Tasks Two-Step Processing Define Aggregation Task (using
task 2050 for profile 0001 as a copy template). You have set the task type to 1 (Collective processing). You have set the parameter DMF_APPS to a
suitable value depending on the set of applications running on the receiver system.
You have created the task for the outbound of data by choosing Tasks Two-Step Processing Define Outbound Tasks (using task 3050 for profile
0001 as a copy template).
You have maintained the RFC destination of the receiver system by choosing Tasks Additional Details for Outbound Tasks .
You have assigned the aggregation task to the corresponding task group for the transfer of sales transactions by choosing Tasks Assign Tasks to
Task Group .
If you have set the parameter DMF_APPS: You have ensured that for the value of this parameter an active implementation for the BAdI
/POSDW/DMF_RELEVANCE exists (see Customizing activity Integration with other SAP components DMF based applications Control the transfer
relevance of products ).

Activities
The aggregation and outbound of sales data is executed using the existing PIPE framework. You can find further information under Task Processing.

1.3.8 Task Processing for POS In-Memory Analytics

If you have implemented SAP POS DM on SAP NetWeaver BW powered by SAP HANA and want to accelerate decision making in your business using the
POS In-Memory Analytics content, the following tasks are provided for processing in the standard system:

Task Code Task Description

8001 Aggregate Transaction Data for Analytics

8002 Supply Analytics Cont. with Distributed Transaction Data

8003 Update Data Status for Analytics

For more information on tasks for POS In-Memory Analytics, see:


Enhancing Transaction Data for POS In-Memory Analytics
Supplying POS In-Memory Analytics with Distributed Transaction Data
Updating Transaction Data Status

Prerequisites
To use POS In-Memory Analytics and to process the associated tasks, SAP POS DM must be implemented on SAP NetWeaver BW powered by SAP HANA.

1.3.8.1 Enhancing Transaction Data for POS In-Memory


Analytics

In this process, you enhance the transaction header, item, or tender information to accelerate the querying of data when you use the POS In-Memory Analytics
content.

PUBLIC Page 13 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
By default, the enhancement of transactional data is performed during the POS Inbound process by the following activated BAdIs:

BAdI Implementation Transaction Data Enhancement Description

POS Transaction Aggregation on Header Level /POSDW/ANALYTIC_AGG_HEADER_IMP The start timestamp (or business day date, if no start
timestamp is present) contained in the transaction header
is decomposed into separate year, month, day, hour, and
calendar week values. This accelerates grouping by time
period when querying the transactional data.

POS Transaction Aggregation on Item Level /POSDW/ANALYTIC_AGG_ITEM_IMP The included taxes and discounts for individual transaction
line items are totaled and written to dedicated item
analytics fields in the TLOGF table. This eliminates the
need for complex and time-consuming joins when
querying data.
Note that the taxes and discounts included in the
transaction header, and which are distributed to the
transaction line items, are not included in these sums.

POS Transaction Aggregation on Tender Level n/a Currently, no default implementation is provided.

If you disable the execution of these BAdIs during the POS Inbound process, you can still perform the enhancement of transactional data by using task 8001
Aggregate Transaction Data for Analytics .
For more information about the BAdIs listed above, see their accompanying documentation in the Customizing under Customer-Specific Enhancements and
BAdI Implementations Enhancements for In-Memory Analytics .

Voided Transactions and Line Items


Whether you are using the POS Transaction Aggregation on Header Level BAdI, the POS Transaction Aggregation on Item Level BAdI, or task 8001
Aggregate Transaction Data for Analytics , voided transactions and line items are flagged by SAP POS DM (DISTVOID field of the TLOGF table). This allows
voided transactions and line items to be excluded from the calculations performed by the POS In-Memory Analytics content.
For more information on how SAP POS DM populates the DISTVOID field, refer to the documentation accompanying the POS Transaction Aggregation on
Header Level and the POS Transaction Aggregation on Item Level BAdIs.

Prerequisites
SAP POS DM implemented on SAP NetWeaver BW powered by SAP HANA.
If you are using task 8001 Aggregate Transaction Data for Analytics , you have made the following settings in PIPE Customizing:
You have set the Type of Task to be carried out under Tasks One-Step Processing Define Tasks as required for your implementation
and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if
required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task
Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
By default, the BAdI implementations for the transaction data enhancements are activated in the POS Inbound process.
If you have chosen to deactivate the BAdI implementations for transaction data enhancements, you can use task 8001 Aggregate Transaction Data for Analytics
to perform the transaction data enhancements on transactions in the TLOGF table. For more information, see Task Processing.

1.3.8.2 Supplying POS In-Memory Analytics with Distributed


Transaction Data

In this process, you distribute the discount, tax, and tender information contained on the header level of a POS transaction to the individual transaction line items.
This distribution reduces the execution time of POS In-Memory Analytics queries.

Caution
The distribution performed in this process assumes a standard implementation of the SAP POS DM and does not take into consideration any custom sales
item types or distribution requirements. Distribution can significantly impact analytic reports built on POS In-Memory Analytics Content; ensure that the
standard distribution calculations fulfill your business requirements.

By default, the distribution is performed during the POS Inbound process by the following activated BAdI:

BAdI Implementation Transaction Data Enhancement Description

POS Transaction Data Distribution to Item Level /POSDW/ANALYTIC_DIST_ITEM_IMP The discount, tax, and tender information contained on the
header level of a POS transaction is distributed to the
individual line items. The distributed figures are stored in
dedicated fields of the /POSDW/TLOGF table.
The distribution is performed based on the line item's
sales amount within a transaction as follows:

PUBLIC Page 14 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
line item discount amount = transaction discount
amount * [ | line item sales amount | ÷ (sum of all |
transaction line item sales amounts |) ]
Discounts are not distributed to line item types for
which the Remove f. Distr. of Header Discounts
option of the POS Inbound Processing POS
Transactions Define Sales item Types
Customizing activity is enabled.
line item tax amount = transaction tax amount * [ |
line item sales amount | ÷ (sum of all | transaction
line item sales amounts |) ]
Excluded taxes are not considered in the
distribution. In the SAP POS DM Customizing
under POS Inbound Processing → POS
Transactions → Define Tax Types , use the Tax
Included checkbox to specify if a tax type is
“included” or “excluded”.
Furthermore, taxes are not distributed to line item
types for which the Remove Item fr. Distr of
Header Tax option of the POS Inbound
Processing POS Transactions Define Sales
item Types Customizing activity is enabled.
line item tender amount = transaction tender
amount * [ | line item sales amount | ÷ (sum of all |
transaction line item sales amounts |) ]
Tenders are not distributed to line item types for
which the Remove from Distribution of Tender
option of the POS Inbound Processing POS
Transactions Define Sales item Types
Customizing activity is enabled.

Note
Absolute values are used for the line item and
transaction sales amounts to ensure that the ratio
between the two results in a positive value.

If you disable the execution of this BAdI during the POS Inbound process, you can still perform the data distribution by using task 8002 Supply Analytics Cont.
with Distributed Transaction .
For more information about the BAdI listed above, see its accompanying documentation in the Customizing under Customer-Specific Enhancements and BAdI
Implementations Enhancements for In-Memory Analytics .

Prerequisites
SAP POS DM implemented on SAP NetWeaver BW powered by SAP HANA.
If you are using task 8002 Supply Analytics Cont. with Distributed Transaction , you have made the following settings in PIPE Customizing:
You have set the Type of Task to be carried out under Tasks One-Step Processing Define Tasks as required for your implementation
and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if
required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task
Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
By default, the BAdI implementation for data distribution is activated in the POS Inbound process.
If you have chosen to deactivate the BAdI implementations for data distribution, you can use task 8002 Supply Analytics Cont. with Distributed Transaction Data
to perform the data distribution on transactions in the TLOGF table. For more information, see Task Processing.

1.3.8.3 Determining Transaction Data Status

The POS In-Memory Analytics content allows you to perform analysis directly on the POS transactional data stored in the TLOGF table in the SAP HANA
database.
In this process, you verify the transactional data stored in the database prior to querying it. As a result, a data status value is stored in the TLOGF table for each
transaction. SAP POS DM maintains the data status of a transaction record:
During inbound processing and when the editor is started for a particular POS transaction within the POS Workbench.
The data status is determined using the following BAdI, which is activated in the POS Inbound process by default:

BAdI Implementation Transaction Data Enhancement Description

POS Transaction Inbound Data Status Processing /POSDW/ANALYTIC_INB_DATASTATUS The data status is maintained for the transaction.
Enablement

For more information about the BAdI listed above, see its accompanying documentation in the Customizing under Customer-Specific Enhancements and
BAdI Implementations Enhancements for In-Memory Analytics .
During task processing, using task 8003 Determine Transaction Data Status .

PUBLIC Page 15 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
The data status of a transaction is set to one of the following values:

Data Status Description

0 (Undefined) This status is assigned to transactions on which no master data checks have been
performed and no tasks have been processed.

1 (Error) This status is assigned to transactions which fail a master data check or for which at least
one processing task has resulted in an Error status.

2 (Master Data Check OK; No Tasks Processed) This status is assigned to transactions that pass a master data check and for which no
tasks have been processed.

3 (MD Check OK; One or More Tasks Processed, No Tasks in Error) This status is assigned to transactions that pass a master data check and for which:
At least one task has been processed
All tasks that have been processed have no errors (not in Error state)

Prerequisites
SAP POS DM implemented on SAP NetWeaver BW powered by SAP HANA.
You have made the following settings in SAP POS DM Customizing:
You have set the Type of Task to be carried out under Tasks One-Step Processing Define Tasks as required for your implementation
and you have checked the correctness of other task settings.
You have enabled the Data Status Relevant Flag under Tasks One-Step Processing Define Tasks for all tasks that process
transactional data stored in the TLOGF table and which you consider to have impact on the data status.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if
required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task
Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .
You have defined a check profile to used for data status determination under General Settings Define Check Profiles .
You have specified the identifier of a check profile in the Master Data Checks for Data Status Determination section of the General Settings
Define Profiles Customizing activity.
You have enabled the Checks Using Check Profiles checkbox under General Settings Define General Settings .
For more information , see Master Data Checks.

Process
Task 8003 Determine Transaction Data Status is available in the standard system for updating the data status of a transaction stored in the TLOGF table.

When using task 8003 , we recommend that you also use rules to ensure that task 8003 is the last task to be executed on a transaction. For more information,
see Task Processing.

Note
Manual task status changes in the POS Workbench are not detected by task 8003 Determine Transaction Data Status and will not trigger changes to the
data status.

1.3.9 Aggregation Tasks

You use this function to summarize POS transaction data by forming aggregates that the system first stores in the database. This way you have the facility to send
the summarized data to follow-on systems at a later date using the PIPE outbound processing.

Prerequisites
You have made the following settings in PIPE Customizing.
You have set the type of the task to be carried out under Tasks Two-Step Processing Define Aggregation Task depending on the requirements
to either Immediate Processing or Collective Processing and you have checked the correctness of the other aggregation task settings.
You have ensured that the data of the aggregation level assigned to the aggregation task is set correctly under Tasks Two-Step Processing Define
Aggregation Level .
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you have assigned a task group if
required.
Under Tasks Define Task Group , you have ensured that the task group that is assigned to the transaction type of your POS transaction actually
exists.
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Activities
The system summarizes POS transaction data by way of formation of aggregates using separate tasks (aggregation tasks) that you can set for POS transactions.
The following table provides an overview of the aggregation tasks that are provided in the standard system. The description shows the type of aggregation:

PUBLIC Page 16 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Task Code Task Description

2001 Material/Stock

2002 Material/Stock with Taxes and Discounts

2011 Register/Cashier/Department/Tender

2012 Means of Payment

2050 Material + Offer (DMF-Based Applications)

Carry out processing of the aggregation task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
During processing, the system forms a new aggregate if no open one exists for the chosen aggregation method. If another aggregate exists with aggregated data
records, which has not yet been completed, the system aggregates the data of the POS transactions to be processed in this aggregate.
When the system has successfully carried out the aggregation task, it sets the status of the task for all processed POS transactions to Completed .
You can send the data of all the aggregates generated through aggregation tasks to other systems by way of the available outbound processing. The aggregation
tasks provided, therefore, are only appropriate with use of certain outbound tasks. For more information, see Outbound Processing of Aggregates.

1.3.10 Using Outbound Tasks

With this function you can send data, which you have cumulated in the form of POS aggregates and updated in the database, for further processing to the follow-on
system.

Prerequisites
You have made the following settings in PIPE Customizing:
You have assigned the correct aggregation task to the outbound task to be processed under Tasks Two-Step Processing Define Aggregation
Task ; this must also adjust to the chosen outbound task BAdI filter.
You have checked that the further data of the outbound task is set correctly under Tasks Two-Step Processing Define Aggregation Task .

Activities
Using an outbound task and associated outbound processing, you can now send data that you previously updated in an aggregate in the aggregation task to the
follow-on system. The following table provides an overview of the outbound tasks that are provided in the standard system. The description shows the type of
outbound tasks:

Task Code Task Description

3001 Sales data at WPUUMS IDoc

3002 Means of Payment as WPUTAB IDoc

Perform the processing of the outbound tasks for the POS aggregates required using the PIPE outbound processing. For more information, see Outbound
Processing.
You can view the processing status of POS aggregates in the POS Workbench. For more information, see Monitoring POS Aggregates.

1.3.11 Tasks for Checking Transactions

You can check the POS transaction data using special tasks. The result of the check is reflected in the corresponding task status and remains evident until the
task is processed successfully at a later time.
The system provides the following tasks in the standard for checking transaction data:
1001: Check for duplicate transaction numbers
1002: Check for Receipt Numbers Without Gaps
0030: Check Balancing for Totals Transactions
You carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
Once the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .
For more information on the tasks mentioned, see Outbound Tasks and Outbound Processing of Aggregates.

1.3.11.1 Check for Duplicate Transaction Numbers

With this process you can define whether doubled transaction numbers for the POS transactions transferred to PIPE from the POS system.

Prerequisites
You have made the following settings in PIPE Customizing:
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.

PUBLIC Page 17 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The system provides you with task 1001 - Check for Duplicate Transaction Numbers in the standard. When processing the task, the system checks for a
number of POS transactions if the transaction numbers are duplicated for a specific POS number. The transaction numbers must therefore be unique for each
POS number.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
Once the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.11.2 Displaying Gaps in Receipt Numbers

With this process you can define whether gaps appear for the assigned transaction numbers for the POS transactions transferred to PIPE from the POS system.

Prerequisites
You have made the following settings in PIPE Customizing:
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The system provides you with task 1002 - Check for Receipt Numbers Without Gaps in the standard. When processing the task, the system checks for a
number of POS transactions if the transaction numbers for a specific POS number are numbered consecutively and that there are no gaps.
Any gaps show that not all POS transactions have been transferred from the POS system to the PIPE.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
Once the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.11.3 Checking Comparisons for Totals Transactions

Use this process to check whether the sums of the individual POS transactions correspond when combined to the relevant cash desk totals, which are transferred
in a totals transaction from the POS system. You want to document the result in the system as the status of a task processing.

Prerequisites
You have made the following settings in PIPE Customizing:
You have set the type of the task to be carried out under Tasks One-Step Processing Define Tasks depending on the requirements to either
Immediate Processing or Collective Processing and you have checked the correctness of the other task settings.
Under POS Transactions , you have checked the task group that is assigned to the relevant POS transaction and you assign a task group if required.
You have ensured that the task group, which is assigned to the transaction type of your POS transaction, exists under Tasks Define Task Group .
You have ensured that the task to be carried out is assigned to the relevant task group under Tasks Assign Tasks to Task Group .

Process
The system provides you with task 0030 - Checking Comparisons for Totals Transactions in the standard. When processing the task only the corresponding
0004 rule - Check the Comparison of Totals Transactions is processed. The rule check result is reflected in the task status because no additional data
processing is set for the task.
Carry out processing of the task for the relevant POS transactions depending on the task type. For more information, see Task Processing.
Once the task has been carried out successfully, the system sets the task status for all processed POS transactions to Completed .

1.3.12 Rules

You can check transaction data when processing tasks using predefined rules and then carry out a specific activity depending on the result. You use rules in
cases where you only wish to process tasks if certain conditions are fulfilled.

Prerequisites
You have ensured that the rule used in the PIPE Customizing is properly set under Tasks Define Rules and that the rule that is to be used for the relevant

PUBLIC Page 18 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
task is assigned under Task One-Step Processing Define Tasks or Tasks Two-Step Processing Define Aggregation Task .

Activities
A rule consists of a condition and actions that are be performed if the condition is, or is not, fulfilled.
In contrast to task processing, which is performed package by package for multiple POS transaction, the system performs rules individually for each POS
translation within task processing. In doing so, each individual POS transaction can be excepted from task processing if the rule that is assigned is not fulfilled.
An assigned rule is normally checked while a task is processed.
The system offers you the following rule types:
Task Complete :
The system only performs the task processing, to which the rule is assigned, when another task in rule Customizing has already been successfully
processed.
BAdI :
The system performs a check of the POS transaction with a BAdI implementation. Only when the check has been successful does the system perform
task processing.
Link rules AND , OR , NOT as well as Perform all Linked Rules :
The system gives you the chance to link rules together logically. This means you can perform multiple rules for one task processing. The link rules mean:
AND Link:
All linked rules must be fulfilled.
OR Link:
At least one of the linked rules must be fulfilled.
NOT Link:
None of the linked rules are to be fulfilled.
Perform all Linked Rules:
The system processes all linked rules, irrespective of whether errors have occurred in the meantime so that a rule is not fulfilled. This behavior
highlights the difference from the AND link because there the system ends the execution with the first error.
Create the required link rule in Customizing in which you set out the required type and save it. Create the linking rule in Customizing. Then enter the link rule
into the Link Rule field for the each other rules that are to be processed.
This behavior can be used on multiple levels so that you can construct conditions that are as complex as you wish.
The following are possible actions from a result of a rule check in the standard:
The system performs the task processing because the rule is fulfilled. The status of the task processing of the POS transaction under consideration is
therefore dependent on the processing result.
Postpone the POS transaction: The task keeps the status Ready or Ready for Cancellation , but is excluded from further processing. This action is used
when the POS transaction does not fulfill a precondition, such as a previously processed task, for example.
The system changes the status to Error , Error During Cancellation or Rejected . In this case the POS transaction does not participate further in the
processing.
You can complete the named actions with actions of your own for fulfilled or not fulfilled rules as you wish and that way you can react according to your own
individual needs to the results of a rule check.
Rules are executed according to their priority. If priorities are equal then the alphabetical series of the rule code is followed.
The system provides the following rules in the standard:
0001: Balanced Transaction
0002: Check Credit Card Data
0003: Sales Audit Performed
0004: Check Balancing of Totals Transactions
0005: Calculation for Short/Over Balancing Performed

1.3.12.1 Check for Balanced Transaction

You can use this function to check if a transaction is balanced. A transaction is balanced if the total of the sales values of all sales items of a transaction including
taxes and discounts is equal to the total of the corresponding means of payment.

Prerequisites
You have made the following settings in PIPE Customizing:
The rule to be used with the relevant task is assigned under Tasks One-Step Processing Define Tasks or Tasks Two-Step Processing
Define Aggregation Task .
Customizing of the rule is set correctly under Tasks Define Rules . This is especially important if you wish to use the rule in conjunction with other
rules.

Features
For each POS transaction, the system carries out the rule automatically when processing tasks to which you have assigned the rule. Depending on the settings in
Customizing, this occurs together with other linked rules.
The processing can deliver the following results for each individual POS transaction:
The system processes the task and, if appropriate, carries out an operation predetermined by you in the event of a rule being checked successfully.
The system does not carry out task processing and places the task in status Ready or Ready to be Canceled .
The system does not carry out task processing and sets the task status to Error , Error During Cancellation, or Rejected .
The system does not carry out task processing and reacts by performing an operation you have predetermined.

PUBLIC Page 19 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
For more information, see Rules.
This way you can see for each individual POS transaction if it is balanced or if an inconsistency exists.

1.3.12.2 Comparing Receipt Data and Cash Desk Totals

Use this function to check whether the sums of the individual POS transactions correspond when combined to the relevant cash desk totals, which are transferred
in a totals transaction from the POS system.
The rule performs the check for sales items, taxes, discounts, and means of payment of the relevant transactions in relationship to the cash desk totals.

Prerequisites
You have made the following settings in PIPE Customizing:
The rule to be used with the relevant task is assigned under Tasks One-Step Processing Define Tasks or Tasks Two-Step Processing
Define Aggregation Task.
Customizing of the rule is set correctly under Tasks Define Rules . This is especially important if you wish to use the rule in conjunction with other
rules.

Features
For each POS transaction, the system carries out the rule automatically when processing tasks to which you have assigned the rule. Depending on the
Customizing, this takes place in connection with other rules that are linked.
The processing can deliver the following results for each individual POS transaction:
The system processes the task and, if appropriate, carries out an operation predetermined by you in the event of a rule being checked successfully.
The system does not carry out task processing and places the task in status Ready or Ready to be Canceled .
The system does not carry out task processing and sets the task status to Error , Error During Cancellation, or Rejected .
The system does not carry out task processing and reacts by performing an operation you have predetermined.
For more information, see Rules.
In this way you see whether the receipt data that has been checked corresponds in total to the relevant cash desk totals, or if there is an inconsistency.
This function for comparing transaction data and cash desk totals is also available as a single transaction that you can use as an alternative to using the rule. For
more information, see Checking Comparisons for Totals Transactions.

1.3.12.3 Check for Performance of Sales Audit

You can use this function to ensure that a sales audit, that is, a check of the POS transaction data, has already been performed before any other task is
processed.

Prerequisites
You have made the following settings in PIPE Customizing:
The rule to be used with the relevant task is assigned under Tasks One-Step Processing Define Tasks or Tasks Two-Step Processing
Define Aggregation Task .
Customizing of the rule is set correctly under Tasks Define Rules . This is especially important if you wish to use the rule in conjunction with other
rules.

Features
For each POS transaction, the system carries out the rule automatically when processing tasks to which you have assigned the rule. Depending on the settings in
Customizing, this occurs together with other linked rules.
The processing can deliver the following results for each individual POS transaction:
The system processes the task and, if appropriate, carries out an operation predetermined by you in the event of a rule being checked successfully.
The system does not carry out task processing and places the task in status Ready or Ready to be Canceled .
The system does not carry out task processing and sets the task status to Error , Error During Cancellation, or Rejected .
The system does not carry out task processing and reacts by performing an operation you have predetermined.
For more information, see Rules.
This way, you can see if the status of the relevant task 0002 Sales Audit Performed, Manual Task has been set to Completed manually. If this is the case, you
should have completed the check of the transaction data earlier.

1.3.12.4 Credit Card Data Check

You can use this function to check the credit card data that has been used in payment in a POS transaction.

PUBLIC Page 20 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Prerequisites
You have made the following settings in PIPE Customizing:
The rule to be used with the relevant task is assigned under Tasks One-Step Processing Define Tasks or Tasks Two-Step Processing
Define Aggregation Task .
Customizing of the rule is set correctly under Tasks Define Rules . This is especially important if you wish to use the rule in conjunction with other
rules.

Features
For each POS transaction, the system carries out the rule automatically when processing tasks to which you have assigned the rule. Depending on the settings in
Customizing, this occurs together with other linked rules.
The processing can deliver the following results for each individual POS transaction:
The system processes the task and, if appropriate, carries out an operation predetermined by you in the event of a rule being checked successfully.
The system does not carry out task processing and places the task in status Ready or Ready to be Canceled .
The system does not carry out task processing and sets the task status to Error , Error During Cancellation, or Rejected .
The system does not carry out task processing and reacts by performing an operation you have predetermined.
For more information, see Rules.
Based on the result, you can see if the credit card data relating to a POS transaction is in order.

1.4 Outbound Processing of Aggregates

In this process you send the data, summarized in the form of POS aggregates and updated to the database, to follow-on systems in order to be able to process it
further there.

Process
The outbound processing of a POS aggregate can be split into the following components:
1. Closing the aggregate:
This way no further update of data to the aggregate is allowed. Closing of an aggregate means that, during a subsequent aggregation of data, a new
aggregate is generated automatically.
2. Starting the outbound processing for the aggregate:
The aggregate records are split into packages. This step cannot then be undone.
3. Processing of the individual packages of an aggregate.
4. Receipt of package confirmations of recipient system (if planned in Customizing).
5. Following processing of all packages, the aggregate receives the status Completed .

1.4.1 Performing Outbound Processing

Procedure
If you wish to perform outbound processing, proceed as follows:
1. Start the PIPE Outbound Dispatcher (transaction /POSDW/ODIS), the report for PIPE outbound processing.
2. Set the data selection criteria you require. Enter the outbound tasks to be processed by entering the corresponding task codes in the selection screen. In
addition, you can restrict the POS aggregates that are to be taken into consideration, such as stores, aggregation levels, aggregation numbers, the
aggregation task used, package status and group.
3. By selecting the appropriate checkbox in processing control you can:
Close open aggregates
Start outbound processing and, through this, package creation
Process outbound tasks for POS aggregates
Reorganize a package status
Processed packages are confirmed by the receiver system. However, due to blocking, it is possible that the package status has not yet been updated. The
system carries out checks and changes the package status.
Set aggregate status to complete
Perform a processing check run
In a check run, the processing protocol displays the results of processing with your chosen selection criteria. This does not trigger database changes.
4. You can use the outbound dispatcher for parallel processing. To do so, select the Parallel Processing checkbox and enter the appropriate parameters in
the selection screen.
5. You can also select the criteria for the processing protocol output. By selecting Protocols you can view the saved protocols of earlier processing. The system
displays a specific selection screen for choosing the protocol. Here you can restrict the choice of the relevant protocol as well as set time restrictions, for
example, for users or programs.
6. Perform the processing once you have completed all your settings. The result is displayed in the processing protocol, provided you have activated this. If
errors have occurred, the system displays a red status symbol with a corresponding error message. If a processing step was performed successfully, the
system displays a green status symbol.
7. You can view the status for individual POS aggregates in the POS Workbench. More information, see Using the POS Workbench.

1.5 Archiving Transaction Data

PUBLIC Page 21 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
You archive POS transaction data or POS aggregates and all related data if they are no longer required in order to reduce the volume of data in your system.

Prerequisites
Ensure that you have completed processing of the POS transactions and POS aggregates and that you no longer require the data.
Prior to archiving POS transactions or POS aggregates, ensure the following:
For all POS transactions for a Store/Date combination selected for archiving, all the tasks for these transactions must have the status Completed ,
Rejected , or Cancelled .
You no longer require the data you are archiving to be available SAP POS DM.

Procedure
1. Start transaction SARA and use the following archiving objects:
/POSDW/TL for archiving of POS transactions. If you are using SAP POS DM implemented on SAP NetWeaver BW powered by SAP HANA, use
archiving object /POSDW/TLF.
/POSDW/AGG for archiving of POS aggregates
You have the following options in each case:
Write data to an archive
Delete archived data from the system
View archived data
For POS transactions, you also have the possibility of reloading archived data into the system.
Alternatively, you can use the relevant reports for archiving of POS transactions and POS aggregates. These run in archive administration in the
background:
Write POS transactions to an archive: /POSDW/ARCHIVE_WRITE
Delete archived POS transactions from the system: /POSDW/ARCHIVE_DELETE
Read archived POS transactions: /POSDW/ARCHIVE_READ
Reload archived POS transactions: /POSDW/ARCHIVE_RELOAD
Write POS aggregates to an archive: /POSDW/ARCHIVE_WRITE_AGGREGATE
Delete archived POS aggregates from the system: /POSDW/ARCHIVE_DELE_AGGREGATE
Read archived POS aggregates: /POSDW/ARCHIVE_READ_AGGREGATE

1.6 Providing POS Transactions for Online Stock Queries and


Inventories During Opening Hours

With this function you can send POS transactions needed for online stock queries and physical inventories during opening hours to ERP.

Prerequisites
Ensure that you have made the following settings in PIPE Customizing to facilitate the PIPE-side processing:
You have set up task processing using the two-step process (update of aggregate data through an aggregation task and a later outbound task) for sending
sales data using the WPUUMS IDoc.
You have set up an aggregation task under Tasks Two-Step Processing Define Aggregation Task . Pay particular attention to the following:
Depending on your needs, you have either set the aggregation task to Immediate Processing or Collective Processing .
For the aggregation control you have selected Active Index and chosen aggregation period 11 - Posting Date/Transaction Currency .
For the aggregation level, choose either of the parameters 0001 or 0002 or an analog aggregation level of your own.
For more information, see Aggregation Tasks.
You have set up an aggregation task under Tasks Two-Step Processing Define Aggregation Task . Pay particular attention to the following:
You have assigned either the 3001 task filter, or an analog task filter of your own.
You have selected Confirmation Expected .
Under Tasks Define Index/Worklist for POS Transactions you have set up an index for unprocessed sales transactions with the following details:
You have chosen Save POS Transactions as time point for update.
You have chosen Aggregation Task as time point for deleting index information.
You have selected Master Data .
You have entered the appropriate aggregation task code in the Task field.
Under Integration with Other SAP Components General Assignments Assign Tasks to Task Codes choose the setting Two-Step Processing,
Outbound Task for task 03 - Transfer of Data to Inventory Management and assign the outbound task code to create the WPUUMS IDoc.

1.7 Encryption of Payment Cards

The following options are used for the encryption of payment cards:
· Encrypted storage of credit card numbers, cardholder names, and card expiration dates
· Masked display of credit card number
· Display of the complete credit card number
· Logging of display of the complete credit card number
The selection of the security level (with/without encryption/masking ), the update of the access log with unmasked display, the selection of the additional
authorization check with unmasked display and the number of visible characters with masking are controlled by way of the settings on payment card security
described below.

PUBLIC Page 22 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
For display of the complete credit card number in the POS Workbench, a display pushbutton is visible in the segment for the credit card data behind the field for
the credit card number (if the authorization object B_CCSEC exists in the user master record). You can save each display of a non-masked payment card
number in an access log. This way you can trace which user has displayed which payment card and when.

Integration

Migration of old Data


The migration of existing POS transactions with credit card numbers without security level takes place using transaction /POSDW/PCAM. Note the settings for the
changeability of POS transactions if tasks with status Completed exist.

Archiving of Encrypted Credit Card Numbers


Archiving of the encrypted credit card numbers takes place by way of the archiving object CA_PCA_SEC.

Access Logs
You can evaluate the access to payment card data with the program RCCSEC_LOG_SHOW. In order to evaluate the access log, you require authorization for
activity 71 in the authorization object B_CCSEC.
You can delete the log records if these are at least one year old. You carry out deletion with program RCCSEC_LOG_DEL. In order to activate the deletion
program, you must have authorization for object B_CCSEC with activity 06.

Prerequisites

Making the Settings for Payment Card Security:


Make the general security settings using transaction SM30, maintenance view V_TCCSEC. Note that, on selection of the security level Masked Display, No
Encrypted Save, credit card numbers may be lost in the SAP System. This setting should only be selected if the credit card data is not to be processed further.
Application of the security settings occurs with all POS transactions with credit card information that are to be newly created or changed.
The steps described in the following section are only required if you use the security level Masked Display and Encrypted Save .

Setting Up the Encryption Software:


The functionality SAPCRYPTOLIB contains the necessary functions for encryption. Install SAPCRYPTOLIB. You can make general settings for execution of the
encryption software in the Implementation Guide (IMG) for SAP NetWeaver . Choose Application Server -> System Administration -> Maintain the Public Key
Information for the System.
If you set the encryption with transaction SSFA, you must use the application PAYCRD.
For more information, see Note 662340.
If you set the encryption with the transaction SSFVA, you must use the application PAYCRV.
For more information, see Converting to Versioned Encryption.

Setting Up the Encryption for Each Credit Card Institute:


Use transaction SM30, maintenance view V_TB033 to determine for each credit card institute whether credit card numbers are to be encrypted or not. The
settings can also be called up by way of the implementation guide (IMG) for cross-application components. Choose Payment Cards -> Basic Settings ->
Maintain Payment Card Type.
The complete security settings only come into effect if the encryption indicator is set. Note the following: If the encryption indicator (TB033) for a credit card institute
is not set, but the general security level (TCCSEC) is Masked Display and Encrypted Save , then the security level for this credit card institute is lowered to
Masked Display, No Encrypted Save .
For the display of complete credit card numbers, the authorization object B_CCSEC is required in the user profile.

1.8 Roles

1.8.1 Sales Auditor/POS Monitoring


Role: /POSDW/SALES_AUDIT

The business role of the Sales Auditor includes tasks for the daily monitoring of the POS inbound including analyses and evaluations.
Within POS Data Management, this role includes above all the transactions required for working in the POS Workbench and programs for processing POS data:
POS Workbench
POS WB: Selection and overview
POS WB: Overview of yesterday and today
POS WB: Errors yesterday and today
POS processing
Parallel processing of POS data
Parallel processing of IDocs

1.8.2 POS Inbound Processing Engine (PIPE) Administration


PUBLIC Page 23 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
1.8.2 POS Inbound Processing Engine (PIPE) Administration
Role: /POSDW/ADMINISTRATOR

In addition to the /POSDW/SALES_AUDIT role, this role contains administrative activities that should not be carried out by normal users. These include deleting
data and explicitly reconstructing index records:
PIPE Administration
Reconstruct index records
Delete PIPE data
POS Data Warehouse Customizing
POS Processing
Parallel processing of POS data
Parallel processing of IDocs

1.9 Enterprise Services

1.9.1 Point Of Sale Transaction Processing

Definition
Point Of Sale Transaction Processing enables a company to receive, process and analyze point of sale data. It includes aggregation and forwarding
capabilities.

Technical Data

Software Component Version RTLPOSDM 1.0

Technical Name PointOfSaleTransactionProcessing

Namespace http://sap.com/xi/RTLPOSDM

Business Context and Use


This process component enables you to send retail, financial, and goods movement transactions that are performed in a retail store to SAP POS DM. Once in
SAP POS DM, transactions can be analyzed, aggregated and forwarded to subsequent processes.
This process component may be optionally referenced within the following software component(s):
Store Connectivity
ESM BI CONT
ESM Integration

Notes on SAP Implementation


To use the Point Of Sale Transaction Processing process component:

SAP POS DM must be configured for use according to the business requirements of the customer
You must be using the BW-BCT-ISR-PIP application component
You must be using one of the following software components:
SAP NW 7.0 BI Content Add-On 7.07, or higher
SAP NW 7.3 BI Content Add-On 7.37, or 7.47, or higher

More Information
Point Of Sale Transaction

1.9.1.1 Point Of Sale Transaction

Definition
A Point Of Sale Transaction is a business activity that is performed in a retail store, usually at the point of sale.

A point of sale transaction can refer to any of the following:


retail transaction
financial transaction
inventory movement transaction
control transaction
summary transaction

PUBLIC Page 24 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Technical Data

Software Component Version RTLPOSDM 1.0

Technical Name PointOfSaleTransaction

Object Category Business Process Object

Business Context and Use


This business object enables you to send retail, financial, and goods movement transactions that are performed in a retail store to SAP POS DM. Once in SAP
POS DM, transactions can be analyzed, aggregated and forwarded to subsequent processes.

Constraints and Integrity Conditions


Currently, inventory transactions and summary transactions are not supported in the service operations.

Notes on SAP Implementation


To use the Point Of Sale Transaction business object:

SAP POS DM must be configured for use according to the business requirements of the customer
You must be using the BW-BCT-ISR-PIP application component
You must be using one of the following software components:
SAP NW 7.0 BI Content Add-On 7.07, or higher
SAP NW 7.3 BI Content Add-On 7.37, or 7.47, or higher

More Information
Point Of Sale Transaction In
Point Of Sale Transaction Out

1.9.1.1.1 Point Of Sale Transaction In

Definition
An asynchronous inbound service interface to create point of sale transactions.

Technical Data

Category: SAP A2A

Direction inbound

Business Context and Use


The Point Of Sale Transaction In inbound service interface contains a bulk operation that can be used to create many point of sale transactions in SAP
POS DM with a single service call.
Point of sale transactions are transferred from the POS to the process component Point Of Sale Transaction Processing for further processing such as analysis,
aggregation and forwarding to subsequent processes.

Constraints and Integrity Conditions


The Point Of Sale Transaction In inbound service interface does not support the creation of inventory or summary transactions.

Notes on SAP Implementation


To use the Point Of Sale Transaction In service interface:

SAP POS DM must be configured for use according to the business requirements of the customer
You must be using the BW-BCT-ISR-PIP application component
You must be using one of the following software components:
SAP NW 7.0 BI Content Add-On 7.07, or higher
SAP NW 7.3 BI Content Add-On 7.37, or 7.47, or higher

PUBLIC Page 25 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
More Information
Create Point Of Sale Transaction as Bulk

1.9.1.1.1.1 Create Point Of Sale Transaction as Bulk

Definition
To create point of sale transactions in bulk.

Technical Data

Software Component Version RTLPOSDM 1.0

Release State released

Technical Name PointOfSaleTransactionERPBulkCreateRequest_In

Namespace http://sap.com/xi/RTLPOSDM/Global2

Application Component BW-BCT-ISR-PIP

Related Web Service Definition POSTrxERPBulkCRTRQ

Category SAP A2A

Direction inbound

Mode asynchronous

Idempotency not applicable

Change/Update Behavior not applicable

P2P Communication Enabled yes

Notes on Release State (Technical Data)


This operation is the successor to operation of the same name under namespace http://sap.com/xi/BICONTENT/Global2.

Business Context
The operation is used to create POS transactions that have been sent from a POS system in the retail sector to SAP POS DM in bulk. This operation supports
encryption of credit card data and credit-card-related data.
The corresponding outbound service of this operation resides in third-party component.

Features
The Create Point Of Sale Transaction as Bulk inbound operation is available to create POS transactions that have been sent from a POS system
to SAP POS DM. The Create Point Of Sale Transaction as Bulk is a bulk operation that can contain multiple POS transactions within a single
message. It is also possible to mix different transaction types within a single message.
The implementation of this inbound operation allows posting of the following transaction types:
Retail transactions, for example, sales, return, payment on account
Financial transactions, for example, deposit, paid in, tender adjustment
Control transactions, for example, cashier sign-on, close register, open store
Per single transaction, credit card data and credit-card-related data can be transferred in a single encrypted data segment.
The implementation of the inbound service is completely embedded in the existing SAP POS DM infrastructure and environment and uses the API
/POSDW/CREATE_TRANSACTIONS_INT, which is also called in RFC, BAPI, and IDoc processing. Therefore, the structure of the service operation is mapped to
the importing parameter of table type /POSDW/TT_TRANSACTION_INT.

The business object Point Of Sale Transaction is sent as input and describes a business activity as performed in a retail store (including retail transactions,
financial movements, and goods movement).

Prerequisites
SAP POS DM must be configured for use according to the business requirements of the customer (the implementation of this inbound service is embedded in the
environment of SAP POS DM). The Customizing settings required are the same as for other possible inbound interfaces and techniques such as IDoc, BAPI, or
RFC.

Integration

PUBLIC Page 26 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
This operation may be optionally referenced within the following software component(s):
Store Connectivity
ESM BI CONT
ESM Integration
There exists a mirrored test operation PointOfSaleTransactionERPBulkCreateRequest_Out under namespace
http://sap.com/xi/RTLPOSDM/Global2/Testing.

Error Handling
Forward error handling (FEH) is not available in SAP NetWeaver BW.
As a result, any message that cannot get processed within the service implementation (for example, due to a mapping error) is rejected and a corresponding fault
message is raised using cl_proxy_fault=>raise.

Constraints and Integrity Conditions


The operation cannot currently import inventory or summary transactions. This is currently only possible using IDoc, BAPI, and RFC interfaces.

Notes on SAP Implementation

Processing
The Create Point Of Sale Transaction as Bulk operation is an alternative method of transferring POS transactions to SAP POS DM. As a result, the
following apply:
Depending on the SAP POS DM Customizing settings (transaction /POSDW/IMG) for the store sending the data, you can post the incoming data
immediately or to use the SAP POS DM inbound queue (transactions /POSDW/QMON and /POSDW/QDIS) to post the data in a separate processing unit or
step.
If the SAP POS DM inbound queue is used, the XML messages of the service can be identified in the queue monitor in the following fields:
Key: Carries the GUID of the message instance
Object Type: Displays XML_DOC
Successfully processed POS transactions transferred using the Create Point Of Sale Transaction as Bulk operation can be monitored in the
POS Workbench (transaction /POSDW/MON0). In the POS Workbench, it is not possible to identify which method was used to import the transactions into
SAP POS DM (that is, operation, IDoc, RFC, or BAPI).

Configuration
Values of codelists of GDTs are mapped to corresponding values of SAP POS DM Customizing (criteria values of type 1 and type 2) to determine the PIPE
category code. These Customizing settings are found under: POS Data Management POS Inbound Processing Integration with Other SAP Components
SAP POS Definition of Values for Category Code Criteria .

Enhancements
The /POSDW/SE_POS_TRANSACT_INBOUND Business Add-In (BAdI) is available for this operation under Enhancement Spot
/POSDW/SPOT_SE_POS_TRANSACTION.

1.9.1.1.2 Point Of Sale Transaction Out

Definition
An asynchronous outbound service interface to confirm the creation of point of sale transactions in SAP POS DM.

Technical Data

Category SAP A2A

Direction outbound

Business Context and Use


The is outbound service interface groups operations that send out confirmations of the creation of point of sale transactions in SAP POS DM.

Constraints and Integrity Conditions


The Point Of Sale Transaction Out outbound service interface does not support the confirmation of creation of inventory or summary transactions.

PUBLIC Page 27 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Notes on SAP Implementation
To use the Point Of Sale Transaction Out service interface:

SAP POS DM must be configured for use according to the business requirements of the customer
You must be using the BW-BCT-ISR-PIP application component
You must be using one of the following software components:
SAP NW 7.0 BI Content Add-On 7.07, or higher
SAP NW 7.3 BI Content Add-On 7.37, or 7.47, or higher

More Information
Request Loyalty Membership Activity Journal as Bulk

1.9.1.1.2.1 Request Loyalty Membership Activity Journal as Bulk

Definition
To send a mass request from SAP POS DM to loyalty membership activity.

Technical Data

Software Component Version RTLPOSDM 1.0

Release State released

Technical Name LoyaltyMembershipActivityJournalCRMBulkRequest_Out_V1

Namespace http://sap.com/xi/RTLPOSDM/Global2

Application Component BW-BCT-ISR-PIP

Related Web Service Definition /POSDW/CO_LylMbrshpActJrBkReq

Category SAP A2A

Direction outbound

Mode asynchronous

Idempotency no

P2P Communication Enabled no

Notes on Release State (Technical Data)


This operation is the successor to operation of the same name under namespace http://sap.com/xi/BICONTENT/Global2.

The change to the XML namespace allows for optional P2P communication.

Business Context
The operation sends loyalty information from SAP POS DM to SAP CRM. Loyalty information can be included at the header level or at the retail line item level of
the POS transaction. Customizing settings determine how the service is filled.

Features
Initially, a transaction log (TLOG) containing loyalty information is sent to the SAP POS DM. Once data is in SAP POS DM, loyalty information within the TLOG
must be sent to SAP CRM using the operation Request Loyalty Membership Activity Journal as Bulk. Loyalty points/amounts are aggregated
based on the customer card number.
Different options are as follows:
Send loyalty amount at header level
Send loyalty points at header level
Send loyalty amount at retail line item level
Send loyalty points at retail line item level
Main nodes of the operation are as follows:
MemberParty: Contains the customer loyalty card number
SalesDocumentReference: Contains the transaction number, the store ID, and the loyalty amount
Point: Contains loyalty points

Prerequisites
The system must call Maintain Loyalty Membership Activity Journal before using the Request Loyalty Membership Activity

PUBLIC Page 28 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Journal as Bulk operation. This operation is not available in SAP POS DM but is available in a system that uses the operation to create loyalty membership
activity with the POS transaction details.

Integration
This operation may be optionally referenced within the following software component(s):
Store Connectivity
ESM BI CONT
ESM Integration

Error Handling
Forward error handling (FEH) is not available in SAP NetWeaver BW.
As a result, any message that cannot get processed within the service implementation (for example, due to a mapping error) is rejected and a corresponding fault
message is raised using cl_proxy_fault=>raise.

Typical errors are as follows:


Customizing is missing for loyalty data transfer
A duplicate customer card number is found, which means no aggregation is done
An empty customer card number is detected

Constraints and Integrity Conditions


The operation cannot currently support inventory or summary transactions.

Notes on SAP Implementation


The Supply CRM Loyalty Interface task in SAP POS DM sends loyalty information to CRM component using the service interface. This task must be set
up for the retail store that is being used.
Inside PIPE customizing: POS Data Management POS Inbound Processing Integration with Other SAP Components CRM Integration settings
determine which fields are mapped in the operation. Different options are as follows:
Points from TLOG header level mapped to CRM
Amount from TLOG header level mapped to CRM
Points from TLOG line item level summed up mapped to CRM
Amount from TLOG line item level summed up mapped to CRM

B2B And A2A Related Information


SAP NetWeaver BW and SAP CRM are the back-end components that are involved. The corresponding inbound service of this operation resides in the SAP
CRM component.

Processing
LoyaltyMembershipActivityProfileCode determines if points are redeemed or awarded. The redeemed scenario is not supported for the communication
between SAP POS DM to SAP CRM (offline scenario). Therefore the value is always 13 (POS ACCURAL). In the offline scenario, the 'TypeCode' under
SalesDocumentReference is set to 903, which is related to POS transactions.

Asynchronous outbound operations only


POS Workbench (transaction /POSDW/MON0) can be used to send out the service interface.

Enhancements
The /POSDW/SE_LOYALTY_OUTBOUND Business Add-In (BAdI) is available for this operation under Enhancement Spot /POSDW/SPOT_SE_LOYALTY.

PUBLIC Page 29 of 29
© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Vous aimerez peut-être aussi