‎2014 Feb 21 7:55 PM
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 |
|
Delete Block |
|
Insert Block |
|
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
‎2014 Feb 21 9:10 PM
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
‎2014 Feb 21 9:15 PM
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
‎2014 Feb 21 10:17 PM
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
‎2014 Feb 22 6:04 AM
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.