<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Search Help Addition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595349#M1083493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 11:50:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T11:50:52Z</dc:date>
    <item>
      <title>Search Help Addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595346#M1083490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;There is a search help for material and i want the same search help to be define for the sold to party , ship to party and sales order no,for sold to party there is an elementary search help and sales order no there is no search help and how to add the search help for sold to party and how to declare for sales order no.&lt;/P&gt;&lt;P&gt;pls explain detailly.&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595346#M1083490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595347#M1083491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to the following tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK - for search help/value table for sales order/document number&lt;/P&gt;&lt;P&gt;VBPA - for search help/value table for sold-t-party/partners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use it in your program as SAP has used those in transaction VA01, VA03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Renjith Michael on Oct 23, 2008 3:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595347#M1083491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595348#M1083492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want search help in your program do like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

here s_oa is your parameter for sales order.
AT SELECTION-SCREEN ON  VALUE-REQUEST FOR s_oa.

  IF it_oa[] IS INITIAL.
    SELECT DISTINCT vbeln
           FROM vbap
           INTO TABLE it_oa
            .
  ENDIF.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*   DDIC_STRUCTURE         = ' '
      retfield               = 'VBELN'
*   PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'S_OA'
     stepl                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
   value_org              = 'S'
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
*   it_sort                           = it_sort[]
* IMPORTING
*   USER_RESET             =
    TABLES
      value_tab              = it_oa
*   FIELD_TAB              =
*   RETURN_TAB             =
*   DYNPFLD_MAPPING        =
   EXCEPTIONS
     parameter_error        = 1
     no_values_found        = 2
     OTHERS                 = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;smililarly for sold-to-party you can use table vbak (kunnr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON  VALUE-REQUEST FOR s_sold. ---&amp;gt;s_sold is your sold to party parameter.

  IF it_sold[] IS INITIAL.
        SELECT DISTINCT kunnr
           FROM vbpa
           INTO TABLE it_sold
           WHERE parvw = 'AG'.

           .
  ENDIF.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*   DDIC_STRUCTURE         = ' '
      retfield               = 'KUNNR'
*   PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'S_SOLD'
     stepl                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
   value_org              = 'S'
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
*   it_sort                           = it_sort[]
* IMPORTING
*   USER_RESET             =
    TABLES
      value_tab              = it_sold
*   FIELD_TAB              =
*   RETURN_TAB             =
*   DYNPFLD_MAPPING        =
   EXCEPTIONS
     parameter_error        = 1
     no_values_found        = 2
     OTHERS                 = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 10:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595348#M1083492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T10:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595349#M1083493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-addition/m-p/4595349#M1083493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:50:52Z</dc:date>
    </item>
  </channel>
</rss>

