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

in F-58, invalid dates are printing for cheques.

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

in F-58, invalid dates are printing for cheques.

Postby tsumek » Tue Sep 16, 2014 3:44 am

In Transaction F-58 , cheques are printing invalid dates.
.Input Date 15.09.2014 is printing as 35.09.2234.
i have check my Sapscript but no problem in it..then how can i resolve the issue?
Last edited by tsumek on Tue Sep 16, 2014 7:32 am, edited 3 times in total.
tsumek
 
Posts: 12
Joined: Fri May 09, 2014 4:05 am

Re: F-58 cheques printing invalid dates ..35.09.2029 nd etc etc

Postby Gothmog » Tue Sep 16, 2014 4:57 am

Well, obviously, there is a problem.
How are you printing these dates? What date format is used?
And is 35.09.2029 a real example? I can't see an obvious way to get that error, except if you're printing very post-dated cheque.
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

in F-58, invalid dates are printing for cheques.

Postby tsumek » Tue Sep 16, 2014 7:11 am

We are using the DATS format.
And I'm getting the date 35.09.2234

The Script gets its values directly from REGUH-ZALDT, so I don't think it's the Script which has the problem.

I did realize, after multiple prints, that each garbled date has random numbers incremented by 2 in ASCII.

35->15
2234->2014.

I figured this after I got 17.0;.2234 when the actual date was 15.09.2014
If you increment 9 by 2, you get ; in ASCII.

Why would this be happening? Each time, random parts of the date get affected.
tsumek
 
Posts: 12
Joined: Fri May 09, 2014 4:05 am

Re: in F-58, invalid dates are printing for cheques.

Postby Gothmog » Tue Sep 16, 2014 8:02 am

You're printing &REGUH-ZALDT& in the sapscript, wthout any special formatting?
And this happens only for dates?

That's quite strange - especially if it's not consistent, with specific characters being changed (in wich case I'd look at the code page side of this).
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: in F-58, invalid dates are printing for cheques.

Postby tsumek » Tue Sep 16, 2014 11:26 pm

YEs sir , i am printing &REGUH-ZALDT& and its happened for all the characters in the cheque like bank name , amount of money in words and total amount not only for Date .
tsumek
 
Posts: 12
Joined: Fri May 09, 2014 4:05 am

Re: in F-58, invalid dates are printing for cheques.

Postby Gothmog » Wed Sep 17, 2014 3:09 am

OK, if it's not only the date, but all text fields, I'd definitely check the code page used by the printer.
Maybe contact your basis team, they could have valuable input on this.
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


Return to ABAP

Who is online

Users browsing this forum: No registered users and 12 guests





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