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

Convert spool content to pdf

Hi experts,

I have created a program that uses several smartforms to edit spool content according to the value of an input parameter, for example :

if p1_nbex GT 0.

wlv_cle_facture-sform = 'ZSF_LB_INVOICE_Z101'.

where ZSF_LB_INVOICE_Z101 is one of the custom smartforms that I have created.

Now I have created another parameter in the selection screen (p_pdf) as a checkbox and I want the spool content to be converted to pdf if the checkbok is checked.

I have read the possibility of using the program RSTXPDFT4 to convert to pdf, on the other hand I have no clue how to do this; can anybody help? is there another method?

Other question : How do I tell the program the path for storing the newly-created pdf?

Any help will be rewarded,

Many thanks

Cédric K.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 02:59 PM

    CONVERT_ABAPSPOOLJOB_2_PDF

    CONVERT_OTFSPOOLJOB_2_PDF

    use this function modules , chatch the spool number and do it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 02:59 PM

    Hello.

    Check this thread:

    Uploading and Printing PDF.

    Check standard report RSTXPDFT4.

    Regards.

    Valter Oliveira.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 04, 2008 at 03:08 PM

    hi,

    In your program you can involve the program RSTXPDFT4 using the submit and return statement .It will automatically give up a pop-up for address of file to be stored with default path.

    Regards,

    Veeresh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 04, 2008 at 03:36 PM

    Hi,

    RSPO_DOWNLOAD_SPOOLJOB

    Download the spool from a program to a file. Requires spool number.

    RSPO_RETURN_ABAP_SPOOLJOB

    Fetch printer spool according to the spool number informed.

    Regards

    Adil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 02:22 PM

    Problem solved

    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.