cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform

Former Member
0 Kudos

Hi All,

I want to pass one variable to smartform.

I have one date field in driver program which i take it as input from user.

I want to pass the same date to smartform.

I have mentioned it in import parameter in smartform but its value showing null.

What can i do to solve this?

Is there any other solution?

Please suggest me the solution.

Regards,

Deepak.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

may be its declaration Probelm..

declare both ie dirver program and smart form as sy-datum or any data element of Date....

just create a program lines before that text in the smart form.

and give a break point that u can know u r value is passing into smart form or not.

it will work definately...

if u are using select-options in the driver Program declare date-low in the function module of smart form.

with regards,

Kiran.G

Edited by: kiran gouni on Apr 18, 2008 10:44 AM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Former Member
0 Kudos

Hi,

In tcode Smartforms-->Form interface->Import parameter declared you field.

In global definition>initialization tab>put BREAK-POINT.

and run the program .Now you check the value of the field.

Pls. reward if useful....

Former Member
0 Kudos

hi,

first see that the data type of that variable in driver program n in form interface are same or not?

they should be same.

if ur taking the value through parameter from the user, then simply pass the variable to smartform through function module generated for that smartform.

check whether ur getting an error or warning, as in form interface it doesnt have any value it gives a warning, no problem with that, u just proceed if ur getting a warning.

if ur taking the value through select-options from the user, then passing value will be different. for that, in the below link u can have complete procedure, how to pass select-options:

[http://saptechnical.com/Tutorials/Smartforms/SelectOptions/Demo.htm]

hope this can solve ur problem.

dont forget to reward, if it helps u.