Application Development 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: 

SNOTE (Note Assistant) list expected "source code corrections" of a note?

Former Member
0 Kudos

Is it possible, in current versions of SNOTE, to print the "source code corrections" that the note is supposed to contain?

This was possible in "good old OSS" and also, I think, in early versions of SNOTE.

Why do I ask?

Sometimes you have a note that SNOTE cannot handle by itself. You must then open the "splitscreen editor" and guide SNOTE through the process.

In such cases I like to have a listing, on paper, of the expected changes, so that I keep some overview and that I can check the corrections as I go through them.

1 ACCEPTED SOLUTION

former_member195698
Active Contributor
0 Kudos

Why don't you PRINT the NOTE CORRECTION from SERVICE.SAP.COM...

Then you can compare the printed paper correction with what the note has applied.

In SNOTE also, select the NOTE and click the Display button, it will give the details of the correction

Regards,

Abhishek

5 REPLIES 5

former_member195698
Active Contributor
0 Kudos

Why don't you PRINT the NOTE CORRECTION from SERVICE.SAP.COM...

Then you can compare the printed paper correction with what the note has applied.

In SNOTE also, select the NOTE and click the Display button, it will give the details of the correction

Regards,

Abhishek

0 Kudos

>In SNOTE also, select the NOTE and click the Display button, it will give the details of the correction

This suggestion was not very useful.

However, the other one is a good solution:

>Why don't you PRINT the NOTE CORRECTION from SERVICE.SAP.COM...

0 Kudos

I have now found out that it is possible, in a recent version, to get an old-fashioned listing of the OSS-note, including the correction instructions.

If you are in the "Note Assistant: Note Display" screen (the screen that contains the embedded Acrobat Reader to display the note), follow the menu path Extras .. Display Note Text .. SAPscript Document or simply use F6.

0 Kudos

I have found out it can also be done with program SCWN_NOTE_DISPLAY .

Former Member
0 Kudos

I have found a second possibility - the following little program based on some code found in the 4.6C implementation of SNOTE.


report  zztmp_snote_displ line-size 080.

type-pools bcwbn.

parameter p_note like cwbnthead-numm.

data gs_note type bcwbn_note.

start-of-selection.

  clear gs_note.

  select numm versno
    from  cwbnthead
    into (gs_note-key-numm,gs_note-key-versno)
         where  numm        = p_note
         and    incomplete  = space
         order by primary key.

  endselect.

  if not ( gs_note-key is initial ) .
    call function 'SCWB_NOTE_READ'
      exporting
        iv_read_attributes                = 'X'
        iv_read_short_text                = 'X'
        iv_read_all_texts                 = 'X'
        iv_read_validity                  = 'X'
        iv_read_corr_instructions         = 'X'
        iv_read_customer_logfile          = 'X'
        iv_use_fallback_languages         = 'X'
        iv_read_loghndl                   = 'X'
        iv_read_fixes                     = 'X'
        iv_read_customer_attributes       = 'X'
*   IV_READ_READ_BY_USER              = ' '
*   IV_READ_SOL_MGR_REFERENCE         = ' '
*   IV_READ_SAP_STATUS                = ' '
      changing
        cs_note                           = gs_note
      exceptions
        note_not_found                    = 1
        language_not_found                = 2
        unreadable_text_format            = 3
        corr_instruction_not_found        = 4
        others                            = 5
              .
    if sy-subrc eq 0.
      call function 'SCWB_NOTE_DISPLAY'
        changing
          cs_note = gs_note.
    endif.
  endif.