‎2010 Nov 30 6:38 PM
Hi Expert,
i have to display Contract Expiry Date in Delivery report of SD. The report showing data in smartforms which is getting printed in pre print paper. I have to show Conrtact End date as Expiry Date so i used
SELECT SINGLE VBELV FROM VBFA INTO DOCN
WHERE VBELN IN S_VBELN
AND VBTYP_N = 'J'
AND VBTYP_V = 'C'.
SELECT SINGLE VGBEL FROM VBAP INTO SNO
WHERE VBELN = DOCN.
SELECT SINGLE GUEEN FROM VBAK INTO DAT1
WHERE VBELN = SNO.
I want not to append the it_final table (final interbal table filled with data to show) export the from SSF_FUNCTION_MODULE_NAME
to smartform. I want to know how to do it, here i have to import dat1 variable which is saving the end date. In which parameter should export it to smart form. Please write the SSF_FUNCTION_MODULE_NAME with parameters.
Thanks in advance.
Ankit
‎2010 Nov 30 6:45 PM
Hi
SSF_FUNCTION_MODULE_NAME returns the function name generated from smartform, so it's useless to transfer some data to smartforms.
You need to run transaction SMARTFORMS in order to change the interface of your smartform: here you need to create a new import parameters for your new data.
But you can also place all the code into the smartform, in this way you don't need to use the interface to transfer them
Max
‎2010 Nov 30 6:45 PM
Hi
SSF_FUNCTION_MODULE_NAME returns the function name generated from smartform, so it's useless to transfer some data to smartforms.
You need to run transaction SMARTFORMS in order to change the interface of your smartform: here you need to create a new import parameters for your new data.
But you can also place all the code into the smartform, in this way you don't need to use the interface to transfer them
Max
‎2010 Nov 30 7:02 PM
I have pass single value dat1 to smartform from driver program without appending it to internal table.
SORRY I am new to abap.
Ankit
‎2010 Nov 30 7:12 PM
Hi
You have 2 solution, juast as I've explained before
A) Or you change the interface of smartform in order to add a new parameter for DAT1
B) Or you get DAT1 into smartform so without to transfer it from driver program
Run transaction SMARTFORMS to change your smartform for both solutions
Max
‎2010 Nov 30 7:14 PM
No problem, go thorough the earlier suggestions and links.You will get your answer.
‎2010 Dec 01 7:22 AM
‎2010 Nov 30 6:47 PM
This is very basic question,you can refer to Smartform section of ABAP wiki http://wiki.sdn.sap.com/wiki/display/ABAP/Smart+Forms