Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modification Assistant Problems

aaron_morden2
Contributor
0 Likes
1,314

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!

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
1,198

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

8 REPLIES 8
Read only

venkata_ramisetti
Active Contributor
0 Likes
1,199

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

Read only

0 Likes
1,198

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.

Read only

0 Likes
1,198

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

Read only

ferry_lianto
Active Contributor
0 Likes
1,198

Hi Aaron,

Please try to restore the previous version (version management) and make necessary changes from here.

Regards,

Ferry Lianto

Read only

0 Likes
1,198

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.

Read only

0 Likes
1,198

Hi,

Are you still getting syntax error?

Thanks,

ramakrishna

Read only

0 Likes
1,198

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.

Read only

0 Likes
1,198

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!