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

Currency field format problem

Former Member
0 Likes
502

Hi ,

The requirement is to pass a FORMATTED currency value to the SAP Script from a print program.

We tried using the BAPI, BAPI_Currency_Conv_To_External , but this works fine only if a write statement is used. Internally if the exporting parameter obtained from this BAPI is passed to a character the formatting is not proper. How could this formatted currency be passed to the SAP script.

Regards,

Prabaharan.G

Hi ,

The requirement is to pass a FORMATTED currency value to the SAP Script from a print program.

We tried using the BAPI, BAPI_Currency_Conv_To_External , but this works fine only if a write statement is used. Internally if the exporting parameter obtained from this BAPI is passed to a character the formatting is not proper. How could this formatted currency be passed to the SAP script.

Regards,

Prabaharan.G

2 REPLIES 2
Read only

Former Member
0 Likes
474

Hi Prabaharan,

theoretically, if you use a WRITE statement to format a currency field into a string field, this should be no problem for the SAP Script. <b>But</b> you must pass the <b>string</b> parameter to the form, not the currency field.

Could you please give more details? Best regards,

Alvaro

Read only

Former Member
0 Likes
474

Write statement and string functions worked correctly.