Skip to Content

How may I retrieve the 'note to recipient' defined in transaction VV13?

Dear experts,

I've been trying to look for a way to retrieve the 'Note to recipient' as defined in the transaction, VV13, but to no avail. Please see the highlighted text in yellow here -> screen.jpg

The closest clue that I've had is via the FM, SO_DYNP_OBJECT_SEND but this will cause a runtime error (POSTING_ILLEGAL_STATEMENT) because my custom print program is executed in the background.

Does anyone have an idea on how I can achieve this please?

Much thanks..

screen.jpg (82.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 07, 2017 at 09:16 PM

    The screenshot looks like a standard SAPOffice mail. If so, this is a SAPOffice document linked to your VV13 document. This could be either simple or messy or impossible (I know that isn't a very helpful statement). Please have a look in your outbox (in SBWP) after sending one of these. If it is a mail without any link or attachment, it may not be possible to retrieve programatically. If it has a hyperlink or something by which you can navigate back to the original doc, then something could be done.

    I don't have an SAP system in front me me right now, what is VV13? How is this note created?

    Add comment
    10|10000 characters needed characters exceeded

    • Sorry but this feels like one of those weird text games (like Whiteout)... Would you mind giving us full information instead of spoon-feeding it piece by piece?

      The screenshot provided in OP has no useful information whatsoever. As I mentioned, it does not look anything like standard VV11...VV13 (output condition record maintenance) transaction. If you've implemented something custom in your system then the SCN members cannot know anything about this.

      If your goal is to enter an additional note to be included in the email produced by the standard condition-based output functionality then I don't understand what part does this whole VV12-VV13 plays in it. What was the design? Why did you (or someone?) decide to create this piece without thinking how you'd actually include it in the email.

      In general, questions about including such notes in the emails have been asked on SCN multiple times before. If I had to write a program for this then I'd never use the mystery "note" you're asking about. Unless I'm missing something and SAP came out with some new design recently.

  • Jun 07, 2017 at 08:53 PM

    We don't use this transaction, so I don't know for sure how this data is stored (standard text?). In general, however, it's easy to find out using SQL trace in ST05, for example. When you know how / where it's stored then it should not be difficult to find out how to read it.

    I'm very much confused why SO_DYNP_OBJECT_SEND would seem like a suitable solution just to read any data.

    Add comment
    10|10000 characters needed characters exceeded

    • When debugging VV13, I found that this FM will return the 'note to recipient' in its parameter, NOTE_TEXT - this is why this was the closest clue that I could find during my investigation. Sorry for the confusion.

      I guess I'll try ST05 then -- I do not know where this 'note to recipient' is stored, yet~