cancel
Showing results for 
Search instead for 
Did you mean: 

Reference Xstep explode on process order release

0 Kudos

Hello Team,

i have implemented Xstep but facing an issue while creation of process order reference Xsteps are exploded. As per Xstep practice reference Xsteps must be exploded either at the time of process order release or control recipe generation but not before if we have not set up (Set early). Could you please advise how to explode reference Xsteps automatically either at PO release or control recipe generation.

Appreciate on your response.

Thanks,

Ravindra.

0 Kudos

Hello Expert,

Could you please share your expert thought here how to achieve above requirement. As far as Xstep SAP file contains reference Xstep must be exploded either process order release or on control recipe generation. I could not find what wrongs goes with my configuration.

Thanks,

Ravindra.

Accepted Solutions (1)

Accepted Solutions (1)

uwe_dittes
Participant
0 Kudos

Hi Manyur,

the SAP standard implementation for the XStep editor in manufacturing orders will always explode the SXS reference nodes during order creation. See coding of IF_EX_WORKORDER_EXEC_STEPS~CREATE (CL_IM_COCR_CMX_BI_XSTEPS), especially the statement "lo_root_order ->open_reference()". The explosion date is provided by the application, but can be overruled with a BAdI (shipped with SAP Note 1452604). The determination of the explosion date (and the BAdI) is also executed during creation of the control recipes/instructions (!). This has to be taken into account when implementing the BAdI.

So it is not possible to suppress the explosion of SXS reference nodes in SAP standard. As described above, the explosion of SXS references happens again at the point in time when the control recipe/instruction is created. For productive control recipes/instructions it is necessary that the corresponding SXS contains an SXS version that is released and valid. Otherwise the system stops creation of the control recipes/instructions.

There might be also a constellation that a control recipe/instruction is created for a future date, but sent at a later point in time (after the future date). To prevent that SXS versions did became invalid during this time interval (future date -> after future date), the BAdI of SAP Note 2369245 can be used.

Please note that SXS reference nodes that are exploded in the master recipe/routing remain exploded (and are not re-exploded in the manufacturing order). Some customers use this feature to "freeze" the referenced content at the master recipe/routing level.

Concerning your additional question how to determine the SXS version of an SXS that is referenced in an SXS reference node: This can be established by defining custom validation symbols and creating a custom implementation for the classical BAdI CMX_XS_SRV_SYM. Unfortunately there are no appropriate validation symbols in the SAP standard namespace to archive this. The custom validation symbols then should be assigned to suited parameters at the top level (root node) of the corresponding SXS.

Kind regards

Uwe

uwe_dittes
Participant
0 Kudos

Brief explanation about how to implement the BAdI for changing the explosion date was given in session 20 of the XStep café.

Answers (1)

Answers (1)

uwe_dittes
Participant
0 Kudos

Namaste/Hi folks,

first of all please check that the early issue or order numbers is active. This functionality is part of the customizing for process management.

In general it is a very good approach to maintain the content you want to use in PI Sheets/electronic work instructions or control recipes/control instructions in Standard XSteps (SXS) that are maintained in the XStep repository (TA CMXSV). And assign them to the XStep trees of the corresponding master recipe or routing. Once the manufacturing order is created based on the master recipe/routing, the content of the XStep trees is copied. Order customizing allows you to create (productive) control recipes/instructions automatically when the order is released. In that case the system checks if SXS versions exist for those SXS that are referenced. If this is not the case, the creation of the control recipes/instructions fails. In most cases it is not necessary to manually change the XStep content in manufacturing orders.

In rare cases it can happen that the SXS version of an exploded SXS reference node got withdrawn or discarded. With the help of SAP Note 2369245 it is possible to prevent such unwanted scenarios.

Further basic information about XSteps can be found in the YouTube recordings of the XStep café.

kind regards

Uwe

0 Kudos

Hello Uwe,

Good Day !!

Thank you for responding to my query. I would like to know how to explode Xstep at the time of process order release or control recipe generation but not early ? Also how to verify released xstep version at process order level ?

It will be great help for me to suffice some of our business requirements.

Thanks,

Mayur.