<?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: new sapscript for VT02N in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829358#M353588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;thanks for the tip. &lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;The problem lies in here&amp;lt;/u&amp;gt;:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM SCD_COST_INFO_INTERFACE_FILL in program SAPMV56A &lt;/P&gt;&lt;P&gt;USING vttkvb-tknum&lt;/P&gt;&lt;P&gt;CHANGING l_shipment_data&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SCD_COST_INFO_SHIPMENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_shipment_data = l_shipment_data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   i_opt_dialog    = false&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_OPT_BATCH_MODE = 'X'&lt;/P&gt;&lt;P&gt;    i_opt_sim       = 3&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_RESULT        = l_result&lt;/P&gt;&lt;P&gt;    E_RESULT_WAERS  = l_result_waers&lt;/P&gt;&lt;P&gt;    E_ERRORS_OCCURED = l_errors_occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow of the program passes through the Z print program but the sentence&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM SCD_COST_INFO_INTERFACE_FILL ....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;does not populate "l_shipment_data".&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Why does it work for display sapscript from screen but not when i save a new message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2007 09:10:26 GMT</pubDate>
    <dc:creator>former_member182371</dc:creator>
    <dc:date>2007-01-18T09:10:26Z</dc:date>
    <item>
      <title>new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829353#M353583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the print program i´using is Z_RVADRT01 (copy of RVADTR01)&lt;/P&gt;&lt;P&gt;and the sapscript form is Z_SD_SHIPMENT (copy of SD_SHIPMENT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Z print program i use the following code to get the simulated&lt;/P&gt;&lt;P&gt;price:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SCD_COST_INFO_SHIPMENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_shipment_data = l_shipment_data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   i_opt_dialog    = false&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_OPT_BATCH_MODE = 'X'&lt;/P&gt;&lt;P&gt;    i_opt_sim       = 3&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_RESULT        = l_result&lt;/P&gt;&lt;P&gt;    E_RESULT_WAERS  = l_result_waers&lt;/P&gt;&lt;P&gt;    E_ERRORS_OCCURED = l_errors_occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note here that we´re in batch mode(I_OPT_BATCH_MODE = 'X')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IMG i believe i´ve assigned correctly the message class &lt;/P&gt;&lt;P&gt;to the print program, routine and sapscript form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i display a message already created there´s no problem ... &lt;/P&gt;&lt;P&gt;but &lt;U&gt;when i use transaction VT02N and generate a new message by&lt;BR /&gt;saving, the flow of the program does not pass through&lt;BR /&gt; Z print program thus losing the data i´m interested in&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829353#M353583</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2007-01-18T08:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829354#M353584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;DId you change the Form name in NACE?&lt;/P&gt;&lt;P&gt;Probably you forgot to change the Z form name in NACE and it holds the standard form still.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829354#M353584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829355#M353585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; ive checked it and the form name in NACE it´sOK.&lt;/P&gt;&lt;P&gt;When i save in a new message in VT02N flow of the&lt;/P&gt;&lt;P&gt;program passes through and SAPDV70A and SAPMV56A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829355#M353585</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2007-01-18T08:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829356#M353586</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;in program Z_RVADRT01, in the entry routine defined in NACE, add this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:
  wait type flag value 'X'.
while wait is not initial.
endwhile.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save document to create message. Transaction SM50 should show the process for  Z_RVADRT01. Put program into debug mode from SM50. Clear field wait and step through code to see what's happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't see the process, something may be wrong with NACE.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829356#M353586</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-01-18T08:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829357#M353587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when i click save for creating a new message in VT02N i´m in a update task (LUW).&lt;/P&gt;&lt;P&gt;in the flow of the print program i use the following fm:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SCD_COST_INFO_SHIPMENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_shipment_data = l_shipment_data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   i_opt_dialog    = false&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_OPT_BATCH_MODE = 'X'&lt;/P&gt;&lt;P&gt;    i_opt_sim       = 3&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_RESULT        = l_result&lt;/P&gt;&lt;P&gt;    E_RESULT_WAERS  = l_result_waers&lt;/P&gt;&lt;P&gt;    E_ERRORS_OCCURED = l_errors_occurred.&lt;/P&gt;&lt;P&gt;This fm creates a new update task (LUW).&lt;/P&gt;&lt;P&gt;is this the reason for my not being able to debugg the print program?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829357#M353587</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2007-01-18T08:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: new sapscript for VT02N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829358#M353588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;thanks for the tip. &lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;The problem lies in here&amp;lt;/u&amp;gt;:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM SCD_COST_INFO_INTERFACE_FILL in program SAPMV56A &lt;/P&gt;&lt;P&gt;USING vttkvb-tknum&lt;/P&gt;&lt;P&gt;CHANGING l_shipment_data&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_SCD_COST_INFO_SHIPMENT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_shipment_data = l_shipment_data&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   i_opt_dialog    = false&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    I_OPT_BATCH_MODE = 'X'&lt;/P&gt;&lt;P&gt;    i_opt_sim       = 3&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    E_RESULT        = l_result&lt;/P&gt;&lt;P&gt;    E_RESULT_WAERS  = l_result_waers&lt;/P&gt;&lt;P&gt;    E_ERRORS_OCCURED = l_errors_occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow of the program passes through the Z print program but the sentence&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PERFORM SCD_COST_INFO_INTERFACE_FILL ....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;does not populate "l_shipment_data".&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Why does it work for display sapscript from screen but not when i save a new message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 09:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-sapscript-for-vt02n/m-p/1829358#M353588</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2007-01-18T09:10:26Z</dc:date>
    </item>
  </channel>
</rss>

