SAP POS Features and ERP Inbound SAP Best Practices for Retail (US) SAP Best Practices Scenario Overview – 1 Purpose and Benefits: Purpose POS Inbound is a process of sending business information from SAP POS to SAP ERP. It aims to explain the process of how the data transfer from SAP POS to SAP ERP is done. It also intends to provide the list of business information or data that are generated. It describes the regular activity within the Retail POS Integration. Sales transactions, created in SAP POS are in binary and is converted to ascii format. The SAP PI handles the data conversion to IDOC format. SAP POSDM performs sales auditing, data cleansing & optimization, then generates an aggregated IDOC and sends it to SAP ERP. Benefits All POS transactions are processed via a single interface, ensuring complete tracking of the process. Missing or duplicate transactions are automatically identified thru SAP POSDM. With the data and application integration, systems' functionality becomes more robust Optimizing and streamlining processes increases overall efficiency Key process flows covered Store Business Process SAP PI Transaction Log (TLOG) Conversion Inbound to SAP ERP through SAP POSDM Scenario Overview – 2 SAP Applications Required: Required SAP EHP3 for SAP ERP 6.0 SAP POS 2.0 SAP PI SAP Transnet SAP POSDM SAP BI Company roles involved in process flows Administrator/Head Office Personnel Store Personnel Cashiers Scenario Overview – 3a Detailed Process Description: Store Business Process Perform POS Business Process Perform POS Transactions Perform End of Day Trickle Polling of TLOG from SAP POS to SAP PI through Transnet SAP PI Transaction Log (TLOG) Conversion Perform data conversion Send Sales Data (IDOC) to SAP POSDM Scenario Overview – 3b Detailed Process Description: Inbound to SAP ERP through SAP POSDM POS Inbound Processing Engine Task Processing Using the PIPE Dispatcher Tasks for Checking Transactions Sending Data to POS Analytic Sending Data to SAP Retail Sending Sales Data via IDOC WPUBON Sending Financial Transaction Data via IDOC WPUFIB Sending Godds Movement Data via IDOC WPUWBW Sending Data to SAP F&R Aggregation Tasks Outbound Processing of Aggregates Performing Outbound Processing Process Flow Diagram Head Office Personnel Store Business Process Send Parameter and Product Maintenance Files to Store Plutxn.asc Xreftxn.asc Tender.asc Newparm.trg Cashier (SAP POS POS Xpress) Store Personnel (SAP POS Store Manager) Opening the Store Update Store Database and /Parm folder Verify Business Date is current System Date Logon to Store Manager Is Business Date correct? Yes Perform Open Store No Select Administration Store Administration Enter the correct Business Date Logon to POS Xpress 1 Perform POS Transactions Perform Open Terminal Process Flow Diagram Store Business Process Perform Regular Sales Transaction Cashier (SAP POS - POS Xpress) 1 Scan/Enter Item(s) Total Transaction Choose Method of Payment Cash Payment Check Payment Credit/Debit Card Payment Gift Certificate Payment Enter Cash Amount Enter Check Amount (Exact Total Amount) Enter/Swipe Bankcard Enter Gift Certificate Tender Amount Is Exact Amount? No Yes Return change amount to Customer Transaction Completed Customer Receipt Generated 2 Enter Check Information for MICR printing Transaction Completed Customer Receipt Generated Enter Bankcard Expiry Date Is Total Amount less than Floor Limit? Yes Locally approves transaction with no authorization 2 Enter Gift Certificate Number No Prompts for Authorization Is Gift Cert change amount greater than threshold? Yes Automatically issues a Store Credit Note No Enter Authorization Number Transaction Completed Return Cash amount due to Customer Enter Store Credit Note Information Transaction Completed Customer and Store Receipt Generated Customer Receipt Generated 2 2 Process Flow Diagram Store Business Process Perform Non-Merchandise Sale Transaction Cashier (SAP POS - POS Xpress) 2 Purchase of Gift Certificate Sales with Delivery Select Sales Exception NonMerchandise Scan/Enter Item(s) Select Gift Certificate Select NonMerchandise Select “Local Delivery” delivery option Enter Gift Certificate Number Enter Delivery Amount Enter Gift Certificate Amount Total Transaction Transaction Completed Select Method of Payment Customer Receipt Generated Enter Delivery Information Total Transaction Select Method of Payment 3 Process Flow Diagram Store Business Process Cashier (SAP POS - POS Xpress) 3 Perform Sale with Void Item Perform Cancel Transaction Perform PostVoided Transaction Scan/Enter Item(s) Scan/Enter Item(s) Select Post Void Select Item to Void Select Transaction Cancel Total Transaction Abort Transaction? Enter Transaction Number to void No Post Void Transaction? Select Method of Payment Yes Yes Transaction cancelled Transaction Completed No Total Transaction Select Method of Payment Customer Receipt Generated Transaction Completed 4 4 Transaction voided Customer Receipt Generated 4 Select the correct transaction to void Process Flow Diagram Store Business Process Cashier (SAP POS - POS Xpress) 4 Perform Department Sale Perform Paid Out Perform Paid In Scan/Enter Item Select Sale Exception Paid Out Select Sale Exception Paid In Item is Not on PLU Select Reason for Paid Out Enter Paid In Amount Select Department Enter Paid Out Amount Select Reason for Paid In Enter Item Price Transaction Completed Transaction Completed Total Transaction Receipt Generated Receipt Generated 5 5 Select Method of Payment Transaction Completed Customer Receipt Generated 5 Process Flow Diagram Store Business Process Perform Return with Cash Refund Cashier (SAP POS - POS Xpress) 5 Perform Exchange Select Return Select Exchange Item Enter Return Information Scan/Enter Exchange Item Select Item to Return Confirm item price Refund Auto Approve Refund to Gift Card? Yes Amount due to Customer refunded through Gift Card System prompt for Regular Sale No Select Alternate Tenders Scan/Enter Regular Item Select Reason for Alternate Tenders Total Transaction Select Cash Transaction Completed Amount due to Customer refunded through Cash Customer Receipt Generated Transaction Completed Customer Receipt Generated 6 6 Process Flow Diagram Store Business Process Cashier (SAP POS - POS Xpress) 6 Perform Loan Perform Paid Out Perform Time Punches (CLOCK IN) Perform Time Punches (CLOCK OUT) Select Cash Management Loans Select Cash Management Pickup Select Time Clock/Sign Off Clock In Select Time Clock/Sign Off Clock Out Select Cash for loan option Select Cash for pickup option Enter Employee Number Enter Employee Number Enter quantity per denomination to loan Enter quantity per denomination to pickup Enter Password Enter Password Loan Transaction Completed Pickup Transaction Completed Employee clocks in successfully Employee clocks out successfully Loan Receipt Generated Pickup Receipt Generated 7 7 7 7 Process Flow Diagram Store Personnel (SAP POS – Store Server) Store Personnel (SAP POS POS Xpress) Store Business Process 7 Store Closing Logon to POS Xpress Perform Close Terminal (to each POS Machine) Trickle Polling POS Transaction Completed Transaction data posted to TXN Table Logon to Store Manager Transaction Data converted to ASCII Select Administration Store Administration Transaction Log file generated Perform End of Day Trickled records posted to Server’s TXN file End of Day Completed Successfully Transnet Client sends Transaction Log to Transnet Server Head Office Personnel Transaction Log file generated TLOG file saved to FTP Server Transnet Server receives TLOG and writes to disk Process Flow Diagram Head Office Personnel (SAP PI) Head Office Personnel (FTP Server) Store Personnel (SAP POS) SAP PI Transaction Log (TLOG) Conversion Perform End Of Day Transaction Log files generated TLOG files saved to FTP Server SAP PI reads file from the FTP Server Start Data Conversion process IDOC files generated SAP PI sends IDOC files to SAP POSDM Process Flow Diagram POS DM – Carrying Out of Sales Audits Login POS Workbench Define General Settings POS Administrator Define Selection Area Restriction Check Status of Task Processing Select POS Aggregates View Display Select POS Transactions View Display Manually Change Task Processing Check Data Transfer from POS Monitor POS Aggregates Control of Task Processing Cancel Task Processing Process Status of POS Aggregates No POS Trans Error Found? Yes Correct Error Manually Change Task Status Process Flow Diagram POS DM - Task Processing POS Trans created in PIPE Carry Out Processing Test Run POS Administrator Immediate Check Processing Task Type Collective Process Errors Manual Process Task Manually System Auto Processing Set Task Status to Completed using POS Workbenc h Process Task using POS Workbenc h Process Task using PIPE Dispatcher Consider Customizing Changes Exception Found? Yes Switch Off Prioritization of Task Processing No View Task using POS Workbenc h Process Flow Diagram POS DM - Tasks for Checking Transactions POS Trans created in PIPE Immediate Check Processing Task Type Collective Process Task using POS Workbenc h POS Administrator System Auto Processing Process Task using PIPE Dispatcher Check POS Transactions Check for Receipt Numbers Without Gaps Check for Duplicate Trans Numbers Yes No Yes Duplication Found? Set Task 1001 Status to Error Check Balancing for Totals Transactions No Yes Gaps Found? Set Task 1001 Status to Completed Set Task 1002 Status to Error No Difference Found? Set Task 1002 Status to Completed Set Task 0030 Status to Error Set Task 0030 Status to Completed Process Flow Diagram POS DM – Sending Data to POS Analytic POS Trans created in PIPE POS Administrator Immediate Check Processing Task Type Process NonAggregated Task No Set Task 0001 Status to Error Process Successful ? Yes Set Task 0001 Status to Completed Processed POS Trans sent to POS Analytic Process Flow Diagram POS DM – Sending Data to SAP ERP SAP F&R SAP Retail POS Administrator POS Trans created in PIPE Generate Sales Data using Task 0010 Generate Sales Data using Task 0009 Generate Financial Trans Data using Task 0012 Generate Aggregated POS Data using Task 0020 IDoc WPUBON (Mdse Items) IDoc WPUBON (Non-Mdse Items) IDoc WPUFIB Aggregated Sales Data, Goods Receipt & Issue Info IDoc WPUBON (Mdse Items) IDoc WPUBON (Non-Mdse Items) IDoc WPUFIB Aggregated Sales Data, Goods Receipt & Issue Info Process Flow Diagram POSDM – Aggregation Tasks Perform processing of Aggregation Task Other System Administrator Task Code 2001 No Aggregate Exist? Form new aggregate Task Code 2002 Yes Aggregate data in existing aggregate No Aggregate Exist? Form new aggregate Task Code 2011 Yes Aggregate data in existing aggregate No Aggregate Exist? Form new aggregate Task Code 2012 Yes Aggregate data in existing aggregate No Aggregate Exist? Form new aggregate Yes Aggregate data in existing aggregate Task Status COMPLETED Task Status COMPLETED Task Status COMPLETED Task Status COMPLETED Aggregated data for Material/Inventory generated Aggregated data for Material/Inventory with taxes and discounts generated Aggregated data for Cash desk/ Cashier/Department/Means of Payment generated Aggregated data for Means of Payment generated Aggregated data sends to other system through Outbound Processing Aggregated data sends to other system through Outbound Processing Aggregated data sends to other system through Outbound Processing Aggregated data sends to other system through Outbound Processing Process Flow Diagram POSDM - Outbound Processing of Aggregates Recipient System Administrator Close Aggregate. No update is allowed Start Outbound Processing for the aggregate Aggregate records are split into packages All Packages processed successfully Process individual packages of the aggregate Aggregates receive Completed status Confirmation on acceptance of package Process Flow Diagram POSDM - Performing Outbound Processing Start PIPE Outbound Dispatcher Set the required data selection criteria Administrator Close Open Aggregates Enter Task Code of the Outbound task Start Outbound Processing and Package Creation Process Outbound Tasks for POS Aggregates Control Processing Parallel Processing Reorganize Package Status Perform Processing Set Aggregate Status to Complete Perform Processing Check run View Status of POS Aggregates in POS Workbench Select Criteria for Processing Protocol Output POS Integration Diagram DATA CLEANSING & DATA WAREHOUSE CONVERTER POSDM / PI POS BI PIPE Files TLOG PIPE OUTBOUND INTERFACE DB Delta Queue IDOC POS INBOUND INTERFACE POS Outbound IDOC Standard Interface Retail Processes Standard Extraction/ Delta Management POS OUTBOUND INTERFACE New Interface RETAIL ERP SYSTEM SAP POS Store Solution Diagram IN-STORE BACKOFFICE XPRESS SERVER STORE MANAGER DATABASES POS XPRESS SAP POS Business Process Diagram Pre-Open Store Open Terminal Open Sale Transactions Terminal Close End of Day POS Inbound Diagram Download from SAP POS to SAP ERP In-Store System Head Office System POS XPRESS SERVER TXN TOT IDOCS TXNS TLOGS JRNS POLL Files TXN JRN TOT Detailed IDOCS SAP ERP TOT’S PARMS Aggregated Sales TXN Backoff Journal JRN TOT PARMS SAP POSDM (XPRESS SERVER and DATABASE) JRN PARMS SAP PI ASC Business Rules Trickle Polling Diagram From SAP POS to SAP ERP POS GM Transnet Filesystem C:\SAPInbound\... Xpress Server Trickle feed Transnet MSG Transnet Server Transnet MS G POS-DM (Bi) ftp PI RFC Interface (/POSDW/CREATE_TRANSACTION_EXT) rfc RFCAdapter rfc ERP rfc IDoc Interface (WVINVE03) IDocAdapter FileAdapter POS Inbound Process Diagram POS Receipt PI Content TLOG DB ASCII File PIPE XML File XML ARTS DB Fileadapter XSLT Mapping POS Back Office TRANSNET Upload of Financials, Sales Data… PIPE Format BAPI SAP POSDM Solution Diagram Loss Prevent SAP BI Store Contr. Promo Analysis BI-Reporting Templates Sales Analyses of POS Data mySAP Landscape PIPE POS Inbound Processing Engine Outbound Interfaces 3rd Party Landscape Upload of POS Data to SAP BI via POS Inbound Processing Engine POS Inbound Processing Engine Diagram SAP BI IDocs WPUBON WPUUMS WPUTAB WPUWBW WPUKSR WPUFIB BI-Templates BI Masterdata Conversion Master data Requirements Planning Time Series Card Payment BAPI POS Inbound Processing mySAP Landscape R/3 POS Inbound MM SD / FI BW Billing Engine Standards Conversion Sales Transactions VMI XML PIPE Transaction database Sales Audit Monitor • • Analyses • Editor 3rd Party Landscape Technical Overview SAP POS Inbound (PI Integration) GM Store Intermediate Message (IXRetail) mySAP BI GM Totals RFC Function Module /POSDW/CREATE_TRANSACTION_EXT POSLog GM TLog mySAP ERP for Retail IDOC GM TLog (WVINVE03) (only Phys.Inv.Counts) GM TLog (only TimePunches) TimePunch RFC Function Module BAPI_CC1_UPLOAD_TIMEEVENT