FM to change delivery header

Hello All,
BAPI/FM to change delivery header?
Regards,
Sagar

hi SVS,
try to use these bapis
BAPI_INB_DELIVERY_CHANGE 
BAPI_OUTB_DELIVERY_CHANGE

Similar Messages

  • BOM item qty does not change when header qty changes in Outbound Delivery

    Hi,
    We are using sales BOM and exploding it in Sales Order.  ( Item category of components as TAE )
    I am creating a delivery with reference to  a sales oder ( i have maintained copy controls to copy header and item data). Now when i change BOM header quantity in delivery document system is  not redeterming the components quantity , item quantity of the components does not change.
    Please let me how can i control item qunatity when BOM heade quantity changes in outbound delivery document
    Thanks
    Venkata Rama Reddy.K

    Hello Venkata,
    The components item category is TAE, that means the item category for the header item will be TAQ. Also the pricing will be carried out at the header item level only.
    Now for your query:
    The standard item category controls of TAQ will not have any connection between the header & the item level quantities in the delivery. If you change the quantity of the header item in the sales order, the quantity of the compnenets will be automatically adjusted. But this will not happen in the delivery with the normal settings of TAQ.
    Solution:
    Go to transaction code VOV7 - select TAQ - double click - In the Bill of Material/Configuration section , there is a field "Create Delivery Group" - select "X - Form delivery group with one delivery date".
    Save the settings. Now create a new sales order & then create the delivery & try to change the quantity of the header item, the system will automatically change the quantity of the components. (the system may not change the quantity of the components in the delivery of the old sales order - change it manually)
    With best regards,
    Allabaqsh Patil.
    Idhasoft Ltd.

  • Packing Status at Delivery Header

    We are in the process of creating a form that will include the details of the all delivery items packed on a handling unit. We want the output to be triggered automatically when the delivery has been completely packed.
    We created a requirement to look at the packing status at delivery header level.  There is a packing status field (VBUK-PKSTK) at delivery header level  and packing status (VBUP-PKSTA) at item level.
    We did not expect the delivery header level header to change to "C" until all item were "C".  However, the header level field changes to "C" when the first item on the delivery is packed.  I
    I looked through the SAP Notes to see if there was something there to address this, but could not find anything. 
    I then searched the forums and found a message from 2007 saying that you must configure item categories with "must be packed" in order for this to work. I know we do not want to configure our system that way.  We have many sites and most do not use handling units.
    However, before I have my developer add code to check all statuses at item level prior to triggering an output, I want to make sure this is what has to be done.  And I have not missed a note to correct this.
    Thanks in advance.

    HI,
           Go to transaction "SE16N" and enter table "VBUK" and give the delivery number in the field sales document number. Now you type "&SAP_EDIT" in the transaction bar and execute. Here you can change the status(Total goods movement). And see If you can actually bill the document. Kindly please let me know If you need any more information on this.
    Regards,
    Ram Pedarla

  • Incorrect Delivery Header Packing Status

    Dear Experts,
    We did not expect the delivery header level Packing Status to change to "C" until all item were "C". However, the header level field changes to "C" when the first item on the delivery is packed.
    Delivery Header Packing Status VBUK- KOSTK = C  when the first item of the delivery is packed while there are many itmes to be still packed
    Any valuable input on this will be appreciated.
    Regards,
    Shashidhar

    Hi Shashidar,
    Please check the customizing for item cat. ZELN for example
    > Logistics Execution
    > Shipping
      > Packing
       > Packing Control By Item Category
        > Item cat.ZELN  : ' '  Can be packed        <<<<<
                            A   Must be packed
                            B   Cannot be packed
    Please change to  'A'  (Must be packed) and try again.
    regards,
    Ramana

  • Text Determination - Mandatory at Delivery Header

    Hi All,
    I would like to know how to keep TEXT as a mandatory option at Delivery Header.
    This TEXT has to be copied from Sales Document Header.
    My question is how to keep TEXT as mandatory option for doing PGI?
    I tried even by keeping "Text is obligatory"  in the settings but it just throwing a message text is missing however still I am able to do PGI with out inputting the TEXT data.
    PGI should fail because of not maintaining TEXT at Delivery Header
    Request to share your ideas on the same. Thanks in advance.
    Regards,
    Victor.

    Dear Victor,
    In Delivery document, there are different types of texts and they exist at header and item level.
    So, for example if your requirement is for Delivery doc header and you want incompletion log to be created if Header Text is missing.
    Go to transaction VOTX, select Delivery Header, click Text procedure button, select your procedure, double click it.
    In the next screen make Header text field mandatory.
    In similar way, you can make other texts as mandatory as per your requirement.
    If VOTX is outdated then Go to transaction VOTXN, select Delivery Header, click Change button, select your procedure, double click on Text ID's in Text Procedure.
    In the next screen make Header text field is Text is Obligatory.
    In similar way, you can make other texts as mandatory as per your requirement.
    In the Delivery document, the absence of a text for a text type defined as mandatory in the text procedure is reported in the incompletion log and can prevent the creation of subsequent documents.
    Regards,
    Barathi S.
    Edited by: Barathi Sethuram on Aug 1, 2008 6:13 AM

  • Text determination process in the Delivery Header and item

    Hi Exsperts
    Please help me to know step wise process of comfiguring the text detremination at the delivery and Item level
    I have a one scenario The text process was already determined in the Quality  server     it was a correct configuration , but one I need to do here I need to copy Quality configuration to Development client and change the Access sequence in the Deveopment client  and delete  sequence no and move to quality and finally to production
    Please help me to know the basic configuaration of text in the delivery and process of copying already determined text from Quality.
    Thanks

    Go to VOTXN TRANSACTION
    for the delivery header or item level
    1. create the text procudure  for the Text object VBBK
    2. Define the Text IDS for the text procedures (For Master data text the ID are not required and the access sequence)
    3. Define the acces sequence and the requiremnets
    4. Then define the text objects/ tables for accesses
    5. assign the procedure Step 1 to your delivery documnet type or item
    Thanks!
    A  S

  • How to add/change missing header lines in RNIF B2B?

    Hi all,
    We are using RNIF exchange protocol. We have sent invoice from BPEL to B2B. The message invoice reaches the trading partner but they are unable to process it or sent ack back as few header lines are missing in the RNIF envelope.
    Can anyone tell me or provide some pointers abt how to add/change missing header lines in B2B?
    These are the headers missing:
    Delivery header:
    <locationID> <Value>HostTradingPartner</Value> </locationID>
    Service Header:
    <messageStandard>
    <FreeFormText xml:lang="EN">PIDX</FreeFormText>
    </messageStandard> <standardVersion>
    <VersionIdentifier>1.0</VersionIdentifier>
    </standardVersion>
    Can anyone provide some inputs on this?

    As per RNIF standard, all these header elements (locationID in Delivery Header & messageStandard and standardVersion in Service Header) are optional. As you are using RossettNet over RNIF, so Oracle B2B might not be setting these headers.
    I do not have a 10g setup here so cann't test it. I would suggest you to raise a case with Oracle Support because PIDX is a non-RossettaNet standard and it's implementation in Oracle B2B will be different to RossettaNet implementation. Meanwhile, I would try the same in B2B 11g setup.
    Regards,
    Anuj

  • Enable shipping condition in delivery header to be editable

    Hallo experts, need your advise on below:
    Currently the delivery header shipping condition is not allowed to be changed in VL01n or VL02n, it's somehow "grey out". How can I make this field editable? Is it by user exit or transaction variant? Honestly speaking, I don't prefer transaction variant. Is there any SAP standard way to do so except transaction variant?
    Thanks in advance.

    Shipping Condition in Delivery header usually copied, if shipping condition is assigned to  sales document type in customization, otherwise system copies from corresponding customer master data.  As far as standard SAP, you can not change this value during delivery processing. You may check for user exit only.
    please update us if you find anyo therway
    thanks
    Srinivas

  • 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

  • Delivery Header User Exit

    On the Delivery header , in the processing tab , i need to change the delivery date to the current date . Can anyone tell the user exit that can be used to change the value before the delivery is displayed (vl02n) ??
    I went to smod ( package VL) search , there are a bunch of them ?

    Hi,
    Check these exits :
    V02V0001 Sales area determination for stock transport order
    V02V0002 User exit for storage location determination
    V02V0003 User exit for gate + matl staging area determination (headr)
    V02V0004 User Exit for Staging Area Determination (Item)
    V50PSTAT Delivery: Item Status Calculation
    V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
    V50R0001 Collective processing for delivery creation
    V50R0002 Collective processing for delivery creation
    V50R0004 Calculation of Stock for POs for Shipping Due Date List
    V50S0001 User Exits for Delivery Processing
    V53C0001 Rough workload calculation in time per item
    V53C0002 W&S: RWE enhancement - shipping material type/time slot
    V53W0001 User exits for creating picking waves
    VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
    BADI
    DELIVERY_PUBLISH : Announcement of delivery data during database update
    Regards
    Appana

  • Freight forwarder (TF) to be copied into delivery header.

    Hi Experts,
    I have an requirement to copy TF partner function (freight forwarder) from Inter company STPO to the delivery Header.
    Vendor xyz selected in the STPO header and while creating delivery, the vendor should copy into delivery header.
    I am using all standard document types.
    STPO order type = NB
    Default order type= DL
    Delivery type       = NLCC
    Delivery item category = NLC
    Please advise is there any config setting help me to copy freight forwarder into inter company delivery.
    Warm Regards
    Srini

    Thanks for your help Karan and Abhishek.
    Abhishek..
    As per your advise, we did the changes before the user exit FORM USEREXIT_MOVE_FIELD_TO_LIKP and after the exit FORM USEREXIT_DELETE_DOCUMENT now it is working as required to copy Freight Forwarder from STPO header to delivery header automatically.
    Thanks for your quick help thru this forum and over phone.
    Note : Points rewarded.
    Warm Regards
    Srini

  • Configuration path for Inbound delivery header text".

    Hi,
    I want separate text type for Inbound delivery, in transaction code VL31N.
    Can any body suggest on "Configuration path for Inbound delivery header text".
    Thanks & Regards
    Sudhansu

    Hi,
    Use Transaction VOTXN.
    *Select the radio button next to Delivery. and select Text types.
    *Go to new entries and create your own text ID after creating text ID go back to the previous screen and select change button.
    Create access sequence.
    select the access sequence you have created and double click ACCESS SEQUENCE FOR TEXT ID folder and Enter sequence number, Text object  and teh text ID you have created.
    Double click text procedure
    Select the text procedure which you are using for teh Delivery document type and double click TEXT ID IN TEXT PROCEDURE Folder.
    Assign the sequenec number TEXT ID and teh ACCESS sequence.
    Afer all teh above configuration steps the you can see the text ID in header text of billing document.
    To retrive teh contents of teh TEXT ID use Fuction module READ_TEXT with TEXT ID, LANG, NAME and TEXT OBJECT as input parameters.
    Note: The contents of the text ID will be in multiple lines of 70 characters each.
    Regards,
    Arun.S

  • Error Message V1810 - Make to Order No Change delivery plant in Sales Order

    Hello, for a client where I'm setting the flow intercompany , but i have  an error on the Sales Order when I must be change delivery plant.
    Scenario: Make to Order, Product configuration, Sales Order BOM created by  CS60
    Step:
    1 - I create sales order fo company X delivery plant 1000
    2 - Creates Order BOM on plant 2000 Company Y
    3 - creates MRP Planned Order
    4 - Convert Planned Order to Production Order
    For different issues can happen that you decide to ship the goods to a different plant than the X. Production Plant remains 2000.
    If I try to change the plant on the Order system stops me with the following error:
    Message V1810 - Plant can no longer be changed
    Diagnosis
    The plant can no longer be changed in the Following situations:
    The item has been assigned to a project.
    There is a production order for the order item but it is not a staticassembly order.
    Already have accrued costs.
    For the very complex structure of the product I can not delete the production order and sales order BOM.
    How do I handle these cases?
    Can anyone help me?
    Best regards
    Giuseppe

    Hi Guiseppe,
    can you please answer some questionsa to understand your requirement.
    if you want to transfer the goods from plant to plant you can do it through Stcok transfer MB1B t code.
    1.then why you want to change the plant? in which element you are trying to do in sales order or production order?
    2.you mention it as intercompany and MTO can you be clear for whoom you got the sales order(internal or External Customer?

  • Change Column Heading in ALV Report

    Hi,
    I have developed a ALV Report, showing correct output.
    Problem is that Column Heading is not showing correct...means it is showing as per field name. But We want to change as per our understand. i.e. One column heading is like Unrestricted Stock but we want Unrestricted Stock...(BILF is an indicator)..
    We have write in the code..
    FORM build_fieldcat10.
      CLEAR fieldcat_ln.
      ADD 1 TO col_pos.
      fieldcat_ln-ref_tabname = 'MARD'.
      fieldcat_ln-fieldname   = 'LABST'.
      fieldcat_ln-seltext_m   = 'BILF Unrest.Stock'.
      fieldcat_ln-key         = space.
      fieldcat_ln-do_sum      = space.
      fieldcat_ln-col_pos     = col_pos.
      fieldcat_ln-no_out      = space.
      fieldcat_ln-qfieldname  = space.
      fieldcat_ln-hotspot     = space.
      APPEND fieldcat_ln TO fieldcat.
    ENDFORM.                    " BUILD_FIELDCAT1
    But after change the selection text...not showing correct text..How can i change Column heading???
    Please help me..

    Thanks a lot dear..
    My problem resolved by using SCRTEXT_L.

  • How can we change delivery document while doing shipment

    Hi all,
    How can we change delivery document in background while changing shipment document.My requirement is to change the netweight in delivery while doing shipment.Actually it gets blocked when we open the shipment.
    Thank You,
    Regards,

    Hi,
    if you have done the PGI(Post Goods Issue), you can't change the delivery.
    If you want to change the devlivery Qty, you should create the delivery with Partial Split (= X) and you can deliver the splitted qty with a new delivery.
    Regards,
    Baburaj

Maybe you are looking for

  • SAP BI 7.0 and BO XI 3.1 Integration Problems

    Hi everyone, After following through every step of: Re: Checklist for SAP BI 7.0 and BO XI 3.1 integration - Challenges I still get the following problems: 1. Unable to find SAP in CMC Authentication 2. At the login page of InfoView, I can select SAP

  • Oracle DB to MS SQL Server via SSL ODBC

    Is it possible to connect an Oracle 11.2 box to a MS SQL Server box with SSL ODBC? If not; then with 12c? If not SSL, would the two be otherwise compatable with a different form of encryption? TNS perhaps? The MS SQL Server side would be read only. A

  • My LaCie harddrive dos'nt wrk with Final Cut Pro 5

    Hi There. I've got some problem using my Lacie disc with Final Cut 5 on my iMac G5 17". If I disconnect the Lacie Disc - Final Cut works fine. With the disc attatched final cut can´t find the camera and dosn't start properly. They're both connected t

  • Macbook won't read disks!

    my macbook won't read disks, it justs ejects it immediately after insertion.  It's a software based issue because I have my hard drive partitioned with linux mint, and on the linux os all disks work with no problems.  It might be a red flag but I ran

  • Browse to source image not letting me change images on a page

    So - say I have an image on a page; let's call it "one.jpg". If I want to replace it with "two.jpg", I would normally just click the little folder icon in the properties menunext to the Src field, and choose the new image. Done it a million times. Bu