‎2007 Apr 16 8:45 AM
Hi,
I am working on a SAP script. The problem is : The display format of the field is erroneous.
Actual requirement is : 99.999.999,00
What is actually coming as output is as follows:
Current format got : 99999.999,00
What could be the cause of error? Please help. (Points will be awarded)
‎2007 Apr 16 8:46 AM
Hi,
Check the User Settings in Su01 T code (defaults).
and use the Command SET COUNTRY <Country name> and see.
reward if sueful
regards,A
nji
‎2007 Apr 16 8:49 AM
Try this
Declare any variable of type NETWR (or any curr type)
Then try WRITE <ur variable> TO W_NETPR.
Then WRITE: W_NETPR
DATA:
w_netpr type netpr.
w_netpr = '99999999'.
write: w_netpr.
Reward if helpful...
‎2007 Apr 16 8:55 AM
Hi..,
In OPEN_FORM function module u will have one parameter called OPTIONS.. this is of structure ITCPO.
take a fieldstring of type ITCPO.
for this structure pass the corresponding country key to the parameter TDTELELAND , and now assign this to OPTIONS of the FM OPEN_FORM...
reward if it helps u..
sai ramesh
‎2007 Apr 16 9:00 AM
s,
a) use the Command SET COUNTRY <Country name>
b)also check systen->user profile->owndata -> selsct 'Defaults' tab strip ->Check Decimal Notation assign properly or not
‎2007 Apr 16 10:00 AM
Hi,
This is simple. This can be done by setting correct currency reference, using database structures that have amount field with currency references. Let's say you are trying to print amount from bseg structure. Check if the same structure has currency field, if yes set the currency field with your prefrence and display the amount.
<u>EX:</u>
DATA: WF_AMOUNT LIKE BSEG-FKWRT
BSEG-PSWSL = KRW.
WF_AMOUNT = BSEG-WRBTR.
Note: Reward Points if useful
Regards,
Sekhar.