<?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 BAPI to replace batch input of tx. FB08 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582868#M1434644</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 need to reversal FI documents. I have found BAPI's: BAPI_ACC_GL_POSTING_REV_POST and BAPI_ACC_DOCUMENT_REV_POST, but I can't make to work correctly, instead I get the following messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error in document: BKPFF $ QAS300                                      &lt;/P&gt;&lt;P&gt;Document BKPFF 000400002020002010 QAS300 cannot be reversed            &lt;/P&gt;&lt;P&gt;Reversal in component Financial Accounting not possible                &lt;/P&gt;&lt;P&gt;Reversal not possible, accounting document for the ref. does not exist"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? Is there other BAPI or functions module?... Am I passing wrong parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Feb 2010 22:23:25 GMT</pubDate>
    <dc:creator>mayra_cobo</dc:creator>
    <dc:date>2010-02-13T22:23:25Z</dc:date>
    <item>
      <title>BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582868#M1434644</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 need to reversal FI documents. I have found BAPI's: BAPI_ACC_GL_POSTING_REV_POST and BAPI_ACC_DOCUMENT_REV_POST, but I can't make to work correctly, instead I get the following messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Error in document: BKPFF $ QAS300                                      &lt;/P&gt;&lt;P&gt;Document BKPFF 000400002020002010 QAS300 cannot be reversed            &lt;/P&gt;&lt;P&gt;Reversal in component Financial Accounting not possible                &lt;/P&gt;&lt;P&gt;Reversal not possible, accounting document for the ref. does not exist"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? Is there other BAPI or functions module?... Am I passing wrong parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2010 22:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582868#M1434644</guid>
      <dc:creator>mayra_cobo</dc:creator>
      <dc:date>2010-02-13T22:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582869#M1434645</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's really hard to say if you are passing wrong parameters or not without seeing you code. But you should be able to reverse document using BAPI BAPI_ACC_DOCUMENT_REV_POST. Have you checked documentation for this BAPI in SE37? It tells you which fields are mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 00:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582869#M1434645</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2010-02-14T00:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582870#M1434646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Reversal not possible, accounting document for the ref. does not exist"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on above statement, looks like some thing wrong with accounting doc number. Check your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Satyasuresh Donepudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 00:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582870#M1434646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-14T00:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582871#M1434647</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;First try to post reversal manually through the standard transaction. Observe what are all the mandatory parameters need to be passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then proceed with the similar way by passing all the parameters to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you to find out the missing/ incorrect parameters !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 03:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582871#M1434647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-14T03:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582872#M1434648</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 am currently doing a program using this BAPI as well. Unfortunately, it generates an error 'Required field OBJ_KEY_R was not transferred in parameter REVERSAL'. This field is suppose to be the reversing  document number. This doc number is generated only after the BAPI execution. I want to ask your help why this is as required field in the inmporting parameter of the BAPI. If this reversal BAPI fails, my PLAN B is BDC processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone processed this BAPI successfully before? Any information will be highly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rhea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 09:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582872#M1434648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582873#M1434649</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 have some progress but still have not accounted the reversal document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing by "Test Sequences"  in transaction SE37 these BAPIs: &lt;/P&gt;&lt;P&gt;1. BAPI_ACC_DOCUMENT_REV_POST &lt;/P&gt;&lt;P&gt;2. BAPI: BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first one, the import parameter data is:&lt;/P&gt;&lt;P&gt;REVERSAL-OBJ_TYPE          BKPF               &lt;/P&gt;&lt;P&gt;REVERSAL-OBJ_KEY           000400000720002010 &lt;/P&gt;&lt;P&gt;REVERSAL-OBJ_SYS           QAS300             &lt;/P&gt;&lt;P&gt;REVERSAL-OBJ_KEY_R       000400000720002010 &lt;/P&gt;&lt;P&gt;BUS_ACT                              RFBU &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the export parameters and RETURN table, it shows:&lt;/P&gt;&lt;P&gt;OBJ_TYPE                            BKPF                   &lt;/P&gt;&lt;P&gt;OBJ_KEY                              000400000720002010     &lt;/P&gt;&lt;P&gt;OBJ_SYS                              QAS300                 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN-TYPE                       S                                         &lt;/P&gt;&lt;P&gt;RETURN-ID                             RW                                        &lt;/P&gt;&lt;P&gt;RETURN-NUMBER                  605                                       &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE               Document posted successfully: BKPF 000400000720002010 QAS300 &lt;/P&gt;&lt;P&gt;RETURN-LOG_NO                                                                   &lt;/P&gt;&lt;P&gt;RETURN-LOG_MSG_NO       000000                                    &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V1        BKPF                                      &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V2        000400000720002010                        &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V3        QAS300                                    &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V4                                                               &lt;/P&gt;&lt;P&gt;RETURN-PARAMETER                                                                &lt;/P&gt;&lt;P&gt;RETURN-ROW                       0                                 &lt;/P&gt;&lt;P&gt;RETURN-FIELD                                                                    &lt;/P&gt;&lt;P&gt;RETURN-SYSTEM                 QAS300                                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second one, the import parameter data is:&lt;/P&gt;&lt;P&gt;WAIT                                     X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the RETURN table it shows:&lt;/P&gt;&lt;P&gt;RETURN-TYPE                        E                                 &lt;/P&gt;&lt;P&gt;RETURN-ID                             S&amp;amp;                                &lt;/P&gt;&lt;P&gt;RETURN-NUMBER                  150                               &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE                Updating could not be completed   &lt;/P&gt;&lt;P&gt;RETURN-LOG_NO                                                           &lt;/P&gt;&lt;P&gt;RETURN-LOG_MSG_NO         000000                            &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V1                                                       &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V2                                                       &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V3                                                       &lt;/P&gt;&lt;P&gt;RETURN-MESSAGE_V4                                                       &lt;/P&gt;&lt;P&gt;RETURN-PARAMETER                                                        &lt;/P&gt;&lt;P&gt;RETURN-ROW                         0                         &lt;/P&gt;&lt;P&gt;RETURN-FIELD                                                            &lt;/P&gt;&lt;P&gt;RETURN-SYSTEM                    QAS300                            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why? &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to all (even to the ironic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 16:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582873#M1434649</guid>
      <dc:creator>mayra_cobo</dc:creator>
      <dc:date>2010-02-18T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582874#M1434650</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've solved my problem. I'm using BAPI: BAPI_ACC_DOCUMENT_REV_POST, but to test it, you have to do your own program, because by SE37 it doesn't work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code show the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zbc_experimento_153.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : t_reversal LIKE bapiacrev.&lt;/P&gt;&lt;P&gt;DATA : e_otype    LIKE bapiacrev-obj_type,&lt;/P&gt;&lt;P&gt;             e_obkey    LIKE bapiacrev-obj_key,&lt;/P&gt;&lt;P&gt;             e_obsys    LIKE bapiacrev-obj_sys.&lt;/P&gt;&lt;P&gt;DATA : t_retur    LIKE bapiret2 OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_awkey LIKE bkpf-awkey. "document to reversed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_reversal-obj_type   = 'BKPF'.&lt;/P&gt;&lt;P&gt;t_reversal-obj_key    = p_awkey.&lt;/P&gt;&lt;P&gt;t_reversal-obj_sys    = 'QAS300'.&lt;/P&gt;&lt;P&gt;t_reversal-obj_key_r  = p_awkey.&lt;/P&gt;&lt;P&gt;t_reversal-reason_rev = '01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    reversal = t_reversal&lt;/P&gt;&lt;P&gt;    bus_act  = 'RFBU'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    obj_type = e_otype&lt;/P&gt;&lt;P&gt;    obj_key  = e_obkey&lt;/P&gt;&lt;P&gt;    obj_sys  = e_obsys&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    return   = t_retur.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;  COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all and best regards,&lt;/P&gt;&lt;P&gt;Mayra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 14:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582874#M1434650</guid>
      <dc:creator>mayra_cobo</dc:creator>
      <dc:date>2010-02-22T14:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI to replace batch input of tx. FB08</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582875#M1434651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. When using BAPI in se37, you need to execute the FM BAPI_COMMIT_WORK in &lt;/P&gt;&lt;P&gt;sequence of the first bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont do that, The first Function does not change DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In se80, in the group of function you want do execute, right click in the tree ( context menu ) you will&lt;/P&gt;&lt;P&gt;have the option for execute multiple functions in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Att.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 15:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-to-replace-batch-input-of-tx-fb08/m-p/6582875#M1434651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-10T15:40:47Z</dc:date>
    </item>
  </channel>
</rss>

