cancel
Showing results for 
Search instead for 
Did you mean: 

Print program for smartform

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

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