<?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: Regarding Incompletion Log in VA01 using ABAP Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242557#M1382385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of using WAIT use 'SET UPDATE TASK LOCAL' before call the create bapi.. much less uncool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Mar 2010 08:05:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-21T08:05:39Z</dc:date>
    <item>
      <title>Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242549#M1382377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to capture the Incompletion log in VA01 ( viewed as VA01 -&amp;gt; Edit -&amp;gt; Incompletion Log ) through ABAP Coding.&lt;/P&gt;&lt;P&gt;I have used the Function Module BAPI_SALESORDER_CREATEFROMDAT1 to create a sales order ( which internally calls VA01 ).&lt;/P&gt;&lt;P&gt;Is there any method to display the incompletion log using this function module or using ABAP Coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise. I have searched a lot on this issue but not able to get any fruitful solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Bhavika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 08:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242549#M1382377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-15T08:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242550#M1382378</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 guess you can capture the error in return parameter as far as incompletion log is concerned please look in details into the tables parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nabheet Madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 08:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242550#M1382378</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2009-10-15T08:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242551#M1382379</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;The incompletion log is not returned from this BAPI however you can select the incompletion log data by going to table VBUV and using the order number / other key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 08:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242551#M1382379</guid>
      <dc:creator>david_lees</dc:creator>
      <dc:date>2009-10-15T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242552#M1382380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried fetching data from Table VBUV in my code.&lt;/P&gt;&lt;P&gt;When i am running the in debug mode, the data is getting fetched from VBUV but when the report is not run in debug mode, the select statement for VBUV is not giving any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find the Select statement used in my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          SELECT *&lt;/P&gt;&lt;P&gt;          FROM VBUV&lt;/P&gt;&lt;P&gt;          INTO TABLE IT_VBUV&lt;/P&gt;&lt;P&gt;          WHERE VBELN IN WV_SDOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Bhavika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 12:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242552#M1382380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242553#M1382381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately without seeing your entire program and the parameters with which you are running it with Iu2019m not able to give you an exact answer. If data is being selected from VBUV in debug but then disappearing it suggests that either your internal table IT_VBUV is a local data object and not globally declared or it is being refreshed further on in the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check where IT_VBUV is declared and where you are analysing it from e.g. within the same program, function group or from one object to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 12:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242553#M1382381</guid>
      <dc:creator>david_lees</dc:creator>
      <dc:date>2009-10-16T12:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242554#M1382382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just now i have observed while debugging that the select statement is not fetching data for the particular order created but if i select for all the previous orders, it is showing them all except for the current order created. I think there is some delay in the updation of table VBUV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the part of the code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            ORDER_HEADER_IN = L_HEADER&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            SALESDOCUMENT   = L_SALESDOCUMENT&lt;/P&gt;&lt;P&gt;            RETURN          = L_RETURN&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            ORDER_ITEMS_IN  = I_ITEMS&lt;/P&gt;&lt;P&gt;            ORDER_PARTNERS  = I_PARTNERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            WAIT = '4'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF L_SALESDOCUMENT IS INITIAL.&lt;/P&gt;&lt;P&gt;          MESSAGE E028 WITH L_RETURN-MESSAGE.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WV_SDOC-LOW = L_SALESDOCUMENT.&lt;/P&gt;&lt;P&gt;          WV_SDOC-HIGH = L_SALESDOCUMENT.&lt;/P&gt;&lt;P&gt;          WV_SDOC-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;          WV_SDOC-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;          APPEND WV_SDOC.&lt;/P&gt;&lt;P&gt;          CLEAR WV_SDOC.&lt;/P&gt;&lt;P&gt;          IF IT_VBUV[] IS INITIAL.&lt;/P&gt;&lt;P&gt;            SELECT *&lt;/P&gt;&lt;P&gt;            FROM VBUV&lt;/P&gt;&lt;P&gt;            INTO TABLE IT_VBUV&lt;/P&gt;&lt;P&gt;            WHERE VBELN IN WV_SDOC.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          LOOP AT IT_VBUV.&lt;/P&gt;&lt;P&gt;            IF IT_VBUV-VBELN = L_SALESDOCUMENT.&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'TB_DATAELEMENT_GET_TEXTS'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  NAME        = IT_VBUV-FDNAM&lt;/P&gt;&lt;P&gt;                IMPORTING&lt;/P&gt;&lt;P&gt;                  DESCRIPTION = WV_DESCRIPTION&lt;/P&gt;&lt;P&gt;                  TEXT_LONG   = WV_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              IF WV_LOG_TEXT IS INITIAL.&lt;/P&gt;&lt;P&gt;                CONCATENATE TEXT-003 ':' WV_TEXT INTO WV_LOG_TEXT.&lt;/P&gt;&lt;P&gt;                CLEAR : WV_DESCRIPTION,&lt;/P&gt;&lt;P&gt;                        WV_TEXT.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                CONCATENATE WV_LOG_TEXT ',' WV_TEXT INTO WV_LOG_TEXT.&lt;/P&gt;&lt;P&gt;                CLEAR : WV_DESCRIPTION,&lt;/P&gt;&lt;P&gt;                        WV_TEXT.&lt;/P&gt;&lt;P&gt;              ENDIF.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;            CLEAR IT_VBUV.&lt;/P&gt;&lt;P&gt;          ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Bhavika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 12:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242554#M1382382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T12:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242555#M1382383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a common issue, usually more so if you are calling one BAPI after another and the subsequent BAPI is dependent upon the first. If you require the VBUV data immediately after the BAPI then your only solution is to use the WAIT up to u2026 statement. Be very careful using this however. If orders are created all ok and with no missing data then you wonu2019t have any entries in the VBUV as by its very nature the order wonu2019t be u2018incompleteu2019.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you expecting for the order to always be incomplete? If so then WAIT is your only option else alternatively and perhaps a better approach would be to just interpret the RETURN table from the BAPI for errors or select data from VBUV later on when it is required and everything has been saved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps the WAIT parameter in BAPI_TRANSACTION_COMMIT is just a flag, youu2019ve got a u20184u2019 in your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 12:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242555#M1382383</guid>
      <dc:creator>david_lees</dc:creator>
      <dc:date>2009-10-16T12:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242556#M1382384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is solved. Thanks for your quick replies and providing me with the solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Bhavika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 13:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242556#M1382384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T13:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Incompletion Log in VA01 using ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242557#M1382385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of using WAIT use 'SET UPDATE TASK LOCAL' before call the create bapi.. much less uncool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Mar 2010 08:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-incompletion-log-in-va01-using-abap-code/m-p/6242557#M1382385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-21T08:05:39Z</dc:date>
    </item>
  </channel>
</rss>

