Modify F4-search in CSPB - BOM browser - additional field material text

Dear Experts,
we want to modify the F4-search in CSPB - BOM browser. The displayed control on the right side of the screen shows an ALV (?) based on the table PRST. In order to make it easier to find the correct item  the material short text should displayed in the table.
Unfortunately I did not found any Customizing / Userexits / func / source to append this field - or otherwise instead of appending a field -to substitute the table PRST with the view MGV_PRST.
Does anyone have a suggestion?
Thanks and regards
Michael
Edited by: Michael Stock on May 31, 2011 8:52 AM

Hi Sankar maria,
it's quite simple, all you need to do is to put the form bdc_population in the loop at it_data.
loop at it_data,
form bdc_population.
endform.
endloop.
check also if your table is it_bdctab that you have declared or it_data that you have'nt declared anywhere !
please reward points if helpfull.
A+
Ihsen.

Similar Messages

  • To add an additional field of text of 50 chrs in bseg & bsis

    In trxn FB01 or F-02, we have a line item text of 50 chrs (sgtxt). We want to have one more field of text, of 50 chrs. Can i append structure in BSEG & BSIS & mount on the screen ??
    Or is there any other way ??
    thanks
    amit

    Hi,
    I have similar error . I am gettting short dump .And it says
    "Screen "SAPLKACB" 9999 could not be generated.
    When I go look at that screen in ecc6 and try to do a syntax check, I get an error stating that field cobl-yystpi_ind is not in the data dictionary.  The code is looking for this field but it is not there."
    I checked COBL. cobl-yystpi_ind is there and it is active.
    In oxk3 i can see the field cobl-yystpi_ind.
    in oxk1 the subscreen 9999 is not there.
    Is the dump b'coz of not adding subcreen thru oxk1.
    Is that mandatory to maintain the subscreen in oxk1 which is using those fields which are added thru oxk3?
    Its urgent and any help is appreciated and points will be rewarded.
    Regards,
    Pria.

  • BOM (CS02) - Set field "Material Provision Indicator) automatically

    Hi experts,
    does anybody know a possibility, if I can pre-fill the field "Material Provision Indicator" automatically, on creating a bill of material?
    We would like to have L as default.
    Kind regards

    Hi,
    in the transaction CS01 or CS02, go to "Settings" > "MatProvision ind....".
    This allows you to default it.
    Ulf.

  • Add additional field in Vendor master data for VAT Reg. No.?

    Add additional field in Vendor master data for VAT Reg. No.?
    Hi I need to add one additional field for other VAT Reg. number in vendor master data FK01, We currently have two field
    Current Settings:
    Country : LFAS-LAND1
    VAT registration no.: LFAS-STCEG
    I need to add one additional field for text information. Is this possible?
    Thanks you very much
    Luis G.

    If you want to add new fields that are not possible from config (check with your consultant) you need to implement BADIs
    In SPRO, go to:
    >Logistics-General
    ->Business Partner
    -->Vendors
    --->Control
    >Adoption of Cusomter's Own Master Data Fields
    and read the documentation provided there.
    You will need to implement following BAPIs
    Processing Master Data Enhancements: VENDOR_ADD_DATA
    Customer Subscreens: VENDOR_ADD_DATA_CS
    I am not aware of any other way to add new fields to Vendor master (however, check with your consultant for config related screen modifications)
    Should you need any further info to implement it, post back (read it thoroughly first, it's quite self-explanatory).
    regards,
    Aabhas

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • Additional field post code 2 in search in webui

    Hi,
    I am new to crm webui.I need to add the additional field post code to search this field is not available in the context node but is a standard feature.Please tell me step by step.
    P.S points will be awarded.

    The good news is that the field is in the underlying search function module used by Business Partner Search.
    All you need to do is the following:
    Add the field
    POST_CODE2 data element AD_PSTCD2 to the structure CRMST_HEADER_SEARCH_BUIL.
    This should magically make the element available for search and you will only need to configure your screen to have the element bound beyond the context node config.
    I believe this should work, based on looking at the code used for the BP search.
    Good luck,
    Stephen

  • About:search items In BOM by find

    Dear Sir,
    From few day we are getting in searching item in BOM through search in CS11 Trans.
    Suppose i want search an item which is in the above line where my curser in clicked so now the searched item is not found by search commend & if item is below curser clicked line then it can be find.
    so pls advise me that this is confurgation mistak or any other
    Pls provide me solution
    Thanks & Regards
    Ajay Pareek

    Heya,
    Most Abap Programmers write their own program to quickly allow them to search along a bom. It's quite easy to do and will teach you a lot about tree searching and boms!
    As I'm feeling kind :o) and to give you a kick start, have a look at function module 'CS_BOM_EXPL_MAT_V2' and then mess about with what it returns.
    Good luck
    Kind regards
    Ash Thomas
    <a href=http://www.ashthomas.com>Sap Abap Developer & Sap Abap Programmer</a>
    <a href=http://www.ashthomas.com>www.ashthomas.com</a>

  • How can we add additional fields to the BP Search RESULT screen?

    Dear Experts,
    How can we add additional fields to the BP Search RESULT screen so that the BP's being displayed in a search result show maintained values for the particular column/field?
    Thanks!!!

    Hi Laxman,
                           I got same requirement for ibase hierarchy.I want to add new fields in Ibase hierarchy AB.Do you have any idea regarding this.My requirement is that ,i want to dispaly a fields as a check box which display that this component is in under warranty or not by checking the box.Plz tell ,how can i add a new field in tree type context node.I add a new fields using AET ,but that is not available in that AB.
    Thanks
    Vishwas Sahu
    Edited by: vishwas sahu on Nov 17, 2009 1:51 PM
    Edited by: vishwas sahu on Nov 18, 2009 5:22 AM

  • How can i delete search histiory, (not just browser history, j.jc

    how can i delete search history, ( not just browser h' i can do that) j.c.
    == This happened ==
    Every time Firefox opened
    == long time ago

    See [[Clear Recent History]] and http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also http://kb.mozillazine.org/Search_Bar
    You can remove passwords in the Password Manager:
    Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"

  • Modifying the search in a chm

    Is it possible to modify the search in a.chm so that only relevant topics to your search keyword show up? I came across this site that makes it possible to improve the webhelp by editing some Jscript code, but I wasn't sure if it was possible in a .chm:
    http://www.helpscribe.com/2008/10/improving-webhelp-search-results-in.html
    If anyone has any ideas, it'd be greatly appreciated!

    Hi again
    I would think the search would fail to produce any results if you change the extensions, but if it's getting you what you want I'll leave it alone.
    I normally change the extension in Windows Explorer. Naturally this renders the topic as being missing because I sneaked behind RoboHelp's back and pulled the old switcheroo. Then I delete the topic from RoboHelp's Project Manager and amend any links to point to the new .XHTM. After that I add the renamed .XHTM topic to baggage so RoboHelp is aware it should be included. However, as you are building a CHM file, the compiler normally pulls in all referenced files automagickally, so you may not need to take the step of adding to baggage. But if it were me I'd probably do it anyway as a safeguard.
    Hopefully this helps... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Modifying the search form so it appends the '%' to String input fields

    Hi guys,
    How can I modify the search form to search for '%'sometext'%' instead of just sometext for input fields that take string type as input; not programmatically!

    Hi,
    you would have to do this one way or the other. Either in the managed bean (which then passes the search input to the underlying model) or in the business services (ADF BC for example)
    Frank

  • Modifying the search criteria for my tabular form...!!!!

    Hey guyz i m back again with a query related to my tabular form that i have developed through your help...
    I presented my application to the management 2day...eveything went fine but they want me to modify the search criteria according to thr needs.
    1. They want me to include a drop box which has all the fields dispalyed in the table like .. EMPNO,STC,NAME,NATIONALITY,POSITION,
    & beside this drop box they want me to include a empty field such that if select NATIONALITY from the drop down box and enter the concerned nationality in the search box and press Search button i should get all the emp with particular nationality
    FOR EX: In the drop down box i select NATIONALITY and in the search box i type GERMAN ,... now when i click i should be getting all germans available in the company
    2.We have got evaluations for all emp in percentages
    Now from the drop down i select POSITION in the box beside i enter( HP:80-90) then i should be able to retrieve all the EMP working with position HP and evaluations between 80%-90%
    FOR EX : DROP BOX: Position
    TEXT ITEM: HP:80-90
    Click Search I get all the EMP with evaluation between 80-90 and so on
    How should i modify this ......creating a separate search box for each column would have been easy but how should i implement this what the management wants from me..????

    hi
    try something like this.
    key-exequery trigger(item level).
    begin
    if
      :code.pno is not null OR
      :code.chasis is not null OR
      :code.certi is not null
    then  --> SEARCH IN  TABLE
      go_block ( 'block' );
      :system.message_level := '10';
      execute_query;
      :system.message_level := '0';
      if
           :block.id is null
      then
        go_block ( 'code' );
        message ( 'Nothing found with the given criterias.' );
        message ( ' ' );
      end if;
    /*if
         :code.code is not null OR
      :code.branch || :code.class || :code.year || :code.serial || :code.cno || :code.edno is not null OR
      :code.issue is not null OR
      :code.inscode is not null OR
      :code.ID is not null
    else  --> SEARCH IN block2 TABLES
      go_block ( 'block2' );
      :system.message_level := '10';
      execute_query;
      :system.message_level := '0';
      if
           :block2.IDis null
      then
        go_block ( 'code' );
        message ( 'Nothing found with the given criterias.' );
        message ( ' ' );
      end if;
    end if;
    end;
    when-new-form-instance trigger.
    begin
    for l_rec in ( select distinct year from ins1 where year is not null order by year desc ) loop
         add_list_element ( 'code.year', get_list_element_count ( 'code.year' ), l_rec.year, l_rec.year );
    end loop;
    exception when others then null;
    end;
    key-exit trigger.
    begin
    if
         get_item_property ( name_in ( 'system.cursor_item' ), item_canvas ) in ( 'Block_Name1', 'Block_Name2' )
    then
      go_block ( 'code' );
    else
         exit_form( no_validate );
    end if;
    end;
    when-button-pressed trigger.
    begin
    do_key ( 'EXECUTE_QUERY' );
    end;
    pre-query trigger.(block level).
    begin
    :ins1.serial := :code.code;  --> ?? still needed ?
    :ins1.branch := :code.branch;
    :ins1.class := :code.class;
    :ins1.year := :code.year;
    :ins1.serial := :code.serial;
    :ins1.cno := :code.cno;
    :ins1.edno := :code.edno;
    :ins1.inscode := :code.inscode;
    :ins1.producer := :code.producer;
    :ins1.broker := :code.broker;
    :ins1.beneficiary := :code.benecode;
    if
         :code.issue is not null AND :code.todate is null
    then
      set_block_property ( 'block', onetime_where, ' trunc ( issue ) >= trunc ( :code.issue )' );
    elsif
         :code.issue is null AND :code.todate is NOT null
    then
      set_block_property ( 'block', onetime_where, ' trunc ( issue ) <= trunc ( :code.todate )' );
    elsif
         :code.issue is NOT null AND :code.todate is NOT null
    then
      set_block_property ( 'block', onetime_where, ' ( trunc ( issue ) >= trunc ( :code.todate ) AND trunc ( issue ) <= trunc ( :code.todate ) )' );
    end if;
    end;
    key-next-item trigger(block level).
    begin
    if
         :block.ID is not null
    then
      :global.ref := :block.ID;
      exit_form ( no_validate );
    else
         go_block ( 'code' );
    end if;
    end;Sarah

  • How can I modify the Contacts Template to display additional fields with out selecting "add field" everytime?

    How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?

    Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
    public int compareTo(Object o1, Object o2)
    The compare method would cast the Objects to HairSalons and return the difference in price.
    Then use java.util.Arrays.sort(Object []);

  • How do I in page search on atomic web browser

    I can't seem to figure out how to in page search when I use atomic web browser.

    When you select the search box, one of the options in the popup below it should be Search Current Webpage - highlight that, type in your text, and then press the 'search' button on the keyboard. You should then get Next, Previous, and Close buttons at the top of the screen

  • Additional field in layout of material BOM

    Dear experts,
    I had a requirement that  i need to add a field of material master in bom display layout mode. Say for example as i execute the cs11 and display the bom i can add material type which is stored in material master so in this way i want to add the field external material group.
    Pleae helpt me out to solve this problem
    Regards,
    GS Kothari

    Hi! GSK,
    You can do it through ABAP development. Ask your developer to prepare a Zcs11 report by copying the standard cs11 report and add one columen of Material type to it. I think developer can easily do it without changing the rest of the program in Z report.
    I hope this solves your problem.
    Regards,
    Uday

Maybe you are looking for