<?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: IDOC:CALL FUNCTION 'TRANSACTION_STATUS' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089214#M1902403</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 can only get ROLLBACK from FM TRANSACTION_ABORT. Put a break point three and check the call stack to fine out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 14:02:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-01T14:02:07Z</dc:date>
    <item>
      <title>IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089213#M1902402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Hi Abaper's&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;I am creating IDOC program using the function module IDOC_INPUT_DESADV1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;IDOC and Inbound delivery has been created successfully created but not able to view inbound delivery. I getting an error like &lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;"Delivery XXXXXX(DELV NO.) does not exist in the database or in the archive"&lt;/STRONG&gt;. No dump in st22. But I am able to create IBD via VL31N.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;I have debug the standard function module. &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;IDOC_INPUT_DESADV1. inside that function module, CALL FUNCTION 'TRANSACTION_STATUS'&amp;nbsp; is there.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;it gives transaction status is "ROLLBACK". How It gets the ROLLBACK/COMMIT WORK status&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Thanks with Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Vallamuthu M.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 13:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089213#M1902402</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2015-06-01T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089214#M1902403</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 can only get ROLLBACK from FM TRANSACTION_ABORT. Put a break point three and check the call stack to fine out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089214#M1902403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-01T14:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089215#M1902404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vallamuthu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not able to track where the FM is called, not directly with the search inside input_deadv1 or thru the where used list.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;vallamuthu madheswaran wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;IDOC and Inbound delivery has been created successfully created but not able to view inbound delivery. &lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't think the above statement is correct. If you are not able to view the doc, then a rollback should have been performed due to an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you check the routine "&lt;SPAN class="L0S52" style="font-size: 10pt;"&gt;perform &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;delivery_create" in IDOC_INPUT_DESADV1 and check the subrc value of the FM GN_DELIVERY_CREATE? This should tell you the problem or you can also run a watchpoint on the variable&amp;nbsp; workflow_result. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Let know if this works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Vikram.M&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089215#M1902404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-01T14:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089216#M1902405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your update.&lt;/P&gt;&lt;P&gt;In se38, I am using, &lt;/P&gt;&lt;P&gt;function module 'IDOC_INBOUND_WRITE_TO_DB' and 'IDOC_START_INBOUND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In IBD, they implemented the badi LE_SHP_DELIVERY_PROC. in that badi they are using FM 'BAPI_BATCH_CREATE'. It returns error message.&lt;/P&gt;&lt;P&gt;If I comment the function module &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'BAPI_BATCH_CREATE' and execute my IDOC program then the FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;'TRANSACTION_STATUS' gives COMMIT_WORK value. otherwise it gives "ROLLBACK" value. but we need the IBD BATCH(BADI) validation also.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;IDOC and Inbound delivery has been created successfully created but not able to view inbound delivery. I getting an error like &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 12px; font-family: inherit; color: #333333; background-position: initial;"&gt;"Delivery XXXXXX(DELV NO.) does not exist in the database or in the archive"&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;. No dump in st22. But I am able to create IBD via VL31N.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks with Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Vallamuthu M. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089216#M1902405</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2015-06-01T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089217#M1902406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I comment the function module &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'BAPI_BATCH_CREATE' and execute my IDOC &lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;from the above statement, I assume that you have a Z implementation of the BADI. If the FM fails, is there a status or a return code (error code) set in the BADI. If yes, that is your problem. If the BADI fails, the I/B delivery will not be created since a rollback will be performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my above statement is true, you need to figure out why the batch FM fails. It could be as simple as not passing some required fields in your idoc which would be used by the batch FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089217#M1902406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-01T15:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC:CALL FUNCTION 'TRANSACTION_STATUS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089218#M1902407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the material has batch, then the BATCH function module gives the return message "BATCH XX exist for this material". in vl31n/VL32N the message displays like status message. But in IDOC it's not created how to rectify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks with Regards,&lt;/P&gt;&lt;P&gt;Vallamuthu M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 04:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-call-function-transaction-status/m-p/11089218#M1902407</guid>
      <dc:creator>vallamuthu_madheswaran2</dc:creator>
      <dc:date>2015-06-02T04:11:39Z</dc:date>
    </item>
  </channel>
</rss>

