‎2007 Nov 25 2:11 PM
Hi Friends,
in LSMW, step 5 when I press the check syntax button it leads me directly to the abap editor.
Here I can adapt the source code.
After activating the program I can start the conversion program and it runs with the adaptions I made before.
But then I leave the editor return to the LSMW step 5 and again back to the editor all the changings are gone.
Even if I made changings in the global_data section later, the changes are not applied to the source code.
And another phenomenon.
When I leave the LSMW and com back later and add a variable to global_data section I get an syntax error says 'ABC" has already been declared.
Any enlightenment would be very appreciated.
Many Thanks
Jimbob
‎2007 Nov 26 1:21 PM
i don't think, changing directly the conversion program works. Write your code only in allowed areas, eg. global data, begin of transaction, begin of record, individual fields and so on. Then save your work and run the program in 'Convert data' step. Don't worry about that message, it only shows when you check the global data area, probably an LSMW bug.
‎2007 Nov 26 4:29 PM
Hi Harris,
I agree with you, there could be a bug in the LSMW.
But I can change the code of the conversion program and run it and it runs with the changed code but only temporarily. When I leave and come back the changes are gone. However, you can copy the conversion program and make the changes there and run it, but I think that is not neccessary.
Ok, thank you for the Answer Rg. Jimbob