Need FM or BAPI to update LIKP-BEROT

After the second transfer order is created with source storage type as ‘200’ and destination storage type as ‘916’, populate the field LIKP-BEROT with value “200”. This is required for the business to identify the deliveries that are ready for 2nd step picking confirmation.
I need a fm or bapi to update for a perticular field berot.
Pls help.
Madhavi

Check this function module.
CHANGEDOCUMENT_PREPARE_POS
Thanks,
Srinivas

Similar Messages

  • Hi i need help on BAPI to Update the ADRT & ADR6 tables

    hi,
    i need help on BAPI to Update the ADRT & ADR6 tables
    these are the fields to be updated
    ADRT-Remark Table
    ADR6-SMTP_ADDR
    ADR6-DFT_RECEIV
    Please guide me what parameters to be passed to update
    ADR6 & ADRT tables

    Look at this function Group
    <b>BUBA_3                         SAP BP: External BAPI Function Modules     </b>                        
    BAPI_BUPA_ADDRESS_ADD          SAP BP, BAPI: Add Address                                          
    BAPI_BUPA_ADDRESS_CHANGE       SAP BP, BAPI: Change Address                                       
    BAPI_BUPA_ADDRESS_GET_NUMBERS  SAP BP, BAPI: Read Address Numbers                                 
    BAPI_BUPA_ADDRESS_GETDETAIL    SAP BP, BAPI: Read Address                                         
    BAPI_BUPA_ADDRESS_REMOVE       SAP BP, BAPI: Delete Address                                       
    BAPI_BUPA_ADDRESSES_GET        SAP BP, BAPI: Determine All Addresses                              
    BAPI_BUPR_CONTP_ADDR_ADD       SAP BP, BAPI: Add Contact Person Relationship Address              
    BAPI_BUPR_CONTP_ADDR_CHANGE    SAP BP, BAPI: Change Contact Person Relationship Address           
    BAPI_BUPR_CONTP_ADDR_GETDETAIL SAP BP, BAPI: Read Contact Person Relationship Addresses           
    BAPI_BUPR_CONTP_ADDR_REMOVE    SAP BP, BAPI: Delete Contact Person Relationship Address           
    BAPI_BUPR_CONTP_ADDRESSES_GET  SAP BP, BAPI: Read Contact Person Relationship Addresses           
    BAPI_BUPR_EMPLO_ADDR_ADD       SAP BP, BAPI: Add Employee Relationship Address                    
    BAPI_BUPR_EMPLO_ADDR_CHANGE    SAP BP, BAPI: Change Employee Relationship Address                 
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL SAP BP, BAPI: Read Employee Relationship Address                   
    BAPI_BUPR_EMPLO_ADDR_REMOVE    SAP BP, BAPI: Delete Employee Relationship Address                 
    BAPI_BUPR_EMPLO_ADDRESSES_GET  SAP BP, BAPI: Read Contact Person Relationship Addresses           
    Look also at OSS <a href="https://service.sap.com/sap/support/notes/306275">Note 306275 - Transferring address data</a>
    Regards

  • BAPI to update LIKP and LIPS

    Is there a BAPI to update LIKP and LIPS?
    Thanks

    Please close your post "Updating Address changes" if your question is answered in there.
    This is related to the same issue you entered there, and again I don't see how you can achieve that. You can only update these tables through the business object associated with them, which is the delivery. If you are not changing the delivery, but want to change the contents of these two tables, direct update is the only option.
    I, once again try to convince you not to do these updates directly to the tables. SAP is not database application like Oracle. This is a business application and the tables are updated through transactions. Please try to talk to your users about the problems with such updates and give them the alternative of reversing the document. Any reasonable business will understand the ramifications if they are presented with the alternatives.
    Please close the posts and reward as they are answered. You don't have to post different messages if they are related to the same problem.
    Thanks,
    Srinivas

  • 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

  • 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.

  • Need  F.M or BAPI to update the table IFLOT---URGENT

    HI ALL,
    i need  F.M or BAPI to update the table IFLOT
    its urgent ........................

    use the function module
    EXIT_SAPLITO0_001/2
    www.jt77.com/plant-maintenance/quality-management-11667.html - 11k -
    reward if useful

  • Need FM or BAPI for Vendor Master Update

    Hi Friends,
    I require a FM or BAPI to update the vendor master data, if i change the name of the vendor only that change should reflect all other data should remain the same.
    but ifi use VENDOR_UPDATE i have to pass all the data, other wise it will be blank.
    regards
    Kumar M

    First of all get details of the vendor using BAPI vendor get detail and then update.
    There is one bapi but this is online. BAPI_VENDOR_EDIT

  • 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

  • Is there any BAPI to update LFA1/LFB1?

    Hi, Expert:
    I wrote one customer program to upate the following two fields. Is there any BAPI I can use, because It's master data. we need create CHANGE POINTERS.  we can't directly update them.
    LFA1-SPERQ (2)  Function That Will Be Blocked
    LFB1-ZAHLS (1) - Block key for payment
    Regards,
    Zhang

    Hi experts, I have to modify the master data also, but, the scenario for me is diferent. I have to update the withholding - tax information. I need to create new rows , and also modify others. I know that´s information is in the LFBW table, but i can´t find any bapi to update it. Any Idea?
    Thanks in advance.

  • Bapi to update VF02

    Hi,
         Need to update the billing document,Kindly let me know the BAPI for update the transaction.

    Hai.
    check this.
    try the following BADI's for Billing
    DIP_CREATE_FOLLOW_UP
    WB2_SALES_INV_INPUT
    WB2_SALES_INV_OUTPUT
    WSTRN_DATA_PLANNED
    Check out the help on user exits in SD processing.
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    regards.
    sowjanya.b

  • 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.

  • Req Help to Update LIKP-LIFSK,Delivery Header block through custom program.

    Hi everyone,
    Can you please suggest a FM or BAPI to update the delivery header block field, LIFSK, in LIKP table through FM or a BAPI.
    I tried using 'BAPI_OUTB_DELIVERY_CHANGE' as below to update the LIKP-LIFSK, but it is not working.
    DATA : ls_likp TYPE likpvb,
           ls_dlv_header  TYPE bapiobdlvhdrchg,
           lt_dlv_items_control TYPE STANDARD TABLE OF bapiobdlvitemctrlchg,
           ls_dlv_item_control TYPE bapiobdlvitemctrlchg.
    DATA : ls_dlv_hdr_control   TYPE bapiobdlvhdrctrlchg,
           ls_dlv_techn_control TYPE bapidlvcontrol,
           lt_bapireturn TYPE STANDARD TABLE OF bapiret2,
           ls_bapireturn TYPE bapiret2,
           lt_bapiext2 TYPE STANDARD TABLE OF bapiext,
           ls_bapiext2 TYPE bapiext.
    DATA :  BEGIN OF ls_mns_of_del,
                 vbeln TYPE likp-vbeln,     "delivery number
                 lifsk TYPE likp-lifsk,     "means of transport
           END OF ls_mns_of_del.
    CONSTANTS : lc_del_blck           TYPE bapiext-param VALUE 'LIKP-LIFSK'.
    PARAMETERS : p_dlv TYPE likp-vbeln OBLIGATORY."  OBLIGATORY.
    SELECT SINGLE *
      FROM likp
      INTO ls_likp
      WHERE vbeln = p_dlv.
    CHECK sy-subrc = 0.
    CLEAR : ls_bapiext2.
    ls_mns_of_del-vbeln = ls_likp-vbeln.
    ls_mns_of_del-lifsk = 'BX'.
    ls_bapiext2-param = lc_del_blck .
    ls_bapiext2-value = ls_mns_of_del.
    APPEND ls_bapiext2 TO lt_bapiext2.
    CALL FUNCTION 'MAP2E_LIKPVB_TO_BAPIOBDLVHDRCH'
      EXPORTING
        likpvb          = ls_likp
      CHANGING
        bapiobdlvhdrchg = ls_dlv_header.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        header_data           = ls_dlv_header
        header_control        = ls_dlv_hdr_control
        delivery              = ls_likp-vbeln
        techn_control         = ls_dlv_techn_control
      TABLES
        extension2            = lt_bapiext2[]
        return                = lt_bapireturn[]
      EXCEPTIONS
        communication_failure = 1
        system_failure        = 2
        OTHERS                = 3.
    IF lt_bapireturn[] IS INITIAL.
      COMMIT WORK AND WAIT.
      MESSAGE 'Success' TYPE 'I' DISPLAY LIKE 'S'.
      LEAVE LIST-PROCESSING.
    ELSE.
      MESSAGE 'Error' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE LIST-PROCESSING.
    ENDIF.

    Hi ,
    After seeing your code, you are not passing any parameters to header control data. once check the below code, it might useful.
    DATA: h_data like bapiobdlvhdrchg,
             h_control like bapiobdlvhdrctrlchg,
            delivery like bapiobdlvhdrchg-deliv_numb,
            item_data like bapiobdlvitemchg occurs 0 with header line,
            item_control like bapiobdlvitemctrlchg occurs 0 with header line,
             return like bapiret2 occurs 0 with header line.
            CLEAR: h_data, h_control, delivery, item_data, item_control,
                   return.
            REFRESH: item_data, item_control, return.
           h_data-deliv_numb = gst_alv_table-c6_vbeln.
           h_data-dlv_block  = p_new_del_blck.         "the new delivery block
           h_control-deliv_numb = gst_alv_table-c6_vbeln.
           h_control-dlv_block_flg = 'X'.
           delivery = gst_alv_table-c6_vbeln.
              CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
                  EXPORTING
               header_data                   = h_data
             header_control                = h_control
              delivery                      = delivery
               TABLES
                return                        = return .
             "Check if return table got an error.
             READ TABLE return WITH KEY type = 'E'.
                IF NOT sy-subrc IS INITIAL.
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                   EXPORTING
                  wait = 'X'.
                 ELSE.
             ROLLBACK WORK.
                            ENDIF.
    Regards,
    Parupelly

  • BAPI to update payr table

    Hi
    I need to update PAYR database table
    Is there any BAPI to update this table

    If there is a BAPI function then you could use that - using some of the other direct update functions or methods suggested is likely to leave you with data integrity issues.
    If there is no BAPI, check what normal transaction codes are available to perform the update and use a BDC or CALL TRANSACTION using them.  There also might be a SAP supplied program which does the updates you need.  You may need to implement user exits in the transaction to get the functionality also.
    Updating the single table in isolation can cause problems - for example does this table have change history objects associated with it that SAP transactions would update?
    Andrew

  • BAPI for update BKDF

    Hi
    Does somebody knows some FM or BAPI for update a document BELNR in BKDF ? (i need to change the XDELT field).
    Thanks for your help.
    Frank

    Hello,
    Make use of the function  in ' UPDATE TASK' below this should help you out
    BELEG_WRITE_DOCUMENT
    Regards
    Suresh Niar

  • Bapi to update order header user status

    Hi
    Please suggest any FM or BAPI to update header user status or if no user status exist then it will add the User status at header level.
    Thanks
    Aditya

    Hi Aditya,
       Object key is nothing but the Order number.
       If you are changing the header level data the Object key is ordernumber. Example: 000300001487
       IF you want to change the Components or Partners or  Operations then we have to specify the line item number along with order number.
      Example : if line item 0020 needs to be changed then Object key = 0003000014870020.
      Hope this may be useful.
      Regards,
      Sravanthi

