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

SAPscript unit of measurement (UoM) changed during print

Development SAPscript/ Smartforms

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

SAPscript unit of measurement (UoM) changed during print

Postby fauzahm » Wed Dec 05, 2007 10:43 pm

Hi Experts,
I am doing my SAPscript and its print program for Invoice printing (VF02/VF03). The problem only occurs when its UoM is BOX. It will display in the Invoice printing as '012' instead of BOX. When I debug in the print program, in structure VBDPR (field VRKME), it has the correct UoM which is BOX. When I debug my SAPscript, it will give me 012 as its UoM!! I don't know what is the reason behind this behavior. Please advice.

Thanks in advance.

Regards,
Fauzah.

fauzahm
 
Posts: 22
Joined: Thu Apr 14, 2005 8:28 pm
Location: Malaysia

Postby YurchiX » Mon Dec 10, 2007 10:05 am

This is happening, because SAP stores UoM key in field VBBDPR-VRKME. You should use this key and select correct UoM description from table T006A (VBDPR-VRKME = T006A-MSEHI).

If you will prinit T006A-MSEH3 on your form, you should get correct UoM description.
YurchiX
 
Posts: 13
Joined: Tue Aug 29, 2006 6:29 am

Postby fauzahm » Wed Dec 12, 2007 12:39 am

Hi YurchiX ,
Thanks for your reply. My problem will only occurs when the country language key is TH = Thailand. And it only happens to UoM = Box. The rest are okay. Do you think it has something to do with the language key?

Thanks.
fauzahm
 
Posts: 22
Joined: Thu Apr 14, 2005 8:28 pm
Location: Malaysia

Postby YurchiX » Thu Dec 13, 2007 4:38 am

Maybe translation for BOX in language TH is not maintained in you system. You can check it in table T006A.
YurchiX
 
Posts: 13
Joined: Tue Aug 29, 2006 6:29 am

Postby fauzahm » Mon Dec 17, 2007 12:24 am

Hi YurchiX,
Yes, I can see why now. Thanks for the reply... :D
fauzahm
 
Posts: 22
Joined: Thu Apr 14, 2005 8:28 pm
Location: Malaysia

Re: SAPscript unit of measurement (UoM) changed during print

Postby Acerania » Tue Mar 24, 2009 3:57 am

hi yurchix

how to maintain the description in table t006A?
thanx before
Acerania
 
Posts: 2
Joined: Thu Apr 05, 2007 6:17 am
Location: Medan, indonesia


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 1 guest




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