BAPI_ACC_GL_POSTING_CHECK

Is there anyway to know the line item number from the return parameter of the bapi so that i can delete the line after the check and post the remaining lines.
thanks in advance.

thanks for the replies. I had tried the delete the line item with error KI and balance the document again and post it successfully. But the problem stands for other type of errors as there are no line item numbers.
To my understanding there is no single way to find out the type of error and if it has an line item number in a bapi. So either the whole document has to be posted or the whole document will be an error and then depending on the return parameters we have to check for cleaning the document. Please let me know if i am on the right path.
Just want to make sure before i change the logic.
thanks in advance.

Similar Messages

  • Funnctionality of the function module :BAPI_ACC_GL_POSTING_CHECK

    HI Gurus,
    Please help me in understanding the functionality of the FM   "BAPI_ACC_GL_POSTING_CHECK".
    Also let me know what will be the input parameters required for the same.
    Thanks
    Tausif

    Hi,
      The function module BAPI_ACC_GL_POSTING_CHECK is used to achieve the functionality of simulate button or check button in the transaction FB01. If there are any errors in the document for posting, then the FM will return the errors.
    Following are the parameters which are mandatory.
    DOCUMENTHEADER-USERNAME
    DOCUMENTHEADER-COMP_CODE
    DOCUMENTHEADER-DOC_DATE
    DOCUMENTHEADER-PSTNG_DATE
    DOCUMENTHEADER-FIS_PERIOD
    DOCUMENTHEADER-DOC_TYPE
    ACCOUNTGL-ITEMNO_ACC
    ACCOUNTGL-GL_ACCOUNT.
    Depending the configuration related to the GL account following controlling objects needs to be passed.
    ACCOUNTGL-COSTCENTER
    ACCOUNTGL-PROFIT_CTR
    ACCOUNTGL-WBS_ELEMENT
    The currency amounts for each item needs to be passed in this table
    CURRENCYAMOUNT-ITEMNO_ACC
    CURRENCYAMOUNT-CURRENCY (Currency Key like USD)
    CURRENCYAMOUNT-AMT_DOCCUR (amount).
    The number of entries in ACCOUNTGL and CURRENCYAMOUNT should be same.
    Thanks
    Indira

  • Parameters for BAPI_ACC_GL_POSTING_CHECK

    Hi all,
       please help me.i am not able to pass obj_type and obj_key in the structure BAPIACHE08.what value i have to pass if i am using IDES version.i have seen a solution if the version ECC 6.0.they used BKPFF.what is this.why they using BKPFF.please help me.

    we can find these values in bseg.

  • Return in BAPI_ACC_GL_POSTING_CHECK

    Using this BAPI and booking in different bukrs there are bookings generated with different DocNumbers in every bukrs.
    but there is a general DocNumber coming back in the return which is the like umbrella DocNumber.
    How is the archiving normally handled. is the umbrella DocNumber the one that is used to assign the document to or is the document attached to every single DocNumber?
    can anyone help?
    regards
    Felix Rast

    Hi,
       refer standard program
        SAPF048 -write program  
        SAPF048D -delete program 
        SAPF049  -reload program for archiving of
       Archiving obeject FI_DOCUMNT for accounting document
       also check tranaction AOBJ,SARA,SARI
    Regards
    amole

  • Vendor Invoices/Customer -BAPI

    Hi all
    Equivalnt bapis to postVendor Invoices/Customer Invoices through f-02 transaction.
    we need to post with and without special GL Indicator. Can anyone let me knw which is the suitable bapi with SAMPLE DATA and MANDATORY FIELDS.
    Thanks
    sha

    Hi,
    Pls try these BAPI's...
    <b>BAPI_ACC_GL_POSTING_POST
    BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_GL_POSTING_CHECK
    FI_GET_POSTING_KEY</b>
    BAPI_ACC_GL_POSTING_POST
    More Information about this:
    Text
    Accounting: General G/L Account Posting Functionality
    You can use this method to update business transactions in Accounting which mainly affect the general ledger and are definitely not updated in subledgers which are relevant to the balance sheet.
    An example of this is a provision posting for an expected guarantee service.
    This can be produce debit or credit entries to balances which are not managed in one of the subledgers relevant to the balance sheet. This is especially applicable if the balances cannot be represented as assets, customers/vendors, materials, loans, etc.
    An example of this is a provision posting for an expected guarantee. However, this can also involve depreciation or write-ups in which values have a higher level of summarization than in the corresponding subledger relevant to the balance sheet in which they are managed.
    An example of this is foreign currency revaluation for receivables/ payables caused by considerable exchange rate fluctuations which is not updated in accounts payable or accounts receivable.
    A similar transaction may come about when revaluating balances for raw materials if the revaluation takes place at a corresponding level of summarization.
    The third cateogry is the reclassification of items to balance sheet accounts or income statement accounts, which is only undertaken in the general ledger in order to balance accounts (values are then finally reassigned to financial statement items).
    Example: Reclassifying balances of receivables with different return times for the balance sheet.
    Restrictions:
    This object cannot be used to update business transactions which are normally posted to one of the subledgers which affects the balance sheet (such as a billing document; for this see the business object AcctngBilling).
    This is especially applicable if the reason the relevant subledger cannot be updated is because it is an external system or is not in use.
    Notes
    If the currency fields have been entered in the CurrencyAmount parameter, the system runs a complete check for the document. Otherwise only the account assignment objects are validated.
    Messages are displayed in the Return parameter. You will find the return values and their meanings in the documentation for this parameter.
    Further Information
    For further information, see the documentation on "Interfaces to Accounting" in the R/3 Library (under "Cross-Application Functions -> Interfaces to External Systems").
    Parameters
    DOCUMENTHEADER
    OBJ_TYPE
    OBJ_KEY
    OBJ_SYS
    ACCOUNTGL
    CURRENCYAMOUNT
    RETURN
    EXTENSION1
    Exceptions
    Function Group
    ACC4
    <b>http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Re: BAPI FOR POSTING FBS1 TRANSACTION</b>
    <b>***Reward Points if Useful</b>
    Regards
    Gokul

  • EITHER BAPI OR BDC IS BEST FOR F-02

    Hello Friends,
    Iam doing bdc for f-02 even bapi to but iam stuck in middle. i want to upload data for F-02 using posting keys
    40 and 50.
    iam sending sample code for it can any one rectify and tell me whats wrong with this....
    Iam sending both bapi and bdc code...
    Regards
    Bohra.
    REPORT  ZBDC_TEST no standard page heading line-size 255.
    INCLUDE BDCRECX1.
    PARAMETERS: filename LIKE rlgrap-filename.
    TYPES : BEGIN OF IT_TAB,
            bldat(2),                  " DOC DATE
            blart(2),                  " DOC TYPE
            bukrs(4),                  " COMPANY CODE
            budat(8),                  " POSTING DATE
            waers(5),                  " CURRENCY
            xblnr(16),                 " HEADER REF
            bktxt(50),                 " HEADER TXT
          newbs(2),                  " POSTING KEY
            accnt(16),                 " ACCOUNT
            umskz(1),                  " SPL GENREAL LEDGER
            wrbtr(13),                 " AMOUNT IN FOR CURRENCY
            dmbtr(13),                 " AMOUNT FOR COMPANY CODE INR
            zterm(4),                  " PAYEMENT TERM
            zfbdt(8),                  " BASELINE DATE
            wt_wit(2),                 " WITH TAX CODE
            wt_qs(15),                 " WITH TAX BASE
            wt_qb(15),                 " WITH TAX AMOUNT
            mwskz(2),                  " TAX CODE
            bupla(4),                  " BUSINESS PLACE
          bukrs(4),
            kostl(10),                 " COST CENTER
            acgl_it(12),               " INTERNAL ORDER
            acgl_i(10),                " PROFIT CENTER
          acgl_it(8),               " PERSONAL NO
            zuonr(18),                 " ASSIGNMENT
            xblnr1(16),                                         " REF1
            xblnr2(16),                                         " REF2
            xblnr3(16),                                         " REF3
            sgtxt(50),                 " LINE TEXT
          END OF IT_TAB.
    DATA: IT_TAB1 TYPE TABLE OF IT_TAB.
    DATA: WA_HEAD LIKE LINE OF IT_TAB1.
    data: it_bdcdata like bdcdata occurs 0 with header line.
    data: it_bdcmsgcoll like bdcmsgcoll occurs 0 with header line.
    data: i_error like itab occurs 0 with header line.
    data: i_sucess like itab occurs 0 with header line.
    data: v_flag.
    data: v_msg(200).
    DATA :  w_file1 TYPE string.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR filename.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = filename.
    START-OF-SELECTION.
      w_file1 = filename.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = w_file1
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_tab1.
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
      CLIENT                    = SY-MANDT
       GROUP                     = 'F-02'
       KEEP                      = 'X'
       USER                      = SY-UNAME.
       CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'F-02'
         TABLES
           DYNPROTAB              = IT_TAB1.
           CALL FUNCTION 'BDC_CLOSE_GROUP'.
    RECORDING PROGRAM FOR F-02
      loop at it_tab1 into wa_head.
        perform bdc_dynpro using 'SAPMF05A' '0100'.
        perform bdc_field using 'BDC_CURSOR'
                                'RF05A-NEWKO'.
        perform bdc_field using 'BDC_OKCODE'
                                '/00'.
        perform bdc_field using 'BKPF-BLDAT'
                                 WA_HEAD-BLDAT.
        perform bdc_field using 'BKPF-BLART'
                                'SA'.
        perform bdc_field using 'BKPF-BUKRS'
                                 WA_HEAD-BUKRS.
        perform bdc_field using 'BKPF-BUDAT'
                                 WA_HEAD-BUDAT.
        perform bdc_field using 'BKPF-MONAT'
                                '3'.
        perform bdc_field using 'BKPF-WAERS'
                                 WA_HEAD-WAERS.
        perform bdc_field using 'BKPF-XBLNR'
                                 WA_HEAD-XBLNR.
        perform bdc_field using 'BKPF-BKTXT'
                                 WA_HEAD-BKTXT.
        perform bdc_field using 'FS006-DOCID'
        perform bdc_field using 'RF05A-NEWBS'
                                 WA_HEAD-NEWBS.
        perform bdc_field using 'RF05A-NEWKO'
                                '100100'.
        perform bdc_dynpro using 'SAPMF05A' '0300'.
        perform bdc_field using 'BDC_CURSOR'
                                'RF05A-NEWKO'.
        perform bdc_field using 'BDC_OKCODE'
                                '/00'.
        perform bdc_field using 'BSEG-WRBTR'
                                 WA_HEAD-WRBTR.
        perform bdc_field using 'BSEG-VALUT'
                                '03/27/2006'.
        perform bdc_field using 'BSEG-ZUONR'
                                 WA_HEAD-ZUONR.
        perform bdc_field using 'BSEG-SGTXT'
                                 WA_HEAD-SGTXT.
        perform bdc_field using 'RF05A-NEWBS'
                                 WA_HEAD-NEWBS.
        perform bdc_field using 'RF05A-NEWKO'
                                '574130'.
        perform bdc_field using 'DKACB-FMORE'
                                'X'.
        perform bdc_dynpro using 'SAPLKACB' '0002'.
        perform bdc_field using 'BDC_CURSOR'
                                'COBL-GSBER'.
        perform bdc_field using 'BDC_OKCODE'
                                '=ENTE'.
        perform bdc_field using 'COBL-GSBER'
                                '101'.
        perform bdc_dynpro using 'SAPMF05A' '0300'.
        perform bdc_field using 'BDC_CURSOR'
                                'BSEG-SGTXT'.
        perform bdc_field using 'BDC_OKCODE'
                                '=BP'.
        perform bdc_field using 'BSEG-WRBTR'
                                 WA_HEAD-WRBTR.
        perform bdc_field using 'BSEG-VALUT'
                                '03/27/2006'.
        perform bdc_field using 'BSEG-ZUONR'
                                 WA_HEAD-ZUONR.
        perform bdc_field using 'BSEG-SGTXT'
                                 WA_HEAD-SGTXT.
        perform bdc_dynpro using 'SAPLKACB' '0002'.
        perform bdc_field using 'BDC_CURSOR'
                                'COBL-KOSTL'.
        perform bdc_field using 'BDC_OKCODE'
                                 '=ENTE'.
        perform bdc_field using 'COBL-GSBER'
                                '101'.
        perform bdc_field using 'COBL-KOSTL'
                                 WA_HEAD-KOSTL.
      ENDLOOP.
    BAPI PROGRAM----
    *& Report  ZBAPI_TEST
    REPORT  ZBAPI_TEST.
    DATA: BEGIN OF i_data OCCURS 0,
            text(255),
          END OF i_data.
    DATA: i_fico TYPE BAPIACHE09.
    *DATA: I_FICO1 TYPE BAPIACCR08.
    DATA: I_FICO1 TYPE BAPIACGL09.
    DATA: I_FICO3 TYPE BAPIACCR09.
    DATA: I_FICO2 TYPE BAPIACTX09.
    DATA: P_KEY TYPE BBSEG.
    *DATA: it_TAB LIKE TABLE OF i_fico INITIAL SIZE 0  WITH HEADER LINE.
    HEADER DETAILS FROM BAPI STRUCUTE BAPIACHE09
    DATA: BEGIN OF it_TAB1 OCCURS 0,   " BAPIACHE09
          bldat(8),                    " DOC DATE
          blart(2),                    " DOC TYPE
          bukrs(4),                    " COMPANY CODE
          BUDAT(8),                    " POSTING DATE
          XBLNR(16),                   " HEADER REF
          BKTXT(50),                   " HEADER TXT
          END OF IT_TAB1.
    DATA: it_TAB LIKE TABLE OF BAPIACHE09 INITIAL SIZE 0 WITH HEADER LINE .
    ITEM DETAILS FROM STRUCTURE OF BAPI G/L ACCOUNT ITEM BAPIACGL09.
    DATA: BEGIN OF IT_ITAB3 OCCURS 0,  " BAPIACGL09.
          HKONT(10),                   " General Ledger Account
          SGTXT(50),                   " ITEM TXT
          BUKRS(4),                    " Company Code
          KOSTL(10),                   " COST CENTER
          PRCTR(10),                   " PROFIT CENTER
          END OF IT_ITAB3.
    DETIALS OF CURRENCY ITEMS FROM STRUCTURE OF BAPI BAPIACCR09
    DATA: BEGIN OF IT_iTAB4 OCCURS 0,   " BAPIACCR09
          WAERS(5),                     " CURRENCY
          BAPIWRBTR(23),                " Amount in document currency
          BAPIFWBAS(23),                " Tax Base Amount in Document Currency
          END OF IT_ITAB4.
    TAX ITEM DETAILS FROM BAPI STRUCUTE BAPIACTX09.
    DATA: BEGIN OF IT_ITAB5 OCCURS 0,   " BAPIACTX09.
          MWSKZ(2),                     " Sales Tax Code
          TXJCD(15),                    " Tax Jurisdiction
          ACPI_TXJCD_DEEP(15),          " Tax jurisdiction code - jurisdiction for lowest level tax
          END OF IT_ITAB5.
    THIS IS FROM STRUCTURE BBSEG.
    DATA: BEGIN OF IT_TAB6 OCCURS 0,
          NEWBS(2),                     " Posting Key for the Next Line Item
          NEWUM(1),                     " Special G/L Indicator for the Next Line Item
          DMBTR(16),                    " Amount in local currency (batch input field)
          AUFNR(12),                    " Order Number
          DZUONR(18),                   " Assignment number
          ZTERM(4),                     " Terms of payment key
          ZFBDT(8),                     " Baseline Date.
          END OF IT_TAB6.
    DATA: v_index TYPE i.
    DATA: return TYPE TABLE OF bapiret2 INITIAL SIZE 0 WITH HEADER LINE.
    START-OF-SELECTION.
      CALL FUNCTION 'UPLOAD'
    EXPORTING
      CODEPAGE                      = ' '
      FILENAME                      = ' '
      FILETYPE                      = ' '
      ITEM                          = ' '
      FILEMASK_MASK                 = ' '
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = ' '
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = ' '
      LINE_EXIT                     = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      SILENT                        = 'S'
    IMPORTING
      FILESIZE                      =
      CANCEL                        =
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
        TABLES
          data_tab                      = i_data
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'
    EXPORTING
      DOCUMENTHEADER       =
       TABLES
         ACCOUNTGL            = it_tab1
      CURRENCYAMOUNT       =
         RETURN               = return.
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          DOCUMENTHEADER         =  it_tab
        TABLES
         ACCOUNTGL               = it_Itab3
         ACCOUNTRECEIVABLE       = it_Itab4
      ACCOUNTPAYABLE         =
         ACCOUNTTAX              = it_Itab5
       CURRENCYAMOUNT        =
      CRITERIA               =
      VALUEFIELD             =
      EXTENSION1             =
          RETURN                 =  return.
      loop at return.
        write:/ return-message,return-type.
      endloop.

    Try BAPI_ACC_GL_POSTING_POST.
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
      EXPORTING
        DOCUMENTHEADER       =
        IMPORTING
              OBJ_TYPE             =
              OBJ_KEY              =
              OBJ_SYS              =
      TABLES 
             ACCOUNTGL            =   
            CURRENCYAMOUNT       =   
           RETURN               =
             EXTENSION1           =

  • Postings For FB50 using BAPI's

    Hi All,
    I have one doubt, i am doing batch upload for transaction fb50.
    1)My requirement is that from the flat file i have to check if corresponding
    to one refrence number if the line items in the flat file are more then 999
    then the internal table should break and those 999 line items should get posted.
    And the line items which are after those 999th line item should also get
    posted for that same reference number.
    2)And how will i assure that those 999 line items which are getting posted
    after breakage have the debit and credit amount equal so as them to get
    posted using bapi's and same for the line items after that 999th line item.
    The bapi's i am using are:
    BAPI_ACC_GL_POSTING_CHECK
    BAPI_ACC_GL_POSTING_POST
    BAPI_TRANSACTION_COMMIT
    Kindly help.
    Regards
    Mansi

    Hi Mansi,
    For ur requirement u need to build a logic where for each 999 lines u need to check the debit and credit total and then insert a new line at the 999th position. The amount for the 999th line will be the difference of the total of the debit and total of the credit till 998th line and line type will debit if credit total till 998th line is greater than the debit total till the same number and vice versa..
    Hope this gives u some idea on how to approach this requirement.
    Regards,
    Nikhil Kayal

  • Urgent : Im not able to Post Withholding Tax in "BAPI_ACC_DOCUMENT_POST"

    Hey Guys,
    I am not able to Post Withholding Tax in BAPI "BAPI_ACC_DOCUMENT_POST".
    Can anybody please tell me the alternative ???
    How can i post With holding TAX info with accounting document...is there any other function module to do the same ???
    It's very urgent...only 3 days are left for Project to be Live.
    Please help me ...
    Thanks in advance

    Hi
    Hope it will help you.
    <REMOVED BY MODERATOR>
    BAPI_ACC_GL_POSTING_CHECK
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'
    EXPORTING
    documentheader = w_documentheader
    TABLES
    accountgl = it_accountgl
    currencyamount = it_currencyamount
    return = it_return.
    Populate the corresponding tables with the data you have.
    For the Date do convert it.
    PERFORM convert_date USING it_header-bldat
    CHANGING w_documentheader-doc_date.
    w_documentheader-comp_code = 'z998'
    w_documentheader-doc_type = 'SA'
    "and fill the respective tables this way .
    <b>
    BAPI_ACC_GL_POSTING_POST
    </b>
    call function 'BAPI_ACC_GL_POSTING_POST'
    exporting
    documentheader = doc_header
    IMPORTING
    OBJ_TYPE = l_objtype
    * OBJ_KEY =
    * OBJ_SYS =
    tables
    accountgl = t_accountgl
    currencyamount = t_curramt
    return = t_return
    * EXTENSION1 =
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 10:18 AM

  • BAPI_ACC_INVOICE_RECEIPT_POST problem with Business place

    Hi Experts,
    I'm using the the BAPI  "BAPI_ACC_INVOICE_RECEIPT_POST" for the F-43 posting, it's working fine. But I have a little problem here, Even though I pass the correct values to the fields "Valuation type" and "Business place" in the posted document I could see only "?".
    Could you please some one help me in finding what might be the problem.
    Thanks
    Nivash

    hi
    hope it will help you.
    <REMOVED BY MODERATOR>
    BAPI_ACC_GL_POSTING_CHECK
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'
    EXPORTING
    documentheader = w_documentheader
    TABLES
    accountgl = it_accountgl
    currencyamount = it_currencyamount
    return = it_return.
    Populate the corresponding tables with the data you have.
    For the Date do convert it.
    PERFORM convert_date USING it_header-bldat
    CHANGING w_documentheader-doc_date.
    w_documentheader-comp_code = 'z998'
    w_documentheader-doc_type = 'SA'
    "and fill the respective tables this way .
    <b>
    BAPI_ACC_GL_POSTING_POST
    </b>
    call function 'BAPI_ACC_GL_POSTING_POST'
    exporting
    documentheader = doc_header
    IMPORTING
    OBJ_TYPE = l_objtype
    * OBJ_KEY =
    * OBJ_SYS =
    tables
    accountgl = t_accountgl
    currencyamount = t_curramt
    return = t_return
    * EXTENSION1 =
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 9:51 AM

  • BAPI_ACC_INVOICE_RECEIPT_POST with bschl

    Hi
    How to create an invoice by FM BAPI with parameter Posting key?

    hi
    hope it will help you.
    <REMOVED BY MODERATOR>
    BAPI_ACC_GL_POSTING_CHECK
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'
    EXPORTING
    documentheader = w_documentheader
    TABLES
    accountgl = it_accountgl
    currencyamount = it_currencyamount
    return = it_return.
    Populate the corresponding tables with the data you have.
    For the Date do convert it.
    PERFORM convert_date USING it_header-bldat
    CHANGING w_documentheader-doc_date.
    w_documentheader-comp_code = 'z998'
    w_documentheader-doc_type = 'SA'
    "and fill the respective tables this way .
    <b>
    BAPI_ACC_GL_POSTING_POST
    </b>
    call function 'BAPI_ACC_GL_POSTING_POST'
    exporting
    documentheader = doc_header
    IMPORTING
    OBJ_TYPE = l_objtype
    * OBJ_KEY =
    * OBJ_SYS =
    tables
    accountgl = t_accountgl
    currencyamount = t_curramt
    return = t_return
    * EXTENSION1 =
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 9:51 AM

  • Validation of SC/PO

    Hi all,
    I am doing FI validation in SRM 4.0.Actually i am getting error based on the GL account and company code at line item which are based on the costcenter or internal order or WBS using...for this i am using FM BAPI_ACC_GL_POSTING_CHECK(RFC enabled) from R3 to SRM.the error message i am getting i was populating while creating SC/PO in the DOC_CHECK_BADI ..One strange thing is for testing i have commented the code in DOC_CHECK_BADI still i am getting the error based on GL account and company code ..firstly i thought i might be some other error but this is the same error i am getting from the BAPI_ACC_GL_POSTING_CHECK..
    I want to know is there any standard functionality that the error is coming from the backend or it is the code that i have written
    Thank you

    <b>BADI CODE IN DOC_CHECK_BADI FOR POS</b>
    For direct PO's, R/3 validation. Get PO details
    Data: WA_HEADER TYPE BBP_PDS_PO_HEADER_D,
          LT_ITEMDATA TYPE TABLE OF BBP_PDS_PO_ITEM_D,
          WA_ITEMDATA LIKE LINE OF LT_ITEMDATA,
          LT_ACC TYPE TABLE OF BBP_PDS_ACC,
          WA_ACC LIKE LINE OF LT_ACC,
          lt_bapiache08 type zbapiache08,
          lt_bapiacgl08 type table of ZBAPIACGL08,
          wa_bapiacgl08 type ZBAPIACGL08,
          lt_bapiaccr08 type table of ZBAPIACCR08,
          wa_bapiaccr08 type ZBAPIACCR08,
          lt_return type table of BAPIRET2,
          wa_return type BAPIRET2,
          wa_messages type BBP_SMESSAGES_BADI,
          lv_docdate(8),
          lv_pstngdate(8),
          lv_counter type i,
          lv_value(15),
          lv_amount(16),
          lv_len type i,
          LV_SYSID(9).
    UPDK900880
    DATA : LV_PROFIT_CTR(4).
    UPDK900880
    get purchase order details
    IF SY-UCOMM = 'SAVE' AND SY-TCODE = 'BBP_POC'.
    *IF SY-UCOMM = 'CHEC' AND SY-TCODE = 'BBP_POC'.
      CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
       EXPORTING
         I_GUID                           = IV_DOC_GUID
        I_OBJECT_ID                      =
         I_WITH_ITEMDATA                  = 'X'
       IMPORTING
         E_HEADER                         = WA_HEADER
       TABLES
         E_ITEM                           = LT_ITEMDATA
         E_ACCOUNT                        = LT_ACC
    UPDK900880
       LOOP AT LT_ACC INTO WA_ACC.
          MOVE WA_ACC-PROFIT_CTR+0(4) TO LV_PROFIT_CTR.
       ENDLOOP.
    UPDK900880
    Concatenate document date and posting date, default system date
         concatenate  sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_docdate.
         concatenate  sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_pstngdate.
    build structure bapiache08 of RFC BAPI_ACC_GL_POSTING_CHECK
    UPDK900880
        move:  LV_PROFIT_CTR TO lt_bapiache08-comp_code,
              wa_header-co_code to lt_bapiache08-comp_code,
    UPDK900880
              'BTUSER' to lt_bapiache08-username,
              sy-datum+0(4) to lt_bapiache08-fisc_year,
              lv_docdate to lt_bapiache08-doc_date,
              lv_pstngdate to lt_bapiache08-pstng_date,
              'SA' to lt_bapiache08-doc_type.
    build structure bapiacgl08 of RFC BAPI_ACC_GL_POSTING_CHECK
        loop at lt_acc into wa_acc.
          lv_counter = lv_counter + 1.
          move: lv_counter to wa_bapiacgl08-itemno_acc,
                wa_acc-g_l_acct to wa_bapiacgl08-gl_account,
    UPDK900880
               wa_header-co_code to wa_bapiacgl08-comp_code,
                LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
    UPDK900880
                lv_pstngdate to wa_bapiacgl08-pstng_date,
                'SA' to wa_bapiacgl08-doc_type,
                sy-datum+0(4) to wa_bapiacgl08-fisc_year.
                if wa_acc-cost_ctr is not initial.
                  move wa_acc-cost_ctr to wa_bapiacgl08-costcenter.
                elseif wa_acc-wbs_elem_e is not initial.
                  move wa_acc-wbs_elem_e to wa_bapiacgl08-wbs_element.
                elseif wa_acc-order_no is not initial.
                  move wa_acc-order_no to wa_bapiacgl08-orderid.
                endif.
                append wa_bapiacgl08 to lt_bapiacgl08.
                clear wa_bapiacgl08.
           lv_counter = lv_counter + 1.
           move: lv_counter to wa_bapiacgl08-itemno_acc,
    UPDK900880
                wa_header-co_code to wa_bapiacgl08-comp_code,
                 LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
    UPDK900880
                 '0014109889' to wa_bapiacgl08-gl_account,
                 lv_pstngdate to wa_bapiacgl08-pstng_date,
                 'SA' to wa_bapiacgl08-doc_type,
                 sy-datum+0(4) to wa_bapiacgl08-fisc_year.
           append wa_bapiacgl08 to lt_bapiacgl08.
           clear wa_bapiacgl08.
        endloop.
        clear lv_counter.
    build structure bapiaccr08 of RFC BAPI_ACC_GL_POSTING_CHECK
        loop at lt_itemdata into wa_itemdata.
          lv_counter = lv_counter + 1.
          move: lv_counter to wa_bapiaccr08-itemno_acc,
          wa_itemdata-value to wa_bapiaccr08-amt_doccur,
          'USD' to wa_bapiaccr08-currency.
          append wa_bapiaccr08 to lt_bapiaccr08.
          clear wa_bapiaccr08.
          lv_counter = lv_counter + 1.
          move wa_itemdata-value to lv_value.
          concatenate lv_value '-' into lv_amount.
          move: lv_counter to wa_bapiaccr08-itemno_acc,
          lv_amount to wa_bapiaccr08-amt_doccur,
          'USD' to wa_bapiaccr08-currency.
          append wa_bapiaccr08 to lt_bapiaccr08.
          clear wa_bapiaccr08.
        endloop.
        clear lv_counter.
    Check the SRM system
        IF SY-SYSID = 'UPD'.                                                                     "3
          LV_SYSID = 'UHD_111'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPX'.                                                                 "3
          LV_SYSID = 'SAPUHD111'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPQ'.                                                                 "3
          LV_SYSID = 'SAPUHQ100'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPP'.                                                                 "3
          LV_SYSID = 'SAPUHP100'.
          CONDENSE LV_SYSID NO-GAPS.
        ENDIF.
    RFC call
        Call Function 'BAPI_ACC_GL_POSTING_CHECK' destination LV_SYSID
        Exporting
          DOCUMENTHEADER      = lt_bapiache08
        Tables
          ACCOUNTGL           = lt_bapiacgl08
          CURRENCYAMOUNT      = lt_bapiaccr08
          RETURN              = lt_return.
        Loop at lt_return into wa_return.
          lv_len = strlen( wa_return-message ).
          if lv_len le 49.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message to wa_messages-msgv1.
               append wa_messages to et_messages.
          elseif lv_len gt 50 and lv_len le 99.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2.
                  append wa_messages to et_messages.
          elseif lv_len ge 100 and lv_len le 149.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2,
                  wa_return-message+100(49) to wa_messages-msgv3.
                  append wa_messages to et_messages.
          elseif lv_len ge 150 and lv_len le 199.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2,
                  wa_return-message+100(49) to wa_messages-msgv3,
                  wa_return-message+150(49) to wa_messages-msgv4.
                  append wa_messages to et_messages.
          endif.
          clear: wa_messages, wa_return.
        endloop.
    endif.
    <b>BADI CODE FOR DOC_CHECK_BADI FOR SCs</b>
    *---Declaration
    Data: WA_HEADER      TYPE BBP_PDS_SC_HEADER_D,
          LT_ITEMDATA    TYPE TABLE OF BBP_PDS_SC_ITEM_D,
          WA_ITEMDATA    LIKE LINE OF LT_ITEMDATA,
          LT_ACC         TYPE TABLE OF BBP_PDS_ACC,
          WA_ACC         LIKE LINE OF LT_ACC,
          lt_bapiache08  type zbapiache08,
          lt_bapiacgl08  type table of ZBAPIACGL08,
          wa_bapiacgl08  type ZBAPIACGL08,
          lt_bapiaccr08  type table of ZBAPIACCR08,
          wa_bapiaccr08  type ZBAPIACCR08,
          lt_return      type table of BAPIRET2,
          wa_return      type BAPIRET2,
          wa_messages    type BBP_SMESSAGES_BADI,
          lv_docdate(8),
          lv_pstngdate(8),
          lv_counter type i,
          lv_value(15),
          lv_amount(16),
          lv_len type i,
          LV_SYSID(9).
    *------Changes for Line item company code
    DATA : LV_PROFIT_CTR(4).
    Get SC Details
    IF ( SY-UCOMM = 'SC_CHECK' AND SY-TCODE = 'BBPSC03' ) OR ( SY-UCOMM = 'SC_ORDER' AND SY-TCODE = 'BBPSC03' ).
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
       EXPORTING
         I_GUID                           = IV_DOC_GUID
        I_OBJECT_ID                      =
         I_WITH_ITEMDATA                  = 'X'
       IMPORTING
         E_HEADER                         = WA_HEADER
       TABLES
         E_ITEM                           = LT_ITEMDATA
         E_ACCOUNT                        = LT_ACC
    Concatenate document date and posting date, default system date
       concatenate  sy-datum6(2) sy-datum0(4) sy-datum+4(2)  into lv_docdate.
       concatenate  sy-datum6(2) sy-datum0(4) sy-datum+4(2) into lv_pstngdate.
         concatenate  sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_docdate.
         concatenate  sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_pstngdate.
    build structure bapiache08 of RFC BAPI_ACC_GL_POSTING_CHECK
    *loop at LT_ITEMDATA into wa_ITEMDATA.
    move wa_itemdata-BE_CO_CODE to lt_bapiache08-comp_code.
    *endloop.
       LOOP AT LT_ACC INTO WA_ACC.
          MOVE WA_ACC-PROFIT_CTR+0(4) TO LV_PROFIT_CTR.
       ENDLOOP.
    Chnages for Line item company code
        move:  LV_PROFIT_CTR TO lt_bapiache08-comp_code,
             wa_header-co_code to lt_bapiache08-comp_code,
    End of Chnages for Line item company code
              'BTUSER' to lt_bapiache08-username,
              sy-datum+0(4) to lt_bapiache08-fisc_year,
              lv_docdate to lt_bapiache08-doc_date,
              lv_pstngdate to lt_bapiache08-pstng_date,
              'SA' to lt_bapiache08-doc_type.
    build structure bapiacgl08 of RFC BAPI_ACC_GL_POSTING_CHECK
        loop at lt_acc into wa_acc.
          lv_counter = lv_counter + 1.
          move: lv_counter to wa_bapiacgl08-itemno_acc,
                wa_acc-g_l_acct to wa_bapiacgl08-gl_account,
    Chnages for Line item company code
               wa_header-co_code to wa_bapiacgl08-comp_code,
                LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
    End of Chnages for Line item company code
                lv_pstngdate to wa_bapiacgl08-pstng_date,
                'SA' to wa_bapiacgl08-doc_type,
                sy-datum+0(4) to wa_bapiacgl08-fisc_year.
                if wa_acc-cost_ctr is not initial.
                  move wa_acc-cost_ctr to wa_bapiacgl08-costcenter.
                elseif wa_acc-wbs_elem_e is not initial.
                  move wa_acc-wbs_elem_e to wa_bapiacgl08-wbs_element.
                elseif wa_acc-order_no is not initial.
                  move wa_acc-order_no to wa_bapiacgl08-orderid.
                endif.
                append wa_bapiacgl08 to lt_bapiacgl08.
                clear wa_bapiacgl08.
           lv_counter = lv_counter + 1.
           move: lv_counter to wa_bapiacgl08-itemno_acc,
    Chnages for Line item company code
                wa_header-co_code to wa_bapiacgl08-comp_code,
                   LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
    End of Chnages for Line item company code
                 '0014109889' to wa_bapiacgl08-gl_account,
                 lv_pstngdate to wa_bapiacgl08-pstng_date,
                 'SA' to wa_bapiacgl08-doc_type,
                 sy-datum+0(4) to wa_bapiacgl08-fisc_year.
           append wa_bapiacgl08 to lt_bapiacgl08.
           clear wa_bapiacgl08.
        endloop.
        clear lv_counter.
    build structure bapiaccr08 of RFC BAPI_ACC_GL_POSTING_CHECK
        loop at lt_itemdata into wa_itemdata.
          lv_counter = lv_counter + 1.
          move: lv_counter to wa_bapiaccr08-itemno_acc,
          wa_itemdata-value to wa_bapiaccr08-amt_doccur,
          'USD' to wa_bapiaccr08-currency.
          append wa_bapiaccr08 to lt_bapiaccr08.
          clear wa_bapiaccr08.
          lv_counter = lv_counter + 1.
          move wa_itemdata-value to lv_value.
          concatenate lv_value '-' into lv_amount.
          move: lv_counter to wa_bapiaccr08-itemno_acc,
          lv_amount to wa_bapiaccr08-amt_doccur,
          'USD' to wa_bapiaccr08-currency.
          append wa_bapiaccr08 to lt_bapiaccr08.
          clear wa_bapiaccr08.
        endloop.
        clear lv_counter.
    Check the SRM system
        IF SY-SYSID = 'UPD'.                                                                     "3
          LV_SYSID = 'UHD_111'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPX'.                                                                 "3
          LV_SYSID = 'SAPUHD111'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPQ'.                                                                 "3
          LV_SYSID = 'SAPUHQ100'.
          CONDENSE LV_SYSID NO-GAPS.
        ELSEIF SY-SYSID = 'UPP'.                                                                 "3
          LV_SYSID = 'SAPUHP100'.
          CONDENSE LV_SYSID NO-GAPS.
        ENDIF.
    RFC call
        Call Function 'BAPI_ACC_GL_POSTING_CHECK' destination LV_SYSID
        Exporting
          DOCUMENTHEADER      = lt_bapiache08
        Tables
          ACCOUNTGL           = lt_bapiacgl08
          CURRENCYAMOUNT      = lt_bapiaccr08
          RETURN              = lt_return.
         break-point.
        Loop at lt_return into wa_return.
          lv_len = strlen( wa_return-message ).
          if lv_len le 49.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message to wa_messages-msgv1.
               append wa_messages to et_messages.
          elseif lv_len gt 50 and lv_len le 99.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2.
                  append wa_messages to et_messages.
          elseif lv_len ge 100 and lv_len le 149.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2,
                  wa_return-message+100(49) to wa_messages-msgv3.
                  append wa_messages to et_messages.
          elseif lv_len ge 150 and lv_len le 199.
            move: wa_return to wa_messages-msgty,
                  'BBP_PD' to wa_messages-msgid,
                  '047' to wa_messages-msgno,
                  wa_return-message+0(49) to wa_messages-msgv1,
                  wa_return-message+50(49) to wa_messages-msgv2,
                  wa_return-message+100(49) to wa_messages-msgv3,
                  wa_return-message+150(49) to wa_messages-msgv4.
                  append wa_messages to et_messages.
          endif.
          clear: wa_messages, wa_return.
        endloop.
    endif.
    This is what i wrote in BADI except this i wrote nothing ...and no where

  • Function module : BAPI_ACC_DOCUMENT_POST

    hello , can you please tell me which table the FM  BAPI_ACC_DOCUMENT_POST updates after it has been executed.thanks

    Hi
    Go thru this code, hope it will help you.
    Reward if help.
    BAPI_ACC_GL_POSTING_CHECK
    CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'
    EXPORTING
    documentheader = w_documentheader
    TABLES
    accountgl = it_accountgl
    currencyamount = it_currencyamount
    return = it_return.
    Populate the corresponding tables with the data you have.
    For the Date do convert it.
    PERFORM convert_date USING it_header-bldat
    CHANGING w_documentheader-doc_date.
    w_documentheader-comp_code = 'z998'
    w_documentheader-doc_type = 'SA'
    "and fill the respective tables this way .
    <b>
    BAPI_ACC_GL_POSTING_POST
    </b>
    call function 'BAPI_ACC_GL_POSTING_POST'
    exporting
    documentheader = doc_header
    IMPORTING
    OBJ_TYPE = l_objtype
    OBJ_KEY =
    OBJ_SYS =
    tables
    accountgl = t_accountgl
    currencyamount = t_curramt
    return = t_return
    EXTENSION1 =

  • Upload the Special Purpose Ledger Data Using GB01 Application Trough BAPI

    Hi Experts,
    I need to Upload the Special Purpose Ledger Data Using GB01 Application Trough BAPI
    Can anybody help me Which BAPI is available for this application.
    plz give me the Guidence Which steps Should i follow this.
    Thanks Inadvance

    try these
    JV_GB01_DOCUMENT_POST.
    JV_GB01_DIRECT_INPUT this fm is used to to post directly to SPL
    or try BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_GL_POSTING_CHECK
    BAPI_ACC_GL_POSTING_POST

  • BAPI for Infotype

    Hello Experts,
       I am in need for standard BAPIs for the following info types. If it is not available please help me with some way.
    <b>Infotypes:
    &#61656;     0002 (Personal Data)
    &#61656;     0006 (Addresses)
    &#61656;     0009 (Bank details)
    &#61656;     0021 (Family member/dependents)
    &#61656;     0023 (Other/Previous employers)
    &#61656;     0028 (Internal medical service) subtype 0008 (Blood group)
    &#61656;     0185 (Personal IDs)
    &#61656;     0591 (Nominations)
    &#61656;     0000 (Actions)
    &#61656;     0001 (Organizational Assignment)
    &#61656;     0007 (Planned working time)
    &#61656;     0016 (Contract Elements)
    &#61656;     0017 (Travel Privileges)
    &#61656;     2006 (Absence Quotas)</b>
    Thanks & Regards
    Nigesh

    Hi,
    list of BAPI Funtions
    0035 BAPI for Grant Master Data
    BAPI_0035_CHANGE Change grant master data
    BAPI_0035_CREATE Create GM grant master data
    BAPI_0035_GET_DETAIL Get detail of grant master data
    0036 BAPI for BudgetEntryDocGM
    BAPI_0036_CREATE Create GM Budgeting Entry Document
    BAPI_0036_GET_DETAIL Get the detail of a GM budget entry document
    BAPI_0036_GET_LIST Get list of GM budgeting entry docs.
    BAPI_0036_REVERSE Reverse GM Budgteing Entry document
    0038 BAPIs for Funded Program
    BAPI_0038_CHANGE Change a Funded Program
    BAPI_0038_CREATE Create Funded Program
    BAPI_0038_DELETE Delete a Funded Program
    BAPI_0038_GETDETAIL Get details to a Funded Program
    BAPI_0038_GETLIST Get list of Funded Programs
    0050 BAPI for BudgetEntryDocFM
    BAPI_0050_CREATE Create FM Budgeting Entry document
    BAPI_0050_GET_DETAIL Get FM budgeting entry document
    BAPI_0050_GET_LIST Get list of budgeting entry documents
    BAPI_0050_REVERSE Reverse FM Budgeting Entry document
    0051 BAPI for BudgetFM (mass data)
    BAPI_0051_GET_TOTALS Get FM budget totals
    BAPI_0051_UPDATE FM Budgeting - Update totals
    1031 Business Object BUS1031 (Activity Type)
    BAPI_ACTIVITYTYPE_GETDETAIL Detail Information for Activity Type on Key Date
    BAPI_ACTIVITYTYPE_GETLIST List of Activity Types Using Selection Criteria
    BAPI_ACTIVITYTYPE_GETPRICES Output Activity Prices for Activity Types on Key Date
    BAPI_ACTTYPE_CHANGEMULTIPLE Change One or More Activity Types
    BAPI_ACTTYPE_CREATEMULTIPLE Create One or More Activity Types
    2145 Business Objects Complaints AB (BAPI)
    BAPI_ABCLAIM_CREATE AB-CWB: Create BAPI Complaint
    4499 Business Object: Bank Statement
    BAPI_ACCSTMT_CREATEFROMBALANCE Store account balance/check debit information
    BAPI_ACCSTMT_CREATEFROMLOCKBOX Create lockbox data
    BAPI_ACCSTMT_CREATEFROMPREVDAY Create Bank Statement/Day-End Statement
    BAPI_ACCSTMT_CREATEFROMSAMEDAY Create Bank Statement/Today's Data
    ABSE Object Type "Absence"
    BAPI_ABSENCE_APPROVE Unlock absence
    BAPI_ABSENCE_CHANGE Change absence
    BAPI_ABSENCE_CREATE Create absence
    BAPI_ABSENCE_DELETE Delete absence
    BAPI_ABSENCE_GETDETAIL Read absence
    BAPI_ABSENCE_GETDETAILEDLIST Read instances with data
    BAPI_ABSENCE_GETLIST Read instances
    BAPI_ABSENCE_REQUEST Create locked absence
    BAPI_ABSENCE_SIMULATECREATION Simulation: Create absence
    ACC4 FI/CO: BAPIs for UPDATE
    BAPI_ACC_BILLING_CHECK Accounting: Check Billing Doc. (OAG: LOAD RECEIVABLE)
    BAPI_ACC_BILLING_POST Accounting: Post invoice (OAG: LOAD RECEIVABLE)
    BAPI_ACC_DOCUMENTS_RECORD Follow-On Document Numbers in Accounting for Multiple Source Documents
    BAPI_ACC_EMPLOYEE_EXP_CHECK Accounting: Check G/L acct assignment for HR posting (OAG:POST JOURNAL
    BAPI_ACC_EMPLOYEE_EXP_POST Accounting: Post G/L account assignment for HR posting (OAG:POST JOURN
    BAPI_ACC_EMPLOYEE_PAY_CHECK Accounting: Check Vendor Acct Assignment for HR Posting (OAG:LOAD PAYA
    BAPI_ACC_EMPLOYEE_PAY_POST Accounting: Post Vendor Acct Assignment for HR Posting (OAG: LOAD PAYA
    BAPI_ACC_EMPLOYEE_REC_CHECK Accounting: Check Cust. Acct Assignmt for HR Posting (OAG:LOAD RECEIVA
    BAPI_ACC_EMPLOYEE_REC_POST FI/CO: Post Customer Acct Assignment for HR Posting (OAG: LOAD RECEIVA
    BAPI_ACC_GL_POSTING_CHECK Accounting: General G/L Account Posting
    BAPI_ACC_GL_POSTING_POST Accounting: General G/L Account Posting
    BAPI_ACC_GOODS_MOVEMENT_CHECK Accounting: Check Goods Movement (OAG: POST JOURNAL)
    BAPI_ACC_GOODS_MOVEMENT_POST Accounting: Post Goods Movement (OAG: POST JOURNAL)
    BAPI_ACC_INVOICE_RECEIPT_CHECK Accounting: Check Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_RECEIPT_POST Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_PURCHASE_ORDER_CHECK Accounting: Check Purchase Order
    BAPI_ACC_PURCHASE_ORDER_POST Accounting: Post Purchase Order
    BAPI_ACC_PURCHASE_REQUI_CHECK Accounting: Check Purchase Requisition
    BAPI_ACC_PURCHASE_REQUI_POST Accounting: Post Purchase Requisition
    BAPI_ACC_SALES_ORDER_CHECK Accounting: Check Sales Order
    BAPI_ACC_SALES_ORDER_POST Accounting: Post Sales Order
    BAPI_ACC_SALES_QUOTA_CHECK Accounting: Check Customer Quotation
    BAPI_ACC_SALES_QUOTA_POST Accounting: Post Customer Quotation
    BAPI_ACC_TRAVEL_CHECK Accounting: Check Trip
    BAPI_ACC_TRAVEL_POST Accounting: Post Trip
    ACC5 FI/CO: BAPIs Asset Postings
    BAPI_ACC_ASSET_ACQ_SETT_CHECK ACC: Asset Acquisition - Synchronous Determination of Capitalization V
    BAPI_ACC_ASSET_ACQ_SETT_POST ACC: Asset Acquisition-Asynchronous Determination of Capitalization Va
    BAPI_ACC_***_ACQUISITION_CHECK BAPI: Check Asset Acquisition
    BAPI_ACC_***_INTRA_TRANS_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_***_POSTCAP_CHECK BAPI: Check Subsequent Capitalization
    BAPI_ACC_***_RETIREMENT_CHECK BAPI: Check Asset Retirement
    BAPI_ACC_***_TRANSFER_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_***_TRANSFER_POST Accounting: Post Asset Transfer
    BAPI_ACC_***_TRANS_ACQ_CHECK Accounting: Check acquisition from transfer
    BAPI_ACC_***_TRANS_ACQ_POST Accounting: Post acquisition from transfer
    BAPI_ACC_***_TRANS_RET_CHECK Accounting: Post Asset Transfer
    BAPI_ACC_AUC_ACQUISITION_CHECK Accounting: Asset Acquisition from Settlement
    BAPI_ACC_AUC_ACQUISITION_POST Accounting: Asset Acquisition from Settlement
    ACC6 Accounting: BAPIs for UPDATE II
    BAPI_ACC_BILLING_REV_CHECK Accounting: Check Billing Document Reversal (OAG: LOAD RECEIVABLE)
    BAPI_ACC_BILLING_REV_POST Accounting: Post Billing Doc.Reversal (OAG: LOAD RECEIVABLE)
    BAPI_ACC_GL_POSTING_REV_CHECK Accounting: Check Reversal of General G/L Account Posting
    BAPI_ACC_GL_POSTING_REV_POST Accounting: Post General G/L Posting Reversal
    BAPI_ACC_GOODS_MOV_REV_CHECK Accounting: Check Goods Movement Reversal (OAG: POST JOURNAL)
    BAPI_ACC_GOODS_MOV_REV_POST Accounting: Post Goods Movement Reversal (OAG: POST JOURNAL)
    BAPI_ACC_INVOICE_REV_CHECK Accounting: Check Reversal of Invoice Receipt (OAG: LOAD PAYABLE)
    BAPI_ACC_INVOICE_REV_POST Accounting: Post Invoice Receipt Reversal (OAG: LOAD PAYABLE)
    BAPI_ACC_PYMNTBLK_UPDATE_CHECK Accounting: Check Changes to Payment Block for Open Items
    BAPI_ACC_PYMNTBLK_UPDATE_POST Accounting: Post Changes to Payment Block for Open Items
    ACC9 Accounting: BAPIs
    BAPI_ACC_DOCUMENT_CHECK Accounting: Check
    BAPI_ACC_DOCUMENT_POST Accounting: Posting
    BAPI_ACC_DOCUMENT_REV_CHECK Accounting: Check Reversal
    BAPI_ACC_DOCUMENT_REV_POST Accounting: Post Reversal
    AEMM Additionals in integrated mat. maint.
    BAPI_ADDITIONAL_MAINTAINDATA Create and Change Additionals Assignments (Retail)
    BEACTIVITY Process modeling activity
    BAPI_ACTIVITY_COMPARE Test Module for Modeling
    BAPI_ACTIVITY_GETALLCOUPLING Determination of Coupling Events for Several Activities
    BAPI_ACTIVITY_GETCOUPLING Get activity coupling events
    BAPI_ACTIVITY_GETDETAIL Read diagram
    BAPI_ACTIVITY_GETPOTCOUPLING Get potential coupling events between two activities
    BAPI_ACTIVITY_GET_PARENTS Delivers Higher-Level Activities
    BAPI_ACTIVTY_GETDIAGRAMIDS Read diagram
    CRM_CO_SLS CO Interface CRM Sales
    BAPI_ACCOUNTING_PROXY_UPLOAD Account Assignment Objects for CRM Transactions
    FAGL_SKF_BAPI
    BAPI_ACC_POST_STAT_KEYFIGURE
    FKN5 BAPI Account Balances
    BAPI_ACCOUNT_GETBALANCES Retrieves Balances for a Contract Acct
    IPPEBAPI_ACT
    BAPI_1179_EXISTENCECHECK
    BAPI_1179_REPLICATE
    BAPI_1179_SAVEREPLICA
    IPPEBAPI_BAL
    BAPI_1183_EXISTENCECHECK
    BAPI_1183_REPLICATE
    BAPI_1183_SAVEREPLICA
    IPPEBAPI_CMP iPPE: Component BAPIs
    BAPI_1176001_EXISTENCECHECK Check Existence of Product Structure Variant
    BAPI_1176_EXISTENCECHECK Check Existence of a Product Structure Node
    BAPI_1176_REPLICATE Replicate Product Structure Nodes
    BAPI_1176_SAVEREPLICA Maintain or Create Product Structure
    IPPEBAPI_FLO
    BAPI_1182_EXISTENCECHECK
    BAPI_1182_REPLICATE
    BAPI_1182_SAVEREPLICA
    IPPEBAPI_GEN iPPE: BAPIs for Generic Engineering Node
    BAPI_1197_EXISTENCECHECK Check Existence of Generic Engineering Node
    BAPI_1197_REPLICATE Replicate the Generic Engineering Node
    BAPI_1197_SAVEREPLICA Create and Change Generic Engineering Node
    IPPEBAPI_MPO
    BAPI_1220_REPLICATE
    BAPI_1220_SAVEREPLICA
    IPPEBAPI_PRM
    BAPI_1196_EXISTENCECHECK
    BAPI_1196_REPLICATE
    BAPI_1196_SAVEREPLICA
    IPPEBAPI_RES
    BAPI_1193_EXISTENCECHECK
    BAPI_1193_REPLICATE
    BAPI_1193_SAVEREPLICA
    K23G Service Function Modules
    BAPI_ACC_CO_DOCUMENT_FIND Read CO Document for Manual Actual Postings
    K40C CO Actual Postings, Manual
    BAPI_ACC_ACTIVITY_ALLOC_CHECK Accounting: Check Activity Allocation
    BAPI_ACC_ACTIVITY_ALLOC_POST Accounting: Post Activity Allocation
    BAPI_ACC_ACT_POSTINGS_REVERSE Accounting: Reverse CO Documents - Manual Actual Postings
    BAPI_ACC_MANUAL_ALLOC_CHECK Accounting: Check Manual Cost Allocation
    BAPI_ACC_MANUAL_ALLOC_POST Accounting: Post Manual Cost Allocation
    BAPI_ACC_PRIMARY_COSTS_CHECK Accounting: Check Primary Costs
    BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
    BAPI_ACC_REVENUES_CHECK Accounting: Check Revenues
    BAPI_ACC_REVENUES_POST Accounting: Post Revenues
    BAPI_ACC_SENDER_ACTIVITY_CHECK Accounting: Check Sender Activities
    BAPI_ACC_SENDER_ACTIVITY_POST Accounting: Post Sender Activities
    BAPI_ACC_STAT_KEY_FIG_CHECK Accounting: Check Statistical Key Figures
    BAPI_ACC_STAT_KEY_FIG_POST Accounting: Post Statistical Key Figures
    KACG Coding Block: FI/LO Part of KACB
    BAPI_ACCSERV_CHECKACCASSIGNMT BAPI: Object BUS6001 AccountingServices, Method CheckAccountAssignment
    KGR2 External Access to CO Hierarchies
    BAPI_ACTIVITYTYPEGRP_ADDNODE Object BUS1115 (Activity Type Group) - Method AddNode
    BAPI_ACTIVITYTYPEGRP_CREATE Object BUS1115 (Activity Type Group) - Method Create
    BAPI_ACTIVITYTYPEGRP_GETDETAIL Object BUS1115 (Activity Type Group) - Method GetDetail
    BAPI_ACTIVITYTYPEGRP_GETLIST Object BUS1115 (Activity Type Group) - Method GetList
    KPLB BAPIs: Plan data interface
    BAPI_ACT_INPUT_CHECK_AND_POST Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_INPUT_READ Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_PRICE_CHECK_AND_POST Activity Type Planning/Price Planning: Formal Parameter Check
    BAPI_ACT_PRICE_READ Activity Type Planning/Price Planning: Formal Parameter Check
    OPERS_CA Business Object: Other Personal Data
    BAPI_ADDITIONALDATA_GETDETAIL Read additional personal data
    BAPI_ADDPERSDATA_CHANGE Change additional personal data
    BAPI_ADDPERSDATA_CREATE Create additional personal data
    BAPI_ADDPERSDATA_DELETE Delete additional personal data
    BAPI_ADDPERSDATA_DELIMIT Delimit additional personal data validity period
    BAPI_ADDPERSDATA_GETDETAILEDLI Read instances with data
    BAPI_ADDPERSDATA_GETLIST Read instances
    PADR_AU Business Object AddressEmp (AU)
    BAPI_ADDREMPAU_CHANGE ESS Address Change - Australia
    BAPI_ADDREMPAU_CREATE ESS Address Create - Australia
    BAPI_ADDREMPAU_CREATESUCCESSOR ESS Address Create Successor - Australia
    BAPI_ADDREMPAU_GETDETAIL ESS Address Get Detail - Australia
    BAPI_ADDREMPAU_GETDETAILEDLIST Read instances with data
    BAPI_ADDREMPAU_REQUEST ESS Address Request - Australia
    BAPI_ADDREMPAU_SIMULATECREATN ESS Address Simulate Creation - Australia
    PADR_CH Business Object: AddressEmp
    BAPI_ADDREMPCH_CREATESUCCESSOR Create Subsequent Employee Address Record
    BAPI_ADDREMPCH_GETDETAILEDLIST Read Instances with Data
    PADR_DE Business Object AddressEmp (DE)
    BAPI_ADDREMPDE_CREATESUCCESSOR Create Next Employee Address Record
    BAPI_ADDREMPDE_GETDETAILEDLIST Read Instances with Data
    PADR_DK Business Object AddressEmp - DK
    BAPI_ADDREMPDK_CREATESUCCESSOR Create Subs.Employee Address Record
    BAPI_ADDREMPDK_GETDETAILEDLIST Read Instances with Data
    PADR_ES Business Object AddrEmpE
    BAPI_ADDREMPES_CREATESUCCESSOR Personnel number next record create
    BAPI_ADDREMPES_GETDETAILEDLIST Read instances with data
    PADR_FR Business Object AddrEmpFR
    BAPI_ADDREMPFR_CREATESUCCESSOR Franch Employee Address: Create Next Record
    BAPI_ADDREMPFR_GETDETAILEDLIST Read Data Records in Period (French Employee Addresses)
    PADR_HK Business object: AddressEmp (HK)
    BAPI_ADDREMPHK_CHANGE Change Employee Address (Hong Kong)
    BAPI_ADDREMPHK_CREATE Create Employee Address (Hong Kong)
    BAPI_ADDREMPHK_CREATESUCCESSOR Create subs.employee address record (Hong Kong)
    BAPI_ADDREMPHK_GETDETAIL Read employee address (Hong Kong)
    BAPI_ADDREMPHK_GETDETAILEDLIST Read instances with data (Hong Kong)
    BAPI_ADDREMPHK_REQUEST Create locked employee address record (Hong Kong)
    BAPI_ADDREMPHK_SIMULATECREATE Simulation: Create Employee Address (Hong Kong)
    PADR_ID Business Object AddressEmp (ID)
    BAPI_ADDREMPID_CHANGE ESS Address Change - Indonesia
    BAPI_ADDREMPID_CREATE ESS Address Create - Indonesia
    BAPI_ADDREMPID_CREATESUCCESSOR ESS Address Create Successor - Indonesia
    BAPI_ADDREMPID_GETDETAIL ESS Address Get Detail - Indonesia
    BAPI_ADDREMPID_GETDETAILEDLIST Read instances with data - Indonesia
    BAPI_ADDREMPID_REQUEST Create locked employee address record - Indonesia
    BAPI_ADDREMPID_SIMULATECREATIO ESS Address Simulate Creation - Indonesia
    PADR_IE Business Object AddressEmp - Ireland
    BAPI_ADDREMPIE_CREATESUCCESSOR Create subs.employee address record
    BAPI_ADDREMPIE_GETDETAILEDLIST Read instances with data
    PADR_IT HR Employee Self-Service: Address Italy
    BAPI_ADDREMPIT_CREATESUCCESSOR Create personnel number next record
    BAPI_ADDREMPIT_GETDETAILEDLIST <Currently not used>
    PADR_MY Business Object AddressEmp (MY)
    BAPI_ADDREMPMY_CHANGE ESS Address Change - Malaysia
    BAPI_ADDREMPMY_CREATE ESS Address Create - Malaysia
    BAPI_ADDREMPMY_CREATESUCCESSOR ESS Address Create Successor - Malaysia
    BAPI_ADDREMPMY_GETDETAIL ESS Address Get Detail - Malaysia
    RCP990
    BAPI_1194_REPLICATE_GR
    BAPI_1194_SAVEREP_MULTIPLE_GR
    RCP993
    BAPI_1198_REPLICATE_SR
    BAPI_1198_SAVEREP_MULTIPLE_SR
    RWCL Interface to Accounting
    BAPI_ACC_DOCUMENT_DISPLAY Accounting: Display Method for Follow-On Document Display
    BAPI_ACC_DOCUMENT_RECORD Accounting: Follow-on document numbers for source document
    SZAM BAPIs f. BOR obj. BUS4003 (AddrContPart)
    BAPI_ADDRCONTPART_SAVEREPLICA BAPI for inbound distribution of contact person addresses
    Reward points if found helpful…..
    Cheers,
    Chandra Sekhar.

  • Park a accounting document

    Hello everyone,
           I have a requirement where in i need to simulate and park a accounting documents using transactions FB01 and FBV1 respectively.I have following queries.
    1) Can we use 'RFBIBL00' program for parking a document in FBV1 transaction.I have gone through the documentation of the program.It says 'No FB05 postings (posting with clearing), FBS1 postings (accrual/deferral documents), FBV1 postings (park document), nor postings with special G/L transactions can be generated.'
      If so, Is there any other method to park the accounting documents other than BDC.
    2)Is there any BAPI available for simulating the accounting documents in FB01.
        Can we use 'BAPI_ACC_GL_POSTING_CHECK' or 'BAPI_ACC_GL_DOCUMENT_CHECK'                    
    If not, please provide me with any other method to simulate the accounting documents.
    Please clarify me on above points. Thanks in advance
    Regards,
    Jalendhar

    Hi,
       OSS message:
    25.05.2007 - 11:38:41
    A parked document with ACC-Bapis (bapi_acc_*) is not possible.
    This interface is for posting only. It is completely different from
    the manual posting and parking transactions, and its functionality
    is limited in comparison.
    In the documentation for this BAPI, there is also a reference to:
    More informationen is available in the Interfaces to Accounting documentation in the R/3 Library (under Cross Application Functions ->
    Interfaces to External Systems).
    xxxxxxx
    Support Consultant
    Global Support - Financials
    Hope this helps some other person who wants to know.
    (Maybe I'm only one of a few people that would like to use a BAPI to park accounting documents, but it would probably be helpful to know if there are more. If you ever needed or now need this functionality please post a reply to this message.)
    Check the below theard
    https://forums.sdn.sap.com/click.jspa?searchID=3300169&messageID=3475534
    If yoy are working BAPI for Parking non-PO Invoices
    Re: BAPI for Parking non-PO Invoices?
    <b>Reward points</b>
    Regards

Maybe you are looking for