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

applying OSS note

Former Member
0 Likes
699

Hi,

I need some direction regarding the application of a particular OSS note. The explanation says that a section of the source code needs to be manually corrected. It means that we need to add some coding to a ABAP function. In that case should apply the OSS note via SNOTE transaction or take the object key for that function and then make changes a a developer? I am bit confused.

The note number is 111538. Any thoughts as how to approach it?

Thanks,

VG

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
664

the note specifies the steps,,

for eg, if it says..

1. create an include in a development class(package).

then you need to create the include and paste the code for that include from the note in that development clas and activate. once that is done, you can go ahead and do the next step...

if you don't do the manual steps the note won't be applied successfully.

thanks,

Srini.

5 REPLIES 5
Read only

Former Member
0 Likes
665

the note specifies the steps,,

for eg, if it says..

1. create an include in a development class(package).

then you need to create the include and paste the code for that include from the note in that development clas and activate. once that is done, you can go ahead and do the next step...

if you don't do the manual steps the note won't be applied successfully.

thanks,

Srini.

Read only

0 Likes
664

Hi,

Thanks for the quick turnaround. The note does not specify like that however from the proposed soultion it looks like that.

existing piece of code in the include program is

lt_ppdit-subst = l_cline-subst.

  • LT_PPDIT-MENGE = L_CLINE-ANZHL.

  • LT_PPDIT-MEINS = L_CLINE-MEINS.

lt_ppdit-curtp = '00'.

From the propsed soultion of the note it suggests something like this

Take the comment out on LT_PPDIT-MENGE = L_CLINE-ANZHL.

and add some 'IF'condition to LT_PPDIT-MEINS

IF ......... " Insert decision

LT_PPDIT-MEINS = ......

ENDIF.

In simple terms, some code needs to be added, so is it better to take the object key of this include program and make the changes manually or apply the OSS note and then make changes?

Thanks again,

VG

Read only

0 Likes
664

When it says that you have to make the changes manually in the code (which sounds a bit strange to me, since code corrections are normally done via the note itself), than you have to do it manually. And indeed, you need an access key for that. Now, what to do first. If the note also applies to the same object you have to change manually, than I would suggest first to implement the note. During the 'insert' of a note, the system looks for the exact spot where coding has to be inserted. If this does not match exactly (for example one empty line too much), the note can not be implemented and is rejected.

Short, do exactly what the note says, and follow the steps mentioned in it. That way you can always get back to SAP, if it does not work properly. Advice: follow the instructions to the letter.

Unfortunately I can't get into OSS right now, otherwise I could have taken a look at the note itself.

Read only

0 Likes
664

Thanks a lot. It really helps.

VG

Read only

0 Likes
664

Hi,

If I understand this right, Implement the OSS note via SNOTE. If it works fine then collect the object key for the include program and add the additional code manually and test for the required results. If the note fails in the firsrt step itself then get back to SAP and seek more clarifications.

Sounds like a good plan?

Thanks again,

VG