Skip to Content

How to define a PDF form

Hi all,

I am working on a HIPAA form, we have defined this as a SAP script in our system, but SAP has provided a functionality where we can define our output as a sap script,pdf or smart form (but for that we need to define the foem in all three ways). Right now we are just dealing with SAP script but we want to get it generated as pdf. so can you please tell me how can I define my pdf... or is there a way where I can look out for the std pdf provided by SAP, the same way as we do have std. SAP Script.

Thank you.

Raj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 07, 2009 at 09:28 AM

    Hi,

    Go through this link. Hope it may help you.

    Sap script output to pdf

    convert the Sap script spool output in to PDF format.

    Regards,

    Revathi Bhoopal.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2009 at 03:34 PM

    Hi,

    May be usefull to check [Code sample|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/49e15474-0e01-0010-9cba-e62df8244556&overridelayout=true] on SDN.

    R.

    Bart

    Edited by: Bart Vissers on Aug 3, 2009 5:34 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2009 at 10:36 PM

    For that you first need to add logic to capture the spool number generated due to form printing. and then call program RSTXPDFT4 in your program to generate pdf.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2009 at 08:46 AM

    Hi rajatg,

    Can you please eloberate your requirement. I didn't got what you want to do?? kindly make it clear

    Regards,

    Pavan.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Pavan,

      Thanks for the reply... actually the issue SAP has issued a std transaction THIPAA for issuing the Hipaa certificate, and this transaction is calling program RPLHIPU1. The program looks for the entry in the table T5F99OSFT and see if the form is defined as a sap script, smart form or pdf. So we have a ability to maintain the values in this table if we want out HIPAA certificate to be defined as a pdf,sap script of Smartform. So when I maintain the value as sap script in the table T5F99OSFT it did print the certificate. (because we have defined a sap script for it and I just and I just assigned that SAP script in the table)But when I tried to get it printed as a pdf and put the values in the table and ran transaction THIPAA it just said the entries are not maintained and same is the case with Smartform also. So when looked if there is any smartform defined which I can assign in the table I couldn't find any, so I was just wondering is there way where we define our form as pdf and then I can assign the values in the table T5F99OSFT.

      THanks,

      Raj

      Edited by: rajatg on Aug 5, 2009 5:09 PM

  • avatar image
    Former Member
    Aug 04, 2009 at 03:38 PM

    you can use this RSTXPDF4 to covert into .pdf.

    Regds,

    Rakesh

    Edited by: Rakesh Kumar on Aug 4, 2009 6:01 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 04, 2009 at 03:41 PM

    you can use this RSTXPDF4 to covert into .pdf.

    Regds,

    Rakesh

    Edited by: Rakesh Kumar on Aug 4, 2009 6:02 PM

    Add comment
    10|10000 characters needed characters exceeded