on 04-18-2008 6:04 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.