Updating sales unit VRKME via IDOC DELVRY03

Dear All,
I am using IDOC : DELVRY03 , message type SHPCON for updating picked quantities for outbound deliveries from an external WM system.
Our delivery quantity is defined in sales units (for example : 1 box which contains 10 PC). PC is the base unit of measure for the product.
Sometimes there is not enough stock in the warehouse so they can pick less then 1 box, for example : 8 PC.
In that case I need to update the picked quantity from 10 to 8 and also update the unit for the delivery from box to PC.
IDOC DELVRY03 does not update the delivery unit even that the field is defined in segment : E1EDL24-VRKME.
Does anyone knows how can I update this field using an IDOC ? BAPI ? or any other option ?
Thank you very much,
Miriam Harel.

Hi Miriam,
Welcome to SDN.
Please try BAPI BAPI_OUTB_DELIVERY_CHANGE to update the sales unit.
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • How to update freight charge via idoc DELVRY03

    Hi,
    We are using message type SHPCON for our inbound idoc, which will update the shipping info on the SAP delivery document.
    On the Idoc DELVRY03, i didnt find a place or segment where it will allow us to store/get the freight charge information from external system.
    Can someone help on this issue please.
    Thanks,
    -Naga

    Thank you Pankaj for your reply.
    I was hoping to know how the system handles this situation with standard idoc.
    Because i am new to the idoc world, i thought i am missing something.
    I will wait for some more responses, if i have no choice, then i will go with the enhancement.
    -Naga

  • Steps for Sales order creation via IDOC

    Hi,
    I am getting a file on the application server ,which is a purchase order IDoc outbound from another SAP system. I need to use this file to create a sales order through an IDOC in my SAP system. What are the various settings and steps need to be undertaken to achieve this?
    Regards
    Nishant

    Nishant,
    This is NOT the way IDOCS are to be used. When you want to communicate between two SAP systems, you recieve a info from a middleware you use IDOCS.
    Here if you want you can read the data and call the concerened BAPI, to create the Sales order.
    regards,
    Ravi
    Note : Please mark the helpful answers

  • Sales/Stock data via IDOC for replenishment

    How to capture customer sales and stock data through IDOC for customer replishnment.
    We want to see stock update in Tcode WVM4 (w10t --> Logistics  -->  Retailing -->  Sales  -->
    Replenishment  --> Overview > Stock / Sales> WVM4).I am not sure the correct way to resolve this issue.
    We have the flat file, which need to be uploadin our sap database table, so we can use it in customer specific replinshment.
    I have followed below step to achieve this target.
    Process followed:- Idoc Inbound
    Step1) Created segemt WE31 based on our file data
    step2) Creation of Idoc type we30
    step3) Created Msg type we81
    step4)Assign Message type to idoc type WE80
    what other/new step is required to complete this requirement? We don't need any ALE connection, since we have flat file in out local system

    Nishant,
    This is NOT the way IDOCS are to be used. When you want to communicate between two SAP systems, you recieve a info from a middleware you use IDOCS.
    Here if you want you can read the data and call the concerened BAPI, to create the Sales order.
    regards,
    Ravi
    Note : Please mark the helpful answers

  • Unable to Create/Update Sales Party Object via FA Web Service Calls.

    Invoking the updateSalesParty() and createSalesParty() methods of the Web Service proxy doesn't show any errors, but at the same time, it doesn't create or update the Sales party objects on the Fusion instance.
    ( https://rws-fap0267-crm.oracledemos.com/crmCommonSalesParties/SalesPartyService?WSDL )
    I've attached the java code and console output when I run the code for your ready reference.
    Any pointers on what I'm missing will be very helpful.
    Thanks in advance!
    Cheers,
    Sharath

    I tried invoking the WS -via SOAPUI - using the payload specified in WebService Sample Payload for Creating a Sales Account (Doc ID 1362190.1) and I get the follow error response.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <env:Header/>
      <env:Body>
          <env:Fault>
            <faultcode>env:Server</faultcode>
            <faultstring><![CDATA[JBO-27023: Failed to validate all rows in a transaction.JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245710 ] in OrganizationDEOJBO-27014: Attribute Type_c in OrganizationDEO is required.JBO-27014: Attribute Type_c in OrganizationDEO is required.JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245711 ] in PartySiteEOJBO-HZ:::HZ_NO_LOCATION_FOUND: <MESSAGE><NUMBER>HZ-120085</NUMBER><TEXT>The location 958 is invalid. Use a valid location from the HZ_LOCATIONS table.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245712 ] in PartySiteUseEO: nullJBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245714 ] in PartyUsageAssignmentEO: null]]></faultstring>
            <detail>
                <tns:ServiceErrorMessage xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                  <tns:code>27023</tns:code>
                  <tns:message>JBO-27023: Failed to validate all rows in a transaction.</tns:message>
                  <tns:severity>SEVERITY_ERROR</tns:severity>
                  <tns:detail xsi:type="tns:ServiceRowValErrorMessage">
                      <tns:code>27024</tns:code>
                      <tns:message>JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245710 ] in OrganizationDEO</tns:message>
                      <tns:severity>SEVERITY_ERROR</tns:severity>
                      <tns:detail xsi:type="tns:ServiceAttrValErrorMessage">
                        <tns:code>27014</tns:code>
                        <tns:message>JBO-27014: Attribute Type_c in OrganizationDEO is required.</tns:message>
                        <tns:severity>SEVERITY_ERROR</tns:severity>
                        <tns:exceptionClassName>oracle.jbo.AttrValException</tns:exceptionClassName>
                        <tns:attributeName>Type_c</tns:attributeName>
                        <tns:objectName>OrganizationDEO</tns:objectName>
                      </tns:detail>
                      <tns:detail xsi:type="tns:ServiceAttrValErrorMessage">
                        <tns:code>27014</tns:code>
                        <tns:message>JBO-27014: Attribute Type_c in OrganizationDEO is required.</tns:message>
                        <tns:severity>SEVERITY_ERROR</tns:severity>
                        <tns:exceptionClassName>oracle.jbo.AttrValException</tns:exceptionClassName>
                        <tns:attributeName>Type_c</tns:attributeName>
                        <tns:objectName>OrganizationDEO</tns:objectName>
                      </tns:detail>
                      <tns:exceptionClassName>oracle.jbo.RowValException</tns:exceptionClassName>
                      <tns:objectName>OrganizationDEO</tns:objectName>
                  </tns:detail>
                  <tns:detail xsi:type="tns:ServiceRowValErrorMessage">
                      <tns:code>27024</tns:code>
                      <tns:message>JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245711 ] in PartySiteEO</tns:message>
                      <tns:severity>SEVERITY_ERROR</tns:severity>
                      <tns:detail xsi:type="tns:ServiceRowValErrorMessage">
                        <tns:code>HZ:::HZ_NO_LOCATION_FOUND</tns:code>
                        <tns:message><![CDATA[JBO-HZ:::HZ_NO_LOCATION_FOUND: <MESSAGE><NUMBER>HZ-120085</NUMBER><TEXT>The location 958 is invalid. Use a valid location from the HZ_LOCATIONS table.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>]]></tns:message>
                        <tns:severity>SEVERITY_RECOVERABLE_ERROR</tns:severity>
                        <tns:exceptionClassName>oracle.jbo.RowValException</tns:exceptionClassName>
                        <tns:objectName>PartySiteEO</tns:objectName>
                      </tns:detail>
                      <tns:exceptionClassName>oracle.jbo.RowValException</tns:exceptionClassName>
                      <tns:objectName>PartySiteEO</tns:objectName>
                  </tns:detail>
                  <tns:detail xsi:type="tns:ServiceRowValErrorMessage">
                      <tns:code>27024</tns:code>
                      <tns:message>JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245712 ] in PartySiteUseEO</tns:message>
                      <tns:severity>SEVERITY_ERROR</tns:severity>
                      <tns:detail xsi:type="tns:ServiceErrorMessage">
                        <tns:severity>SEVERITY_ERROR</tns:severity>
                        <tns:exceptionClassName>java.lang.NullPointerException</tns:exceptionClassName>
                      </tns:detail>
                      <tns:exceptionClassName>oracle.jbo.RowValException</tns:exceptionClassName>
                      <tns:objectName>PartySiteUseEO</tns:objectName>
                  </tns:detail>
                  <tns:detail xsi:type="tns:ServiceRowValErrorMessage">
                      <tns:code>27024</tns:code>
                      <tns:message>JBO-27024: Failed to validate a row with key oracle.jbo.Key[300000077245714 ] in PartyUsageAssignmentEO</tns:message>
                      <tns:severity>SEVERITY_ERROR</tns:severity>
                      <tns:detail xsi:type="tns:ServiceErrorMessage">
                        <tns:severity>SEVERITY_ERROR</tns:severity>
                        <tns:exceptionClassName>java.lang.NullPointerException</tns:exceptionClassName>
                      </tns:detail>
                      <tns:exceptionClassName>oracle.jbo.RowValException</tns:exceptionClassName>
                      <tns:objectName>PartyUsageAssignmentEO</tns:objectName>
                  </tns:detail>
                  <tns:exceptionClassName>oracle.jbo.TxnValException</tns:exceptionClassName>
                </tns:ServiceErrorMessage>
            </detail>
          </env:Fault>
      </env:Body>
    </env:Envelope>
    Is there a way to see this error response when invoking the WS via a Java client-proxy?

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Batch Updation with new Batch via IDoc

    Hi,
    Is it possible to update the existing batch at the delivery level with the new batch from the IDoc during the Picking or PGI
    I checked the FM WS_DELVRY_UPDATE2 which is not allowing to do this...
    Any pointers on this will be helpful
    Any Clue on the above issue ?
    Thanks in Advance
    Rajesh
    Edited by: Rajesh on Mar 6, 2012 8:39 PM

    Possibly, have a look at OSS 748216.
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=748216
    Regards,
    Nick

  • Inbound Delivery via IDoc DELVRY03

    Does anyone have a template of what fields to fill in for the DELVRY03 IDoc in order to create an inbound delivery in SAP? I am looking to create an inbound delivery document based on a DELVRY03 including packing info, tracking and serial numbers.
    Thanks
    Kevin

    Check out following link, it provides some sample mappings for delivery IDOC -
    http://www.sapgenie.com/sapedi/ansi.htm
    http://www.sapgenie.com/sapgenie/docs/o856v4010_template.xls
    Cheers,
    Sanjeev

  • Idoc DELVRY03 for Inbound Delivey

    Hi.
    Somebody used IDoc DELVRY03 to create Inbound Delivery (instead of transaction VL31N). I'd like to know how to use this IDoc, or where I can find information about it. Thank you.

    Hi,
      Check this thread
    Re: Inbound Delivery via IDoc DELVRY03
    Thanks,
    Naren

  • Any standard process to update Sales Order in SAP via XI / Idoc ?

    Hello,
    Currently one of our end customer is creating Sales Order in Oracle system. Once the Order is created there, they send the Order information to our XI system via flat file. XI system processes the flat file and then it calls order creation function using rfc / BAPI - BAPI_SALESORDER_CREATEFROMDAT2. This works just fine.
    But now the customer wants an ability to update sales order, cancel certain line or even cancel the whole order in their Orcale system. And once that happens, they want the same thing to happen in SAP via some kind of interface automatically in the background.
    So my question is :
    what is the best way to do it ?
    Is it possible to do via idoc ? The reason I am asking it via idoc is because it sounds that's the most standard way of doing it in SAP.
    What idocs can I use ?
    Has any one implemented such interface ? And if so, can you share some info ?
    Any response is highly appreciate.
    thanks,
    Dipankar

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • How to update multiple Sales Orders with one IDOC using IDOC_INPUT_ORDCHG

    Hi Gurus,
    Here's my scenario:
    Consider there are 2 Sales Orders for same Purchase Order -
    Open Quantity
    Sales Order 1
    Article A1
    1
    Sales Order 2
    Article A2
    1
    Say if I want to change Open Quantity of both SO 1 & SO2 by dispatching 1 Quantity each for Article A1 and A2 via ORDCHG, observed that in Include LVEDBF0N, XVBAK-VBELN is checked for only 1 Sales Order.
    Whether it is possible to update multiple SOs with one IDOC using IDOC_INPUT_ORDCHG?

    Hi,
    Check out this link, this deals with the problem you are facing.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Batches not getting updated by incoming idoc DELVRY03 (message type SHPCON)

    Hi
        I am using incoming idoc DELVRY03 (message type SHPCON) to update delivery document.I am using field E1EDL24-CHARG to pass batch data.
          However batch number is not getting updated in delivery document. I have verified aspects like batch number is valid etc.
         While updating batch number thru incoming idoc, do I need to supply some other data?
    Please help.
    TIA
    Koustav

    Hi Biswas,
    I think batches are determined automatically in the deliveries while creation and thats the reason it is not getting the batch number in the delivery, if there is no automatic batch dertermination then it will update the valid batch number
    also please check the batch determination procedure and the batch master in MSC2N and availability of materials for that particular batch
    regards,
    Santsoh

  • Sales Process And EDI Idocs Integration

    Hi Friends,,
    Good Day To You All !!!!
    Please enhance my knowledge with your valuable reply.
    I am new to ABAP and would like to learn the following .
    1. Sales process - Starting from the Purchase Order Till shipment is created (All TCodes and the definations of the terms used like procurement , scheduled line,handling unit and all those terms coming into picture till the Sales process comes to an end).
    2 . Idocs -  Transaction Codes,Definations Of Terms like message types , basic types etc, etc,
    I need the above information to get a clear picture of the process taking below.  
    What if an interface exists between SAP and a Non-SAP system(say Siebel system ) .The customer being the Non-SAP system and the Vendor our SAP system . Then the flow of the sales process taking place , with the PO coming from the Non-SAP system through inbound idoc and immediate ATP date going from SAP through the outbound Idoc..the process continues with the creation of delivery then shipment.Each of these triggering their respective idocs .
    And the idocs update the corresponding status in Siebel .
    I hope you guys would have understood by now , as to why i need the information on Sales Process and Idocs.
    Thanks.
    With regards,
    Learner .
    Edited by: SAP Technical Consultant on Oct 16, 2008 9:08 AM

    Hello,
             If you want to Set up an Inbound Process for Sales Order Changes, all you have to do is
    1. Maintain the Partner Profiles for the Inbound Message Type & Process Code in WE20.
    2. The Assignment for Function Module IDOC_INPUT_ORDCHG is already available in WE42 Transaction for the Process Code ORDC. So, you don't have to worry about setting up the Process Code.
    3. Take a Sample IDoc of Type ORDCHG Message Type in WE19 and try posting it for the Given Sales Order. If you would like to know more about what it does, Post it using Debugging Mode.
                The above Process is for Sales Order Changes via Inbound IDoc. Below are the Steps for the Outbound Delivery IDoc Trigger.
    1. The Process Code DELV already has the Selection Program IDOC_OUTPUT_DELVRY in Transaction WE41. So, you dont have to worry about Setting Up the Process Code.
    2. Also, check your field list. Open the IDoc Type DELVRY05 in the Transaction WE60 which is for IDoc Documentation. Check if all the Fields mentioned in your the list that you want to send are available in the Standard IDoc Type. If not, create a Custom Segment in WE31 & Assign the Custom Segment at an appropriate place in the Extended IDoc Type in WE30.
         All the Standard Segments / Fields available in the DELVRY05 IDoc Type will be automatically be populated by the Standard Selection Program IDOC_OUTPUT_DELVRY. However, if you have an IDoc Extension and would like to populate the Custom Segment / Fields, then you'll have to use the Customer Exit EXIT_SAPLV56K_002 in which you can write Code for populating the Custom Segments / Fields.
    3. The Most important Thing that we need to take care of is Message Control Configuration while handling the Outbound EDI Scenario.
    4. You need to Set up the Output Type for the Delivery Application (V2) for which you need to maintain Condition Records so that the Output Type is proposed automatically when the Delivery is being Saved.
    5. In general, the Message Control Configuration is done by the Functional Team. So, ask your Functional Consultant to set up the Message Control Configuration for the Delivery IDoc Trigger.
    Hope it was clear enough.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

