2011 Jun 22 5:35 PM
Hi
I got a table view with materials,
I need in the unit of mesure match code to show me just the UoM of the matarial, those uom I can read them from MARM but here is my problem.
I created the search help FM did the select and return the table OK, but...
I'm hardocding the material number... how can I read it from the line I'm clicking? I need to use the Dialog Type D so no input sceen is on,
Thanks for your help.
Nico.-
Hi
I got a table view with materials,
I need in the unit of mesure match code to show me just the UoM of the matarial, those uom I can read them from MARM but here is my problem.
I created the search help FM did the select and return the table OK, but...
I'm hardocding the material number... how can I read it from the line I'm clicking? I need to use the Dialog Type D so no input sceen is on,
Thanks for your help.
Nico.-
2011 Jun 22 6:13 PM
Hello Nicolas Giuffrida ,
We cannot acrieve this requirement from my understanding.
If it is a selection screen then we can do it using the AT SELECTION -SCREEN ON INPUT VALUE REQUEST F4 and by caling another FM and pass the value ofthe material that is entered in the another selection field.
As this is a view we cannot do this .
Thanks,
Greetson
2011 Jun 22 6:29 PM
Thanks
But there is no selection screen, its a maintenance view
2011 Jun 23 12:13 AM
Hi,
Could you please tell us, the field on which you want to add the search help is on custom table or append structure ?
Are you using search help exit for the search help? Please clarify.
Thanks.
2011 Jun 23 12:24 AM
Hi
I got a custom table with a maintenance view.
This view got matnr and meinh, what I need is to create a search help for the meins field showing only the units of mesure(meinh) of the material in matnr. This relation its in MARM table, Im using an exit to get this data but I cannot read the matnr of the row of the maintenance view.
I need to show the result directly.
Any idea,
Thanks a lot!!
Nico.-
2011 Jun 23 4:56 AM
HI
When you Create Maintaince View for Z Table will create following Z object
1) Fuction group
2) Fuction Module
3) Screen
4) Includes ( For PAI/PBO)
You can modify Screen add Event POV ( Process On Value Request)
PROCESS ON VALUE-REQUEST.
FIELD ZPR_BAU_MST-COLR_NM MODULE HELP_COLOR. " Color F4 Help
Apply logic for displying F4 help
Select vaues from required table populate table and send to Following FM
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = RETFIELD
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'ATWRT'
WINDOW_TITLE = 'Color Code'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_FINAL_C[]
RETURN_TAB = RETURN_TAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2.
Use Above FM
Hope it will use full
2011 Jun 23 6:00 PM
Hello,
Please follow the below steps.
1. Go to SE11, enter the custom table. Go to next screen
2. Go to the 'Entry help/check' tab. Put the cursor on MEINH field and click the foreign keys button ( Key button).
3. Create an 'Input help implemented with check table' on MARM.
The condition should be on the following field (MARM-MANDT -> <custom table>-MANDT>
(MARM-MATNR -> <custom table>-MATNR>
(MARM-MEINH -> <custom table>-MEINH>
Hope it helps you.
Let us know, if you need any further help. Thanks
Edited by: Atul Mohanty on Jun 23, 2011 7:00 PM