<?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: Passing select-options values using call transaction method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055344#M969412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m facing a new problem while passing values of select-options S_MATNR..while using multple selection (Arrow button after S_matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to pass value of a selection option MATNR to a transaction using BDC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see the code i m using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: marc.&lt;/P&gt;&lt;P&gt;select-options: s_matnr for marc-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I m running my progarm and If I m putting multiple values in the matnr ,&lt;/P&gt;&lt;P&gt;the values i m getting on the tcode screen are the value of the last s_matnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to use s_matnr in the code &lt;/P&gt;&lt;P&gt;How to differentiate s_matnr-low so that my values are not overwritten&lt;/P&gt;&lt;P&gt;Is there any index values which are being used with s_matnr-low(index)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;Krishan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krishan Kumar on Jul 12, 2008 3:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 16:40:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T16:40:31Z</dc:date>
    <item>
      <title>Passing select-options values using call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055341#M969409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario in which i have three fields BUKRS,WERKS and MATKL in an internal table i_tab and I have MATNR as a selection-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this I have to use call transaction &amp;lt;tcode&amp;gt; for all the line items in the internal table and the MATNR select-option values I have to pass directly for each line of i_tab using call transaction method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:  BEGIN OF t_tab,&lt;/P&gt;&lt;P&gt;          bukrs TYPE bukrs,&lt;/P&gt;&lt;P&gt;          werks TYPE werks_d,&lt;/P&gt;&lt;P&gt;          matkl TYPE matkl,&lt;/P&gt;&lt;P&gt;        END OF t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:  w_tab TYPE t_tab,&lt;/P&gt;&lt;P&gt;            i_tab      TYPE STANDARD TABLE OF t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr FOR marc-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am putting a loop at i_tab and have to use CALL TRANSACTION &amp;lt;TCODE&amp;gt; for each line with the SELECT-OPTIONS for MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me whether we can pass multiple ranges for MATNR using call transcation method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example there can be multiple single values/multiple ranges/excluded ranges for MATNR. so please suggest me how tho achieve this sceanrio using CALL transaction method of BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&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;Krishan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055341#M969409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Passing select-options values using call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055342#M969410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Call transaction TCODE there is extension ....&lt;STRONG&gt;OPTIONS from OPT.&lt;/STRONG&gt; Just Check it out. I think it is possible like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;... OPTIONS FROM opt 


*Effect* 
This addition gives you control using the values of the components of the structure opt, which must be of the Dictionary type CTU_PARAMS. The components have the following meaning: 

DISMODE
Processing mode (comparable with the MODE addition) 

UPDMODE
Update mode (comparable with the UPDATE addition) 

CATTMODE
CATT mode (controlling a CATT procedure) 


The CATT mode can have the following values: 

' ' No CATT procedure active 
'N' CATT procedure without single screen control 
'A' CATT procedure with single screen control 

DEFSIZE
Use standard window size 

RACOMMIT
COMMIT WORK does not end CATT procedure 

NOBINPT
No batch input mode, that s SY-BINPT = SPACE. 

NOBIEND
No batch input mode after BDC data has been read 

The components DEFSIZE , RACOMMIT, NOBINPT, NOBIEND always take the following values: 
'X' Yes 
' ' No 

If the OPTIONS addition is omitted, the following settings are valid for the control parameters: 

DISMODE from the MODE addition 

UPDMODE
from the UPDATE addition 

CATTMODE
No CATT procedure active 

DEFSIZE
Do not use standard window size 

RACOMMIT
COMMIT WORK ends procedure successfully 

NOBINPT

Batch input mode, that is SY-BINPT =X. 

NOBIEND
Batch input mode also active after BDC data has been read&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&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;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055342#M969410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing select-options values using call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055343#M969411</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 think you are using the z transaction  i mean the screens are developed by you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you are getting the data from the flat file&lt;/P&gt;&lt;P&gt;and it is stored in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now filter the fields of internal table using the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is filter all the three fields such that those fields must satisfy the select-option criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that put those data only in other internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then upload the data using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;perform bdcdata.(logic to fill bdcdata)&lt;/P&gt;&lt;P&gt;call transaction .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 04:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055343#M969411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T04:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passing select-options values using call transaction method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055344#M969412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m facing a new problem while passing values of select-options S_MATNR..while using multple selection (Arrow button after S_matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to pass value of a selection option MATNR to a transaction using BDC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see the code i m using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: marc.&lt;/P&gt;&lt;P&gt;select-options: s_matnr for marc-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I m running my progarm and If I m putting multiple values in the matnr ,&lt;/P&gt;&lt;P&gt;the values i m getting on the tcode screen are the value of the last s_matnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to use s_matnr in the code &lt;/P&gt;&lt;P&gt;How to differentiate s_matnr-low so that my values are not overwritten&lt;/P&gt;&lt;P&gt;Is there any index values which are being used with s_matnr-low(index)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;Krishan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krishan Kumar on Jul 12, 2008 3:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 16:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-select-options-values-using-call-transaction-method/m-p/4055344#M969412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T16:40:31Z</dc:date>
    </item>
  </channel>
</rss>

