cancel
Showing results for 
Search instead for 
Did you mean: 

user input via pop-up in smartforms

Former Member
0 Kudos

Hi all,

I need the following functionality:

When a SF is printed (just before that actually) i need a pop-up to come up and allow the user to type a few lines of text.

When he/she hits the SAVE button the popup should close and the typed text should appear on the smartform which is printed.

I could use some pointers on where to start, and maybe some examples.

Thanks in advance!

J. Bots

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Before calling the smart forms function module call the FM POPUP_TO_GET_VALUE to get the value and pass it to the smartforms FM.

Thanks,

Naren

Former Member
0 Kudos

Hi Naren,

Thanks for the quick answer,

this solves my problem completely! Points rewarded.

<u>To be complete for future vistsors:</u>

POPUP_TO_GET_VALUE seems te be obsolete.

after a little searching i found out these Fm's are to be used

POPUP_GET_VALUES

POPUP_GET_VALUES_DB_CHECKED

POPUP_GET_VALUES_USER_CHECKED

POPUP_GET_VALUES_USER_HELP

POPUP_GET_VALUES_USER_BUTTONS

POPUP_GET_VALUES_SET_MAX_FIELD

Regards,

Joris

Former Member
0 Kudos

Hi joris,

I need this functionality in my object too.

Can you help me out with code ? The following fun ctional modules as u suggested requires few mandatory parameters

such as form name,programe name,input_text,or title....etc.

May i know what does these each correspond to actually ? what is the 'program name' we have to actually pass here?

please give me some example code ,which solved ur purpose..?

POPUP_GET_VALUES

POPUP_GET_VALUES_DB_CHECKED

POPUP_GET_VALUES_USER_CHECKED

POPUP_GET_VALUES_USER_HELP

POPUP_GET_VALUES_USER_BUTTONS

POPUP_GET_VALUES_SET_MAX_FIELD

Thanks and Regards,

Archana

raul_natu
Explorer
0 Kudos

[Sap Help|http://help.sap.com/saphelp_nw04/helpdata/en/2a/f9fff0493111d182b70000e829fbfe/content.htm]

[Example|http://www.sapworld.hpg.ig.com.br/funcoes.html]

--

Raul

Answers (0)