Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Amount Conversion issue in sap script

Hi experts,

Im trying to print document in FBL1n transaction.

SAP Script is involved to show output.

In driver program, amount field is coming properly.

When the WRITE_FORM is executed, amount filed is change automatically with comma and pull stop.

for example, in one document of Singapore country, amount bseg-wrbtr is coming as 6.500,00   i.e., comma as decimal

other doc of France country, amount amount bseg-wrbtr is coming as  959,874,566.28   i.e., pull stop as decimal

   for the same user.

Please help in resolvnig the issue.

Let me know if you need addtional information.

Sree

replied

Im getting unexpected dump and decimal issue(sometimes comma as decimal and sometimes pullstop as decimal).

Im doing calculation in subroutine that is called script. Hence Im getting the above issue.

So did the calculation part in Driver program and used that value in Script. This solution worked for me.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question