This website is not affiliated with, sponsored by, or approved by SAP AG.

Enter date in the format __.__.____

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Enter date in the format __.__.____

Postby q4u » Tue Apr 28, 2015 12:27 pm

Hi,
I'm getting that error when trying to pass a select-options date from one report, to another report that is being scheduled to run in the background (using submit...and return...to sap-spool).
Everything seems ok when debugging. But when executing the report (zreport1) it fails with the above error at the SUBMIT statement. Any ideas?

zreport1.
select-options so_odate for sy-datum.
SUBMIT zreport2 WITH so_ddate = so_odate and return user sy-uname via job v_jbn number v_jbc to sap-spool without spool synpro spool parameters vs_params.

zreport2.
select-options so_ddate for sy-datum.

* so_odate entered as: (Low) 01.12.2015 (High) 31.12.2015
* debug shows so_odate = IBT2015120120151231
q4u
 
Posts: 439
Joined: Wed Mar 08, 2006 7:02 am

Re: Enter date in the format __.__.____

Postby Gothmog » Tue Apr 28, 2015 12:56 pm

Hmm...
For select-options, try so_ddate IN so_odate.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1942
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home

Re: Enter date in the format __.__.____

Postby q4u » Tue Apr 28, 2015 2:08 pm

Gothmog wrote:Hmm...
For select-options, try so_ddate IN so_odate.

:lol: Thanks Gothmog, that's perfect!
q4u
 
Posts: 439
Joined: Wed Mar 08, 2006 7:02 am


Return to ABAP

Who is online

Users browsing this forum: No registered users and 8 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.