Maybe you are looking for

  • Warp Stablizer VFX stuck at Initializing in After Effects CC 2014.0.2 13.0.2.3

    I am on a MacPro 4,1 with 24 GB of RAM and 2x2.26 GHz Quad Core running 10.9.4. I am running a PC NVIDIA GTX 670 Graphics Card with 4GB of RAM. And while the 4GB shows up for CUDA, it does not show up for Open CL in After Effects. I created a sequenc

  • XQuerry Mappings

    When i am trying to translate the request xml using request xsd to purchase order xml using purchase order xsd. I used XQuery mappings to Generate the output purchase order xml,but i am getting problems with name spaces,and it is not displaying all t

  • Setting up warning mesage in ME51N

    Hi  , We want to set up a warning message which should be displayed if the fixed vendor field in ME51N screen is left blank. We have made the fixed vendor field as optional. Is it a simple configuration change or does it also involve ABAP coding. At

  • Problem with a bapi

    Moderator message: please choose more descriptive subject lines for your posts. Hi, i face with a problem while using the bapi bapi_document_create2. it adds the file path like ' Dogan\Main\Standards\0010415--P.pdf' but i cannot open the file in cv02

  • Air's left usb doesn't work!

    When I use usb mouse or removable disk, nothing happened on my air or on my plants. But when I insert my ipod to the left usb, itunes told me I have used usb 1.1. By the way, the right usb is all right. thanks~