BAPI G/L Balance Upload

Hi,
I want BAPI for G/L balance upload.
I want to transfer these fields:
STYPE(BBKPF-STYPE)
LDGRP(BKPF-LDGRP)
BSCHL(Posting key)
MWSKZ(Tax Code)
I looked into BAPI's BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST but I didn't find any field like above fields.
Please suggest which BAPI to use so that I can get all the above fields. Better if someone can provide the code.
Thanks
Vinod.

Hi,
U can use Bapi "BAPI_ACC_DOCUMENT_POST" to post the G/L balances data.
Before that u need to activate the BADI "BADI_ACC_DOCUMENT".
This badi contains structure called "ACCIT" (Check the structure in SE11) which will fill the remaining fields which are not supported by BAPI.
For this u need to fill BAPI extension parameter. Check the bapi documentation for the procedure to fill the structure.

Similar Messages

  • Stock Balances uploading through Mvt type 561

    Hello,
            We are uploading Stock Balances by T.Code MB1C through Mvt. Type 561. IN FI-MM Integration T.code OBYC, In transaction key "GBB" I have assigned GL Account "Stock Suspense A/c" for BSA. And in transaction key BSX, I've assigned
    GL Account "Raw Material". After that when i enter stock balance through T.code MB1C, The document entry generated is as follows;
    Posting Key      GL Account             Amount
         89           Raw Material A/c           XXXXX
         91*         Stock Suspense A/c      XXXXX
    *The posting Key "91"  is for COSTS, which i believe is incorrect, so where have i gone wrong? what is the solution?? Please help!!!
    Regards
    Ashwin

    Hi,
    I agree with ajay.
    I think you want to know how this will effect u r Balnce Sheet. This is only a intermediary account for balance upload. In sap u uplaod u r trial balance in part using different transactions. For this u devide total transactions in gl, materials, ar, ap, assets etc and use different balancing account which in turn in total is having dr= cr as u r trial balance is having dr= cr.
    Please revert if any querry

  • How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

  • GL A/c Balance upload

    Hi
    Can anybody have the GL A/c Balance upload configuration. 
    Sent to sms_shammi at yahoo.com
    Thanks in advance
    Shammi

    Hi,
    GL balance upload is not a configuration. you can use F-02 for it. you will be uploading from the Trail balance finalised on a cut off date.
    Assign points if useful
    Sunoj

  • Wbs in customer/vendor and gl document lines during initial balance upload

    Hi gurus,
    Can we enter wbs in customer/vendor and gl documents lines during upload of opening balance upload?
    What is the impact of this?? Do we need to run project settlement on 1st day after go live to get data in cost center from ar, ap and gl????
    Thanks

    Hi Mohit,
    Why do you want to udpate WBS element for vendor and customer line items. Basic concept of said cost object (WBS element) is transfer values to Fixed assets or GL accounts or any other cost objects like cost center ,Internal order,sales order like that.
    You can update WBS element for all fixed expenses based on settlement rule and allocation types,which you created in customization and assigned cost elements or cost elment group over there. You can update WBS elements for said line items settle after opening balance update.  Please note ,it may not possible to update WBS element for vendor and customer line items.
    Basic cocnept of WBS element is cost collector ( You may use to collect revenue also as per nusiness processes) ,collects the cost from various resources and settle to said above objects. Vendor and customer balances are balance sheet accounts,which can settle through payments.
    Regards
    ManiKumar

  • Customer Balance upload vs Vendor balance upload --- URGENT!!!!!!!!!!!!!

    Hi Peers
    I want to know the difference between Customer Balance upload and Vendor balance upload. How do you upload transactional data upload. If any boby have any documnets for this plz fwd it to me. My email id is [email protected] Its very very urgent
    Regards
    Rajaram

    use report RFBIBL00 (look at its documentation)
    A.

  • Hi masters, want bapi for customer balance report

    HI Masters,
                   please can any one give reply about bapi whch one is using for developing customer balance report in webdynpro java
    I want to see the customer balance report in portal through developing webdynpro java application only. for developing , i need bapi regarding customer balance report. Customer when he login the portal he has to view his ledger balance in portal.please  give reply about the bapi to see customer ledger balance . we can do by transactional iview. but i need only through webndynpro java application
    reply will appreciated.

    Hi surya,
    The tcode for customer balance report is FBL5N
    BAPI_AR_ACC_GETKEYDATEBALANCE -
    >Customer account balance at a key date .
    Regards,
    srikanth

  • Trial Balance Upload Query

    Hello,
    We are in process of trial balance upload for our implementation project. We have already identified Offsetting accounts for Balance sheet type of accounts. But Client wants us to upload the P&L items also.
    Please let me know if we have to use P&L items also then what type of P&L offsetting account should be used (B/S type or P&L type with Retained Earnings account assigned to it?).
    We need not upload any P&L items details but just the YTD balances. Are there any major concerns for the same? One concern observed by me is that different P&L accts will have different requirements like for some Material or Internal Order, etc. might be compulsory fields.
    Waiting for the replies.
    Thanks,
    SP

    Hi,
    You can have the offestting accounts as B/S type itself. That should not be an issue.
    As you said, you can upload the balances and not the line items.
    In case the P&L accounts are created as cost elements also, you may have to assign a cost object to that upload item.
    After upload of the trial balance, the net balance of all the offsetting accounts will be zero.
    Regards,
    Mike

  • A/c entry at the time of vendor balance uploading

    Hello Gurus,
    When we are uploading the vendor balance,When you upload through BDC, What are the entries posted and how was the clearing account entry
    Regards
    K.srinivas

    Hi Shree,
    Vendor having debit balances, entry as follows.
    Vendor ............Dr
       To Initial balance upload .............Cr.........( Use special GL indicator ,if you have down payment balances)
    Vendor having credit balances ,entry as follows
    Initial balances upload .................Dr
       To Vendor ..........................................Cr
    Rgds
    ManiSuma

  • Vendor balance upload

    Dear all,
    could any one pls tell me  in templet what we have to prepare,
    Thanks & regards,
    satishkumar.m

    Hello Satish,
    For any uploads first you need to prepare excen sheet consisting of 1.Field name 2.Description 3.Type and 4.Length. Then after, take all fileds/inputs (say F-43 or F-22) and prepare excel sheet.
    Ex: For uploading you need to create 5 GL masters you create one account group for upload accounts. In which you create 5 GL masters with following data Tax Category:* Line Item Display: Yes, Open Item Display: Yes, Sort: 0001(Gl), 012(Vend),031(Cust)018(Asst) etc, FSG: g001.
    Under that grp you need to create all 5 accounts. All are balance sheet Accounts. GL Balance Upload Ac, Customer Balance Upload Ac, Vendor Master Upload Ac, Asset Master Upload Ac, Material Upload Ac. You should take the trail balance of the company and chose all gl accounts with balances. Use LSMW upload GL balance upload.
    Thanks
    Para

  • Balance Upload

    Dear All
    I want to Upload the balances from the Trial Balance such as Vendor Balances, Customer Balances, P&L Balances,B&S Balances, SGL Balances in the SAP. I have developed the following strategy.
                                     PK                 DR(Amount)     CR(Amount)
    1     Vendor Balances        31          100
         Vendor Balance Upload A/C   40                                                        100     
    2     Customer Balances                      01                            500     
         Customer Balance Upload A/C           50                                   500
    3     P&L(Debit) Items     40                            100     
         P&L(Debit) Upload A/C     50                                      100
    4     P&L(Credit) Items     40          200
         P&L(Credit) Upload A/C     50                                                        200     
    5     B/S Debit Items     40                            100     
         B/S(Debit) Upload A/C     50                                         100
    6     B/S Credit Items     40          100
         B/S(Credit) Upload A/C     50                                                            100     
    7     SGL Items Vendor     29                           100     
         SGL Vendor Uplaod A/C     50                                                     100
    8     SGL Items Customer     19          100
         SGL Customer Uplaod A/C     40                                                                  100     
    Please guide me.
    Thanks and Regards
    Kanwaljit
    Edited by: Kanwaljitsap on Jun 27, 2009 12:31 PM

    Hi
    Your strategy is correct, but please note for balancesheet account like customer/vendor only transfer the open items i.e. which are still not knocked off, so you will control the number of lines to be migrated.
    Balance can be uploaded on summerization basis or line item basis . Ideally for GL accounts you can post monthly summerized balances and for subledgers open line item wise,
    However you can use LSMW with the help of ABAPER by extracting data direct from tables.
    cheers
    Mukta

  • Trial Balance Upload function

    Dear Friends,
    We have developed customized Trial Balance upload function.
    While uploading we are Debit all the TB item which are debit and credit the GL A/c. 9999999901 and same we are credit the all the TB items and debit GL a/c 9999999901 which results GL A/c 9999999901 is become the 0 (Zero).
    After completing upload function we can view entry using T Code u2018FB03u2019 to verify the JV.
    Can anyone please guide me how to extract the Trial balance and is there any other way to kin the opening trial balance manually.
    And also which Item from TB I need to take care while uploading the TB as per my seniors they can help me to take care of e.g. Sundry Creditor, Debtors and Cash in Hand and also any subledgers.
    Thanks in advance.
    Mahendra Dev

    For TB (GL Balances):
    S_PL0_86000030 - G/L Account Balances (New)
    S_ALR_87012277 - G/L Account Balances
    Vendor TB: S_ALR_87012082 - Vendor Balances in Local Currency
    Customer TB: S_ALR_87012172 - Customer Balances in Local Currency

  • Interplant Balance Upload

    Dear Experts,
    My query is regarding balances upload in SAP. While uploading GL/Customer/Vendor opening balances in SAP, we are confused with interplant (purchase/sale) balances.I want to know how to upload these interplant balances in system. Can anybody please shade light on this.
    Regards,
    Aniruddha Mahalle

    Hi Aniruddha,
    Inter plant GL accounts are separate GL accounts having own dimension. You have to follow normal balance upload procedure to inter plant also. No special procedure required to update.
    Regards
    Mani

  • Customer balances upload

    hi experts,
    can any one tell me what r the screens come for transaction code 'f-22' customer balances upload.what r the mandatory fields for each screen.
    Thanks &Regards
    ravikumar

    hi javeed
    pls let me know
    arjun

  • GL balance upload

    Hi Everyone,
    I wanted to know while doing GL balance upload using BDC how to differ all the GL accounts because all the GL 's are of different nature.How to deal with them ?
    I wanted to do GL balance upload using BDC im not understanding how to start.please provide me the whole info regarding balance upload.
    thanks
    deepa

    Hello,
    First of all you need to decide the cut-off date in this process.
    If you are going to live on 31.03.2009, you need to stop all your transaction in legacy system by 28.03.2009 (approximately) take the trial balance from the system. Except customers and vendors, you upload the balances, whereas for customer and vendor you need up load the line items as you may have further receipt or payment transactions. Take care of tax as tax might have already been deducted in your legacy system and do not again enter tax line items.
    You can have separate offsetting accounts for different types.
    1. Offsetting account for customer
    2. Offsetting account for vendors
    3. Offsetting account for assets
    4. Offsetting account for materials etc.
    Transfer all the balances in the offsetting account to a general offisetting account. Once your upload work is over, block them for future use.
    Hope this is informative and let me know if you need any further information.
    Regards,
    Ravi

Maybe you are looking for

  • Is There An App For That?

    Just received my new iPhone 4S Friday.  This is my first iPhone.  I've been a Verizon customer for many years (GTE MobleNet) and this is the first time I been able to get an iPhone.  Two quick app questions.  I had the first Motorola Droid and instal

  • How can i edit and delete contacts in mail on my macbook pro?

    how can i edit and delete contacts in mail on my macbook pro?

  • Stack file is invalid: 'SEM-BW' (stack release 600 source release 602)

    Hi experts, I encountered the following error while patching my BCS SEM system using EHPi. Servere error(s) occured in phase PREP_EXTENSION/EHP_INCLUSION! Last error code set: Stack file is invalid: component 'SEM-BW' (stack release 600 < source rele

  • How to create a 'video-less' audio album in FCPX?

    Hello to all! I need guidance in this matter. I have with me about 5 audio albums and am on the job of making music videos of them. I have made videos of a few of them and have posted them to YouTube. Finding the going slow, I am contemplating doing

  • Logical Network - Cloud

    I have a defined a Logical Network and have added a Site into it. Also, I added a pool of IP Addresses as well so that whenever a Virtual Machine is being made through VM Templates, IP Address is available for it. I am unable to see this Logical Netw