Skip to Content
author's profile photo Former Member
Former Member

Values not passing from program to Layout

Hi Abaper's

My requirement is I need to set company logo in Invoice ( VF03 ) if a particualar condition satisifies, for this I have set a FLAG in my

driver program and called the FLAG in my Script Layout.

Here my issue is, for certain invoices the FLAG set in the program is being called in the Layout and Logo is displayed in invoice copy ( when excuted both in foreground and back ground).

But in certain invoices, if run in foreground none of the values ( means not only flag but also all the values to be passed to layout)

is displayed in invoice. It is only displaying the hard coded values in the layout ( showing blank page ).

and if I run in background all the values are passing to layout except all Global Variables (flags) in the program even though it

has value in the program.

Please advice what should be the problem, I have checked with my Functional and it seems to be fine in customization part.


Edited by: Karthik R on Sep 21, 2010 2:42 PM

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2010 at 09:19 AM


    I could only suggest you to perform a nice debugging on your driver program, the problem should be there.

    Place the breakpoints, then run your program, using VF03 - Invoice - Output - Screen menu, and the program will stop at the breakpoints.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Tamas,

      I have tried it, but still not able to figure out the exact problem....since while running in background or foreground some of the all values including my logo are displayed in invoice but for some invoices none of the values from driver prgram is getting passed to layout while running in forground....but when run in background all values are passing except the FLAG set in the drvier program.

      what should be the reason for this ? for some invoices all the values from driver is passing to layout but for some cases its not passing