Search Help or Help View????? URGENT

hi,
I have created a Z Search help (<b>Z_SCKOSTL</b>) for the table <b>ZTPCM004</b> . This table has fields such has <b>EKGRP</b> (Purchasing group) , <b>SCKOSTL</b> (Cost center)....& many other...
My search help now has only EKGRP (only Key field of ZTPCM004 table) & SCKOSTL. fields...
I need to fetch the text (<b>CSKT-LTEXT</b>) for the field SCKOSTL from the table CSKT using the field comparing <b>CSKT-KOSTL = ZTPCM004-SCKOSTL</b>...
<u><b>Note :</b></u>
Feld SCKOSTL from table ZTPCM004 & Field KOSTL from table CSKT are of same data length & data type....
<b>how do i get this done ?
when F4 Help is pressed for the parameter P_SCKOSTL how do i get the values of SCKOSTL & its respective LTEXT ????</b>
PARAMETERS : P_SCKOSTL   TYPE   ZTPCM004-SCKOSTL MATCHCODE OBJECT Z_SCKOSTL.
Note : Z_SCKOSTL is the search help,
         is searc help possible for two tables, if not then should I use a help view ???
please suggest a solution,
Points will be rewarded immddiately,
Thanks,
Ginni

Hi
Attaching a search help to a field
A search help can influence the behavior of a field when the input help is called. The search help must be assigned to the field in order to do this. You have the following options for this assignment:
Attach search help to a data element / table or structure field / screen field / check table.
Conventionally search helps are attached to table fields or data elements. We shall see the same.
Attaching a search help to a screen element
A search help can be directly assigned to a screen field in two ways.
The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
However, input help is only available for this particular screen.
In this case, the search help is only available for this screen.
OR by useing FM
refer this code
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
***********SELECTION SCREEN DESIGN***********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
**********END OF SELECTION SCREEN DESIGN*****************
*********VALIDATION FOR SCREEN FIELDS********************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
IF S_OBJID IS NOT INITIAL.
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
SEARCH HELP FOR QUALIFICATION.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'OBJID'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_OBJID_SH
FIELD_TAB =
RETURN_TAB = RETURN_TAB
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.
ENDIF.
Reward if uswefull

