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

SAP Note implementation manually

Former Member
0 Likes
3,638

Hello,

I have a doubt and have been searching but cannot find any documentation or thread to answer it, the doubt is as follows:

When you manually apply a SAP Note, let's say note "1476315-Error in activation protocol for switch framework" in correction instructions choose SAP_BASIS Software Component Version, let's say 700 we have two correction instructions, for this example I'm starting with correction instruction 889018 and select first object correction to class "CL_SFW_ACTIVATE" method " DELETE_SFBF" we have the following:

Delta001

Context Block 

            ls_msg-var3  = sy-msgv3.
            ls_msg-var4  = sy-msgv4.
            ls_msg-langu =  sy-langu.

Delete Block 

            ls_msg-level = '2'.
            ls_msg-severity = 'E'.

Insert Block 

            ls_msg-level = '3'.
            ls_msg-severity = 'I'.

Now my doubt is; there's at least two code lines that match the text on the specific method, the difference is in the indent, so, does this context blocks consider indent in code lines (by indent I mean the spaces before the first text character of the code line) or should deletion and insertion should be done on every matching text ignoring indention?

My doubt raised because I did manually applied the mentioned SAP Note but did it considering the indenting, meaning that only applied the deletion and insertion of every correction and insertion where the spaces before let's say the " ls_msg-var3  = sy-msgv3." code line matched in the correction instruction and in the ABAP code and did not got the expected results, so that's why I'm trying to find some kind of standards or conventions according to "Context block" on correction instructions, to apply the correction instructions manually as they should be.

Any help would be really appreciated.

Thanks in advance for your replies.

Regards,

Julio

4 REPLIES 4
Read only

ThangaPrakash
Active Contributor
0 Likes
1,565

Hello Julio,

It is not a best practice to implement the correction instruction of the notes manually.

Use t.code SNOTE and implement the correction instructions.

In case of SNOTE implementation no access key is required, but in case of manually you would be entering the access key to do it.

It is very risky to change the standard SAP program by using the access key. Better do it with SNOTE.

Regards,

Thanga

Read only

0 Likes
1,565

Thanks a lot for your reply Thanga.

It is requested by SAP in Support Package process that is being implemented, that's why I have to do it manually.

Regards,

Julio

Read only

ThangaPrakash
Active Contributor
0 Likes
1,565

Hello Julio,

Ok, understood.

It is better to do it with Indent, incase if there is any other note in future to be implemented with SNOTE, then there would be some problem.

Regards,

Thanga

Read only

matt
Active Contributor
0 Likes
1,565

As far as I am aware, the number of blank spaces is not considered in a context block. If there are two matching sections for the context block, you need to get back to SAP for clarification.