Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartform print program

former_member188827
Active Contributor
0 Likes
431

hi all,

I have copied rlb_invoice in a zprogram.Iam getting my smartform in the print preview but it is empty . I want to know where to write the select statements.

thanx & rgds.

points will be rewarded.

Message was edited by:

abapuser

Message was edited by:

abapuser

3 REPLIES 3
Read only

Former Member
0 Likes
411

Hi,

If you are displaying the print preview of the Invoice via VF02, then you will have to subscribe the Z program that you have created for the Output type that you select in NACE Transaction.

Read only

Former Member
0 Likes
411

Hi,

You have to write your select query in your print program(Coded using SE38 and type 1)

In that program once you have retrieved data using your select query pass that data to the function module generated by Smartforms.

If you are not clear please free to get back to me.

-B S B

Read only

former_member188827
Active Contributor
0 Likes
411

thanx a lot everyone