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

Smartforms from IW22

Former Member
0 Likes
702

   Hi Experts,

   Functional has done necessary configuration to trigger the z driver program and z smartforms from IW22.In our driver program runtime sturctures has been used.

   The thing is that when we do print preview from IW22 then these runtime structures arrive to our driver program with data but in case of PRINT  these runtime stuctures don't arrive with data.So the smartform gets created as spool but without data.

  please help !!

Regards

MSI

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
560

Hi MSI

Did you check in debugging during print. What are the structure names you are using.?

Nabheet

Read only

0 Likes
560

Hi nabheet,

Thanks for your reply..

I am using following structures.

CONSTANTS:

c_viqmel    TYPE char16   VALUE '(SAPLIQS0)VIQMEL',

c_riwo00    TYPE char16   VALUE '(SAPLIQS0)RIWO00',

c_riwo1     TYPE char15   VALUE '(SAPMIWO0)RIWO1',


ASSIGN (c_viqmel)     TO <fs_viqmel>.

ASSIGN (c_riwo00)     TO <fs_riwo00>.

ASSIGN (c_riwo1)      TO <fs_riwo1>.

I am not receiving any value in the structure (SAPLIQS0)VIQMEL or (SAPLIQS0)RIWO00' or (SAPMIWO0)RIWO1 in our driver program while printing.

thanks

MSI

Read only

0 Likes
560

Hi MSI

SAP standard use program RIPROV00 check form PRINT_PAPER in it is importing data from memory id. so rather than using Assign you can just copy that logic and move ahead.

Hope it helps.

Nabheet