ORDCHG.ORDERS05.ZORDERS and ORDERS.ORDERS05 Idocs

Hi all,
We have two mappings for the message types ORDCHG and ORDERS.
I have problem with the ORDCHG occurance.
ZORDERS  1...1  -
>Record set 0...unboundedfor both ORDCHG and ORDERS is used..
When ever ORDCHG message type is used the below error thrown in test tab of message mapping.
Cannot produce target element /ns0:MT_FILE_MUL/Recordset/Records. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
the occurances used for both are same .orders is working fine but ordchg throws the above error if i change the occurance it is sucess but no output seen.(empty payload).What is the problem i am confused.
Thanks Srinivasa

> the occurances used for both are same .orders is working fine but ordchg throws the above error if i change the occurance it is sucess but no output seen.(empty payload).What is the problem i am confused.
This kind of problem comes in mapping when you have not filled any mandatory node or field. So varify them all first. Because that is the reason when you change the occurence then it works.
Also check if you have mapped all Root nodes. Secondly make sure if you have used any condition on root nodes then they must fulfill the conditions. And lastly make sure you are using the correct data for testing.
Regards,
Sarvesh

Similar Messages

  • Confirm sales order with idoc ORDERS05

    Hi everybody.
    I´d like to know if it´s possible to confirm a sales orders with idoc ORDERS05 and message type ORDCHG and posting FM IDOC_INPUT_ORDCHG_VMI.
    How would I have to fill the idoc data??
    Thanks a lot

    Hi,
    For inbound idoc you can use  the message Orders , process code ORDE and the function mdoule IDOC_INPUT_ORDERS to create  a sales order.
    Regards,
    Nagaraj

  • 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

  • ERROR IN CREATING SALES ORDER,USING IDOC TYPE ORDERS05

    I am using exit to write my code for creating sales order of IDOC Type ORDERS05 and order type ZDRX.
    IF I proceess the Idoc in background each time error message comes
    FIELD kuwev-kunnr(ship to party)is not an input field.
    but if i run in foreground in debugging mode,sales order is getting created..
    please suggest something.

    If thats not working..
    try BAPI_SALESORDER_CREATEFROMDAT2
    If BAPI is not working. try creating a bdc for the same if there's not error on trying from VA01

  • Generating idoc for Purchase orders - ORDERS05

    Hi,
    Can you please let me know how to generate idoc for Purchase orders - ORDERS05-manually, not by activating change pointers.

    hi
    i believe u wont have this functionality as it is a transcational data and the one way of doing it by configuring output types only.

  • Segments E1EDK04 and E1EDK05 in IDOC ORDERS05 for PO's

    Hi all,
    I am using program RSNASTED and form ALE_PROCESSING to generate IDOC ORDERS05 for purchase orders. This works fine but, eventhough the purchase orders contain tax conditions (NAVS) and several header discounts (e.g. RA01), the relevant segments, E1EDK04 and E1EDK05, are not included in my IDOC.
    Anyone have an idea how to include these segments?
    Thanks and regards, Patrick

    Michal_Krawczyk_PIXI wrote:
    Hi,
    >
    > if your SAP version is <4.6A then you need to do it manually
    > if not then it should work automatically
    >
    > Regards,
    > Michal Krawczyk
    Michal, Sorry it is not working as expected.

  • ORDERS.ORDERS05 creation per PO

    Hi guys,
    There is certain coding which creates purchase order via "BAPI_PO_CREATE1", however I am still interested in getting ORDERS.ORDERS05 IDOC created out of the freshly created order. I know there is a "ALE_PO_CREATE1", but it use to trigger PORDCR.PORDCRx IDOCs which does not suit our needs. Any hints ?
    Thanks in advance,
    Lalo

    The functionality you require is not included in the
    standard system. It is not possible through customizing to change the
    field selection of BEDAT (Document date) for a PO. This field is
    optional entry in tr. ME21N and display only in ME22N and ME23N.
    There is no configuration for Field MEPO_TOPLINE-BEDAT in OMF4, which
    is the transaction where Field Selection possibilities are set in 46
    releases. ME21N gives the possibility to create a PO dated in the past
    or in the future. Future dates are allowed to facilitate Hold and Park
    functionality.
    Message 06 028 is raised to advise "Purchase order date is in the past"
    this message can be set to an Error message.
    Go to OLME trxn code and Select Environment Data- Define attributes for system messages and set the message 06 028 Purchase order date is in the past
    and also Try this
    1. Goto SHD0 transaction, create a screen variant for t-code ME21N with PO date as "Output Only" option
    2. Assign this screen variant to a new transaction variant for the t-code ME21N.
    3. Specify the same transaction variant name in the standard variant
    4. Activate the standard variant
    Next time, when ME21N is executed, the PO date field will be of display mode and user cannot change date.

  • ORDCHG triggered instead of ORDERS Idoc

    Hi Experts,
    We have configured the scenario so that every time a PO is generated in the system it should generate a ORDERS type Idoc to create a SO in the vendor system.
    When this PO is changed a ORDCHG is triggered
    But in a particular scenario when we are creating a PO and releasing it directly ORDCHG is getting generated rather than ORDERS. In messages tab of PO the change checkbox is ticked although the PO is created for the first time.
    Please advice as to why this might  be happening?
    Best regards.
    Saurabh Tripathi

    Hi,
    Check in tcode WE20 what kind of IDOC/message you have for this vendor.
    Regards
    Eduardo

  • ORDERS 05 idoc sold to and ship to party?

    As far as i know the ORDERS 05 idoc is for sales order which we get from the customer who wants to but products from our company.
    In the idoc there is a segment E1EDKA1 contain sold to party and ship to party fields. What is the significance of these fields? What values are filled for these fields? Are these 2 fields also part of any other idoc?
    In real time from xi point of view from which system to which system this data will move?
    I have checked few documents on sold to and ship to party but ended up getting more confused.
    Please help me with the answers.
    Regards,
    Suresh.

    Hi Suresh,
    The Sold to and Ship to party details from posted IDOC type ORDERS 05  are not at all in relation with the data moving from XI to whcih are sender and receiver systems.
    You are right as the ORDERS 05 is used for Sales Order.
    While creating the sales order we need to specify the Sold to party and ship to party information. this gives the information about the party against which you have generated the sales order and the the ship to party will indicate the location specific branch of the customer party.
    For.eg. the customer will be requesting for the sales order and he wish to deliver the order at his particular branch then Sold to party--Customer No and Ship to party i.e. Location specific details are required.
    Thanks
    Swarup

  • Process Orders, send idoc (LOIPRO) when its released and saved.

    Hi ,
    Here is my requirement.
    For process Orders, send idoc (LOIPRO) when its released and saved. (COR2).
    Here are the options I have tried.
    - Create an enhancement spot after the commit statement, and submit RCCLORD
    For some strange reason Submit to RCCLORD isn't working. Even I have tried to execute it independently, It isn't working properly. It is working fine from POIT, but not independently...
    - Call CLOI_MASTERIDOC_CREATE_LOIPRO function module, but for this I have to get all the related data into proper tables, and I am not sure if it works either.
    I have searched here in SDN to for some help, the closest thread talks about creating a ZFM for IDOC creation, but I dont have much of the details of that.
    Re: Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)
    Need some help on this.
    Thanks & Regards,
    Kalyan Venigalla.

    Hi!
    not sure, but maybe it will help you:
    RCCLORD have code with check already sent orders
    Try add this code before submit RCCLORD
    *         -> free global table for collecting order numbers
              free memory id 'LOIAUFNRTAB'.                        "

  • Quantity Mismatched in Sales Order and it's corresponding Order's IDOC

    Hi SAP experts,
    In an ORDERS IDOC, conversion is done from EACH'S to CASES. ( INBOUND PROCESS, Message type - ORDERS, Basic type - ORDERS04 )
    For e.g.: In a Sales Order, If 432 EACH'S are placed, it will be converted into 36 CASES in the IDOC (Here 1 Case = 12 Each's)
    But in Sales Order it shows as 36 EACH'S (which is wrong) and In the IDOC it shows as 36 CASES (which is correct)
    The Conversion has been done correctly from Each's to Cases. But don't know how this problem occurred for this document alone.
    It should be 432 Each's in the Sales Order, Instead of 36 Each's...!!! 
    This problem is for only one Document number dated on ' 28th March 2011 '. It's working correctly again till date without any problem.
    any idea to solve this single error guys?
    <removed by moderator>
    Regards,
    Mano.
    Edited by: Thomas Zloch on Apr 26, 2011 8:21 PM - urgency normalized

    Hi Mano,
    How to control the modifications? I suggest you to create a report to control this modifications. For instance use the report RVSCD100 as a template and create your own z* with a range of documents and filtering the fields that you want to control. Other possibility is use the standard report RSSCD100. One suggestion, is to have isolated this kind of SO in an specific range of numbers.
    Nevertheless, if the problem is always with the same customer and material, check them and compare with other pair that works right.
    For the value for STAMNO. If you are working in WE19 and create a new IDOC using other as a template, the system replies with a warning message. If you create the IDOC the system store in EDIDS the message (type, number, etc..). You can see it in tcode SE91 (ie: message i157(ea) with...).
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Apr 29, 2011 9:45 AM

  • Order confirmation and Order changes

    Hello Guru's,
    I am having following issue, please let me know ur inputs on the same how to handle below situation.
    There is Customer Vendor relationship under one system and under one company code.
    Customer orders goods from Vendor and this Vendor supplies goods against this PO. These are nothing but plants in reality.
    1) There is no issue when creating SO against the PO raised..
    2) Once the SO is created how to send sales order confirmation and how to add the confirmation line in PO?
    3) When the sales is changed and changes made at the time of sales order creation wrt to PO from customer: how to send these changes to customer and update his PO also.
    Please let me know if anyone has gone thr' such situation. This should happen via ALE IDOC only.
    Best regards,
    Prasad

    Hi Kris,
    It's ok.. as I knew the process.
    The problem I had, when I change sales order and trigger ORDERS05 and ORDRSP idoc then it shows changes but also it shows all the sales order data.
    The requirement which I have is as below:
    1) If the sales order is changed then send only changed data and update the PO at customer side which is in same system.
    i.e. let us say sales order is created and confirmation also send via ORDERS05 and ORDRSP. Now when SO is changed for quantity and price, then I want to send only these quantity and price changes via idoc and update PO accordingly.
    This also applies for back order processing or supersession, where date or item itself can be changed or added.
    Please come back if knows further.. Awaiting for ur reply.
    I am interested to know what steps I have to follow and even if any routine I need to write to capture these changes.
    Best regards,
    Guru

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Delivery order by IDOC

    Hi Experts,
    I'm trying to make a delivery order by IDOC type DELORD (ORDERS05). Does any one process with this type of massage?
    I create several orders, but I still have a problem with orders. They look almost the same but still not working.
    Could some one write me requirements for this massage? For example links between Idoc segments and fields from Schedule agreements.
    Any help will be appreciated.
    Edited by: Michal Jesionek on May 31, 2008 4:15 PM

    HI ,
    Please find the info  as follows.
    E1EDP20 : IDoc schedule lines
    Segment definition E2EDP20001 Released since Release 46C , Segment length: 0061
    WMENG : Scheduled quantity
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 001, Offset : 0063. external length : 000015
    AMENG : Previous scheduled quantity
    internal data type : CHAR
    Internal length : 000015 characters
    Position in segment : 002, Offset : 0078. external length : 000015
    EDATU : IDOC: Date
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 003, Offset : 0093. external length : 000008
    EZEIT : IDOC: Time
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 004, Offset : 0101. external length : 000006
    EDATU_OLD : IDOC: Date
    internal data type : CHAR
    Internal length : 000008 characters
    Position in segment : 005, Offset : 0107. external length : 000008
    EZEIT_OLD : IDOC: Time
    internal data type : CHAR
    Internal length : 000006 characters
    Position in segment : 006, Offset : 0115. external length : 000006
    ACTION : Action code for the item
    internal data type : CHAR
    Internal length : 000003 characters
    For more information use the idoc type see the structure in we60.
    Thanks,
    Pramod

  • Sales Order Outbound IDOC - Restricting Items being created with a Segment

    Hi,
    I have a requirement to restrict segments being created for Items (Child) in Sales Order Outbound IDOC based on conditions in the Items (Parent & Child). Can you please suggest me a suitable solution?
    Basic Type: ORDERS05, Message Type: ORDRSP. What is the IDOC Function Module to be used to create Outbound IDOC for Sales Order?
    Appreciate Your Help.
    Thanks,
    Kannan
    Edited by: Kannan SA on Jan 3, 2008 3:03 PM

    Hi,
    if the segments are mandatory then you can't trigger the idoc without those segments.
    Otherwise, you can read the segment and clear all the data in it, the segment will not be attached to the outbound idoc.
    Where to do it? Search the CALL CUSTOMER-FUNCTION '002' for the outbound idoc for example IDOC_OUTPUT_INVOICE for Invocing.
    Regards,
    Baburaj

