<?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: BAPI/RFC - Function module code explanation-VERY URGENT!!!!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982888#M72315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;    Thanks again. I did the same as mentioned by you, created a query and copied the exact code as in the web log but just changed the query name and I need to do the same for 2 or 3 other queries. Am I going in the right direction? Do I need to add or change any fields from my query into the code you have written or is all that taken care of in the code itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2005 12:47:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-26T12:47:14Z</dc:date>
    <item>
      <title>BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982882#M72309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;       I need to generate the report 'Order Status' on Java application from BW. I have the following fields in BW 0DOC_NUMBER, 0MATERIAL, 0REQ_DATE, ORDER_QUAN,0SHIP-TO and the report on Java portal has the fields like Order No, Product, Delivery Date, Ordered Quantity, Ship to location. So how do I proceed with the BAPI/RFC. &lt;/P&gt;&lt;P&gt;      The steps to be followed are first create and function group and then name a function module and under attribute tab chose 'remote selection or so' and then in import parameters and export parameters, what do I need to chose and how to create a BAPI or function module. Can u just create one for the above example quoted? Any help would be great.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 14:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982882#M72309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982883#M72310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Import paramters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export paramters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a structure of the fields that you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZORDER-VBELN&lt;/P&gt;&lt;P&gt;ZORDER-MATNR&lt;/P&gt;&lt;P&gt;ZORDER-EDATU&lt;/P&gt;&lt;P&gt;ZORDER-KWMENG&lt;/P&gt;&lt;P&gt;ZORDER-KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this new structure for your exporting parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source code,  use select statements against the sales document tables to get your data,  filling the ZORDER structure.&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;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 15:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982883#M72310</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-25T15:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982884#M72311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are these fields are from ODS or cube? check out my weblog where i have explained how you could execute BW query using RFC. you could simply create a query with the required fields and use the explained procedure in my weblog to execute the query and get the results.&lt;/P&gt;&lt;P&gt;/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i&lt;/P&gt;&lt;P&gt;/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont like this approach, you can try MDX . check out the following weblog for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/prakash.singh4/blog/2005/03/12/get-bw-data-in-portal-via-jca-using-mdx-statement&lt;/P&gt;&lt;P&gt;(this is a java iview code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just for clarification. why dont you simply use bw query iview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 18:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982884#M72311</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-25T18:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982885#M72312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja,&lt;/P&gt;&lt;P&gt;     Thanks for the reply. I created a query and tried to copy the same as in your weblog but couldn't understand how to define the structure ZBW_QUERY_OUTPUT_METADATA. After creating this RFC whatelse has to be done from SAP side and is there no necessity to create BAPIs and how should the Java programmer approach from here to apply this on the websphere portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please this might look quite simple to you but its a bit complicated to me as I have very little knowledge in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 19:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982885#M72312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T19:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982886#M72313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;    Regarding the iview code, from BW side, I need to create the MDX statement and then define all the BAPI's listed and where does that code apply? I mean JAVA programmer is supposed to create where? on his application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2005 19:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982886#M72313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-25T19:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982887#M72314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sturcture ZBW_QUERY_OUTPUT_METADATA can be created from transaction SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you create the FM speicifed (with RFC enabled in the attributes tab of the FM). you dont need to do anything other than just creating queries. the java programmer either in his bean or in pageprocessor class will call this function module pass the required parameters and get the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MDX&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case you dont need to do anything . this way you either directly query a cube using MDX or execute a query using MDX. constructing the MDX query statement can be done as a BW person by you from transaction MDXTEST.&lt;/P&gt;&lt;P&gt;and just pass it on to the java person. he will have to call BAPI_MDDATASET* FMs to pass this mdx and get the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 05:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982887#M72314</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-26T05:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982888#M72315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;    Thanks again. I did the same as mentioned by you, created a query and copied the exact code as in the web log but just changed the query name and I need to do the same for 2 or 3 other queries. Am I going in the right direction? Do I need to add or change any fields from my query into the code you have written or is all that taken care of in the code itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982888#M72315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982889#M72316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that one FM can run any query, thats the whole purpose of it. just pass the query name and its parameter to the FM. thats all you need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982889#M72316</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-26T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982890#M72317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;   Sorry but can you tell me what this parameter is about? Do I have to give my own query variables if I have any for my query and if so what is this low and high becoz I do not see this options. I just see short and long text in the 'tables' tab.&lt;/P&gt;&lt;P&gt;    Hoping to see an answer which would help me figure out if I am going in the right track. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 13:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982890#M72317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T13:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982891#M72318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;you have a query from cube "XYZ" called "MYQUERY"&lt;/P&gt;&lt;P&gt;and when you run it from BEX you pass a variable period (001.2005)(0P_FPER) to this query .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to execute this using FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass "XYZ/MYQUERY" to the parameter query_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass "0P_FPER" to query_variables-vnam ,&lt;/P&gt;&lt;P&gt;     "I" to query_variables-sign,&lt;/P&gt;&lt;P&gt;     "EQ" to query_variables--opt,&lt;/P&gt;&lt;P&gt;     "2005001" to query_variables-low .&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;Now you are ready to execute the FM to run the query "XYZ/MYQUERY" and get the results in XML format. (xml_out) and meta (tables parameter) would give you details about the result set , like column names, data type , etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 13:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982891#M72318</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-26T13:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982892#M72319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;    Firstly it doesn't accept '/' between the cube and query name, secondly I have a variable 0calday which is optional and in the 'tables' tab for defining the variables I have options like &lt;/P&gt;&lt;P&gt;Parameter name/Type spec/Associated type/Optional/Short text/Long text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am defining it as&lt;/P&gt;&lt;P&gt;0CALDAY/LIKE/RRX_VAR/OPTIONAL/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know please.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;Any updates for me please, can you please explain the table parameters again.???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 13:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982892#M72319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982893#M72320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for the delay, i wasn't at work. can you tell me which function module are you using. It looks to me that you are not using the FM from my weblog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 20:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982893#M72320</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-26T20:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982894#M72321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;      I am using the same code (literally copy, pasted your code) you explained in the weblog but just changed the query name but here it accepts just the query name but not as you mentioned cube/query and I have a question regarding the table parameters as I have '0calday' and 'ship-to-location' as my variable option. This query I am building on a Multicube Y_SCM_MP1. Hope I am not wrong, let me know. &lt;/P&gt;&lt;P&gt;      Thanks for your patience.&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only change is I have given the function module name as Z_SD_ORDERSTATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain what this is??&lt;/P&gt;&lt;P&gt;"CHAR50" must be a flat structure. You cannot use internal tables, strings, references, or structures as components.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 21:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982894#M72321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T21:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982895#M72322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;Can you please explain what this is??&lt;/P&gt;&lt;P&gt;"CHAR50" must be a flat structure. You cannot use internal tables, strings, references, or structures as components.&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;in the import parameter tab for parameter &amp;lt;b&amp;gt;QUERY_NAME&amp;lt;/b&amp;gt; you would have specified the &amp;lt;b&amp;gt;type spec&amp;lt;/b&amp;gt; as LIKE instead of type . please change it to type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;just changed the query name but here it accepts just the query name but not as you mentioned cube/query&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;i dont understand, when you call this FM (Z_SD_ORDERSTATUS) you need to pass "cube/queryname" to the &amp;lt;b&amp;gt;QUERY_NAME&amp;lt;/b&amp;gt; parameter .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this example will work for multicube also, we have tested it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;Let me explain what you have to do&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;1. create the FM as explained in Execute BW query using ABAP Part I. you dont have to change anything, just copy paste it.&lt;/P&gt;&lt;P&gt;2. copy BAPI_IOBJ_GETDETAIL  to Z_BAPI_IOBJ_GETDETAIL and comment the following code in the copied BAPI.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*  CALL METHOD cl_rsd_iobj=&amp;gt;authority_check
