Search help + standard field
Hi,
is it possible to create a search help for a standard field (in a standard screen for FB60 transaction).
how to make that? and how to attach this serch help to this field?
best regards
Hi,
Please check this [Re: Adding a field in standard search help |Re: Adding a field in standard search help ] thread.
Thanks,
Abhijit
Similar Messages
-
Create search helps for fields of custom tables
Hi,
Could any one please provide me the step by step process to create search helps for fields in custom tables?
Thanks in advance,
Nobin.Hello Nobin
There is basically no difference between a search help for standard vs. customer tables.
An important choise is the selection method for your search help:
Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
(1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
(2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
Regards
Uwe -
How to attach search help in field BEDNR in table EKPO
Hello, Experts!!!
I have a problem in attaching Search Help in field BEDNR in table EKPO.
Can anyone share something about this.. I've been dwelling on this for some time now,
but still wasn't able to find a solution.
Any thoughts would be highly appreciated.
Thank you!!!
Ellainne22Hi,
I don't think you can directly link any search help with BEDNR without modification. If a search help was already linked, we could have gone for append search help. But in this case, nothing is there. So the options would be,
see whether you can insert any search help through enhancements in the screens..You have to do it in every screen then.
Other option is create a database view, & replace the dataelement with your own with a search help. You can refer this view after that.
or go for modification & change the dataelement.
Regards,
Gokul -
Exit Search Help Standard /DSD/RPSH_EX_DRIVER
Hi guys,
I need know what is the best way to implement a exit search help standard.... I found that the help search /DSD/RPF1_SH has a exit search help called /DSD/RPSH_EX_DRIVER (Function Module), i need modify this exit search help standard.... the question is: is better unlock the object standard /DSD/RPSH_EX_DRIVER or create a copy of this Function Module into Function Module Z, then modify it and next link this Function Module to the search help?
Any suggestion?
Thanks./DSD/RPSH_EX_DRIVER has some unneccesary code in it... but it would be better to create another FM with the same signature and the code, and attach it to the search help.
-
Search helps of fields.
where we can find search helps of fields.any data base table is there???
Hi,
in the table DD30L u can find all the search helps in that table field is SHLPNAME
plzz reward if it is useful..
plzz dont forget to reward...... -
Search Help - Standard Screen Field: ME21n / ME22n
Helow, experts.
I have to create a search help in the standard screen field "Our Reference" (UNSEZ) in the tab Communication to ME21n / ME22n, anyone could say me how can I code it?
To populate this search help, I have to use 3 different tables.
Thankshi shatish
code here in screen flow logic it will fire on F4 pressing.
PROCESS ON VALUE-REQUEST
module value_help.
in program
module value_help.
populate the itab.
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
ENDPOS_COL = <colvaluea>
ENDPOS_ROW = <colvaluea>
STARTPOS_COL = <colvaluea>
STARTPOS_ROW = <colvaluea>
TITLETEXT = 'VALUE HELP'
IMPORTING
CHOICE =
TABLES
VALUETAB = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmodole.
regards
shiba dutta -
Search help for field in Standard Transaction
Hi Experts,
We have a requirement to have an F4 search help for a standard field .
( Plant, werks, Tx AS01 ). This field is not associated with any standard search help, but it throws F4 values programmatically .
We need to associate a standard search help ( BETR_BUKRS ) with this Plant field.
1. How to proceed abt it ( As it is a part of module program , can we straight away associate with the search help in the property ) ,it is a field of standard Transaction .
2. If we include search help above, what will happen to the already existing F4 functionality ? Can we have both in tabs ?
Thanks a lot,
~Abap LoverHi Seshatal,
Thanks for the input, but this field does NOT have any ON VALUE REQUEST event associated with it ....
as soon as F4 is hit, it goes to Function help_start ,so I don't think we can make any changes here as it is standard .
I think including a standard search help will help....how to achieve this ?
Thanks, -
Search Help for field of standard table used on non standar report
Hi all.
I need to know whether is posible to set up a "Search Help" / "Matchcode" for one standard field (LFBK-BKTVP) of a standard table (LFBK) that is going to be used on the selection screen of one new non standard report ZFK01.
I was wondering if this could be posible under any special attributes, set up, ... for this field in the corresponding screen, but do not really know nor if that would work neither what to set up. Any other workaround would also be welcome.
Could somebodly help?
Thanks in advance. Regards,
AbdaliHi ,
Please try this code .It is working as per your requirement.
*& Report ZTESTPRO4 *
REPORT ztestpro4.
TYPES:BEGIN OF ty_lfbk,
bvtyp TYPE lfbk-bvtyp,
END OF ty_lfbk.
DATA:gt_lfbk TYPE STANDARD TABLE OF ty_lfbk,
gs_lfbk TYPE ty_lfbk.
PARAMETERS:bank TYPE lfbk-bvtyp.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR bank.
SELECT bvtyp
FROM lfbk
INTO TABLE gt_lfbk.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BVTYP'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'bank'
value_org = 'S'
TABLES
value_tab = gt_lfbk. -
Search help for fields in custom table..
hi,
in my custom table i have two fields - table name and field name. when user selects table name as VBAP , for field names i need all the fields in VBAP to be displayed and for that I set the check table as DD03L and I am able to see all the fields. But i am not able to see the description of the fields rather seeing field name , other key fields of DD03L.
How do i get to display something like
field name - description - length (length of the field as defined in DDIC)
If search help will help then can u pl tell me how to create one ? or any standard can be used ?
thanksYes, you need to create search help and assign it to the field 'field name'
Please search SDN for how to create search help. There are 100's of threads with this
By the way the texts can be found in table DD03T for tables as well as for fields -
Screen Painter - search help for field
Hello All,
I have some fields in a screen created with Screen Painter.
The filelds's types are standard system types like BU_PARTNER or other.
How do I have to define them so that in the screen to appear the match code?
Thank you very much,
Diana.Hi Diana Cotelea,
You can use standard search help 'BUPA'.
Do as follows,
1. Goto 'Dict' tab of the property of BU_PARTNER field in your screen, in 'Search Help' property enter the search help name 'BUPA'.
2. Goto 'Program' tab, for 'Poss. Entries Key' property select 2 or 3 from its DropDowm List values.
Try this.
Regards,
R.Nagarajan. -
Search help for field in ABAP Query
Hi Experts,
For a particular field in standard table the search help(F4) is not maintained in the table level, which is used in a ABAP query.
Is there any possibilities for user-defined Search help using InfoSet or Query?
Please help me in this regard.
Thanks in advance,
Balaganesh.Hi Bala,
I understand your question better now. Since you mention standard selections I assume that your InfoSet is based on a logical database instead of a table join, direct read, or custom data retrieval program. You are correct that the AT SELECTION-SCREEN ON VALUE REQUEST logic I mentioned earlier will not work for the standard selections of a logical database. The system gives you an error when generating your InfoSet if you try to use the standard selection name (in ECC 5.0 at least). I've tried various tricks to attempt to get it to work, but so far no luck.
You could, of course, use a different logical database as your InfoSet basis (e.g. VAV has a matchcode on VBAK-VBELN) or create your own data retrieval program and change your InfoSet to use the custom program instead of a logical database. In the second case you wouldn't need to deal with standard selections at all. I understand that these solutions are probably not what you need and, in the case of the custom data retrieval program, would be more complex (it may not be worth it to write a custom program just to allow F4 help... or maybe it would be... just depends).
Please keep us updated if you find a way to do it. I'll also report back if I happen to discover a way.
Best Regards,
Jamie -
Search help for field RESB-VORNR
Hello all,
I am using RESB-VORNR in the selection screen of one of my report. I need a search help on this field. Could anyone let me know the matchcode for this field.
Thanks!Unfortunately, the operations is not a field which is tied to check tables or domain values. This is actually a field, which you can pretty much enter anything you want. That said, there will be not F4 help for it. So you must build it yourself. Depending on your company, this may work out for you or it may not. For example, at my company, engineering has developed standards which are adhered to which dictates that operation numbers are always a certain few and follow a sequence. So you could build your F4 help on the fly and tie this to the field on your selection screen. Or you could base the F4 help off of a group/ group counter which is entered by the user. Below is an example of how you could build it on the fly.
report zrich_0001 .
data: begin of ivornr occurs 0,
vornr type resb-vornr
end of ivornr.
parameters: p_vornr type resb-vornr.
initialization.
ivornr-vornr = '0010'. append ivornr.
ivornr-vornr = '0020'. append ivornr.
ivornr-vornr = '0030'. append ivornr.
ivornr-vornr = '0040'. append ivornr.
ivornr-vornr = '0050'. append ivornr.
at selection-screen on value-request for p_vornr.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'VORNR'
dynprofield = 'P_VORNR
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = ivornr.
start-of-selection.
Regards,
Rich Heilman -
Dear Experts.
I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
I have a requirement. I want to maintain a database tables through MPP : ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
The fields of ZLT_Kunde are: K1, K2, K3
The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3" (Here A3 = K2)
I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3 of the SCREEN in MPP)
When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
I am unbale to get how to do that.
I need your valuable suggstions.
Regards
ChandanAnd the code of the MPP is:
*& Module Pool SAPMZDEMO_MPOOL_03
PROGRAM SAPMZDEMO_MPOOL_03.
TABLES: ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
DATA: flg_lock TYPE c,
* indx TYPE i,
* indxk TYPE i,
* indxa TYPE i,
* TCNT TYPE sy-tabix,
lv_msgv1 TYPE sy-msgv1.
*DATA: it_mita TYPE TABLE OF ZLT_mita,
* it_kunde TYPE TABLE OF ZLT_KUNDE,
* it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
*& Module STATUS_9000 OUTPUT
* text
module STATUS_9000 output.
SET PF-STATUS 'ZSTATUS01'.
* SET TITLEBAR 'xxx'.
If flg_lock is Not initial.
LOOP at Screen.
If screen-group1 = 'G1'.
Screen-input = 0.
MODIFY SCREEN.
Endif.
ENDLOOP.
MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
ENDIF.
endmodule. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9000 INPUT
* text
module USER_COMMAND_9000 input.
*To Populate Data into Mitarbeiter through Pushbuttons
CASE sy-ucomm.
When 'OK_GET'.
Clear : flg_lock.
IF ZLT_MITA-M1 is NOT INITIAL.
SELECT SINGLE *
FROM ZLT_MITA
Where M1 = ZLT_MITA-M1.
*To create a Lock Object so that when two or more employees are accessing the same data
* at the same time then for the new user the data gets locked and only can been seen in
*display mode
IF sy-subrc = 0.
CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
EXPORTING
MODE_ZLT_MITA = 'E'
MANDT = SY-MANDT
M1 = ZLT_MITA-M1
* X_M1 = ' '
* _SCOPE = '2'
* _WAIT = ' '
* _COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
IF sy-subrc <> 0.
flg_lock = 'X'.
lv_msgv1 = sy-msgv1.
ENDIF.
ENDIF.
ELSE.
MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
ENDIF.
When 'OK_SAVE'.
Modify ZLT_MITA.
IF sy-subrc = 0.
MESSAGE s000(8i) With 'Data Saved'.
ENDIF.
When 'OK_DELETE'.
IF ZLT_MITA-M1 is NOT INITIAL.
DELETE
FROM ZLT_MITA
Where M1 = ZLT_MITA-M1.
IF sy-subrc = 0.
MESSAGE S000(8i) With 'Data deleted'.
ENDIF.
ENDIF.
* When 'OK_FIRST'.
* indx = 1.
* When 'OK_NEXT'.
* indx = indx + 1.
* When 'OK_PREV'.
* indx = indx - 1.
* When 'OK_LAST'.
* Describe Table it_mita lines indx.
*To Populate Data into Kunde through Pushbuttons
When 'OK_GETK'.
IF ZLT_Kunde-K1 is NOT INITIAL.
SELECT SINGLE *
FROM ZLT_Kunde
Where K1 = ZLT_KUNDE-K1.
ELSE.
MESSAGE S000(8i) With 'Enter Kunde Name'.
ENDIF.
When 'OK_SAVEK'.
Modify ZLT_Kunde.
IF sy-subrc = 0.
MESSAGE s000(8i) With 'Data Saved'.
ENDIF.
When 'OK_DELETEK'.
IF ZLT_KUNDE-K1 is NOT INITIAL.
DELETE
FROM ZLT_KUNDE
Where K1 = ZLT_KUNDE-K1.
IF sy-subrc = 0.
MESSAGE S000(8i) With 'Data deleted'.
ENDIF.
ENDIF.
*To Populate Data into Auftrag Through Pushbuttons
When 'OK_GETA'.
IF ZLT_KUnde-K2 is NOT INITIAL.
SELECT SINGLE *
FROM ZLT_Auftrag
Where A3 = ZLT_Kunde-K2.
ELSE.
MESSAGE S000(8i) With 'Enter Kunde Name'.
ENDIF.
When 'OK_SAVEA'.
Modify ZLT_Auftrag.
IF sy-subrc = 0.
MESSAGE s000(8i) With 'Data Saved'.
ENDIF.
When 'OK_DELETEA'.
IF ZLT_Auftrag-A1 is NOT INITIAL.
DELETE
FROM ZLT_Auftrag
Where A1 = ZLT_Auftrag-A1.
IF sy-subrc = 0.
MESSAGE S000(8i) With 'Data deleted'.
ENDIF.
ENDIF.
*To Populate Data into Position Thorugh Pushbuttons
When 'OK_GETP'.
IF ZLT_Auftrag-A2 is NOT INITIAL.
SELECT SINGLE *
FROM ZLT_Auftrag
Where A3 = ZLT_Kunde-K2.
ELSE.
MESSAGE S000(8i) With 'Enter Kunde Name'.
ENDIF.
When 'OK_SAVEP'.
Modify ZLT_Auftrag.
IF sy-subrc = 0.
MESSAGE s000(8i) With 'Data Saved'.
ENDIF.
When 'OK_DELETEP'.
IF ZLT_Auftrag-A1 is NOT INITIAL.
DELETE
FROM ZLT_Auftrag
Where A1 = ZLT_Auftrag-A1.
IF sy-subrc = 0.
MESSAGE S000(8i) With 'Data deleted'.
ENDIF.
ENDIF.
When 'OK_EXIT'.
Leave Program.
When 'OK_CLEAR'.
Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
* it_mita, it_kunde, it_auftrag,
CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
EXPORTING
MODE_ZLT_MITA = 'E'
MANDT = SY-MANDT
M1 = ZLT_MITA-M1
* X_M1 = ' '
* _SCOPE = '3'
* _SYNCHRON = ' '
* _COLLECT = ' '
ENDCASE.
endmodule. " USER_COMMAND_9000 INPUT
*& Module user_cmd_9000 INPUT
* text
module user_cmd_9000 input.
If sy-ucomm = 'OK_CANCEL'.
LEAVE PROGRAM.
ENDIF.
IF sy-ucomm = 'OK_EXIT'.
LEAVE PROGRAM.
ENDIF.
endmodule. " user_cmd_9000 INPUT -
How to add search help for field in ALV object
Hello,
In a program, we use ALV object ( container) to create a liste like : field1, field2 .. but when display we do not have search help for this . Could you please help me how to add match code in this case for field 1 and field2, We use set_table_for_first_display
Thanks,Hi,
when you define your field catalogue you can create data elements with search help in se11 and use them for field 1 and field 2.
But maybe it is enough to use data elements belonging to a domain with a value help and to set field F$AVAILABL in the field catalogue or to fill the name of the field CHECKTABLE.
Regards,
Klaus -
Hi Experts,
This is a Z table with first field as GROUP and second field as KEY.
User can select values for first field using a search help. It has three possibel entries
1. Purchasing Org
2. Region
3. Coutnry
In second field the user has to enetr value based on selection in first field, for eg. if 1 is chosen in 1st field user will enter name of a purchasing organisation.
Can we dispay a search help for second field based on the selection in first field?
Like if 1 is selected in 1st field second field should display search help for Purchasing Org
if 2 is selected in 1st field second field should display search help for Region....in SM30?
How can we achieve this?
Thank you,
AnubhavHi Anubhav,
1.Go to the table maintenance generator screen from SE11 (Utilities -> Table Maintenance Generator).
2. In the Table maintenance generator screen , navigate to Environment -> Modifications -> Maintenance Screens
3. Select and Edit the screen where you need this new search help
4. Create a Process on Value Request module for your second field at the end of the screen flow logic after MODULE LISTE_AFTER_LOOP.
5. In the POV module, use funcntion DYNP_VALUES_READ to read the value of field 1 on the screen
6. Fill your own table with the values for field 2 based on field 1 and display selection using the function F4IF_INT_TABLE_VALUE_REQUEST
Hope this helps.
- Puneet
Maybe you are looking for
-
Hi All, We have recently upgraded to BW 3.3 Content. After the upgrade I am unable to access/change the Planning Areas in BPS0 transaction. I am getting a pop-up with an error message as Syntax error in program /1SEM/CL_CHALEV_100ZDIN=======CP. (ZDIN
-
Sync mail accounts to new iPad Mini
I just got a new iPad Mini, and going to set it up, didn't there used to be a way to sync all one's email accounts, when it was setup and plugged into iTunes? I could have swore there was a check box, that you selected, and all your different email
-
Hi all, I'm parsing XML files and every so often one of the tokens happens to have a superscript in it, like cm� or ml�. My parser bombs out when it reads in these characters. Does anyone know why it won't handle the superscripts, and can anyone tell
-
Force logical page numbers?
Is there a way to force my documents to open with this preference setting ("Use logical page numbers") turned on? I have this turned on, and my documents sometimes begin on a number other than 1, but my client has it turned off. I want him to be able
-
i have adobe premiere elements 13 and i imported my video to my computer i click edit video, then it tells me to sign in. so i sign in then accept agreement and nothin happens after that could you tell me whats going on please