Search help Tricky One
Dear Friends,
Go To SE 11
i have a structure cobl_ex
i have assigned a check table m_premk
when i do this..
The Origin of the input Help is "Input help implemented with check table"
but
when i attach search help "prem" to the same field pernr...
the status changes to "Explicit search help attachment to field"
why does this change
i need check table "m_premk" and search help "prem" with origin of I/P help as "Input help implemented with check table"
ho do i achieve this?
You can see BFPF-BUKRS check table "T001" "Input help implemented with check table" Search Help "C_T001".
Please guide.
Regards,
Essam
You have to do it this way
1) Create a custom search help Z_M_PREMK with reference to view M_PREMK with required fileds.
2) Then go and change the SAP search help PREM to include your Z_M_PREMK in it.
3) Attach your PREM search help to the COBL_EX table, now it should give you both the options of PREM and also Z_M_PREMK.
I suppose you are changing SAP standard object COBL_EX structure.
Hope this helps.
Fra
reward and inspire
Similar Messages
-
Dynamic search help for one field of the SM30 generated maintenance view
Hi experts,
I have one Z* table with three fields. For that table I have generated maintenance dialog in SE55 so I can now run the maintenance in SM30. My requirement is: as soon as a user enters a value for the first field, the search help for the second field should be depended on the value in the first field. Let's say when user entered value 01 into the first field then the search help for the second field should be S_HLP01. For other values entered into the first screen the search help for the second field should be S_HLP02. Both search helps are standard (the names differ).
Is there any change how to achieve this without making completely new dynpro transaction?Hi ,
You can try it this way.
pass your match-code( search help to function ) HELP_VALUES_GET_WITH_MATCHCODE and get the value and update it in your screen field.
But you have to modify the flow logic in POV event. it would be better if you create your own transaction because once the maintenance is regenerated your modified flow logic will vanish -
Search help from one field used to populate another on subscreen.
I have a subscreen with 2 fields; Plant & Batch. Search help MCH1F displays batches for plants. When a batch for a plant is selected in the search help for the batch field, I want to populate the plant field in addition to the batch. The batch number comes back from the search help selection, but I need to get the plant associated with that batch just selected and populate the subscreen plant field. SET/GET doesn't work either in the screen field setup or abap flow logic. Any tips would be appreciated. Thanks.
Hi Kurt,
i think that way its not possible but the closest way is
i HAVE TWO TABLES
ZPHY
ZPROC
I HAVE SCREEN IN WHICH I HAVE TO GET VALUE FOR PHY BASED ON ID.
AND FOR OTHER FIELD IN THE SCREEN I HAVE PROC BASED ON THE ID I USED TO GET PHY AND FOR THE SAME ID I AHVE MULTIPLE PROC AND I HAVE SELECT ONE OF THOSE , HERE WHEN YOU PRESS F4 IT WILL GIVE ALL THE PROC ASSOCIATED TO
ID THATI USED IN THE SELECTION OF PHY.
AND I THINK YOURS IS THE SAME CASE RIGHT.
FIRST GET
process on value-request.
FIELD zabc-def MODULE VALUE_REQUEST_PHYACT.
FIELD zabc-proc MODULE VALUE_REQUEST_PROC.
MODULE VALUE_REQUEST_PHYACT INPUT.
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr.
CLEAR zabc.
CLEAR : zabc-def, zabc-id, zabc-proc,
zabc-ZSHECPROC.
CLEAR FINAL.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = 'ZPHY'
FIELDNAME = 'def'
SEARCHHELP = 'ZPHY'
SHLPPARAM = ' '
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = ' '
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
TABLES
RETURN_TAB = IT_RETURN4
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
read table it_return4 index 1.
zabc-def = it_return4-fieldval.
select single id into zabc-id FROM ZPHY
WHERE def = zabc-def.
FINAL-def = zabc-def.
FINAL-id = zabc-id.
HERE BASED ON ID I AM RETRIEVING DEF FIELD ,THIS IS FROM SEARCH HELP USING SE11.
AND FOR THE SAME ID I HAVE TO GET PROC FIELD FROM ANOTHER TABLE
ENDMODULE. " VALUE_REQUEST_PHYACT INPUT
MODULE VALUE_REQUEST_PROC INPUT.
DATA : SERVICE LIKE zabc-id.
select single id into SERVICE FROM ZPHY
WHERE def = zabc-def.
SELECT * INTO TABLE ITAB_TEST4 FROM ZPROC
WHERE id = SERVICE.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'proc'
PVALKEY = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
WINDOW_TITLE = 'PROCEDURE'
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
TABLES
VALUE_TAB = ITAB_TEST4
FIELD_TAB =
RETURN_TAB = IT_RETURN4
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
if sy-subrc = 0.
clear itab_TEST4.
read table it_return4 index 1.
zabc-proc = it_return4-fieldval.
read table itab_TEST4 with key id = itab_details-def
itab_zMOR-def = itab_details-def.
itab_zMOR-zzfname = itab_details-zzfname.
endif.
SELECT SINGLE ZSHECPROC INTO zabc-ZSHECPROC FROM ZPROC
WHERE proc = zabc-proc.
FINAL-proc = zabc-proc.
final-zshecproc = zabc-zshecproc.
*********AGAIN THIS IS NOT THE SEARCH HELP FROM SE11
ENDMODULE. " VALUE_REQUEST_PROC INPUT
hope this helps
Thanks -
Using search help on one field other columns to be populated in module pool
Hi all,
Scenario: (Module Pool)
1.Search help on column1.
2.After search help excuted.
3.Column2 and column3 to be filled automatically based on the search help result.
I am stuck in this .
Waiting for helpful pointers.
Thanks in Advance.Hi Vivek,
I hope you can derive the values of field2 & field3 from field1. If yes, following is the code to set values in field2 & field3:
DATA : dynfields LIKE dynpread OCCURS 1 WITH HEADER LINE.
dynfields-fieldname = <Name_Field_2>.
dynfields-fieldvalue = <Value_Field_2>. "(value derived from Field1)
APPEND dynfields.
CLEAR: dynfields.
dynfields-fieldname = <Name_Field_3>.
dynfields-fieldvalue = <Value_Field_3>. "(value derived from Field1)
APPEND dynfields.
**Update the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
*translate_to_upper = 'X'
TABLES
dynpfields = dynfields.
Hope it helps.
Cheers
Vicky -
Need to Create Search Help Based on Condtions from one table to another tab
Hi All,
I have a table like ZGROUP Which contains the data below
Filed name Filed Name Filed Name
ZGROUP ZTYPE ZTEXT
Entries
ABC P TEXT FOR
C P SDFNSDFKLN
DDDD PSG TEPRTPERERTWERT
DEF P TEST
FFFFF PSG
SEF PS SDFSDFLASLDFNASDLFN
XYZ PS TESTING
Whree P is Product , PS- Point of Sales, PSG-Sales Group
Now i am going to crate another ZPROUDCT TABLE
FIELDNAME FIELDDESCRITPON
PRODUCT PROD_DESC
Entry
abc pRELATED ENTRY
My Questions
1) ZGROUPS table has 3 kinds of data P, PSG, PS type records,
1) In Table ZPROUDCT , I want to create search help only P records for Table Zproduct of the field Product FROM zGROUPS table
2) In Table Zsales , I want to create search help only PS records from ZGROUPS table
3) In Table ZPSG, I want to create search help only PSG records from table ZGROUPS
is it possible to create search help from One Master Table(ZGROUPS) table to other tables based on conditions.
Please help me.
very urgent
Regards,
Rajuif <condition>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
SELECT <field>
FROM <table>
INTO TABLE i_tab
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' "function module to provide f4 help to sold-to-party
EXPORTING
retfield = "XXXX"
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = '<field name>'
value_org = 'S'
TABLES
value_tab = i_tab
endif.
lkike this u can check the condition and selec the data from table and assign it into one internal table and then call the FM it will give the f4 help to particular field
reward if helpful
regards,
Khan. -
Add search help/drop down list to a standard field in MIR7
Hi All,
I have a requirement to add a search help on one of the strandard field in MIR7. This field has no search help in dictionary (SE11). Do you have any idea on how to do this? Is there any exit that i can use to?
Please help!
Thanks in advance.Hi Akira,
Please check the below threads.
[how to create F4 for the standard transaction]
[F4 HELP for standard field..;
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/daeda0d7-0701-0010-8caa-edc983384237]
[Re: Adding a field in standard search help;
Edited by: Prasath Arivazhagan on Apr 13, 2010 5:38 AM -
Search help for table control input value
Hi,
We have designed a GUI for supply invoice approval workflow with table control.
In the table control fields, we assigned one search help on one field.
We can enter the values(F4 Help) up 8 row in the default screen, which is having 8 row.
After scrolling down for 9th row, I am not getting any F4 help, which I am able to get upto 8 rows.
Please any one could help me in this...
BR,
ThirupathiHi,
Did you assign the search help to the <b>Search Help</b> of the <b>Attributes -> Dictionary</b> tab of the field?
Irrespective of scrolling, the F4 help should work for the field in table control.
Regards,
Raj -
Search Help for Hierarchy Node in SAP BW 7.3
Hi Experts,
We were previously using SAP BW 7.1 system and we had a table which used to be maintained through SM30 which has a customed search help on one of the fields for a hierarchy object. And it was working perfectly.
However, one of our systems have just been migrated into 7.3 version and the above functionality is no longer working.
This is what is happening now:
- User selects a hierarchy and after selection nothing is being displayed on field on the table.
We have tried to debug this customed search help in both environments to distinguish what is wrong. We have noted that a standard function module (RRSV_IOBJ_VALUE_OUTPUT) is not behaving similarly. In 7.1 system, the C_T_DATA table is being filled whereby in the 7.3 system, it is empty.
Do you think this is the issue?
Please do advise and propose what can be done to make it work. Or any idea on how to create a new search help for a hierarchy node in 7.3?
Thanks in advance.hi,
one more thing i will like to add here is in BW 7.3 you get a new security admin feature that allows you to make mass changes to authorizations instead of one-by-one. This can be done by cut-and-paste in a worklist, hierarchy nodes, and you can also add users to multiple analysis authorizations.
The u2018newu2019 authorizations has both the data value and hierarchy restrictions. You can still build using the u201CRSECADMINu201D transaction
Also make sure that all objects are in the TLIBG library and they will be 'shielded' during the upgrade.
regards
laksh -
How to add search help to a field in MARA table
Hi,
According to my requirement,I need to add search help to one of the field in MARA.It is checkbox now and it has to be changed to drop down.
How to do this please help.hi u can use HELP-REQUEST option at selection screen or VALUE-REQUEST
The addition on Value-REQUEST displays the pushbuttuon for F4 help for the corresponding field.
The value selection is controlled by interactive events.
pradeep -
Search help for a field using a selection method which has a text table.
Hello all,
I am trying to create a search help for one of the fields in a structure say RFCDEST. Now for this i am giving the selection method as the DB table where all the RFCDEST are maintained. However there is a text table which is also comes up for this selection method and the description of the filed RFCDEST is in that text table and the description is not stored in the main table which i specified as the selection method.
My query is that on F4 now all the rfc destinations are being shown however the description i am not able to show them because there is no field in the table specified in the selectionmethod which hold s the description but instead it is there in the text table, how can i fetch the description from there and display in the search help.
Warm Regards,
Naveen Mlook at search help FC_RFCDEST. that problem has already been solved with this search help.
-
Search help for a field in ztable
Good day everyone!
I want to create a search help for a field. I have a field 'country' in my Ztable. Now I want to create a search help for that field so that they appear in the SM30 transaction while entering the data into the table. How can I do that?
thanks.First of all if the field is country and you want to display all the countries avaiable in SAP in the search help then yuo dont need to create search help for that. For that field put the data element LAND1. The F4 help will automatically appear in SM30 and when you press F4 all the countries will be displayed in the hit list.
Now suppose there is a case where you want to display selected values only and not all the countries in your search help then one way is to create a z-table of countries and put all the countries you want in that table then create z-data element and z-domain for that country field and in domain give the table as a value table.
Another way is to create a view for T005 and T005T table and give the selection conditions as per your requirement and then create the search help with this view and attache the search help to your country field. -
Search Helps in ALV grids.
Hi,
I am working on ALV grids in custom control.
My requirement is to provide search helps in the ALV grid for few fields out of which the search help for one field should be populated dynamically.
Please help me.hi
good
You can have almost everything you like in a search help. Nice search help examples are:
MPLAL (exit = F4_MATCHCODE_USER_EXIT) -> calls a selection report (transaction IP03)
HRBAS00OBJID (exit = RHF4_EXIT_OBJID) and include search helps
thanks
mrutyun^ -
How-to map multiple explicit search help values to context attributes?
Hi,
I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.
Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?
I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.
Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?
Thanks and Regards,Hi Srinivas,
Check this ..Search help can be dynamically assigned to a field.
data lo_nd_info type if_wd_context_node_info.
lo_nd_info = lo_nd->get_node_info( ).
CALL METHOD lo_nd_info->set_attribute_value_help
EXPORTING
name = 'ATTR1' " Your attribute Name
value_help_mode = '121' " Valid value help mode
value_help = 'Z187442'. " Search help name
The various possible values that you can pass to value_help_mode are as shown below.
deactivated 101
automatic 111
ddic 121
ovs 131
Also refer this..
Re: How to put dynamic search help in web dynpro ABAP.
Cheers,
Kris. -
Pass a value to search help field
Hi all,
i have two fields on my screen.
I have a elementary search help for one the field.
I have fld1 and fld2 and i have search help for fld2.
The user puts the value in fld1 and when i do search help for field2 , i get 3 field for input in search help window.
In one of those fileds i have to fill with one value based on the input in fld1.
When ever i do F4 on fld2 , i have to one field filled with a value based on fld1 and if the user wants they should be able to change it.
Let me know how to achieve this
I have a search help exit for for fld2 search help
ThanksHi ,
I guess you haven't understood my issue.
I have everything , all i want is to apass a value to one of the field in search help window.
when ever i click the f4 help this value should display in the search help window
hope iam clear
thanks -
Multiple search helps in ABAP Adobe interactive forms not working....
Hello,
I am working on my first interactive form. I have a couple of fields to which I have attached a search help. However, I am able to use the search help for only one field in a session. If I use the search help on one field then I am unable to use it on another field which uses the search help.
Can some one help? I am new to interactive forms and this is my first form.
I appreciate your help in advance.
Thank you,
LeenaHi Leena,
Are the Data dictionary fields which you are using contains value range. Because i am only getting value help only for the fields for which there is value range defined in the dictionary. The problem is only for the fields for which there is no value range defined. If you have solution to this problem I will definitely award points to you. But in your thread for me its not possible to reward points, so you can answer the following thread:
[How to get Value help in Adobe forms;
Will reward points if found your answer helpful.
Maybe you are looking for
-
I am trying to hook my macbook pro to a projector, which has a VGA cable. I bought a VGA to HDMI adapter, but whenever I hook it up, the screen on my macbook just goes black and I can't make it do anything else or even show up on the projector. My la
-
Normal time for burning DVD?
I have imported a 300mb QT movie file into iDVD for burning as a slideshow. It takes about 2 hours to get everything rendered and burned. Is this normal? Seems like a very, very long time.
-
Hi experts , Where to find the Web application server host name and its path defined in R/3 . Actually i am trying to create a backed SAP system for Portal. Is their any transaction to check the defined value for it. - Rajesh
-
Automated/batch printing job?
Hi all, We are using BW 3.5 and I was wondering if there is a way to set up an automated batch print job. (ie. let's say that once a month a report is generated automatically, is there a way to tell BW to print that report automatically at a given ti
-
Hi Is it possible to have language specific stock in a plant? As per the issue, an order has to be created in CRM for a material which has more than one language specific stock i.e. 100 qty in english , 100 qty in french. when tried its taking the s