<?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: matchcode choose bsart field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683205#M1576185</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;     Just declare the select options. (Iam able to display F4 without giving the matchcode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SELECT-OPTIONS: s_bsart FOR v_bsart .  &lt;/P&gt;&lt;P&gt;     Now pressing F4 gives you the values and selecting one gives you the Bsart value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2011 08:46:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-04T08:46:57Z</dc:date>
    <item>
      <title>matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683203#M1576183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, i have already been looking for hours how to solve this issue through sdn, google,... but i couldnt find any answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will describe you the scenario. I have a report with some select options in the selection screen. Some of them had come allong automatically with a matchcode help, with some others i had to force them by adding the matchcode object in the declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem comes with one of the select-options refered to field EKKO-BSART. This field has help search H_T161.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_bsart FOR v_bsart matchcode object H_T161.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, it shows the match code providing BSTYP, BSARTand BATXT. But when i choose one of the rows, the value selected is BSTYP. &lt;STRONG&gt;I NEED BSART VALUE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked in SE16 table EKKO, and the matchcode for field BSART works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can i get BSART value?&lt;/STRONG&gt; I am sure that there is a standard search help for this field that works, but i cant find it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want to use any custom function, &lt;STRONG&gt;i want standard help search&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema Traveso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 08:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683203#M1576183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T08:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683204#M1576184</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;I checked my system for standard search helps, there are 4 available,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
/ISDFPS/T161_B                   Purchase Requisition Types
FMBLEXT_F4_DOCTYPE_MM            Doc Type for Purchasing
H_T161                           Generated Help View for Check Table T161
WAUF_T161                        Find order types for order category 'F'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of these the 2nd and 3rd are returning BSTYP as mentioned and not BSART, because of the way it is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the other two i.e. 1st and 4th will return the BSART but they are restricted based on BSTYP,&lt;/P&gt;&lt;P&gt;1st Option - BSTYP = 'B' (Purchase requisition)&lt;/P&gt;&lt;P&gt;4th Option - BSTYP = 'F' (Purchase order)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the 1st and 4th option fits your requirement, in case you want only specific to B and F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you see for EKKO while viewing the entries, the F4 even if you choose value for BSART it will return BSTYP as well.&lt;/P&gt;&lt;P&gt;So, in your program if you have both the fields then it make sense to use 2nd and 3rd search helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 08:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683204#M1576184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T08:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683205#M1576185</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;     Just declare the select options. (Iam able to display F4 without giving the matchcode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SELECT-OPTIONS: s_bsart FOR v_bsart .  &lt;/P&gt;&lt;P&gt;     Now pressing F4 gives you the values and selecting one gives you the Bsart value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 08:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683205#M1576185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683206#M1576186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i agree to this. Just make sure you declare the V_BSART as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data v_bsart type ekko-bsart.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And not as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data v_bsart type bsart.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working this way as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 08:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683206#M1576186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T08:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683207#M1576187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WOW &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt expect you to reply so soon, THANKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now i cant try the solutions you propose, but this evening i will check them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, my requirement is to show all the purchasing docs availabe (purchase requisition, purchase order..) not fiiltering by type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a question: whats the real difference between this two declaration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v_bsart type ekko-bsart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v_bsart type bsart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema Traveso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 09:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683207#M1576187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683208#M1576188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no such different in terms of the data element properties. If you had the search help assigned at the Data element level then the statement &lt;STRONG&gt;data v_bsart type bsart.&lt;/STRONG&gt; will be good enough to get the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in your case it is assigned at the table field level, hence we need the declaration &lt;STRONG&gt;data v_bsart type ekko-bsart.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 09:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683208#M1576188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T09:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683209#M1576189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ll try this evening and see if it worked out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema Traveso&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 09:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683209#M1576189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-04T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683210#M1576190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tryed  your solution but it is still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared data &lt;STRONG&gt;v_bsart type ekko-bsart&lt;/STRONG&gt; and doesnt get the f4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also forced it by adding the &lt;STRONG&gt;matchcode object H_T161 and is still returning the bstyp field. I need bsart&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, any help on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 17:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683210#M1576190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-06T17:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: matchcode choose bsart field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683211#M1576191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry abaut my previous reply. Your solution is actually working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very for you answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 17:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/matchcode-choose-bsart-field/m-p/7683211#M1576191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-06T17:31:37Z</dc:date>
    </item>
  </channel>
</rss>

