11-26-2007 9:38 PM
Hi,
In my current smartform, one of the criteria is if the output type is ZDFT, then display a certain text. How do I obtain the output type that was used in sending the PO to a smartform? Is it a system field?
Thanks,
John
11-26-2007 9:41 PM
11-26-2007 9:57 PM
Hello ,
I guess the same would be available in the NAST structure of your SmartForm Print program. Pass the Output type as an Input to your Smart Form.
Regards
Saket Sharma
11-26-2007 10:13 PM
You can check the NAST-KSCHL.
You need to add one more Import parameters in the SMARTForms.
Open your Smartform ..Form Interface.. Import tabe.. Define like:
I_KSCHL type NAST-KSCHL
You can than use this I_KSCHL into the Smartforms to dispaly your certain text.
You need to pass this parameter in the FM call of the smartforms.
CALL FUNCTION LF_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
.........
I_KSCHL = NAST-KSCHL
TABLES
.....
Regards,
Naimesh Patel
11-26-2007 11:55 PM
You can pass NAST structure or You can simply pass a parameter of NAST-KSCHL. make sure you pass the same from Print program and import in smartfomr to use further.
To be specific, export NAST structure from driver program with smartform interface and import the same in smartform.