cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding amount discription field

Former Member
0 Kudos
89

Hi Experts,

I created sap script for payment print prog and for that i use standard prog RFFOUS_C. in my sap script amount fied REGUP-DMBTR.... i use for sap script total three tables REGUP, REGUD, REGUH

<b>my form design is</b>

amount discription amount

xyz 1000

amount is words

one thousnad only

Now what i want i have amount field REGUP-DMBTR but for amount discription which field i use??? i find but i didn`t get......

so how can i find amout discription(particulars) field

Accepted Solutions (1)

Accepted Solutions (1)

naimesh_patel
Active Contributor
0 Kudos

Try to access SPELL structure which has the amount in the text. RFFOUS_C has used the SPELL_AMOUNT and it comes in the SPELL strcuture.

Try to acces

SPELL-WORD for Amont

SPELL-DECWORD for decimal description

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi Naimesh and Anij,

I dont want to amt in words function...... i want <b>amt discription</b> field like

<b>amt discription</b> amt

so which table i use for amt discription field in my sap script.. i create my own sap script for payment print prog and i use standard prog "RFFOUS_C" for that same.

Jigar

Former Member
0 Kudos

Hi Jigar,

Is SGTXT useful for you?

Regards,

Bharat

Former Member
0 Kudos

Jigar,

There is no field in those tables which will give you a description of the amount. So you have to declare a field.

data : amount(40) type c.

then use the function module as suggested above and pass it into amount.

Regards

Aneesh.

Former Member
0 Kudos

Hi Bharat

Thanks

Jigar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You have to use the <b>SPELL_AMOUNT</b> fun module to print the amount in words

pass the amount field and print it the words

Regards

Anji