*    EXPORTING
*      i_iobjnm            = infoobject
*      i_activity          = rssb_c_auth_actvt-display
*    EXCEPTIONS
*      user_not_authorized = 1.
*  IF sy-subrc &amp;lt;&amp;gt; 0.
*    bapi_syserror.
*    EXIT.
*  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3. Now create the XSLT program as explained in Execute BW query using ABAP Part II (just copy paste it).&lt;/P&gt;&lt;P&gt;4. Now create a program from SE38 (type1) and copy paste the code given at the end of the blog. change the following code in this program to point to the  XSLT program you have created in the previous step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; TRY .
        CALL TRANSFORMATION (`&amp;lt;&amp;lt;b&amp;gt;this is your xslt program name&amp;lt;/b&amp;gt;`)
        SOURCE XML  xml_out
        RESULT     outtab = &amp;lt;outtab&amp;gt;.
      CATCH cx_xslt_exception INTO xslt_error.
        xslt_message = xslt_error-&amp;gt;get_text( ).
    ENDTRY.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. fill the variables, in the following section of the code in the report program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;move: &amp;lt;cube/query name&amp;gt; to rpt_tech_id .
MOVE: '0CALDAY'  TO wa_var-vnam ,
  'I' TO wa_var-sign,
  'EQ' TO wa_var-opt, 
  &amp;lt;variable value&amp;gt; TO wa_var-low .
