Application Development 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: 

regarding variables passing in smartforms

Former Member
0 Kudos

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....................................................

4 REPLIES 4

Former Member
0 Kudos

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

former_member188827
Active Contributor
0 Kudos

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

former_member188827
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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