Skip to Content

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.

/wp-content/uploads/2014/07/step1_491314.png

Step 2: Select the folder “Standard XSteps” , right click and from the context menu select Create -> Folder. A new folder will get created.

/wp-content/uploads/2014/07/step2_491352.png

/wp-content/uploads/2014/07/step2b_491353.png

Step 3: Select the newly created <Folder> and right click, select Properties in the context menu. Enter some name Description & Text for the folder.

/wp-content/uploads/2014/07/step3_491354.png

Step 4: Select the folder and right click to create a “Standard Xstep” under this folder. A standard Xstep get created.

/wp-content/uploads/2014/07/step4a_491355.png

Step 5: Enter some Description and Text for the Xstep.

/wp-content/uploads/2014/07/step5_491356.png

Step 6: Select the version, right click and go to Properties. Enter today’s date as Validity period from date.

/wp-content/uploads/2014/07/step6_491357.png

Step 7: Select the Xstep Tree and go to the properties. In the “General” tab, enter the Description.

/wp-content/uploads/2014/07/step7_491360.png

Step 8: Right click on the Xstep Tree and from the context menu create the Xstep.

/wp-content/uploads/2014/07/step8_491361.png

Step 9: Select the <New Xstep> and go to the properties screen. In the General tab enter some Description.

/wp-content/uploads/2014/07/step9_491362.png

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

/wp-content/uploads/2014/07/step10_491366.png

Step 11:

In the Valuation tab, enter the valuation details.

/wp-content/uploads/2014/07/step11_491367.png

Step 12: In the Generation tab select the generation – in this example “For the Primary Product” has been selected.

/wp-content/uploads/2014/07/step12_491368.png

Step 13: In the Destination tab select a destination of type PI Sheet.

/wp-content/uploads/2014/07/step13_491372.png

Step 14: Again select the Xstep and create the Process Instruction from the context menu. Process Instruction will get created.

/wp-content/uploads/2014/07/step14a_491373.png

/wp-content/uploads/2014/07/step14b_491374.png

Step 15: Change the Description of the Process Instruction.

/wp-content/uploads/2014/07/step15_491375.png

Step 16: Create a Control Data Table under the Process Instruction

/wp-content/uploads/2014/07/step16_491376.png

Step 17: Enter the Description and Data Request Type

/wp-content/uploads/2014/07/step17_491377.png

Step 18: Create the Output Parameters under the Control Data table.

/wp-content/uploads/2014/07/step18_491378.png

/wp-content/uploads/2014/07/step18b_491379.png

All the output fields should be mapped to some parameter.

Step 19: Once done, check the Xstep for any error.

/wp-content/uploads/2014/07/step19_491380.png

Step 20: Release the XStep for testing.

/wp-content/uploads/2014/07/step20_491381.png

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)

/wp-content/uploads/2014/07/tst1_491382.png

Step 2: Create XStep Tree by clicking the Create button.

/wp-content/uploads/2014/07/tst2_491383.png

Step 3: Select the Xstep Tree and from the context menu create the SXS Reference.

/wp-content/uploads/2014/07/tst3_491384.png

Step 4: Select the <New Xstep Reference>, open the properties and from the Reference tab select the XStep created before.

/wp-content/uploads/2014/07/tst4_491385.png

Step 5: Explode the Xstep reference.

/wp-content/uploads/2014/07/tst5_491390.png

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.

/wp-content/uploads/2014/07/tst7a_491386.png

Status should change to Send.

/wp-content/uploads/2014/07/tst7b_491387.png

Step 8: Find the PI sheet from transaction CO60 for the Process order

/wp-content/uploads/2014/07/tst8_491388.png

The PI sheet will display the details of the Process order as created in the Xstep.


/wp-content/uploads/2014/07/tst8b_491389.png

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Dora Simon

    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

    (0) 
  2. Jan Buchmann

    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

    (0) 
  3. prathamesh lonkar

    Hii,

     

    Very nice document,provides basic knowledge about using Xsteps.

    Please post if you have other documents related to Xsteps.

     

    With Regards,

    Prathamesh

     

    (0) 

Leave a Reply