Hoş Geldiniz,

SAPOfis Türkiye üzerinde yer alan içeriklere erişim sağlayabilmek, projelerinizde karşılaştığınız sorunlara birlikte çözüm üretebilmek adına üye olunuz.
Unutmayalım ki, bilgi paylaşıldıkça değer kazanır.
Giriş Yap

Sorun Cevaplayalım

İşinizle ilgili öngörüler edinin, gerçek zamanlı bilgilere göre karar alın.

SAP Eğitim ve Sertifika Dönemleri

Uzmanlığınızı ve deneyiminizi SAP çözümleri kullanarak tasdik edin.

Çözüm Ekibi Başvurusu

Kullanıcılara hızlı ve pratik çözümler üreterek görev almak isteyenler.

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

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
500
Tepkime puanı
4
Puanları
6
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

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


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

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


  • Then open the migration object.

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


  • Download the template

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


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

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






  1. How to

To add a new field and map it:

  • Open the object modelizer

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


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

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


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


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).

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


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.

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


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

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


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


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.

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


  • Add the filed it in the source structure

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


  • Go to “Field mapping”

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




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

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


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


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”

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


  • Now Regenerate the object

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


Status will be “Generated”

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




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.

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


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




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



Conclusion

In this post, we had an overview how to manipulate the migration cockpit, the object modeler and some of its components.

It’s not the hardest step in your project. It’s simpler than “how to fill the migration file with the right data ”.

You could continue the migration and good luck for the rest!

Okumaya devam et...
 
Üst