Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Invalid date format form Spool PDF

Former Member
0 Likes
802

Hi,

When iam excuting a program thourgh batchjob iam getting Spool PDF there iam getting the invaid date format as 11-05-2283 78:42:87 .I feel this may be problem from output device.

Please let me know where should we check the same.

Thanks

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
760

is it a date inside the spool, or a spool attribute?

If it's inside, the issue comes from the program.

Is it a custom program?

Hi,

When iam excuting a program thourgh batchjob iam getting Spool PDF there iam getting the invaid date format as 11-05-2283 78:42:87 .I feel this may be problem from output device.

Please let me know where should we check the same.

Thanks

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
0 Likes
761

is it a date inside the spool, or a spool attribute?

If it's inside, the issue comes from the program.

Is it a custom program?

Read only

0 Likes
760

Hi,

The job is running for a custom program.Not only the particular Job some of the other Jobs also giving the same date format.

If it is spool attributes problem then where should we check this? or Printer settings problem? even that time format is not exist every where in world .

Thanks..

Read only

0 Likes
760

I meant, your initial question was not clear, I was not sure, is it a date field in your form? (or is the date somewhere else, a spool date attribute for example, if you create the spool by calling SAP internal function modules...)

I guess the problem is only the value you print (not the format): what value do you see when you debug your form?

Read only

Former Member
0 Likes
760

99.7% sure the output device is printing exactly what was sent to it.. Suggest you check what is being done to date/time fields in the program, and debug at the point where the PDF is created....