<?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 Two field value in a single parameter statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677758#M618763</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;&lt;/P&gt;&lt;P&gt;am using the below statement and selecting the document number that i need over a range of document numbers.&lt;/P&gt;&lt;P&gt;PARAMETERS:BELNR1 LIKE BSID-BELNR OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue here i also want the display of documents numbers(BELNR) of BSAD table and am not supposed to use one more parameters statement.So in the display i  want document numbers of both the table BSAD &amp;amp; BSID..Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 11:58:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T11:58:47Z</dc:date>
    <item>
      <title>Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677758#M618763</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;&lt;/P&gt;&lt;P&gt;am using the below statement and selecting the document number that i need over a range of document numbers.&lt;/P&gt;&lt;P&gt;PARAMETERS:BELNR1 LIKE BSID-BELNR OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue here i also want the display of documents numbers(BELNR) of BSAD table and am not supposed to use one more parameters statement.So in the display i  want document numbers of both the table BSAD &amp;amp; BSID..Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677758#M618763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T11:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677759#M618764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use two parameter statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:BELNR1 LIKE BSID-BELNR OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:BELNR LIKE BSAD-BELNR OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R U GETTING ANY ERROR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        KIRAN KUMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677759#M618764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677760#M618765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran&lt;/P&gt;&lt;P&gt;If thats the case i will get two separate fields in the output which i dont want.i want all the documents numbers to be from the same field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards &lt;/P&gt;&lt;P&gt;vijy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677760#M618765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677761#M618766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case create internal table with one field belnr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and pass the values between belnr and belnr1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;revert back if u have doubts if i am wrong clearly explain what exactly do u want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677761#M618766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677762#M618767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You can get belnr common to BSAD &amp;amp; BSID through the following process&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;summary&amp;lt;/b&amp;gt;: Create a database view...and assign the view in Selection method for a search help and write the code&lt;/P&gt;&lt;P&gt;PARAMETERS BELNR1 TYPE BELNR_D MATCHCODE OBJECT searchhelp name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Explanation :::Please do the following &lt;/P&gt;&lt;P&gt;**********************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;se11 -&amp;gt;&amp;lt;b&amp;gt; create a view 'ZBELNR'&amp;lt;/b&amp;gt; -&amp;gt; Database view -&amp;gt; enter text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in the TAB Table/join conditions&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;in tables write&lt;/P&gt;&lt;P&gt;BSAD&lt;/P&gt;&lt;P&gt;BSID&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in join /Table conditions&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;BSAD	MANDT	=	BSID	MANDT&lt;/P&gt;&lt;P&gt;BSAD	BELNR	=	BSID	BELNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****so the common Belnr will get selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in the tab view fields&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;enter the field name you want to see on search help being clicked&lt;/P&gt;&lt;P&gt;save and activate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;create a search help&amp;lt;/b&amp;gt; in se11 -&amp;gt; elementary help -&amp;gt; Zsearchhelp&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in tab definition -&amp;gt; selection method&amp;lt;/b&amp;gt; enter the name of the view created ZBELNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;in the search help parameter&amp;lt;/b&amp;gt;..enter the name of the fields which are there in the "view fields" of the the database projection which you have created,ie fields which needs to come on search help(some people add text also with search help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once the object is created use the following code&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PARAMETERS BELNR1 TYPE BELNR_D MATCHCODE OBJECT Zsearchhelp&amp;lt;/b&amp;gt; (searchhelp name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it proved useful(i have tried out myself sucessfully),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677762#M618767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Two field value in a single parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677763#M618768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , u can use only one parameter statement if u need to input only one  value that is applicable to field belnr of both tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because belnr field is same in both bsad and bsid so u can use only on parameter to feed value belnt to both tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;parameter a type belnr_d .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;belnr_d is a data element iused for belnr field in both tables .Then u can use ur select statement accordingly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ---  from bsad into table itab where belnr = a .&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 10:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-field-value-in-a-single-parameter-statement/m-p/2677763#M618768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T10:31:11Z</dc:date>
    </item>
  </channel>
</rss>

