bodsexpert
bodsexpert

Working with LTMOM

By Imran, Mohammad February 28, 2023 under LTMC

You are working with one of the objects to migrate the data, then suddenly you come across a field which is required but does not exist in LTMC template or table. Here LTMOM helps you, it is an inbuilt tool in S4HANA where we can customize our LTMC object, for example we want to add, remove or change the fields. If you want to add a field, then make sure field is available in the target structure of that object. Run a t-code called LTMOM. LTMOM screen within the S4HANA will open. You will need to search your object by selecting the project you were working on.

  • Once your object is opened, double click on Target structure.
  • Next screen at the right side will populate, you need to double click the segment you want to add the field on, in this case Purchasing Org is the segment we are going to add the field to. Now, ensure the field you want to add is available at the right side.
  • If field is available then you can proceed further otherwise you will need to work with ABAP team to get the field added. To add the field, they need to enhance the functional module associated with the object hence they may deny as it is complex and standard design so ABAP will not take risk changing the standard design. So you may use LSMW to update the field after your object is loaded through LTMC.
LTMC

Now, you know the field you want to add is available in target structure and you are good to proceed further. In the screen do as follows.

  • Double click on the Source Structure then come to edit mode.
  • Navigate to the segment you want to add the field on. In this case Purchasing Org is the segment, so double click on that segment and list of fields will be populated.
  • Click on the Add field icon to add a field. In this case we are adding NETPR fiel.
  • LTMC
    
  • You will notice that NETPR field is added with required datatype.
  • LTMC
    

Once field is added in the source structure now this is time to map the field.

  • Double click on the Field Mapping and look for the Field under the segment you want to map this field.
  • Once field is found you will notice red cross, that means field is not yet mapped with any field.
LTMC
  • Double click on the field which is not mapped and map as below.
  • LTMC
    
  • Once field is mapped, you will notice red cross is turned to green tick.
  • Click on Generate Runtime Parameter and red Not Generated will turn to Green Generated.
  • LTMC
    

Now, re-load the LTMC screen and re-download the template. You will notice now the field we added is visible in the template. Fill the data and start migration.

LTMC