SAP S/4HANA migration object modeler, PLM Quality Management (QM)

S4/HANA Migration Cockpit: How to modify migration object template file

In this post, we’ll try to have an idea how to add a field to the standard data migration template file.

We’ll take as example the quality inspection plan. It will be a simple example without any ABAP coding.

1. Issue

Standard migration template of inspection plan does not provide the field SPC criteria, which is an obligatory field for Characteristics relevant for SPC.

Details:

To download and display the standard template

  • Open the migration cockpit

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Open the migration Project.Take note of the “Mass Transfer ID”. We’ll see later how to use it.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Then open the migration object.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Download the template

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

If you check the field list and the relevant sheet, you’ll not find the required field.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

2. How to

To add a new field and map it:

  • Open the object modelizer

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Search the required object. Here, you’ll check the object name terminated by the “Mass Transfer ID” already mentioned above

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

The object contains several sub objects. We’ll focus on what is useful for the topic of this post.

The source structure is the structure of the template (the sender).

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

The target structure is the “receiver”. It contains all possible fields required by the BAPI executed during the creation of the master data. In our example, it’s BAPI_INSPECTIONPLAN_CREATE.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

We could find that in the target structure, we have already the required field. Then our task will be to enhance the source structure and provide the correct mapping.

We’ll proceed as follow :

  • Check the data element as per in the standard table

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

For this field we don’t have any specification/domain/conversion. It will not be required to link it to a specific one.

For other fields, and if it’s the case, it will be better to refer to such specification (standard data element) in order to not explicitly add a rule and write the conversion routine.

As example the supplier code: you need to choose a field name referencing the standard domain, in order to inherit the “ALPHA” conversion.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Add the field it in the source structure

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Go to “Field mapping”

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Drag and drop the SPC criterion field from the source structure to the destination field in the target structure.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

The mapping is done, but we still need to generate the object after the modification.

After each modification the status of the object will be set set to not “generated”

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

  • Now Regenerate the object

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

Status will be “Generated”

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

We’ve completed the new mapping!

You could verify it by downloading again the template, and check the existence of the new field in the template.

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

SAP S/4HANA migration object modeler, PLM Quality Management (QM)

You could use the above steps with any migration object. The prerequisite is to have the required field in the target structure.

Leave a Reply

Your email address will not be published. Required fields are marked *