cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine realdy printed for SAP script?

Former Member
0 Kudos

Dear all:

When the data real printed through the printer(SAP script), then I how to knew it's printed?

Because I need to control data printed or not. Please help.

Thanks a lot!!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Check the NAST table and if field VSTAT eq 1 the document is already printed.

Former Member
0 Kudos

Thanks for your help. But NAST is only keep standard SAPsprit printed result. My program is created by myself.

Former Member
0 Kudos

Hi,

In the SD/MM sap-scripts it is working with RETCODE and FORM PROTOCOL_UPDATE.

look in program rvador01 and figure it out.

Gr., Frank

Former Member
0 Kudos

Hi,

You can check the NAST table entry with the document number.

If already printed then there will be an entry.

Regards,

Ram