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

POPUP to take a Numeric field inside a program

Former Member
0 Likes
1,190

I want to a use of a function module POPUP to take a Numeric field inside a program. That means after that I have to do some calculations with that numeric field. Can anybody please tell me which POPUP should I use?

Regards,

Subhasish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678
data: str type string,
numb type i.


*--------------if you want integer to be input-----------------

CALL FUNCTION 'CC_POPUP_INT_INPUT'
EXPORTING
property_name = 'Enter Integer Value'
changing
int_value = numb.


*--------------if you want string to be input-----------------

CALL FUNCTION 'CC_POPUP_STRING_INPUT'
EXPORTING
property_name = 'Enter String Value'
changing
string_value = str.

*-------------------------------------------------------------

Write:/ 'your input Values :',str,numb.
2 REPLIES 2
Read only

Former Member
0 Likes
679
data: str type string,
numb type i.


*--------------if you want integer to be input-----------------

CALL FUNCTION 'CC_POPUP_INT_INPUT'
EXPORTING
property_name = 'Enter Integer Value'
changing
int_value = numb.


*--------------if you want string to be input-----------------

CALL FUNCTION 'CC_POPUP_STRING_INPUT'
EXPORTING
property_name = 'Enter String Value'
changing
string_value = str.

*-------------------------------------------------------------

Write:/ 'your input Values :',str,numb.
Read only

RaymondGiuseppi
Active Contributor
0 Likes
678

Use the nearly "universal" POPUP : G_POPUP_FOR_ENTERING_VALUES

Only fill these three parameters :

- FIELD and TABLE with the name of any structure or table field referencing a data element like the one you need

- TITLE_OF_POPUP with your text

Regards