Create and Test a Basic Xstep in Standard Xstep Repository
Basic Xstep Creation and Testing
This document describes step by step process to create a very basic Xstep in the standard Xstep repository and test it in a Process order.
Create an Xstep in Standard Xstep Repository:
Step 1: Go to transaction CMXSV. Enter the plant and click execute.
Step 2: Select the folder “Standard XSteps” , right click and from the context menu select Create -> Folder. A new folder will get created.
Step 3: Select the newly created <Folder> and right click, select Properties in the context menu. Enter some name Description & Text for the folder.
Step 4: Select the folder and right click to create a “Standard Xstep” under this folder. A standard Xstep get created.
Step 5: Enter some Description and Text for the Xstep.
Step 6: Select the version, right click and go to Properties. Enter today’s date as Validity period from date.
Step 7: Select the Xstep Tree and go to the properties. In the “General” tab, enter the Description.
Step 8: Right click on the Xstep Tree and from the context menu create the Xstep.
Step 9: Select the <New Xstep> and go to the properties screen. In the General tab enter some Description.
Step 10:
In the “Parameter” tab insert the parameters. In this example following parameters will be used:
Parameter Name |
Description |
Category |
Characteristics |
LV_ORDER |
Process Order |
Local |
PPPI_PROCESS_ORDER |
LV_MATERIA |
Material |
Local |
PPPI_MATERIAL |
LV_BATCH |
Batch |
Local |
PPPI_BATCH |
LV_QTY |
Order Qty. |
Local |
PPPI_ORDER_QUANTITY |
LV_UOM |
UOM |
Local |
PPPI_UNIT_OF_MEASURE |
Step 11:
In the Valuation tab, enter the valuation details.
Step 12: In the Generation tab select the generation – in this example “For the Primary Product” has been selected.
Step 13: In the Destination tab select a destination of type PI Sheet.
Step 14: Again select the Xstep and create the Process Instruction from the context menu. Process Instruction will get created.
Step 15: Change the Description of the Process Instruction.
Step 16: Create a Control Data Table under the Process Instruction
Step 17: Enter the Description and Data Request Type
Step 18: Create the Output Parameters under the Control Data table.
All the output fields should be mapped to some parameter.
Step 19: Once done, check the Xstep for any error.
Step 20: Release the XStep for testing.
Testing the Xstep:
Step 1: Go to Process order creation screen from transaction COR1. Enter material, plant and order type and click enter. (Note: Valid BOM & Master Recipe with Xstep profile should be there). Click the Xstep button.
(Note: As this is simple test scenario, XStep assigned to Process order directly instead of Master Recipe)
Step 2: Create XStep Tree by clicking the Create button.
Step 3: Select the Xstep Tree and from the context menu create the SXS Reference.
Step 4: Select the <New Xstep Reference>, open the properties and from the Reference tab select the XStep created before.
Step 5: Explode the Xstep reference.
Step 6: Release and Save the Process order. Control Recipe should get created.
Step 7: Go to control recipe monitor (TCode CO53XT) – search the control recipe for the process order – send the control recipe to destination.
Status should change to Send.
Step 8: Find the PI sheet from transaction CO60 for the Process order
The PI sheet will display the details of the Process order as created in the Xstep.
Really nice document to start xsteps
Thanks & Regards
Sandeep Kumar Praharaj
Hi,
perfect introduction for x-steps!
Thanks&Regards,
Harun Binici
Nice document. Please post more.
Regards
Sivaji Kumar Madhu Kiran
Hi,
this document is very nice, but could you please correct the transaction code in the first screenshot? I saw that it is correct in the text before the picture, but the big text on the screenshot can be a bit misleading. 🙂
Best regards,
Dora
Hi
Good document. Thanks for your effort.
One problem: I followed your step-by-step guide, but getting stuck on step 16: there is no "Create..." option when right-clicking on the Process Instruction... Any idea?
Thanks
Jan
Hii,
Very nice document,provides basic knowledge about using Xsteps.
Please post if you have other documents related to Xsteps.
With Regards,
Prathamesh
Hi,
Thanks for the document. Its very useful for me. I tried with same steps, its working fine for consumption but system not creating the process message for process order GR. Any Idea.
Thanks,
K. Sathish Kumar
Nice document; thanks for sharing!
Are there any tools (could be 3rd party) available that could help load the x-steps for a PI-Sheet? I am looking for a mass-upload tool. Thanks in advance!
Nice Explanation and Good Work
I am facing issue when creating Production order the X Steps not getting copied to order from Routing is there any issue in S4 ?