Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

import memory ID

Hi All,

I had developed a shoppaper (sap script) program to be attached through NACE in transaction QM03 in R3 version 4.6b

I had copied from earlier code and used

IMPORT iviqmel " ... Notification


so i use to get notification no in viqmel-qmnum and go ahead with further processing and opening forms n all

now a new requirement has come of printing (script would be used again) of delivery document using transaction VL02N.

now i want to import the delivery document no. of transaction VL02N (in same R3 itself).

how can i find the header structure for this field (technical name is VBELN) and how do we find out the memory id to be used in import

or is it like memory id would be same only respective header is to be found and imported.

and can anyone put some light on this shoppaper concept.

request to provide your valuable input.



Former Member

Hi Navin!

In the print report (assigned to the message condition) the table NAST is available as global data. It will be filled by standard before calling the print report. Then NAST-OBJKEY will contain the VBELN. Sometimes there might be a prefix or suffix - check, in which column the VBELN is stored for deliveries.

That's the best way to get the correct document number.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question