08-29-2007 7:05 AM
hi experts,
in my driver program i have one variable I'TAB_FINAL-P_DATE' which is showing previous date in the alv report now i have developed a smartforms in which i have to show this variable in the logo window cud u plz tell me how will i pass this variable in my smartforms for displaying the date........plz help me as i m learning smartforms....................................................
08-29-2007 7:12 AM
In your smartform go to the section 'Form interface' in global settings. Here define your P_DATE field as you would in a function module.
In your calling program find the section where the smartform is called and add you new parameter to the CALL FUNCTION statement.
Regards,
Nick
08-29-2007 7:14 AM
in ur smartform logo window, create a text element and drag and drep dis variable into the text element...
plz reward points if it helps
08-29-2007 7:17 AM
u must also include ur variable in form interface section of form and also pass it as parameter of call to smartform in the driver program.
08-29-2007 7:18 AM
Hi Ravi,
Plz explain me ur requirement clearly. Would u like to the date to be get displayed in the header window.If so then just pass that internal table in the smartforms under <b>interface</b> section n as well as define a workarea for the internal table structure.Then use loop over that window in which u just have to loop at internal table into workarea n write that in ur smartform editor.
<b>Reward points if it solves ur query or come up with some more details.</b>
Thanks
Chinmay