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,
Thirupathi
Hi,
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
Similar Messages
-
Search Help on Table Control - Fill more than one field in the table?
Hey everyone,
I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table... The internal table has the line type of a structure I've defined in the data dictionary. Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)... I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table. Is this a limitation of using search helps within table controls?
I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help. Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
Thanks,
DallasHi Dallas,
(1)
What i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
(2)
usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
(3)
as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
Regards
Byju -
Problem in Search help in Table control
Dear ABAPers,
I am using the Table control.In that i am using F4 help.the F4 Value should be based o the
another field in the Table control.how to do this.
Thanks & Regards,
Ashok.I had a similar requirement. In this table control the values for the F4 help for the shipping conditions depend on the vendor the user selects in the first column.
Here is my code:
PROCESS ON VALUE-REQUEST.
FIELD gs_pod_screen-ship_cond
MODULE f4_ship_cond.
MODULE f4_ship_cond INPUT.
PERFORM f4_pod_shipping_conditions.
ENDMODULE. " f4_ship_cond INPUT
FORM f4_pod_shipping_conditions .
DATA: lt_return TYPE TABLE OF ddshretval,
ls_return TYPE ddshretval,
lv_line TYPE i,
lv_vendor TYPE bu_partner,
ls_shlp TYPE shlp_descr,
ls_selopt TYPE ddshselopt,
ls_if TYPE ddshiface,
lv_c(132) TYPE c.
* where on the table control did we hit F4?
GET CURSOR LINE lv_line.
READ TABLE gt_pod_sales
INTO gs_pod_screen
INDEX lv_line
TRANSPORTING vendor.
CHECK NOT gs_pod_screen-vendor IS INITIAL.
* the possible values always depend on the vendor => build it every time
* get the search help parameters first
CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
EXPORTING
shlpname = gc_shlp_shipcon
IMPORTING
shlp = ls_shlp.
* now we have to set restrictions based on the vendor
CLEAR ls_selopt.
ls_selopt-shlpname = gc_shlp_shipcon.
ls_selopt-shlpfield = gc_name_vendor.
ls_selopt-sign = gc_i.
ls_selopt-option = gc_eq.
ls_selopt-low = gs_pod_screen-vendor.
APPEND ls_selopt TO ls_shlp-selopt.
* set the field for the output
READ TABLE ls_shlp-interface INTO ls_if
WITH KEY shlpfield = gc_name_ship_cond.
IF sy-subrc EQ 0.
ls_if-valfield = gc_field_shipcon.
MODIFY ls_shlp-interface FROM ls_if
INDEX sy-tabix TRANSPORTING valfield.
ENDIF.
* pass in the base date and call the search help
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
shlp = ls_shlp
TABLES
return_values = lt_return.
READ TABLE lt_return INTO ls_return INDEX 1.
IF sy-subrc EQ 0.
gs_pod_screen-ship_cond = ls_return-fieldval.
ELSE.
CLEAR gs_pod_screen-ship_cond.
ENDIF.
* transfer the value
MODIFY gt_pod_sales
FROM gs_pod_screen
INDEX lv_line
TRANSPORTING ship_cond.
ENDFORM. " f4_shipping_conditions
Hope that helps,
Michael -
Search help in table control using attributes window in layout
Hi.
I am trying to use search help for my table control fields. the table control basically displays product details.
I have a name field, description field and price field. I have named my field to match the the structure of my search help (stProducts-name, stProducts-description and stProducts-price respectfully). then for each i entered shProducts (my search help) in the search help field.
However, upon running the program, in the name, description and price field, by clicking f4 the name of the product is displayed in the field irrespective to which column I am selecting. Also the values in the other fields are not affected.
Any help would be appreciated
Thank youHi Charla,
<li> Here is a sample program how to update other fields when you select f4 help for one field.
<li> Need to apply in module pool program..
REPORT zvenkat_f4_for_parameters MESSAGE-ID zmsg .
TYPES:
BEGIN OF t_t001w,
werks TYPE t001w-werks,
name1 TYPE t001w-name1,
END OF t_t001w,
t_return_tab TYPE ddshretval.
DATA:w_t001w TYPE t_t001w,
w_return_tab TYPE t_return_tab.
DATA:i_t001w TYPE STANDARD TABLE OF t_t001w,
i_return_tab TYPE STANDARD TABLE OF t_return_tab.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS :p_werks TYPE t001w-werks,
p_name1 TYPE t001w-name1.
SELECTION-SCREEN END OF BLOCK b1.
" AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
PERFORM f4_help_for_palant.
*& Form f4_help_for_palant
FORM f4_help_for_palant.
DATA:
w_dynpfields TYPE dynpread,
i_dynpfields LIKE STANDARD TABLE OF dynpread.
IF i_t001w[] IS INITIAL.
SELECT werks name1
FROM t001w
INTO TABLE i_t001w.
ENDIF.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'WERKS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_WERKS'
value_org = 'S'
TABLES
value_tab = i_t001w
return_tab = i_return_tab.
READ TABLE i_return_tab INTO w_return_tab INDEX 1.
p_werks = w_return_tab-fieldval.
READ TABLE i_t001w INTO w_t001w WITH KEY werks = p_werks.
IF sy-subrc = 0.
w_dynpfields-fieldname = 'P_NAME1'.
w_dynpfields-fieldvalue = w_t001w-name1.
APPEND w_dynpfields TO i_dynpfields.
CLEAR w_dynpfields.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = i_dynpfields.
ENDIF.
ENDFORM. " f4_help_for_palant
Thanks
Venkat.O -
Search help on table control field which imports info from same record
Hi Team ABAP,
i got a slight problem here and kinda dont know how to proceed.
I got a DDIC structure containing fields KSCHL and NACHA.
Additionally i got a customizing table based on kschl, where allowed NACHA´s per KSCHL get customized.
Now i got a table control, containing records of type of above described structure.
I created a search help for Field NACHA which actually uses KSCHL as importing since we just want to see those NACHA´s allowed for the given KSCHL.
Search help itself works fine. I got problems in how to tell it which kschl to import.
I have coded an routine in event PROCESSES ON VALUE REQUEST.
There i could do DYNP_VALUES_READ or get my data right out of the itab on which the table control is based. i just got the problem that i dont have a clue how identify which search help of which table control line got clicked.
having a first look i dont see any of SY fields changing using different lines. So i´m stuck. any Ideas?
regards
Edited by: Florian Kemmer on Nov 30, 2010 9:01 AM
Edited by: Florian Kemmer on Nov 30, 2010 9:01 AMUse FM [DYNP_GET_STEPL|http://www.sdn.sap.com/irj/scn/advancedsearch?query=dynp_get_stepl] "Current sy-stepl at Event POV", then use the returned povstepl value in DYNP_VALUES_READ (and DYNP_VALUES_UPDATE if required)
Regards,
Raymond -
Attaching search help to table control
i want to attach search help to a field in table control. and based on that entry i want to fill the corresponding columns of that row
HI Sarath,
Welcome to SDN..
Check out this thread ..
How to create Search Help for a field in Table control !!
Regards,
Santosh -
Why is there no standard search help for table-field T056U-VZSKZ?
Hi Experts,
A blessed day.
Table-Field T056U-VZSKZ (Control table for calculation of interest on arrears-Interest calculation indicator or account number) is being used to provide the entries for a screen-field of a standard transaction for Account Determination: Posting Specifications. However, this table-field T056U-VZSKZ does not have a standard search-help. I've looked for an OSS for this, but wasn't able to find one. Is there a reason why this T056U-VZSKZ does not have the standard search help when VZSKZ is it's key field?
Thanks.
Regards,
ianneHi Marco,
When you attach the search help make sure you also attach the export parameter of the search help to the name column. That is in the tab 'Further characteristics' we have to pass two value. The search help name should be typed in place of 'Parameters' and the export parameter of the search help should be typed in the place of 'Name'.
Please try this and post back the updations.
Thanking you,
Jerry -
Hi friends,
In dialog programming i am using table control for getting material details
in material number field i am using search help "sales material description(MAT1S)"
if i select the material number using search help then it display the sales organization
i give "conver. exit" = MATN1
"search help" = MAT1S
Thanks & Regards,
Vallamuthu.MI solved my own
-
Why is there NO Search Help for Table-Field T056U-VZSKZ?
Hi Experts,
A blessed day.
Table-field T056U-VZSKZ (Control table for calculation of interest on arrears-Interest calculation indicator or account number) is being used in a screen-field of a standard transaction in SAP (Account Determination: Posting Specifications). However, this Table-Field T056U-VZSKZ does not have a search-help which is needed for the transaction. I've looked for an OSS note for this, but to no avail. Is there a reason why Table-Field T056U-VZSKZ does not have a search-help?
Thanks so much.
Regards,
JOThe music store is part of iTunes. That is why they are together on the menu. As many topics would offer the same advice for music in your library or music in the store, grouping them together makes sense in terms of reducing redundant entries.
Sorry you found it confusing. I, too, once found some things Apple a bit different. That was about two years ago when I bought my iBook. StarDeb is another recent switcher. And I feel confident in saying this: either of us would be more than happy to help you with anything that gets "lost in translation". We both know there is a learning curve when you move from the XP world to a more fruit-based view of things -
Search help for a field in table control based on another field value
Hi,
I want to attach the Search help for a field in table control based on another field value.
Please help me asap.
Will be highly rewardedHI,..
Check these links
search help in table control
Re: How to create Search Help for a field in Table control !!
How to create Search Help for a field in Table control !!
F4 Help In Table Control
Control table F4 help
Problem in F4 help in screen field
check this code
DATA: BEGIN OF it_value4 OCCURS 0,
TEXTCODE LIKE ZXX-TEXTCODE,
TEXTDESC LIKE ZXX-TEXTDESC,
END OF it_value4.
progname = sy-repid.
dynnum = sy-dynnr.
SELECT TEXTCODE TEXTDESC
FROM xxxx
INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
WHERE LOSS_CODE =<b> IT_VALUE1 .</b>
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TEXTCODE'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'ITVALUE-TEXTCODE' "-->UR 4 th filed value in screen
value_org = 'S'
TABLES
value_tab = it_value4.
endmodule.
Message was edited by:
veereshbabu ponnada -
Search help for field of tcode MIGO
Hi,
I want to add search help for Goods recipient (GOITEM-WEMPF) field on MIGO screen, how to achieve that?
I tried with BADI MB_MIGO_BADI, but its now working.
Is there any BADI or field exit available?
Thankshi
i know that there are two options for defining the input help of a field.
1 Define the input help in ABAP dictionary. (recommended option)
2 Define the input help in the screen field. the disadvantage is that there is no automatic reuse.
1st option
Se11 --> create your own search help
substeps:
1) Enter short description
2) selection method : this is the check table/view of the field GOITEM-WEMPF
3) Search help parameter : parameters used in the search help.
4) IMP: Import parameters
5) EXP: Export parameters
6) Lpos :hitting list [search result]position in the header [values 1,2,3,4,5]
7)Spos: search position on the dialog search screen.
8) data elements : they are from the selection method.
9) Save and activate
10) test this via the button "test"
Note: the search help is not yet effective fo the field GOITEM-WEMPF
11) Attach this search help for the table [ selection method mentioned above]
a) Goto change mode of this table via SE11
b) choose goto--> search help> for table
or Extras --> search help for table, in the next dialog box enter the name of search help
C) The proposal created by the system for assigning the search help parameters to the key fields of the table is probably correct. check this and copy the definition.
d) Active this table.
e) Call the create entries function for table GOTIME again. the input help of field WEMPF should behave as desired.
regards,
Brian
Edited by: Brian Zhu on Mar 26, 2010 10:38 AM
Edited by: Brian Zhu on Mar 26, 2010 10:58 AM
Edited by: Brian Zhu on Mar 26, 2010 10:59 AM -
Hi All,
I have created a custom check table which also has a text tables assigned to it. I have created a Elementary Search help for the check table and the selection method for the search help is the check table itself.
The issue is when I goto the check table using SE11, I click on Extras --> Search Help for Table, it does not display the search help that I had created however the search help is displayed for a similar customizing table created by SAP, TVK8.
I think I need to assign the search help to the custom table that I have created. I would greatly appreciate if anyone can tell me as to how I can assign the search help to the check table.
Thanks,
Vamseedhar KCheck this link..Attaching to Check Tables
http://help.sap.com/saphelp_nw04s/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/frameset.htm
Also check this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70260b78-ff89-2a10-5eb0-d2f51467560b
Also check the steps to create search help.
This is how u can create "Search Help" for the fields of the ztables that u have created.
SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
Click on the "Search Help tab" just above the "Data Type " column.
Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
U can repeat the process for whatever fields u want to assign a Search Help.
se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
Ok....>Save.........> Activate
Now u should be able to get the Search help for the fields that u wanted to. -
Dear All,
I have to create search help for ztable. I have created a Ztable with field (SRNO, STATUS, DESC). in the Ztable have made entries for SRNO form 1 - 1000, on my selection screen have taken a parameter, on that parameter want to create search help for SRNO. means entered value of ztable SRNO.
i have tried with match code , but dont konw much about that. so could not make it. Plz help me.
Looking foward to your earliest response.
Regards,
Gulrez,hi,
First create a table Ztable with fields (SRNO, STATUS, DESC).
go to SE11 -Create search help.
To create search help,
1. In SE11,enter a name for Search/help.
2. Then enter the table name for which 'search/help' is to be created in
the "Selection method - (ZTABLE) " field
3. In 'Dialog Type' choose "Display Values immediately"
4. In 'Search Help Parameter' enter the required fieldnames of the table(can choose
field names by clicking search icon).
(in the search help parameter you enter the field name SNRO to get the f4 help)
5. Enable import,export.
6. mark LPOS as 1 and SPOS as 0
7. Save,check and activate.
8. In SE11,in tables object enter the second table name to which the above created
search help is to be assigned.
9. Place the cursor in a particular field and click 'Search help' icon and it will ask the
search help name(enter the created search help name)
10.Now the search help for that field is created.So when you create entries for this
table search icon would have been enabled for the assigned field.
Regards,
Madhavi -
Search help for material number in table control
Hi
I have a table which i have generated using table control wizard.
I have used an interal table while creating the table control through wizard.
In this internal table i have field matnr.Now my requirement is to have a search help for this field.
I want a default search help for material as you get one instandard transactions.
In my other i have ip/op field i.e matnr and i have used the field directly from ztable,it has got the search help but since i am using the internal table i am notting getting a search help .
can anyone tell how to assign a search help to my table control material fieldhi deepthi,
chk a sample one which will help u. <b><i>f4 hlp in table control</i></b>
* Screen flow logic........
PROCESS BEFORE OUTPUT.
*MODULE PBO_MODULE.
PROCESS AFTER INPUT.
*MODULE PAI_MODULE.
PROCESS ON VALUE-REQUEST. "F4
FIELD EKPO-EBELP MODULE help_ekpo.
* populate screen field from within PROCESS ON VALUE-REQUEST(F4) call
*& Module help_responsibility INPUT
* text
MODULE help_ekpo INPUT.
**Transport values to table dynpro/screen table control
DATA: l_stepl LIKE sy-stepl,
l_indx LIKE sy-stepl.
DATA: dynpfields LIKE dynpread OCCURS 5 WITH HEADER LINE.
* Adjust for scroling within table control
CALL FUNCTION 'DYNP_GET_STEPL'
IMPORTING
povstepl = l_stepl
EXCEPTIONS
stepl_not_found = 0
OTHERS = 0.
l_indx = tc_ekpotable-top_line + l_stepl - 1.
"tc_ekpotable should already have been declared
REFRESH dynpfields.
CLEAR dynpfields.
dynpfields-fieldname = 'EKPO-EBELN'.
dynpfields-fieldvalue = '00010' "wa_ekpo-ebeln.
dynpfields-stepl = l_stepl.
APPEND dynpfields.
dynpfields-fieldname = 'EKPO-EBELP'.
dynpfields-fieldvalue = '00020' "wa_ekpo-ebelp.
dynpfields-stepl = l_stepl.
APPEND dynpfields.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = 'SAPLZZ_EKKO' "Program name
dynumb = '0100' "Screen number
TABLES
dynpfields = dynpfields
EXCEPTIONS
OTHERS = 0.
ENDMODULE. " help_ekpo INPUT
rgds
Anver
<b><i>if hlped kindly mark points</i></b> -
Search Help for a Field of a Table Control
I have designed a screen using 'Table Control' with fields like Date, BoxNo,Quantity etc. Kindly tell me how to go about providing a search help for the field 'BoxNo' of this table control so that the user is not required to scroll down the entire table/list for selecting a particular box no.
Thanx in advance,
Alok.When you go to screen painer, in screen painter attributes window, there is an atribute called search help, fill it.
Another way is, after PAI put:
PROCESS ON VALUE-REQUEST.
FIELD box_no MODULE f1_help_box_no.
And gives logic in that module using FM F4IF_INT_TABLE_VALUE_REQUEST.
Regards.
Maybe you are looking for
-
How to get more storage on icloud?
I have been getting notices from Apple to upgrade my cloud storage but haven't figured our how to do that!!!! Please help?
-
How do I report a security problem to Firefox?
Here's the problem: <br /> Wednesday morning my Mac at home got infected by malware which I believe is usually called the "Google redirect virus". My Mac at home has been upgraded to OSX 10.6.7 and I believe I was using Firefox 3.6.13 (it automatical
-
Why does Logic 9 not work with Snow Leopard?
I have the basic system and it fails to load everytime. Had to reinstall Leopard and lost all my prefs... very much a pain. I don't understand why Apple makes updated operating systems and doesn't ensure that their own products are compatible. App
-
Crystal Reports 12 merge module fails ICE validation during installation
Hi there, I am using the CR 2008 merge module that I downloaded from this site, and am using MSI Factory 2.0 to install my product. The ICE validation fails during the build with the following errors. C:\v9.wxs(6680) : warning LGHT1056 : The Directo
-
I'm currently using Photoshop Elements 9 and must convert RAW files from my Nikon D800 to .dng files before processing using a added converted. I'm considering upgrading to either Elements 11 or Lightroom 4 but want to know if either of these progra