‎2008 Sep 30 5:50 AM
Hi Gurus,
i want to pass values to WPO1 transaction.
i passed all values through via selection screen table type of RSPARAMS.
All values are passed OK.
But for checkbox, in wpo1 tcode, when i pressed f1 to know the screen-field name "No documentation available " is came.
I pick the field name from SE51 by using program name and screen no. i got it as ZTEILWE.
But when i pass 'X' to this field , it is not working.
Pls tell me how to pass space ot 'X' to this field.
‎2008 Sep 30 5:57 AM
hai,
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = 'report name'
TABLES
SELECTION_TABLE = SEL_TAB.
use this f.m and get all details of the selection screen into sel_tab and pass the value to submit and see.
some time field may differ, u only should assign.
_______________________
IF C5 (field in ur program) = 'X'.
C3 (think this as ur field that u want to pass to wpo1)= 'X'.
C5 = ' '.
ENDIF.
_________________
shan.
Edited by: shan palani on Sep 30, 2008 10:31 AM
‎2008 Sep 30 5:57 AM
hai,
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = 'report name'
TABLES
SELECTION_TABLE = SEL_TAB.
use this f.m and get all details of the selection screen into sel_tab and pass the value to submit and see.
some time field may differ, u only should assign.
_______________________
IF C5 (field in ur program) = 'X'.
C3 (think this as ur field that u want to pass to wpo1)= 'X'.
C5 = ' '.
ENDIF.
_________________
shan.
Edited by: shan palani on Sep 30, 2008 10:31 AM
‎2008 Sep 30 6:14 AM
what is the Checkbox in that transaction..?
keep the break point in the program RWPOB001 and see..what is happening.
‎2008 Sep 30 6:50 AM
Hi Please check your field name i think it should be XTEILWE not ZTEILWE. Hope this will solve your problem. Thanks.
Regards,
Jey