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

hi abap

Former Member
0 Likes
1,206

hi all

in the following fm how to get the values entered by the user since there parameter field has only field names and not the values.

CALL FUNCTION 'POPUP_GET_VALUES'

rocky

1 ACCEPTED SOLUTION
Read only

JanStallkamp
Advisor
Advisor
0 Likes
1,181

Hi.

First of all: Use a proper subject line! Please have a look into our rules of engagement. In future cases threads with subject lines like this might be locked or deleted without prior notice.

Then some basic hint: If you are in doubt about a function module, just go to TA SE37 and display that function module. Many (not all) function modules have a online documentation. You can open that documentation by selecting Function Module Documentation in the upper right part of the screen.

And in this case: Search the forums before asking. POPUP_GET_VALUES is a quite popular FM and you will find a lot of threads about it here.

Best regards,

Jan Stallkamp

hi all

in the following fm how to get the values entered by the user since there parameter field has only field names and not the values.

CALL FUNCTION 'POPUP_GET_VALUES'

rocky

10 REPLIES 10
Read only

Former Member
0 Likes
1,181

Refer the sample Program...

RSSPO410

Read only

Former Member
0 Likes
1,181

Hi Rocky,

Are u executing it from the transaction SE37?

Regards,

Swapna.

Read only

Former Member
0 Likes
1,181

Hi,

You can popualte the fieldnames and values in 'FIELDS' in tables of Function module.

check the tables parameter in Function module,

Thanks,

Suman

Read only

Former Member
0 Likes
1,181

helo,

under the tables parameter FIELDS u will get the values .

loop this table and get the values.

regards,

sravanthi.

Read only

Former Member
0 Likes
1,181

hi,

Open SE37 and type the function Module name there. You will find the whole FM defined there. The Values you got from 'FIELDS' structure in the TABLES heading of the Function Module.

Plz read the Documentation of Function Module.

Hope this will help.

Sumit Agarwal

Read only

bpawanchand
Active Contributor
0 Likes
1,181

Hi

Declare the tables type of fields parameter as SVAL

Data

itab type SVAL

FIELDS = itab

Regards

Pavan

Read only

Former Member
0 Likes
1,181

Hi Rocky,

Please check the documention of the function modulue in SE37.

Best regards,

raam

Read only

Former Member
0 Likes
1,181

Hi Rocky,

When u run the FM thru se37 u enter the fields to be displayed in the pop-up in the tables fields. The same table has the values entered by the user in the field value in the table.

TABNAME FIELDNAME VALUE

MARA MSTAE 30

MARA MATNR 2H431DIE

MARA MTART DIE

Regards,

Anju

Edited by: Anju Dhankhar on Jul 8, 2008 9:30 AM

Read only

Former Member
0 Likes
1,181

Hi Rocky.

Referred from SAP Function module documentation:

VALUE (field value):
VALUE can be assigned a value when the function module is called up. This value is displayed.  If the user does not cancel the action, VALUE contains the value entered by the user.
The values must be converted to character format with Move not with Assign.

\[removed by moderator\]

Regards

Harsh

Edited by: Jan Stallkamp on Jul 8, 2008 9:54 AM

Read only

JanStallkamp
Advisor
Advisor
0 Likes
1,182

Hi.

First of all: Use a proper subject line! Please have a look into our rules of engagement. In future cases threads with subject lines like this might be locked or deleted without prior notice.

Then some basic hint: If you are in doubt about a function module, just go to TA SE37 and display that function module. Many (not all) function modules have a online documentation. You can open that documentation by selecting Function Module Documentation in the upper right part of the screen.

And in this case: Search the forums before asking. POPUP_GET_VALUES is a quite popular FM and you will find a lot of threads about it here.

Best regards,

Jan Stallkamp