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

In scripts Amount in words

Former Member
0 Likes
869

Hi,

i am changing standard form layout inthat i need to display

Amount in words. please tell me how to do that one with out modifying standard program

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
854

Hi

Try with this FM HR_IN_CHG_INR_WRDS

Regards

Pavan

Hi,

i am changing standard form layout inthat i need to display

Amount in words. please tell me how to do that one with out modifying standard program

7 REPLIES 7
Read only

Former Member
0 Likes
854

Hi,

Use perform in scripts and call the FM :SPELL_AMOUNT'.

In script call the subroutine like.

/: PERFORM GET_AMOUNT IN PROGRAM "zname".

In ZNAME call FM 'SPELL_AMOUNT'.

Read only

0 Likes
854

I want with out modifying standard program.

Read only

Former Member
0 Likes
854

Hi Santosh ,

You will have to call a subroutine from the SAPScript passing the amount.

In the subroutine convert the amount into words and the return it.

Please search on how to call to use subroutine in sapscript for more detailed info.

You can also refer the below given link

http://www.allinterview.com/showanswers/37425.html

Regards

Arun

Read only

Former Member
0 Likes
855

Hi

Try with this FM HR_IN_CHG_INR_WRDS

Regards

Pavan

Read only

Former Member
0 Likes
854

Hi,

use spell_amount function module.

Read only

Former Member
0 Likes
854

Hi,

use spell_amount function module.

Read only

Former Member
0 Likes
854

Hi,

The subroutine get_amount is written in the script only not in the driver program.