Application Development 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: 

Pop up to get currency as input

Former Member
0 Kudos
933

HI,

Is there any pop up to get currency as input?

I am using POPUP_GET_VALUES but it accepts only integer and char.

Please help me.

thnx in advance

1 ACCEPTED SOLUTION

former_member386202
Active Contributor
0 Kudos
192

Hi,

Try this FM RSZ_X_CURRENCY_POPUP_GET

Regards,

Prashant

3 REPLIES 3

former_member386202
Active Contributor
0 Kudos
193

Hi,

Try this FM RSZ_X_CURRENCY_POPUP_GET

Regards,

Prashant

0 Kudos
192

Hi prashant,

Thnx for ur immediate response but i need to get input of type curr .

For eg.,

field komv-kbetr(Amount)

gustavo_lobo2
Participant
192

Hi there.

I've got the same problem. Unfortunately, the field was lock/inactive when I've used a field like J_1BNFDOC-WITHA (CURR 15, 2). Then, I used the function 'POPUP_GET_VALUES' and I used the code below which one I'd informed the Currency Key for Currency Field too.

data: 
return type char1.
data(fields) = value ty_sval( ( tabname = 'J_1BNFDOC' fieldname = 'WAERK' value = 'BRL' field_attr = '01' fieldtext = 'Currency' ) ( tabname = 'J_1BNFDOC' fieldname = 'WITHA' field_attr = '01' fieldtext = 'Value' ) ) . call function 'POPUP_GET_VALUES' exporting * no_value_check = ' ' popup_title = 'Info' * start_column = '5' * start_row = '5' importing returncode = return tables fields = fields exceptions error_in_fields = 1 others = 2.

You can hide the Currency field changing field_attr = '04'.

Cheers.