on 01-18-2007 12:41 PM
Hello gurus,
In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
Now my prb is that my date value is not getting passed to the next page.
I have used
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
to pass date parameter.....still parameter is not getting passed.
plz help me with this.....
thankx.....
do you have a page attribute (with auto checked ) in the next page with name BEGDA?
also go into debuggin and make sure that BEGDA is filled with value before the statement
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
Regards
Raja
There is a specific forum for BSP related questions. post your BSP questions there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H Raja,
Thankx for replying . Yes i have checked the auto checkbox of the second page and during debugging it shows me the value in BEGDA in 1st page.
But in OnInitialisation of second page it is not taking the value in BEGDA.
I have passed 3 parametres to 2nd page ,2 of which are date type and other is character. Charatcter is getting passed but the date parameters are not getting passed...
plz help me with this..
Thankx
Regards
Swati
you have to convert the date in string format to internal format. you can do that using this FM
call function 'CONVERT_DATE_TO_INTERN_FORMAT'
exporting
datum = wf_to_date " date in string
dtype = 'DATS'
importing
idate = wf_datet. "variable of type D
Regards
Raja
Assing points for helpful answers.
HI
I implemented the FM in 1st page. Do i have to write something in 2nd page becaus its now giving me this error.
<b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.</b>
Regards
Swati
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
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.