Maybe you are looking for

  • 2nd monitor / VGA to ADC

    Hi I have my G5 connect to Song Monitor via DCI port. I like to add another monitor. The monitor I got come with the VGA port and now I only have ADC port available. How could I make it work? 1. can I connect the monitor VGA port to the VGA to DVI co

  • Nothing Imported ??!! JEG ?

    I am using PSE 9.0, and just recently I converted all my slides onto an SD card, then downloaded onto my PC. I chose PSE to to download the photos which went OK, but when I then took the next step in PSE to load to Organizer, it gave me an error mess

  • CRVS2010 Beta - I Dont Know what is Happening

    I downloaded CR for 2010 and installed it on win 7 professional running vs 2010 too. Now when i try to open my vs 2010 solution, a VSTS error telling me that an error has occured either due to changes in configuration or as a result of installation o

  • Best audio filter for heavy wind noise ?

    Hello everyone I'd like to know what is the most used audio filter in order to recuce a heavy wind noise without affecting the voices of a conversation in my movie ? Thanks

  • Réseau Wi-Fi défectueux?

    Bonjour, Je ne peux plus me brancher a mon reseau Wi-Fi avec mon iPod touch 4e gen, 8GO. J'ai un ordi iMac Quand je vais dans les parametres de réseau, je marque mon bon mot de passe mais, quand j'arrive dans safari, ça me dit que je n'ai pas de conn