Fn. module to change the delivery

Dear Experts,
    Can some one please suggest me a Fn. Module/ BAPI to change the fields
LIKP-BTGEW and LIKP-ANZPK.
I found that the BAPI 'BAPI_OUTB_DELIVERY_CHANGE', doesn't have these fields to change.
Thanks in Advance
-Amit

>
Keshav.T wrote:
> check ws_delivery_update
Thanks Keshav,
    But this fn. module doesn't have these fields to change.
Please correct if I'm wrong, and suggest if there is any other function module or a bapi.
Thanks
-Amit

Similar Messages

  • CRM 4.0 ABAP Changing the Delivery priority of an Order

    I tried changing the Delivery priority of an Order forcefully through the program  which I was able to do successfully using both the function modules CRM_SHIPPING_PUT_OB and CRM_SHIPPING_MAINTAIN  but when I tried changing the Delivery priority forcefully through the ORDER SAVE badi method-change before update using all the three function modules CRM_SHIPPING_PUT_OB, CRM_SHIPPING_MAINTAIN and CRM_ORDER_MAINTAIN it didn't work. I also tried to change it using the shipping BADI but it didn't work.
    Please Advise !!!!

    Hello Gerwin,
    Maybe you have to change the start event of your action to another one that occurs outside the CRM_ORDER_SAVE.
    There is another thread in the forum called "CRM BADI" where Aidan create an action that save a document.
    He is facing some problems too, but it seems that it is not a recursive call problem.
    Take a look at it...
    Regards,
    Mauricio

  • BAPI Function module to change the schedule agreement

    Hello Experts,
                             Can anyone tell me Bapi function module to change the scheduling agreement,
    my requirement is i will get the new AEDAT(Delivery date in schedule line)
    and WMENG(Quantity)  Every time customer sends me a flat file which has got
    revised schedule delivery date and Quantity. It needs to be updated in my system
    using a BAPI Functional Module.

    Hi Vivek,
    You must use the correct or most appropriate forum, so this thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • Function Module to change the master data attachments?

    Dear Experts,
    In SAP we can enclose the attachments for the Master data. Do we have any standard function module to change the Master data attachments.
    Let me know if any?
    Thanks and regards,
    Reddy

    Hi Reddy,
    Please make use of function module :
    BINARY_RELATION_CREATE_COMMIT
    For detailed information on how to use the FM please see the thread below:
    USE OF THIS fUNCTION MODULE
    Regards,
    Dilek A.

  • Function module to change the date format

    hi guys
    is there any function module to change the date format
    from 08/28/2007(mm/dd/yyyy)
    to August 28, 2007.
    regards
    vamsi

    hi vamsi.,
    Use  CONVERSION_EXIT_SDATE_OUTPUT to get the month name,
    but it will give short form of the month name.
    if you want <b>long description of the month</b>,
    use this peice of code.
    PARAMETERS: V_DATUM(07) TYPE C. "(example input:12-2007)
      DATA:     V_MON(2)  TYPE C,
                V_YEAR(4)      TYPE  C,
                V_MONTHNAME(10) TYPE C,
                V_FULLDATE(30) type c.
    WRITE  V_DATUM+0(2) TO V_MON.
    SELECT SINGLE LTX FROM T247 INTO V_MONTHNAME
    WHERE        SPRAS = SY-LANGU
         AND       MNR  = V_MON.
    CONCATENATE  V_MONTHNAME  v_datum+3(4)
                      INTO V_FULLDATE  SEPARATED BY SPACE.  "(example output : December 2007)
                      write: v_fulldate.
    <i><b>Reawrd points if useful</b></i>
    Chandra

  • Function module to change the address on the business partner in SAP-ISU.

    Can some one send me the function module to change the address of businees partner in SAP ISU.

    Hi,
    The FM you are looking for is BAPI_BUSINESS_PARTNER_CHANGE
    You can use the table PARTNERADDR to fill the Address of the Partner.
    Hope this helps.

  • Function module to change the reason code for status in a Opportunuity/lead

    Hi,
    What is the function module to change the opportunity reason.   I was able to change the status using the crm_order_maintain but How can I change the reason for that opportunity.
    Thanks
    naveen

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • Function Module to change the user status of a business transaction

    Hi,
      I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
    - CRM_STATUS_MAINTAIN_OW
    - BBP_PROCDOC_STATUS_CHANGE_DIRE
    - CRM_ORDER_CHANGE_STATUS
      But these FM says that it has to be used for changing system status.
    Thanx,
    Sivagami.R

    hi Siva,
    here is some sample code :
    data :
      ip_guid            type  crmt_object_guid,
      ls_status            type  crmt_status_com,
      lt_status            type  crmt_status_comt,
      ls_input_field       type  crmt_input_field,
      ls_input_field_names type  crmt_input_field_names,
      lt_input_fields      type  crmt_input_field_tab,
      lt_obj_guids         type  crmt_object_guid_tab,
    ip_guid = <your guid>.
    ls_status-ref_guid = IP_GUID.
    ls_status-ref_kind = 'A'.
    ls_status-status = lv_newstat.
    ls_status-user_stat_proc = 'ZCRMCOM1'.
    ls_status-activate   = 'X'.
    INSERT ls_status INTO TABLE  lt_status.
    ls_input_field-ref_guid = IP_GUID.
    ls_input_field-ref_kind = 'A'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    insert IP_GUID into table lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
        it_status       = lt_status
    CHANGING
        ct_input_fields = lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
        it_objects_to_save = lt_obj_guids
    EXCEPTIONS
        OTHERS              = 2.
    COMMIT WORK.
    please award points if helps
    cheers

  • Function Module for Posting the Delivery Doument

    Dear Experts,
            Could you please send me the Function Module for Posting the Delivery Doument.
    Thanks & Regards,
    Ashok.

    Hi,
    What do you mean by POSTING the delivery document?
    Are you mentioning the creation of Goods Issue?

  • Changing the Delivery

    Hi..
    if we create a delivery for a sales order and also do the PGI, can i go back and correct the quantity later or do i need to cancel the delivery and then re-post with correct units?
    Also, can you please tell me the transactions/steps to change / cancel the delivery?
    E..g: If you have an order for 50 units, and you created a delivery/ PGI  for 45 units and later can we go back and change the quantity to 50 units with out cancelling the delivery/PGI? If not, what is the standard way to handle this issue?
    Also, what is the back order processing? Can it be used in these scenarios?

    Hi,
    If you have an order for 50 units, and you created a delivery/ PGI for 45 units and later can we go back and change the quantity to 50 units with out cancelling the delivery/PGI? If not, what is the standard way to handle this issue?
    There are two ways
    A. If you want the goods to go in the same delivery, reverse (VL09) the existing delivery and change the delivery quantity as required and do PGI
    B. If the goods can go in a different delivery, creata a new delivery with the remaining goods and do PGI.
    And if the invoice has alreday been created , Cancel invoice (Vf11/Vf02) -- VL09 -- VL02 -- VF01.
    In the second case you can club both the deliveries into a single invoice.
    Backorders
    Orders for which goods are still pending to be shipped, this occurs when the quantity is insufficent.

  • BAPI_SALESORDER_CHANGE using this i want to change the Delivery Block

    Hi ABAP Gurus,
    i am working on a urgent requirement of changing the Delivery Block of sales order VA02. I am trying to do this using FM            BAPI_SALESORDER_CHANGE .
    Please see the following code which i am giving for the time being.
    it_headerx-updateflag = 'U'.
    append it_headerx.
    it_bapischdl-itm_number = '00010'.
    it_bapischdl-req_dlv_bl = '01'.
    APPEND it_bapischdl.
    it_bapischdlx-itm_number = 'X'.
    it_bapischdlx-req_dlv_bl = 'X'.
    APPEND it_bapischdlx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '0000000560'
       order_header_in             = it_header
        order_header_inx            = it_headerx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
      TABLES
        return                      = it_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
       schedule_lines              = it_bapischdl
       schedule_linesx             = it_bapischdlx
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    But the Delivery block is not changing from Credit limit to Pending Allocation
    But i am getting the following messages in the it_return table
    1     S     V4     233     ORDER_HEADER_IN has been processed successfully
    2     S     V1     041     No data was changed
    I am waiting for your suggestions
    Thanks in Advance

    Hi Prashanthi,
    Check whether delivery number is already created or not for that  order.
    If deliver already  existthen u can not create delivery block on that.
    and also check whther r u calling bapi commit after this.
    Regards,
    Siva

  • How to cancel the second ATP after changing the delivery date in the SO

    Hello,
    our solution creates automaticly a production order accorting to sales order.
    The system calcule ATP for each items at the creation of the sale order.
    Sometime, we change the delivery date on the scheduled line and SAP do another ATP. If the composants are not available we get an TSUP status on the order production.
    How can we cancel the second ATP ?
    Is it possible to cancel it when we change delivery date ?
    Thanks
    Regards
    Pierre

    I think its not possible to skip the atp during change of the sales order.  All these determinations will trigger before saving the order
    regards,
    Ramana

  • Any function module to change the mode in Planning board

    Hi guys,
    Is there any function module to change the mode in Planning board?
    I would like to call a custom screen to to chagne the mode since the strandard function cannot show enough info.
    Thanks.

    Thanks Bhanu for ur quick reply.
    Is that enough to change the technical name in the table RSZCOMPDIR.
    Let me give some more information, idea is to change the technical name of all the queries present in a system based on a new naming conventions.
    Eg.
    Change all the technical name of queries ZQSAP to ZQXYZ.
    If there is function module which allows to change the technical name of the queries that not only updates the table RSZCOMPDIR but also all the interlinked tables.

  • Can I use SD_DELIVERY_UPDATE_PICKING to change the delivery qty?

    hi experts,
    I have used  SD_DELIVERY_UPDATE_PICKING to updating the picking quantity in a delivery document and post goods issue. also want to use  the FM to change the delivery qty ,when the picking qty < delivery qty ; and do the post goods issue automatic .
    and i find the field :
       VBPOK-LIANP         *Change delivery quantity
    i do like this ,when  VBPOK-LFIMG > VBPOK-PIkMG ,
    VBPOK-LIANP = 'X'.
    VBPOK-LFIMG = VBPOK-PIkMG 
    but the FM also can't change delivery qty.
    please help me !

    Hi,
       We need only Delivery Number and its item for picking. I am not clear with what reference number you were referring to.
    Thanks,

  • Sales order as complete and change the delivery status.

    Hello All,
    We  produces an order but then the customer calls and does not want the material so we in turn will scrap the material against the production order using transaction MB1A mvmt type 951 E. 
    Since the material were scrapped and no material were shipped against the sales order, the sales order u201Coverall statusu201D remains open and the delivery status is u201Cnot deliveredu201D.
    To close the order  we u201CRejected line itemu201D and moved on.
    I would like to know if there is another way we can set the sales order as complete and change the delivery status. 
    Regards
    Amit

    Hello,
    you can use the status profile for the same. but a better way would still be to use the rejection reasons . the rejectionr reasons are very well integrated with the document flow as well as transfer of requreiemnts to Production
    so a best practise would be to use rejection reason
    hope this helps
    Thanks
    akasha

Maybe you are looking for