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: 

Track the Output printed in Z Programe

former_member203806
Participant
0 Kudos

Hi All,

I have done the Z program for for Loading sheet print, Is it possible to track  weather document is printed or not in SAP. need to assume viewing print preview is   not printed.

rgds

pramod

1 ACCEPTED SOLUTION

JuanCarlosDelga
Contributor
0 Kudos

Hi Pramod,

Have you maintain NAST protocol across your program?

Regards,

JCD

3 REPLIES 3

JuanCarlosDelga
Contributor
0 Kudos

Hi Pramod,

Have you maintain NAST protocol across your program?

Regards,

JCD

0 Kudos

HI JCD

Im new for ABAP, Can you please explain it...

rgds

PP

0 Kudos

Hi Pramod,

NAST protocol uses functions in function group WMCP:

  • NAST_PROTOCOL_DELETE
  • NAST_PROTOCOL_INITIALIZE
  • NAST_PROTOCOL_INIT_AND_LOAD
  • NAST_PROTOCOL_STORE
  • NAST_PROTOCOL_UPDATE

They are used in a lot of print programs, for example in invoices program RVADIN01.

For initialize is used the function NAST_PROTOCOL_INITIALIZE, an register in table NAST is created, then you call the funtion NAST_PROTOCOL_UPDATE to add message to the log and finally NAST_PROTOCOL_STORE to save it. Take a look to program RSNAST00.

Regards.

JCD