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

Set Margin while printing an ALV in Background

Hi Gurus!

I have an ALV program that runs in background mode. I need to have a 2 centimeters left margin while is being printed. Where do I set this up? From the ALV program or from the page format?

Thanks in adavance!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 11, 2007 at 06:46 PM

    I think you can customise your device type in SPAD where in "printer initialization" tab.

    1. set left margin to 0

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2007 at 06:50 PM

    But I don´t want to change this parameter to ALL the pages that are printed in this printer. Only for the one of the Z report.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 11, 2007 at 07:16 PM

    I have created a custom device type thru SPAD, and i used only for my report.

    I think in alv in background it is not possible. I could not able to find any methods to set left margin.

    otherwise write simple list report using the following commands

    PRINT-CONTROL
    
    Additions:
    1. ... CPI cpi
    2. ... LPI lpi
    3. ... SIZE size
    4. ... COLOR
    5. ... LEFT MARGIN col
    6. ... FONT font
    7. ... FUNCTION f
    8. ... LINE line
    9. ... POSITION col 
    
    

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.