<?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: ASSERTION_FAILED dump error when using SD_VBUP_READ_FROM_DOC_MULTI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730068#M2020400</link>
    <description>&lt;P&gt;The FM fills internal table of type VBUP out of table VBUP&lt;BR /&gt;-for all items of given SD documents, if it_vbuK_key is provided&lt;/P&gt;&lt;P&gt;-for given items of given SD documents, if it_vbuP_key is provided&lt;/P&gt;&lt;P&gt;But :it's not allowed to provide both tables. &lt;/P&gt;&lt;P&gt;You must decide, if you want to get the status of all items of a document or the status of specific items only. &lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 12:39:35 GMT</pubDate>
    <dc:creator>jens_michaelsen</dc:creator>
    <dc:date>2023-05-08T12:39:35Z</dc:date>
    <item>
      <title>ASSERTION_FAILED dump error when using SD_VBUP_READ_FROM_DOC_MULTI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730066#M2020398</link>
      <description>&lt;P&gt;I am experiencing ASSERTION_FAILED dump error when running my code. &lt;/P&gt;
  &lt;P&gt;Here's my code:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;PRE&gt;&lt;CODE&gt;   DATA: lt_vbuk_key TYPE vbuk_key_tab, &lt;BR /&gt;         lt_vbup_key TYPE vbup_key_tab,&lt;BR /&gt;         lt_vbup     TYPE vbup_t.&lt;BR /&gt;INSERT VALUE #( VBELN = TVBDPL-VBELN ) INTO TABLE LT_VBUK_KEY.&lt;BR /&gt;INSERT VALUE #( VBELN = TVBDPL-VBELN&lt;BR /&gt;                POSNR = TVBDPL-POSNR) INTO TABLE LT_VBUP_KEY.&lt;BR /&gt;  CALL FUNCTION 'SD_VBUP_READ_FROM_DOC_MULTI'&lt;BR /&gt;    EXPORTING&lt;BR /&gt;      it_vbuk_key               = lt_vbuk_key&lt;BR /&gt;      it_vbup_key               = lt_vbup_key&lt;BR /&gt;    IMPORTING&lt;BR /&gt;      et_vbup                   = lt_vbup&lt;BR /&gt;    EXCEPTIONS&lt;BR /&gt;      vbeln_not_found           = 1&lt;BR /&gt;      vbtyp_not_supported       = 2&lt;BR /&gt;      vbobj_not_supported       = 3&lt;BR /&gt;      OTHERS                    = 4.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 May 2023 12:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730066#M2020398</guid>
      <dc:creator>walkerist79</dc:creator>
      <dc:date>2023-05-08T12:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERTION_FAILED dump error when using SD_VBUP_READ_FROM_DOC_MULTI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730067#M2020399</link>
      <description>&lt;P&gt;There's something wrong in the CALL FUNCTION parameters, I guess... a failed assertion is a termination used (in this case) by SAP to prevent further data movements.&lt;/P&gt;&lt;P&gt;Check the DUMP analysis, program details: you will find a line like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;gt;&amp;gt;&amp;gt; assert 1 = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Read the code BEFORE that point, I guess you will find an IF. That's the wrong data detection.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 12:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730067#M2020399</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2023-05-08T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERTION_FAILED dump error when using SD_VBUP_READ_FROM_DOC_MULTI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730068#M2020400</link>
      <description>&lt;P&gt;The FM fills internal table of type VBUP out of table VBUP&lt;BR /&gt;-for all items of given SD documents, if it_vbuK_key is provided&lt;/P&gt;&lt;P&gt;-for given items of given SD documents, if it_vbuP_key is provided&lt;/P&gt;&lt;P&gt;But :it's not allowed to provide both tables. &lt;/P&gt;&lt;P&gt;You must decide, if you want to get the status of all items of a document or the status of specific items only. &lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 12:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730068#M2020400</guid>
      <dc:creator>jens_michaelsen</dc:creator>
      <dc:date>2023-05-08T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: ASSERTION_FAILED dump error when using SD_VBUP_READ_FROM_DOC_MULTI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730069#M2020401</link>
      <description>&lt;P&gt;Basically&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  ASSERT it_vbup_key IS NOT INITIAL AND it_vbuk_key IS INITIAL OR
         it_vbup_key IS INITIAL AND it_vbuk_key IS NOT INITIAL.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So either you pass keys of a list of items or keys of a list of documents, not both. If you pass only keys of documents, it will select every item of those documents.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 07:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assertion-failed-dump-error-when-using-sd-vbup-read-from-doc-multi/m-p/12730069#M2020401</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-05-09T07:14:43Z</dc:date>
    </item>
  </channel>
</rss>

