Adding Custom Fields in LTMOM

How to add custom fields in LTMOM?

Recently my client wanted me to struggle with Modeler (tcode: LTMOM) for customized fields in sales order.

There are two questions.

Firstly, is it possible to add custom fields (which do not exist in target structure)in Modeler?

Secondly, if it is possible, I want to know how to do that like which target structure is available to add custom fields or, which BAPI structure(I mean functional module) is required to make new target structure and so on.

----

Solution:

1. To which structure do you want Custom fields? Source structure or Target structure?

For Source Structure:

You have to use Migration Object modeler (Tx. LTMOM) to add source structure.

Right Click on Source structure (in the middle screen) . Choose Append structure to Lower level

For Target Structure:

No. It is not possible to modify Target structure, as they are defined by BAPI

If the field does not exist in the target structure you cannot map your source field.

There are two options:

1. Enhance the BAPI to include the field in the structure and the logic to deal with it (if the BAPI supports being enhanced)

2. Create a wrapper function module to deal with the extra field and pass the other fields to the current BAPI.

LSMW Tips

Read Also 
LSMW Steps For Data Migration

SAP Books
SAP Certification, Interview Questions, ABAP Programming, Functional and Basis Component Reference Books

LSMW Tips
SAP Data Migration with LSMW

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.