<?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: Validation in MIRO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-miro/m-p/2274211#M494338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible using Substitutions and Validations.&lt;/P&gt;&lt;P&gt;You can check for trsansaction code MIRO in the same and write your exit based on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2007 00:02:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-17T00:02:01Z</dc:date>
    <item>
      <title>Validation in MIRO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-miro/m-p/2274210#M494337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FB60 transaction has a substitucion assigned, which verifies accounts&lt;/P&gt;&lt;P&gt;to prevent  that not allowed accounting operations can be registered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This verification is executed using this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Search for the valid accounts for the ICA indicator&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if w_ica ne space.&lt;/P&gt;&lt;P&gt;select * from zctas_reten appending table&lt;/P&gt;&lt;P&gt;ti_ctasreten&lt;/P&gt;&lt;P&gt;where ktopl = w_ktopl&lt;/P&gt;&lt;P&gt;and cta_pasiva = w_hkont&lt;/P&gt;&lt;P&gt;and qsskz = w_ica.&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;Verifies that the expenses account are the allowed&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;loop at bool_data-bseg into bseg&lt;/P&gt;&lt;P&gt;where hkont(1) = '5'&lt;/P&gt;&lt;P&gt;or hkont(1) = '6'.&lt;/P&gt;&lt;P&gt;read table ti_ctasreten&lt;/P&gt;&lt;P&gt;with key cta_activa = bseg-hkont.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message e802(fi) with 'Cta de gasto invalida' bseg-hkont&lt;/P&gt;&lt;P&gt;'para Retenciones de Renta ó ICA'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the search within the table TI_CTASRETEN did not succed, it is not&lt;/P&gt;&lt;P&gt;possible to register the accounting movement and an error message is&lt;/P&gt;&lt;P&gt;generated, this works for the FB60 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem we have is described below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the MIRO transaction (MM module) is executed, a bill document is&lt;/P&gt;&lt;P&gt;generated (MM) also an accountant document (FI).  We require that at the&lt;/P&gt;&lt;P&gt;moment of the accountant document generation, the system executes the same&lt;/P&gt;&lt;P&gt;validation that the FB60 transaction executes (explianed above).  This&lt;/P&gt;&lt;P&gt;can't be realized using the substitution function (as used for the FB60&lt;/P&gt;&lt;P&gt;transaction), because de MM module does not allow Substitutions or&lt;/P&gt;&lt;P&gt;Validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this validation can be implemented for the MIRO transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your collaboration,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 17:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-miro/m-p/2274210#M494337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T17:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Validation in MIRO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-miro/m-p/2274211#M494338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible using Substitutions and Validations.&lt;/P&gt;&lt;P&gt;You can check for trsansaction code MIRO in the same and write your exit based on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2007 00:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-in-miro/m-p/2274211#M494338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-17T00:02:01Z</dc:date>
    </item>
  </channel>
</rss>

