2007 Mar 21 3:31 AM
Hi,
I'm trying to submit rkaep000 with values to order, expected debit date and display variant in the selection screen. I'm able to fill values to order and display variant but not to the date. Why am I not able to pass the dates????? Tried directly passing then passing as range but still it takes the default date.
submit rkaep000 via selection-screen
WITH p_tcode = 'KOB2'
WITH aufnr in r_aufnr
WITH r_obdat in r_date
WITH r_obdat-low EQ '01032003'
WITH r_obdat-high EQ '01032007'
WITH p_disvar = 'SCORP 1404'
to sap-spool spool parameters params
without spool dynpro
and return .
Hi,
I'm trying to submit rkaep000 with values to order, expected debit date and display variant in the selection screen. I'm able to fill values to order and display variant but not to the date. Why am I not able to pass the dates????? Tried directly passing then passing as range but still it takes the default date.
submit rkaep000 via selection-screen
WITH p_tcode = 'KOB2'
WITH aufnr in r_aufnr
WITH r_obdat in r_date
WITH r_obdat-low EQ '01032003'
WITH r_obdat-high EQ '01032007'
WITH p_disvar = 'SCORP 1404'
to sap-spool spool parameters params
without spool dynpro
and return .
2007 Mar 21 3:35 AM
Try passing the dates using the internal date format (YYYYMMDD).
'20070301'
2007 Mar 21 3:38 AM
2007 Mar 21 3:49 AM
if r_obdat is a select option have you also tried:
r_date-low = '20030301'.
r_date-high = '20070301'.
r_date-sign = 'I'.
r_date-option = 'BT'.
append r_date.
submit rkaep000 via selection-screen
WITH p_tcode = 'KOB2'
WITH aufnr in r_aufnr
WITH r_obdat in r_date
WITH p_disvar = 'SCORP 1404'
to sap-spool spool parameters params
without spool dynpro
and return .
2007 Mar 21 3:55 AM
Hi,
I have tried that also. If u can see my code tht's been commeneted out. I have not pasted the range here but I have tried tht, it's not working
2007 Mar 21 3:59 AM
I looked in the report and noticed the lines:
refresh r_obdat.
append r_budat to r_obdat.
Instead you might want to try passing it to r_budat.
2007 Mar 21 4:16 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |