‎2006 Oct 26 8:57 PM
Hello All,
I am trying to change an SAP program with the modification assistant. I clicked on the "LINE-SIZE 132." line and pushed REPLACE.
This is what it brought up:
REPORT RFSSLD00
MESSAGE-ID FR
NO STANDARD PAGE HEADING
*{ REPLACE DEVK940652 1
*\ LINE-SIZE 132.
LINE-SIZE 132.
*} REPLACE
LINE-SIZE 132.
As you can see, it commented one line and moved another 2 copies of the line down. Now I have 2 uncommented lines. It allows me to edit 1 of the Lines. If I try to activate, I get an error saying the "LINE-SIZE" is not defined.
Any ideas? Thanks!
‎2006 Oct 26 8:58 PM
Hi,
OPen the program in SE38 and goto Menu bar.
Menu bar
Goto --> Modification Operations --> Switch Off Assistance
Now come to the program code and make necesary changes.
Thanks
Ramakrishna
‎2006 Oct 26 8:58 PM
Hi,
OPen the program in SE38 and goto Menu bar.
Menu bar
Goto --> Modification Operations --> Switch Off Assistance
Now come to the program code and make necesary changes.
Thanks
Ramakrishna
‎2006 Oct 26 9:07 PM
I do not want to do this because, according to the documentation, during an upgrade or the application of support packs, my change will not show up in our SPAU and could be missed if it's overwritten by an SAP change.
‎2006 Oct 26 9:16 PM
Hi,
In such case you can do one thing . Go to the same path
Menu bar
Goto --> Modification Operations -->Undo Modification
(If that is not possible, use Delete Line Area)
Either undo the changes or delete the statment "LINE-SIZE 132.".
The again go to the same path and click Insert Line Area and add your code here.
Thanks,
Ramakrishna
‎2006 Oct 26 9:17 PM
Hi Aaron,
Please try to restore the previous version (version management) and make necessary changes from here.
Regards,
Ferry Lianto
‎2006 Oct 26 9:21 PM
I went back to the orignal copy and tried to Delete the line and this is what happened:
REPORT RFSSLD00
MESSAGE-ID FR
NO STANDARD PAGE HEADING
*{ DELETE &$&$&$&$ 1
*\ LINE-SIZE 132.
*} DELETE
LINE-SIZE 132.
It just commented out one line and created another uncommented line.
‎2006 Oct 26 9:23 PM
‎2006 Oct 26 9:25 PM
I didn't try to insert the new line, because it did not really delete the other line. If I would have inserted a new line, I would have got a syntax error.
‎2006 Oct 27 1:05 PM
I resolved my problem by switching to the Old Editor. Not sure why the new editor caused this problem.
Thanks for all of your help and suggestions!