BAPI to update AR entries

Hi,
is there any BAPI to update AR entries for a customer along with the GL.
Regards,
vijay.

I'm trying to post a customer invoice document in FI basically to post an AR document .
Regards,
vijay.

Similar Messages

  • Searching BAPI to update communication entries for Personal data

    Hi,
    to change the communication entries of an employee:
    - Telephone Number
    - 1st add'l number...
    I need a BAPI.
    It seems that the BAPI_EMPLCOMM_CHANGE is not useful.
    Does anybody know a better BAPI for that?

    Hello ,
    BAPI_EMPLCOMM_CHANGE works (Rel.4.6C).
    the construction is  :
    Get existing communication data
    CALL FUNCTION 'BAPI_EMPLCOMM_GETDETAILEDLIST'
             EXPORTING
                  employeenumber = employeenumber
             IMPORTING
                  return         = wa_retget
             TABLES
                  communication  = t_comm.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
             EXPORTING
                  number = employeenumber
             IMPORTING
                  return = wa_retenq.
      CALL FUNCTION 'BAPI_EMPLCOMM_CHANGE'
             EXPORTING
                  employeenumber  = lw_change-employeeno
                  subtype         = lw_change-subtype
                  objectid        = lw_change-objectid
                  lockindicator   = lw_change-lockindic
                  validitybegin   = lw_change-validbegin
                  validityend     = lw_change-validend
                  recordnumber    = lw_change-recordnr
                  communicationid = lw_change-id
                  nocommit        = 'X'
             IMPORTING
                  return          = lw_retchg.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait   = 'X'
               IMPORTING
                    return = wa_ret2.
       CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
             EXPORTING
                  number = employeenumber
             IMPORTING
                  return = wa_retdeq.
    we use it with subtypes '0010' (email) and '0020' (phone).
    Regards Wolfgang

  • BAPI to update Accounts Recievable

    Hi,
    is there any BAPI to update AR entries for a customer along with the GL.
    Regards,
    vijay.

    Hi Vijay,
    You can use this BAPI.
    BAPI_ACC_DOCUMENT_POST - for GL/AP/AR
    BAPI_ACC_INVOICE_RECEIPT_POST - for AP
    BAPI_ACC_GL_POSTING_POST - for GL
    Hope this will help.
    Regards,
    Ferry Lianto

  • BAPI to update a single characteristic in IE02

    Hi,
          I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
          Any pointers on this is highly appreciable.
    Navin

    Hi,
    the documentation of the bapi says:
    Caution
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration
    so i guess you have to pass all information you do not want to lose.
    i´ve  found this as well:
    http://www.sapfans.com/forums/viewtopic.php?t=125320
    Best regards.
    Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

  • FM or BAPI to update the database table /TDAG/CPT_DEC_IN

    Hi All,
      I need to update a few entries in the database table /TDAG/CPT_DEC_IN (CP: Declarable Substances, Independent attributes). This table contains data for the EHS ( Environment, Health and Safety) Module in SAP.
      Instead of doing a direct database update, I needed a FM or a BAPI to update the same.
    Any pointers towards this will be really useful.
    Thanks and Regards,
    Arti Dohare

    Hi Raymond,
    Thanks for the reply. it seems I was using the wrong BAPI then.
    I actually created the network using the BAPI "BAPI_BUS2002_CREATE".
    This BAPI does not have the field call "Resp. cost cntr" in its input parameters and so I could not pass it there. Now I am trying to find if there is any standard FM or BAPI to maintain this field in the networks.
    I request you to please suggest some FM or BAPI if you know.
    Thanks and Regards.
    Piyush R Sakharkar.

  • BAPI to update EKPO-LOEKZ

    Hello All,
    Is there a BAPI to update ekpo-loekz field.
    Thanks
    Aravind

    Hi Arvind
    Currenty you are passing only one line in the FM not internal table for the poitmes...
    Main thing is you have to pass internal table for line items inf BAPI BAPI_PO_CHANGE instead of work area or single line
    ** Fill purchase order from ekko
        l_purchaseorder = wa_ekko-ebeln. " Try to use EKKO-EBELN and change the logic accordingly..
    LOOP AT it_ekpo INTO wa_ekpo where ebeln = wa_ekko-ebeln. " B4 this write FOR ALL ENTRIES logic to fill EKPO
        CLEAR: l_purchaseorder,
               l_r_poheader,
               l_r_poheaderx.
        l_poitem-po_item = wa_ekpo-ebelp.
        l_poitem-delete_ind = C_X.
        APPEND l_poitem.
        l_poitemx-po_item = wa_ekpo-ebelp.
        l_poitemx-PO_ITEMX = C_X.
        l_poitemx-delete_ind = C_X.
        APPEND l_poitemx.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CHANGE'
             EXPORTING
                  purchaseorder = l_purchaseorder
             TABLES
                  return        = l_t_return
                  poitem        = l_poitem[] " Pass Internal Table instead of one row
                  poitemx       = l_poitemx[] . " Pass Internal Table instead of one row
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait = C_X
       ENDIF.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • BAPI for updating Maintain Duration in Transportation and Delivery scheduling

    Hi all,
    Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
    A list of all BAPI's in Transportation Management module would be great as well.
    Regards,
    Avi

    Hi,
    @praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
    I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
    Any more suggestions?
    Thanks
    Ashish

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • FM'S or BAPI to update the condition records in VB22 transaction

    Hi,
    I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
    The transaction is VB22.
    If you can send me a smaple code it will be really helpful.
    Regards,
    Sasi

    Check this:
    http://www.sapnet.ru/viewtopic.php?p=1644
    Bapi for VK11 & VK12
    Reddy

  • BAPI to update  Profit Center Group

    Hi ,
    Is there any BAPI To update PCG ?
    Moderator message : Search for available information, duplicate thread locked.
    Edited by: Vinod Kumar on Oct 17, 2011 2:19 PM

    Hi
    Try This BAPI...
    BAPI_PROFITCENTER_CHANGE
    Regards
    Ajit

  • BAPI to update data in KNA1 and ADR* tables

    Hi,
    I have to change customer data via BAPI.
    I'm searching for a BAPI that updates KNA1 and ADR* tables.
    (so that data will be coherent).
    I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
    and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
    Can you help me ?
    Thanks,
    Sandrine.

    I came accross such a requirement but couldn't find a single function module.
    I think try using both the FM's else BDC is the only option left.
    you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.

  • BAPI for creating service entry

    Hi all,
    Please let me know if there is a BAPI for creatuing service entry. Please provicde sample code.
    Thanks,
    Rajan

    Hi,
    Try this BAPI " BAPI_SERVICE_CREATE ".
    Regards
    Milan

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Need a bapi to update person data in IR02 tcode.

    Hi experrts,
    I need to update person data in IR02 tcode through plant and workcenter. But I am looking for BAPI to update this person data.
    Please help me on this as I caught up badly.
    Thanks in Advance.
    J.P

    I have closed this myself by creating a custom program.

Maybe you are looking for

  • Adding a Mail Account on the IPhone

    Can any-one help? I am fed up with calling BT! I migrated onto BT Mail a few days ago and my mail account stopped working on my iphone.  So I deleted the account and set up a new one with my new password but it will not accept it. I decided to try ad

  • Live Camcorder Output To MacBook Air

    I have a Sony MC2000e camcorder and a November 2011 MacBook Air. I would like to livestream the output from the camera, as it is being recorded, into my MacBook Air. The camera has HDMI, and component output but no firewire. Can anyone give me some g

  • I am not able to change the ringtone on my Palm Pre?

    I spent a couple days on researching and troubleshooting, but unable to find anything. Can someone shed some lights?  I followed the same instructions given on the Palm support website, but it wouldn't change the ringtone.  I tried using the ringtone

  • I want BT infinity but....

    I am after some guidance about the installation.  I understand the basics about the need for the Infinity modem to be connected to the master socket and the special data cable between it and the home hub but.... Here is the layout: I have the BT line

  • Error message said I did not have authority to download Adobe Flash Player

    In updating Adobe Flash Player an error message said I did not have authority to download it. I am listed as Administrator through the control panel and have been doing this for years! What do I do?