Skip to Content
avatar image
Former Member

Passing data to SAP script from print program-VF03

Hi All,

I have a stand alone print program which ahs the invoice number in its selection screen which when entered displays the layout of invoice by using a sap script.

Now since I have to get this layout displayed from VF03, I have added the program, sap script name and a subroutine which contains the code which was initially there under the start-of-selection event in the stand alone program, in NACE. I have replaced the selection screen parameter for invoice number in my program with nast-objky which contains the invoice entered in vf03.

But when I am entering the invoice in vf03 and selecting print preview, the data is getting captured in the internal table defined in my program but the same is not getting reflected in the layout displayed. So I am always getting the blank values in the output though I did not modify the original sap script at all. Pls help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 15, 2007 at 10:50 AM

    Keep a breakpoint in your print program and see if your program is being triggered indeed. Do not forget to start Update debugging, otherwise it will not stop in your print program.

    Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded