‎2009 Aug 31 5:54 AM
Hi,
I am uploading material master through direct input (RMDATIND). I am using the BMMH7 structure to update the PO text. This structure has a limitation of 132 characters for text line (TDLINE). As per our requirement, the PO text can be more than 132 characters.
So, in order to incorporate this, I changed the conversion program such that the BMMH7 conversion will happen in a loop. (I'm breaking the PO text into lines of 132 chars and performing the BMMH7 conversion (perform convert_0009) within the loop).
This is working as expected in the DEV system. However, when I transport the LSMW project into QA, the conversion program is getting regenerated, because of which the changes that I have made is lost. Is there any way to avoid this regeneration of the conversion program?
I can update the PO text alone as a separate process, upon the creation of the material master, through another program, but I want to complete the requirement in a single shot.
Please help.
Thanks,
Raj.
‎2009 Aug 31 2:54 PM
Hi,
Do not make changes in the conversion program.
The changes will be lost whenever you make and changes in the field mapping step.
There are 2 solution for your issue.
1. Change the data in the flat file itself which you are passing to the LSMW.
Pass the text after 132 characters as a new record with TDFORMAT as '='.
So that the text will be displayed as a new line on the material master.
2. Make changes in teh field mapping step.
You will see at the end of the fields of BMMH7 you will have the transfer record.
After this transfer record add your code to append the remaning data to BMMH7 and once again call transfer record.
You will have to manage your looping logic over here only.
Regards,
Ankur Parab