<?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: Problem with CALL Transaction syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003443#M1495572</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;Note that the code as different Parameter id &lt;/P&gt;&lt;P&gt;you are setting the parameter 'ANR' &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Where as in that method it is reading the parameter id 'BR1' &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so try by setting  the 'BR1' in set parameter.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  ELSEIF rs_selfield-fieldname = 'AUFNR'.
     READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.
        CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 11:46:03 GMT</pubDate>
    <dc:creator>I066686</dc:creator>
    <dc:date>2010-06-22T11:46:03Z</dc:date>
    <item>
      <title>Problem with CALL Transaction syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003442#M1495571</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;I have created  a report in which Im displaying Sales order, planned order n production order details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the output if the user double clicks, anyone of the sales order/planned order/production order no, it has to take to concern transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales order and planned order are perfectly working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is with production order, it is not displaying, the exact order no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHEN '&amp;amp;IC1'.
      IF rs_selfield-fieldname = 'VBELN'.
     READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex
              .
        SET PARAMETER ID 'AUN' FIELD wa_final_so-vbeln.
        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.

      ELSEIF rs_selfield-fieldname = 'PLNUM'.
     READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'PAF' FIELD wa_final_so-plnum.
        CALL TRANSACTION 'MD13' AND SKIP FIRST SCREEN.

      ELSEIF rs_selfield-fieldname = 'AUFNR'.
     READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
        CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugging I checked, after call transaction, the system executing the following code, here CAUFVD-AUFNR is initial.&lt;/P&gt;&lt;P&gt;So, it has been picking some different no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  *&amp;amp;----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Starten Batchrezept über Einsatzplanung - DO-THANH&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  *----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------" /&gt;&lt;P&gt;  MODULE GET_PARAMETER OUTPUT.&lt;/P&gt;&lt;P&gt;    IF CAUFVD-AUFNR IS INITIAL.&lt;/P&gt;&lt;P&gt;      GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.&lt;/P&gt;&lt;P&gt;      IF NOT *CAUFVD-AUFNR IS INITIAL.&lt;/P&gt;&lt;P&gt;        CAUFVD-AUFNR = *CAUFVD-AUFNR.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDMODULE.                             " GET_PARAMETER  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me how to resolve the above problem.&lt;/P&gt;&lt;P&gt;Valuable suggesstion will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003442#M1495571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T11:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CALL Transaction syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003443#M1495572</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;Note that the code as different Parameter id &lt;/P&gt;&lt;P&gt;you are setting the parameter 'ANR' &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Where as in that method it is reading the parameter id 'BR1' &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so try by setting  the 'BR1' in set parameter.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  ELSEIF rs_selfield-fieldname = 'AUFNR'.
     READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.
        CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003443#M1495572</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-06-22T11:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with CALL Transaction syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003444#M1495573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your analysis (also based on COR3 transaction ) it is clearly a Process Order, But you are setting value to Production order Parameter id. so change the code as below instead of setting the value to ANR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore my post, it is already given in previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jun 22, 2010 7:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-call-transaction-syntax/m-p/7003444#M1495573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-22T11:49:20Z</dc:date>
    </item>
  </channel>
</rss>