APPEND wa_var TO var .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 06:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982895#M72322</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-27T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982896#M72323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja,&lt;/P&gt;&lt;P&gt;      I gave the type spec as TYPE but when I define the cube name with the query name it gives the following error-"only use '/' as a namespace delimiter", example the one I named is Y_SCM_MP1/ZSD_MP02_ORDSTS. &lt;/P&gt;&lt;P&gt;      Secondly when I go to transaction SE38 what are the steps involved in writing a source code. I defined my program name as ZCWS but what do I need to enter into the next page with type, status, application, authorization group. Once I enter this I can copy and insert the code you mentioned with the changed given.&lt;/P&gt;&lt;P&gt;Please let me know asap and at your convenience&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 13:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982896#M72323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T13:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982897#M72324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;I gave the type spec as TYPE but when I define the cube name with the query name it gives the following error-"only use '/' as a namespace delimiter", example the one I named is Y_SCM_MP1/ZSD_MP02_ORDSTS.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you meanto say that you typed in "Y_SCM_MP1/ZSD_MP02_ORDSTS" when you were creating a query in the BW query designer? there you will just give ZSD_MP02_ORDSTS . only when passing this value to the FM you will give it in cbe/query format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;SE38&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;type - executable program (1)&lt;/P&gt;&lt;P&gt;and give a description in the description field and hit save. thats all you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the next screen paste the code and modify the same as explained in the previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 10:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982897#M72324</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-28T10:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982898#M72325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja,&lt;/P&gt;&lt;P&gt;        I named cube/query i.e. Y_SCM_MP1/ZSD_MP02_ORDSTS not in the query designer but while defining it in the import tab in the function module as follows: &lt;/P&gt;&lt;P&gt;Y_SCM_MP1/ZSD_MP02_ORDSTS  TYPE CHAR50 PASS VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an other question, do I need to create 3 other function modules under the same function group as I have 3 to 4 reports built on a third party tool. &lt;/P&gt;&lt;P&gt;Note: these 4 queries I am building on BW is from the same multicube. So am I supposed to define 4 queries in the same import tab or create 4 different function modules under same function group or different again??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2005 14:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982898#M72325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-28T14:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982899#M72326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it has to be query_name and during runtime you will pass the cube/queryname to this parameter. thats where you are making a mistake. and you just have to create one FM, everytime you call this FM pass a different query name to this function. thats the whole purpose of this FM.&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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2005 06:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982899#M72326</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-07-29T06:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982900#M72327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja,&lt;/P&gt;&lt;P&gt;      I created the same way as you described in your weblog except that I changed the name of the function module. Now I have 4 to 5 queries on the same multicube which are generated in Websphere portal. So the Java programmers can call the same function module but giving 5 different query names as their import parameters and since the table parameter (0CALDAY) is already taken care of on the BW code, they can build 5 different java codes and run the portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I right??&lt;/P&gt;&lt;P&gt;Nikki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982900#M72327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-02T16:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/RFC - Function module code explanation-VERY URGENT!!!!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982901#M72328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are right. use the same function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for query 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call the fm and pass query1 name and variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for query 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call the same fm and pass query2 name and variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;since the table parameter (0CALDAY) is already taken care of on the BW code&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it same for allthe queries, table parameter has to be filled each time with that particular query's variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2005 19:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rfc-function-module-code-explanation-very-urgent/m-p/982901#M72328</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-02T19:45:00Z</dc:date>
    </item>
  </channel>
</rss>

