2012 Dec 04 5:14 AM
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
2012 Dec 04 5:23 AM
Hi MSI
Did you check in debugging during print. What are the structure names you are using.?
Nabheet
2012 Dec 05 5:46 AM
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
2012 Dec 05 8:25 AM
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