Similar Messages

  • Problem in search help view for Contact (BP_CONT_SEARCH)

    Hi,
    I am trying to create service order. There I have 2 fields ... Sold-to-Party and Contact.
    when I say F4 for Contact it is displaying the next screen with 4 parameters. There I have Account ID paramater.
    In the CRM 6.0, the Account ID is being populated with Sold-to-Party ID, by default.
    But, Now I am working in CRM 7.0. The Account id is not defaulting to Sold-to-Party ID.
    And I observed that in CRM 6.0, all the fields on Serch help view are binded to SEARCH->VALUE1 attribute.
    But, In CRM 7.0, this is not done. I donno whthr it might be the reason..or som thing else.
    Please let me know, for defaulting this value, what we need to.
    Thanks,
    Sandeep

    Hi,
    I am trying to create service order. There I have 2 fields ... Sold-to-Party and Contact.
    when I say F4 for Contact it is displaying the next screen with 4 parameters. There I have Account ID paramater.
    In the CRM 6.0, the Account ID is being populated with Sold-to-Party ID, by default.
    But, Now I am working in CRM 7.0. The Account id is not defaulting to Sold-to-Party ID.
    And I observed that in CRM 6.0, all the fields on Serch help view are binded to SEARCH->VALUE1 attribute.
    But, In CRM 7.0, this is not done. I donno whthr it might be the reason..or som thing else.
    Please let me know, for defaulting this value, what we need to.
    Thanks,
    Sandeep

  • Search Helps - View Query

    hi,
    I need to create a matchcode for the field kunnr whose search help is DEBI.
    1.     In the transaction FBL5N (Customer Line Item Display) include a new match code ‘ Active Account with Balance’.
    2.     The search parameters will be similar to match code ‘’ Customers(By Company Code) / Customers per sales group.
    3.     When the search is made by entering the name in the name field , the program logic would be as:
                 a.   The table KNB1 will be used to search the customer based on company code.
    a.     The list of customers obtained will be queried in the table KNA1(General Data in Customer Master) to get the list of customers with name 1, postal code , city etc.
    b.     This list of corresponding customers is queried in the Table BSID  (Accounting: Secondary Index for Customers) to check if the customers have an open item.
    c.     If there is an open item for any customers then they are considered as Active customers.
    d.     Display only the list of active customers for the name search with the details ‘Name1, city, Postal code, Customer No. , company Code etc.
    My query is in the view which i am gonna create, what would be the join condition for the above logic.

    Is this related to BSP?  Are you needing help creating the SQL statement for the logic you described?  I guess I'm not sure what you are asking for and how it is related to BSP.

  • Search help & view ?

    I Created one vendor report , in that report selection screen LIFNR field is there , F4 on LIFNR list of possible values will come , beside that a lot of tabs is there ? what is that tabs ex: means vendor on company code , vendor based on country ? how all it will come ?
    plzzzzzzzz help me ?

    Hi,
    We can create search help in the Se11 .For Multiple field dependednt ,then we can go for the Collective search help.
          This created search help can be added in the Table by selecting the Field with the search help tab.
    That is Collective search help.
    Regards,
    Shiva Kumar

  • Search help Prb

    hi experts,
    I have got one urgent requirement.
    In tcode VA01,when i press f4 on customer,it shows me the all the possible customers depending upon the search criteria on search help.
    It also includes those customers which are blocked and users consider as non blocked and go further. I need to block this process.Is there any method in search help view so that i can color the line items which are blocked,so that it can be prevented.
    Thanks,
    Gaurav

    Hi press F1 for document help, u will find technical information over there, by click on that u come 2 know the search help which is used for that field, open that search help in ABAP dictionery and check the order of layout, i.e parameters in that search help, arrange according 2 ur requirement...
    reward pts if it helps...

  • Help view to get two table entries in search help

    Hi,
    I have created the help view for join two tables and that help view was  called in the selection method for creating search help of the custom table field. since it has show inthe selection screen , it is fetching only one table entries. and the shown entries are displaying but not passing.
    Please provide the steps to get the two table entries and the displayed entries should pass.
    Thanks in Advance,
    siva

    Hi sivanag,
    1. Try your view with SE16/SE16N to see if it really finds what you expect
    2. Use the same data elements in help view as on selection screen
    3. read documentation and F1 help on all fields you see in the search help definition - especially only field marked as EXPORT parameter will be put back on screen.
    But, sincerely, I don't know what your selection-screen looks like.
    Regards,
    Clemens

  • Search help in web dynpro Java i-view

    Hi experts!!
    I am new to EP so i need some help..
    I am trying to implement some web dynpro i-views and i would like to know if there is any way to have F4 search help for  fields in form template that correspond to R/3 fields. In other words i want to take the search help values from the R/3.
    Should i create a model  to call a BAPI for search help??? Or is there any other way?????
    Thanx in advance...!!!
    PS: will reward points to usefull answers.

    Hi You can create Value Help in Webdynpro to show F4 Help values.
    Follow this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
    Reward Points if Helpful
    Edited by: Praveen Kommineni on May 7, 2008 8:05 PM

  • (Urgent) Sorting search help values in Web Report

    Hello Friends,
    We have a web report which uses a variable made on 0CALMONTH. The order of display of values for this variable search help is 02/2004, 03/2004, 01/2005, 07/2006, 08/2006, 05/2007. In this order we have the latest date (05/2007) displayed at the end of the list. What we want is that the values in the search help of 0CALMONTH should be displayed in the reverse order i.e. latest date first (05/2007, 08/2006, 07/2006... etc).
    Thanks in advance for your assistance.
    Regards,
    Prem.

    Hi Premanand,
    If u display the report in Internet Explorer there you can see differnet buttons like
    Save View, Book mark, Variable Screen etc...There click Save View give tech name and descryption. After Sorting use this in WAD instead selecting query , select this view and execute.
    Assign Points Pls...
    Best Regards,
    SG

  • Adding new field in search help result view

    Dear Experts,
    I want to include one more field in search help result. The field shoud give description.
    How can i do this in UI result view?
    If I try to add attribute in result view, the result view is of type table, and it does not allow us to add value node. It will allow us to add model attribute. If I add attribute in search help resut table view then will i be able to see it in table form.
    Thanks and regards
    Pankaj Kumar

    Hi Pankaj,
    Its not that difficult.
    There are two ways
    1. You can enhance your Result BOL object through EEWB and append your z-field to std. BOL result object. This then appears automatically for your result context node and then you can pull it to the view in config tool.
    2. Directly go to your context node class (CN00 , CN01 etc ) , now copy method GET_S_XYZ , paste it and rename as GET_yourfieldname. Similarly copy SET_S_XYZ, GET_M_XYZ and GET_I_XYZ and paste and rename. Once activated. Quit the component browser completely. Open again using bsp_wd_cmpwb. open you view and then your node. You can find you new attribut present as struct.YourField.
    You can then copy code from available setter-getter methods for this attribute. You must handle setter getter by urself in this case. In may std. nodes, this is done for description field. I have personally done this for product descripton field.
    if you dont want the field to be part of structure ( i.e. as struct.Yourfield ) then you can also copy paste GET_XYZ, SET_XYZ methods. your filed then do not appear as Struct.YourField but it just appears as YourField name under context node.
    Hope this helps you.
    Thanks & Regards.
    You can check PRODUCTDESCRIPTION  attribute of BTAdminI node of BT115QIT_SLSQ/Items  view of BT115QIT_SLSQ component. They have added it the same way as i described above. You see the GET_ method to see how they are retrieving product description. In my object, i wrote direct query to Comm_prshtext table to retriev short_text by passing product guid and then assigen it to value variable of Get method.
    Edited by: suchita P on Sep 20, 2008 2:22 AM

  • Search in Help Viewer always returns "No matching help topics were found".

    Hi!
    I'm running 10.3.9 on 14" iBook G4.
    Recently re-installed OSX from CD after a hard disk replacement. Help viewer was fine on the original / old installation of the same version number of OSX.
    The CD installs a version earlier than 10.3.9. Possibly 10.3.4? Cannot recall... is this important?
    After HDD replacement, went through all the updates fairly rapidly, and arrived at version 10.3.9. Excellent! Except one thing (there may be more, but I've only discovered this so far!)... searches in Help Viewer return the same message irrespective of what I search for. I type the search string (e.g. "dvd" ) in the search bubble in the Viewer window. The message is as follows:
    [bouyancy aid with question mark logo] No matching help topics were found
    I have tried the usual things, without success, of:
    - Removing the Famous Four cache and preference files/dirs.
    - Repairing permissions. This repaired a few 'permissions'.
    - Rebooting.
    I think the icon of the bouyancy aid is a comic irony, but very well suited to my situation. Anyone out there with any suggestions on how to fix, please?
    RSJ

    Excellent pointers, thanks!
    I haven't quite got it working, yet, but have got it to a point that is better than nothing.
    Very peculiar -- discovered that, after trying many of the troubleshooting ideas without success, the solution was to hit the "back" icon on the viewer to get to the list of help topics satisfying my search criteria... cannot work out why. It would appear that, for some reason, the viewer is skipping the page with the help topics, and going directly to the "No topics found" page. Curious. I am wondering if one of the above activities (from your help pages) may have helped.
    Anyway. Thanks very much for your help on this, and your *very* rapid responses.
    Yours most impressed,
    RSJ.

  • How to create search help for Maintanence View

    Hi,
    I want to create a Search Help for a Maintanence View and bring Conditions
    in this Search Help. Condition can be as e.q. Show me only the Records with Status 2.
    How can I achieve this?
    Thanks.
    Best Regards
    Beserithan Malabakan

    HI,
    You can create this in SE11, there create a search help, and in the Minatain Search HElp screen, give the Maintanance view name and give the field anmes as you want, and right side you will find 'Default Values', there you can give the default values, so here in the Field name give as <b>STATUS</b> and in the Defaule Value will be <b>2</b>.
    Regards
    Sudheer

  • Search help does not work when view context is mapped to comp context

    Hello,
    I am trying to display search help for an input field of a view. The context to which the input field is bound is a node with an attribute. I have specified Dictionary Search help for the attribute. Now when I execute the application, I am able to get the search help in the screen.
    But, I  need to map this  view context node to its comp controller context. When I do the mapping, the search help does not appear when executed.
    It would be a great help if someone can point out an answer to this.
    Thanks,
    Maya

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • Search help description translation for portal view

    Hi Experts,
    I have created a Z search help which is being called in the portal. The description of the search help text has also been maintained in user local logon language via se63 but still when viewing from portal the description is shown incorrect/different. Is there anywhere else where i need to maintain the search help text description?
    thanks.

    Hi Maya
    Follow these steps:
    1.Delete the context node/attribute which is bound to search help from the View.
    2.Now Save metadata.
    3.Perform Context mapping again .In the Edit Context Mapping window drag the node/attribute FROM RIGHT PANE TO LEFT PANE and select the entry.
    4.Delete the Input Field from the view.
    5.Save again
    6.Close NWDS and reopen it.
    7.Create input field again and bind it to the context element.
    Hope this solves the problem.
    Regards
    Ananda

  • Probelm with Database View in Search help

    Save Environment. Save Yourself.
    Hi Experts!!
    We have a customized database view, which has 6 fields from KNA1 tabkle. Now I have added one more field T001-BUKRS. But this field is not appearing in search help tab. Can anybody tell me what can be the problem?
    Thanks a lot!!
    I'm not an environmentalist.  I'm an Earth warrior.

    Save Environment. Save Yourself.
    Hi Experts!!!
    I have got the problem. I didnot add the new field in search help
    Thanks a lot!!!
    I'm not an environmentalist.  I'm an Earth warrior.

  • Help views ( search helps) in tables

    Hello Experts,
    we are creating customized infotypes.Can anyone tell me how to create help views ( search help ) in tables.
    Regards,
    Shilpa.

    Helli Shipa
    You can create the search helps via se11 transaction and then attach the seach help from the field in table
    Regards
    Sonu Gupta

Maybe you are looking for