Skip to Content
avatar image
Former Member

How to call Custom Smartform through Std Prog RVADOR01

hi,

I want to call custom smartform through RVADOR01. is it possible or not? if yes can u provide some inputs how to call . if no can u explain why we cannt call ?

advanced thanks to all

Regards,

Raj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 03, 2009 at 12:18 PM

    hi raj,

    we can use custom smartform but you have to do some changes in driver program for that.

    first of all i want to know that you changed the standard smartform or you developed the form from scratch.

    provide information to helpyou.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      Without changing the driver program you want to call custom form. Yes its possible by changing the config in the NACE transaction with the custom form. But, you need have all the import parameters in your custom smartform, which are exported in the dynamic function call from the driver program.

      If you dont need all the parameters and you know what you need to fetch from database, i prefer you to develop custom program, instead copying the standard and making the changes.

      Dont' forget to do error handling after each function module you use in the custom program, if not you will get express document terminated messages, when there is any error while you executing you form from standard transaction.

  • avatar image
    Former Member
    Jun 03, 2009 at 12:09 PM

    You need to change the driver program to Z as it is written to call a sap script. You will need a separate driver program and a smartform and configure it in nace.

    Regards,

    Abdullah

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 05, 2009 at 10:19 AM

    hmmm i think you are mixing things up.

    RVADOR01 is SAP standard print program for sapscript. i dont think it will work with smartforms.

    Since in sapscript the FM OPEN_FORM is used to trigger the form, while in smartforms the generated FM is beeing called.

    If´ I´m wrong and you RVADOR01 is a standard smartforms print program, then yes you can use it, just be sure you have the right form in customizing for your output type.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 05, 2009 at 11:51 AM

    Hi,

    As per my knowledge It is not possible to print smart form using program RVADOR01. Because it is Standard program to print Script layout only. If you want to display then you must modify the program and call the Smart form using FM SSF_FUNCTION_MODULE_NAME and generated function module of smart form. Then configure both in NACE. Fist check the print program whether it have SSF_FUNCTION_MODULE_NAME function module or not. if it didnt had then it is not possible to print Smart Form.

    Edited by: MR Venkat on Jun 5, 2009 1:51 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 05, 2009 at 07:43 AM

    Hi,

    Ask your functional consultant to create output type for your requirement and then configure that output type in NACE tcode as follows.

    1) Copy the program RVADOR01 into a custom Z-program.Go to Nace Tcode and give the created Z-program in the Program name column.

    2) Give the Smartform name in the PDF/Smartform name .

    3) Give Get_data in the Form Routine column.

    And then in the Z-program and in the subroutine Perform Get_data.

    Give the condition as

    if Nast-kschl = YOUR Created output type. There write your driver program coding and afterwards save and activate.

    Hope this will help you.

    Regards,

    Venkat.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 06, 2009 at 06:31 AM

    thanks to all.

    Add comment
    10|10000 characters needed characters exceeded