Maybe you are looking for

  • Internal error [/SAPAPO/OM_TS_TGRID_CREATE]

    Hi All, I am using  BAPI BAPI_PBSRVAPS_GETDETAIL to read live cache key figure. Its working finr when I execute the program in foreground and returns values but when I try executing this is background it gives me following error in Job Log:- Internal

  • How to install apps considered installed by "Adobe Creative Cloud"?

    I've a membership of Creative Cloud and installed the corresponding apps. After some time I deinstalled some of the apps manually (file system delete). Now I want to install Lightroom again, but as "Adobe Creative Cloud" considers this app still inst

  • Burning Solaris 8 sparc CD

    Hi, I have downloaded Sun Solaris 8 binaries. I have unzipped installable CD image using win zip 8.0. Only 1 file came out of that. But can I know how I burn the bootable CD using HP cd writer . What is there about ISO image. Should I have to rename

  • I tunes in 64 bit os is always a problem

    i use i tunes in my laptop with win 64 bit os. its not working properly with any 64bit os it hangs for a while or it takes too much time for copying the songs when compared to win 32bit os

  • The XML document builds on itself when called twice. Help!!!

    When I run the Sample program for the Oracle classgen for Java the XML document node repeats itself when called the second time. This is what I mean: import oracle.xml.classgen.*; import oracle.xml.parser.*; public class TestWidl static WIDL w1 = new