<?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: Output control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824515#M351941</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;It is working fine now. I missed in doing fine tuning for purchase order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jan 2007 00:51:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-06T00:51:32Z</dc:date>
    <item>
      <title>Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824502#M351928</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 developed the SAPscript for PO and created the output type by assigning the access sequence. Now the problem when creating or changed the PO  if the net amount is more than 5000 then it has to print and if it is less than 5000 then sapscript need to print. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. can i assign the same print program(standrd) and SAPscript in one output type with different media &lt;/P&gt;&lt;P&gt;2. where to shift the output media based on the total item value LS or GT 5000. Is it possible to switch the output media. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 16:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824502#M351928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T16:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824503#M351929</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;Both greater than and less than looks like the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PO if the net amount is more than 5000 then it has to print and if it is less than 5000 then sapscript need to print.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824503#M351929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824504#M351930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is less than 5000 then it has to fax and if it is grater than 5000 it has to print. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824504#M351930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824505#M351931</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;Try this solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the print program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the value is greater than 5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then change the ITCPO structure accordingly...Use that when calling the FM OPEN_FORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate the following structure for the fax..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITCPO-tdteleland = 'Country'&lt;/P&gt;&lt;P&gt;ITCPO-tdtelenum = 'Fax number'&lt;/P&gt;&lt;P&gt;LVF_DEVICE = 'TELEFAX'.&lt;/P&gt;&lt;P&gt;        LVS_ITCPO-TDSENDDATE = NAST-VSDAT.&lt;/P&gt;&lt;P&gt;        LVS_ITCPO-TDSENDTIME = NAST-VSURA.&lt;/P&gt;&lt;P&gt;        LVS_ITCPO-TDFAXUSER  = NAST-USNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            DEVICE             = LVF_DEVICE&lt;/P&gt;&lt;P&gt;            DIALOG             = ' '&lt;/P&gt;&lt;P&gt;            FORM               = TNAPR-FONAM&lt;/P&gt;&lt;P&gt;            LANGUAGE           = NAST-SPRAS&lt;/P&gt;&lt;P&gt;            OPTIONS            = LVS_ITCPO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824505#M351931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824506#M351932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But i am using the standard print program and i need to control output meida while saving or changing the PO. Is it posible to contarol in routines or in user exit.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while saving or creating time the output type will be determine at this point i would like to chnage the media based on the above condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824506#M351932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824507#M351933</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;Okay..If it is a standard sap print program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;Create two output types..One for fax and one for print output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign these output types to the same procedure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Have two new vofm routines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one routine..Propose the output type if the net value is greater than 5000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another routine..Propose the output type if the net value is lesser than 5000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824507#M351933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824508#M351934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two output types..One for fax and one for print output..&lt;/P&gt;&lt;P&gt;Assign output types to the same procedure..&lt;/P&gt;&lt;P&gt;Have two new VOFM routines..&lt;/P&gt;&lt;P&gt;In one routine the output type is print if the net value is greater than 5000.&lt;/P&gt;&lt;P&gt;In other routine the output type is fax if the net value is less than 5000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824508#M351934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T17:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824509#M351935</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 will reward the points but last question is the net value available for routines or i have select from EKPO and sum all the net values of items. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 18:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824509#M351935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T18:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824510#M351936</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;Since the NETWR field is not available in the EKKO table..you have to get the value from the memory..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example code to get the net value&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;fs_komp&amp;gt; TYPE KOMP.&lt;/P&gt;&lt;P&gt;data: lv_field(50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lv_field = '(SAPLMEPO)KOMP'.&lt;/P&gt;&lt;P&gt;  ASSIGN (lv_field) TO &amp;lt;fs_komp&amp;gt;.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lv_field = '(SAPMM06E)KOMP'.&lt;/P&gt;&lt;P&gt;    ASSIGN (lv_field) TO &amp;lt;fs_komp&amp;gt;.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check the net value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF &amp;lt;FS_KOMP&amp;gt;-NETWR &amp;gt; '5000'.&lt;/P&gt;&lt;P&gt;    SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    SY-SUBRC = 4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 18:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824510#M351936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T18:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824511#M351937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was very help full &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My last question can't we consolidate two output types into one and change the media ( fax or print).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Naidu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 19:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824511#M351937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T19:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824512#M351938</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;If we can change the print program..Then we can try changing the NAST structure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not ..I am not sure how to do it one output type..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 19:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824512#M351938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824513#M351939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have created to out put types and assigned to the same procedure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then created two routines and assigned to above two output types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In this case it is taking print out  output type workign fine but fax one is praposing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; could please tell me if i am doing any wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Note: i have created one outtype and copied the same to created the second output type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824513#M351939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824514#M351940</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;Did you add the code to the routines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post the code that you have in both the routines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 23:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824514#M351940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T23:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824515#M351941</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;It is working fine now. I missed in doing fine tuning for purchase order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for you help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 00:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824515#M351941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T00:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Output control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824516#M351942</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;You are most welcome..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 01:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-control/m-p/1824516#M351942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T01:03:12Z</dc:date>
    </item>
  </channel>
</rss>

