2008 Jul 08 8:14 AM
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
2008 Jul 08 8:53 AM
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
2008 Jul 08 8:16 AM
2008 Jul 08 8:17 AM
Hi Rocky,
Are u executing it from the transaction SE37?
Regards,
Swapna.
2008 Jul 08 8:18 AM
Hi,
You can popualte the fieldnames and values in 'FIELDS' in tables of Function module.
check the tables parameter in Function module,
Thanks,
Suman
2008 Jul 08 8:21 AM
helo,
under the tables parameter FIELDS u will get the values .
loop this table and get the values.
regards,
sravanthi.
2008 Jul 08 8:22 AM
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
2008 Jul 08 8:22 AM
Hi
Declare the tables type of fields parameter as SVAL
Data
itab type SVAL
FIELDS = itab
Regards
Pavan
2008 Jul 08 8:22 AM
Hi Rocky,
Please check the documention of the function modulue in SE37.
Best regards,
raam
2008 Jul 08 8:29 AM
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
2008 Jul 08 8:48 AM
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
2008 Jul 08 8:53 AM
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