<?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: Call Transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258575#M1016391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;1. but this processing is foreground .. all the screen of the Transaction appears on the Sreen.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using All screen mode. Use No screen mode. Then it will not run in Foreground.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2008 07:14:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-06T07:14:58Z</dc:date>
    <item>
      <title>Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258573#M1016389</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 want to call the customised (z)transaction which executes shop material ... &lt;/P&gt;&lt;P&gt;the requirement is like i need to CALL this transaction programitically (CALL TRANSACTION ZXXXX)&lt;/P&gt;&lt;P&gt;and do all the processing of the screen in bacground .. and complete the transaction.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this i have thought of the folloging solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZMMX' USING bdcdata_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i need to fill the BDC_DATA with my screen number and field values etc.... like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA class_name TYPE c LENGTH 30 VALUE 'CL_SPFLI_PERSISTENT'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: bdcdata_wa  TYPE bdcdata, &lt;/P&gt;&lt;P&gt;      bdcdata_tab TYPE TABLE OF bdcdata. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA opt TYPE ctu_params. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR bdcdata_wa. &lt;/P&gt;&lt;P&gt;bdcdata_wa-program  = 'SAPLSEOD'. &lt;/P&gt;&lt;P&gt;bdcdata_wa-dynpro   = '1000'. &lt;/P&gt;&lt;P&gt;bdcdata_wa-dynbegin = 'X'. &lt;/P&gt;&lt;P&gt;APPEND bdcdata_wa TO bdcdata_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR bdcdata_wa. &lt;/P&gt;&lt;P&gt;bdcdata_wa-fnam = 'BDC_CURSOR'. &lt;/P&gt;&lt;P&gt;bdcdata_wa-fval = 'SEOCLASS-CLSNAME'. &lt;/P&gt;&lt;P&gt;APPEND bdcdata_wa TO bdcdata_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR bdcdata_wa. &lt;/P&gt;&lt;P&gt;bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'. &lt;/P&gt;&lt;P&gt;bdcdata_wa-fval = class_name. &lt;/P&gt;&lt;P&gt;APPEND bdcdata_wa TO bdcdata_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. but this processing is foreground .. all the screen of the Transaction appears on the Sreen.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.one more problem is on the first screen of the CALL TRANSACTION ZXXXX ... &lt;/P&gt;&lt;P&gt;PUSHBUTTONS to go to next screen and fill the required values ....&lt;/P&gt;&lt;P&gt;so how can i fill the field --&amp;gt;bdcdata_wa-fval = 'SEOCLASS-CLSNAME' and  bdcdata_wa-fval = class_name. &lt;/P&gt;&lt;P&gt;as shown above .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, provide the suitable solutions for the above two points or other better solution is welcomed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 06:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258573#M1016389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T06:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258574#M1016390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look F1 to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL TRANSACTION tcode USING bdcdata &lt;STRONG&gt;MODE mod&lt;/STRONG&gt; MESSAGES INTO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258574#M1016390</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2008-08-06T07:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258575#M1016391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;1. but this processing is foreground .. all the screen of the Transaction appears on the Sreen.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using All screen mode. Use No screen mode. Then it will not run in Foreground.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258575#M1016391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T07:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258576#M1016392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you do not want the screens displayed while BDC processing choose the MODE as 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSACTION tcode USING bdcdata MODE 'N' MESSAGES INTO t_bdcmsgcoll.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N -&amp;gt; No Screen Mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default it is All Screen Mode(A), which shows all the screens.&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;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258576#M1016392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T07:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258577#M1016393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, there should be an action by screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

 'BDC_OKCODE'      '/00'

&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;Once this is done, you should use the addition MODE of the statement CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information of this addition, just go to abap editor, position the cursor on the call statement, and then press F1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODE possible values
E : display only in case of error
N : No display
A : all display 
&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;So there can be different screens in the table bdcdata and each of them need a BDC_OKCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258577#M1016393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T07:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258578#M1016394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To process the call transaction in background use mode N addition with ur call transaction statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'ZMMX' USING bdcdata_tab MODE 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the button value pass OKCODE value.&lt;/P&gt;&lt;P&gt;CLEAR bdcdata_wa.&lt;/P&gt;&lt;P&gt;bdcdata_wa-fnam = 'BDC_OKCODE'.&lt;/P&gt;&lt;P&gt;bdcdata_wa-fval = 'OK_code value'.&lt;/P&gt;&lt;P&gt;APPEND bdcdata_wa TO bdcdata_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joyjit Ghosh on Aug 6, 2008 9:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258578#M1016394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T07:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Call Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258579#M1016395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Addition BDC_CURSOR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not mandatory...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 07:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/4258579#M1016395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T07:20:30Z</dc:date>
    </item>
  </channel>
</rss>

