Skip to Content
author's profile photo
Former Member

Print program for smartform

Hi All,

I want to configure print program for smartform. I have done with layout and print program. But in order to trigger smartform when a purchase order is created, i searched in previous posts and i understand that i need a subroutine in my print program which will use nast-objky to trigger my smartform. I want to modify my print program into sub routine pool from executable one and want to add a subroutine "FORM entry_xyz USING ent_retco TYPE any ent_screen TYPE any". In this subroutine i want to use nast-objky in my select condition to populate the internal table which will be passed to smartform.

I need suggestions on my plan.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 03:37 AM

    inuce this include in ur program

    RVADTABL

    If your output type is configured then after using this include

    the nast structure will get populated automatically at runtime with all document data

    check this link

    How to use NAST entry inside a printing program.

    you need to also configure your output type for Purchasing.

    In the output type u have to provide the print program and subroutine entry_xyz

    Add comment
    10|10000 characters needed characters exceeded