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

Hi all, i didn't get my output using smartform?

Hi,

i didn't get my output using smartform? when i created smartform for PO. i assigned in NACE EF new z output type--assigned my zprogram and zsmartform. but it says no proceessing routine in zprogram.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 10:57 AM

    You can do this but your Z program structure should be like standard program SAPFM06P po program in nace.

    Here is the flow how your Z program gets executed if you attach it to the output type.

    1. when you create a output it creates an entry in table NAST.

    2. the transaction triggers program SAPFM06P which in turn looks into table TNAPR to get the program and smartform.

    3. SAPFM06P triggers form ENTRY_NEU of your new Z program and prints the Z- smartform.

    4. Please have a quick look at program SAPFM06P for the basic structure.

    call ur smart form in subroutine ENTRY_NEU.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Murali,

      As Tamas has replied he has given the right solution. If in the standard code is there any exit where you can write ur driver program and the processing form.

      Or the best option is in NACE write the program name as your own z driver program name as per Tamas i.e. what he said ,you must have some subroutine from where your smartfom forms function mdule is called.

      Help children of U.N World Food Program by rewarding them and encourage others to answer your queries

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:27 AM

    Hi Murali,

    Do check your config settings dude...Theres something missing..

    Nayan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:36 AM

    Hi!

    "no proceessing routine in zprogram" - it means, there is not a form in your program.

    In the NACE transaction, you have to set 3 neccessary data: printer program name, FORM within the printer program and smartform name.

    The FORM within the program, could be anything, but it must exists.

    FORM entry_processing.

    ...

    ENDFORM.

    NACE transaction will call this form.

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 04:27 AM

    Can i copy standard program sapfm06p to zprogram.where can i write my code for smartform(my zprogram).in that program.plz help me urgent.

    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.