Transferring Stock and Sales Data Process SAP Standard
Transferring Stock and Sales Data Process SAP Standard
Prerequisites
An IDoc template was created during the installation process by carrying out activity Upload file proact using function module.
Procedure
1. Access the transaction using one of the following navigation options: Option 1: SAP Graphical User Interface (SAP GUI) SAP ECC menu Logistics Sales and Distribution Foreign Trade/Customs Communication / Printing Communication / Printing Environment IDoc / EDI Basis Test Test tool WE19
Transaction code
Option 2: SAP NetWeaver Business Client (SAP NWBC) via business role Business role Business role menu Strategic Planner (SAP_BPR_STRATEGICPLANNER-S) Strategic Planner Vendor Managed Inventory Test Tool
2. On the Test tool for IDoc processing screen, make the following entries: Field name File as template Path Directory /File enter the directory, where the file proact.txt is located and the file name Description User action and values selected For example: ./PROACT.TXT or /usr/sap/tmp/PROACT.TXT flag set path is casesensitive, check the exact path in transaction al11 Comment
Unicode
3. Choose Execute. 4. On the Test tool for IDoc processing screen, change the Control Record EDIDC for IDoc PROACT. Select EDIDC by double-click. 5. On the Edit control record fields screen in the Receiver area, maintain the following values:
Description The receiving system is always an SAP system. The EDI subsystem must determine the system ID and write it to the field in the form SAP<SYS-ID>
The port may differ from system to system. Make sure you use the correct Port-ID. Partner number Partner type 6. 7. 8. 9. choose the logical system, which is assigned to your client in the form <SYS-ID>CLNT<CLIENT> <SYS-ID> CLNT<CLIENT> LS for example: C-1007 or RS5CLNT018
Choose Enter. Expand the structure for segment E1EDP31. Double-click the first segment of E1EDP32. On the Change data records screen, maintain the following entries: Field name QUALF DATE DATE_TO Description Type of value User action and values 001 for example, JJJJMMDD for example, JJJJMMDD Comment actual customer stock current date current date
10. Choose Enter and double-click the next segment E1EDP32. 11. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value Enter the current date User action and values 002 for example, JJJJMMDD Comment order stock (customer) current date
12. Choose Enter and double-click the next segment E1EDP32. 13. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week current date -7 days
14. Choose Enter and double-click the next segment E1EDP32. 15. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week -1 week current date -14 days
16. Choose Enter and double-click the next segment E1EDP32. 17. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week -2 weeks current date -21 days
18. Choose Enter and double-click the next segment E1EDP32. 19. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week -3 weeks current date -28 days
20. Choose Enter and double-click the next segment E1EDP32. 21. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week -4 weeks current date -35 days
22. Choose Enter and double-click the next segment E1EDP32. 23. On the Change data records screen, maintain the following entries: Field name QUALF DATE Description Type of value User action and values 003 for example, JJJJMMDD Comment sales (customer) last week -5 weeks current date -42 days
24. Choose Enter. 25. Choose Inbound function module. 26. On the Test inbound IDoc using a function module screen, enter the name of the functional module IDOC_INPUT_PROACT and choose transaction processing mode In Background. 27. Choose Enter and confirm the information message.
Result
The historical customer data has been transferred to infostructure S130 for further processing of forecast execution.
Run the transaction we02 to check, if the IDoc was loaded successfully.