Send IDOC Messages In Order to XI

Hi,
I am using Job Scheduling for sending the list of Vendors(CREMAS IDOCs) to SAP XI from SAP R/3.
I am generating a unique ID for each vendor received. Just because all the messages reach XI at the same time, I am getting the same ID for many Vendors.
I am using Mapping Look up to get the maximum ID. I am then adding one to the maximum number and generating the new ID.
Is there any way to solve this problem?
I would like to know if I can process the messages one after the other to solve this issue.
Regards,
Venkatesh

hi,
2 ways:
1. send IDOCs in queue (possible only is your ERP is on WAS 6.40 or more)
2. use table IDXQUEUE to queue them inside XI
both approaches described in my book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Send Idoc For Purchse Order

    Hi Friends,
    I have Configure All  the things require to send idoc for purchse order..........when i m creating purchase order from source system
    it's getting send to traget system....................
    but in target system giving error in idoc.that
    VKORG, VTWEG, SPART cannot be determined for customer S004 , vendor 0006000023
    i m using message type....ORDERS............
    can antbody pls tell me how to maintain  VKORG, VTWEG, SPART
    in oreders message type.......there no fields in this message type.......i have checked it through se19...............

    Hi ,
    I have same problem ,
    How to send IDOC of Purchase Order to URL of our vendor.
    The Idoc is created , but how to send it to the web?
    Anyone knows?
    Thanks
    Edited by: Moshe Stein on Feb 28, 2008 11:08 AM

  • How to Customize Sending of Message Type ORDERS/ORDRSP?

    Hi Experts,
    After saving a ORDER in SAP I will that IDOC ORDERS01 will be send by Message Type ORDERS and a ORDER Confirmation by Message Type ORDRSP.
    How can i Customize that?
    Can somebody help me?
    Thanks,
    Frederic

    Hello Frederic,
    Create output type for both these and maintain the condition record to determine the partners and configure the partner profile for the partner with two outbound message types.
    Regards
    Farzan

  • Send IDOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Hi Glenn.
    I got the following error:
    The adapter failed to transmit message going to send port "Interplx.SAP_SendPort" with URL "sap://CLIENT=130;LANG=EN;@A/10.151.97.51/00?RfcSdkTrace=False&AbapDebug=False&ListenerGwHost=10.151.97.51&ListenerGwServ=SAPGW00&ListenerProgramId=BTSIDOC_DEV-".
    It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Xml.XmlException: Start element 'ITEMNO_ACC' from namespace 'http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/ACC_DOCUMENT03//701' expected. Found element
    'ITEMNO_ACC' from namespace ''.
    Server stack trace: 
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    Prakash

  • Error in sending Idoc ::  Urgent

    HI
    we are trying to send Idoc DELINS and ORDERS to SUS system. when sending the idoc the following error occurs in SUS
    StandaredMessageFault
    An error occured within XI interface: An exception with the type CX_GDT_CONVERSION occured but was neithered handled locally nor declared in a RAISING clause Program: SAPLBBP_BD_MAPPING_SAPXML1; Include : ; Line
    How ever the same works fine in Dev and QAS servers
    Regards,
    Anand

    Hi
    <u>Please provide SRM-SUS and XI Version details.</u>
    <b>Please go through the SAP OSS Notes, which will help -></b>
    Note 782755 - Control indicator is not transferred from MM to SUS
    <u>Related Notes</u>
    Note 1062864 - Control indicator is not transferred from MM to SUS
    Note 313925 - Example exit for EDI outbound processing (e.g. purchase order
    <b>Other OSS Notes -></b>
    Note 885825 XML inbound: Dump in QuoteItemReferenceVersionID
    Note 825169 XML: Bid currency in bid invitation
    Note 819953 SRM 4.0 of SAP XML output of partner address data
    Note 723680 Corrections in the mapping of SAP XML messages
    Note 723594 - SRM 4.0 XML confirmation mapping error
    Do let me know.
    Regards
    - Atul

  • Idoc for Purchse order

    Hi friends,
      i want to send idoc(create purchase order) automatically in target system  when purchase order is created or changed in source system................
    for that ................
    for that what is the basic type, message type,inbound process code i need to use..............so that same Purchase order will be created in to the target system ?
    points definitely rewarded.........

    Idoc Type: PORDCR101
    Message Type: PORDCR1
    its not working.................
    and
    when i m using........
    Idoc Type: ORDERS
    Message Type: ORDERS04
    IDOC IN RECEIVING SYSTEM COMING WITH ERROR.........
    VKORG, VTWEG, SPART cannot be determined for customer 0000001000 , vendor 0006000023
    WHICH IS FOR SALES ORDER.........BUT I NEED FOR PURCHSE ORDER

  • Inbound IDOC for sales orders not posting the configuration data

    Hi all,
    I am facing a problem in posting the inbound IDOC (message type ORDERS). The configuration data maintained in the parent segment E1CUCFG and in the segment E1CUVAL is not getting posted though i am passing the data in these segments which is 100% correct.
    Can any one solve this problem

    Hi Ravi,
    Please check the two segments are active. You can do that in BD53.
    In BD53 enter message type, and make the segments active.
    If segments are active, it appears in white colour.
    After this post the IDoc and check with segments.
    If its useful, award points pls..
    Regards,
    Bharadwaj

  • Send DOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Let's continue this in one thread:
    http://social.msdn.microsoft.com/Forums/en-US/cde76044-c8cb-4d17-b675-2542824d17a6/send-idoc-messages-to-sap?forum=biztalkgeneral
    Same author, same question..
    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

  • Issue: "No Authorization to send Idocs with message type Orders" - IDX5

    Hi All,
       I am working on a File to IDoc(Orders.Orders05) scenario. The sender is PI Server and the receiver is the SAP ISR system. A technical system has been created in PI SLD for the ISR system and a Business system is added to that. The logical system created in ISR system using Tcode BD54 is added to the business system in PI. A new RFC destination is created in PI system to connect to the ISR system.
      On the ISR system Partner profile is created using TCode we20 with the same logical system name already created using Tcode BD54.
    When sxi_monitor is executed on the PI system, It shows checked flag on the Inbound side and Red flag on the Outbound side. And when idx5 is executed, it shows the new Idoc number and when it is double clicked, it shows the Status Text as
    "No Authorization to send IDocs with message type Orders".
    All authorizations have been provided on the Sender side.
    Please let me know if any authorization need to be provided on the ISR system or Is this an error on any settings.
    Thanks in Advance.
    Stalin S.

    Hi,
    Check this Thread which deals with the Authorization Issue
    RFC Adapter
    And also check this how to check whether u have sufficient authorization to send the Idocs or not
    To test the Authorization check
    Double click the RFC Destination that u have created in XI towards R/3 in SM59
    Select UtilitiesTestAuthorization test
    By this you can come to know whether your user is having the propper authorization or not
    REgards
    Seshagiri

  • To send IDOC to vendor from SAP for purchasing order

    Hi Gurus,
    I want to setpu an EDI for send the outbound & inbound idocs to vendor for purchasing order from SAP and below are the message type I am using:
    Outbound message type :
    ORDERS
    Inbound message type :
    ORDRSP
    INVOIC
    I know how to set up the link, making the partner profiles attaching the process code, assigning the ports but I want to know the below customize set up:
    1) Which transaction I need to used for customize this sceranio
    2) Could you provide me any documentation which specifies the steps for configuration
    And other details which I am suppose to know.
    Please reply me as soon as possible as I am urgently in need of this.
    Regards,
    Sagar

    Hi Sagar
    For the Confirmation you need to do the customizing for confirmation control, like what would you like to do after the confirmation. Confirmation is an inbound process.
    For Invoice you need to complete the customizing under LIV in SPRO- for Invoices received via EDI.
    Please go throught the help link for further details.
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/b99f58452b11d189430000e829fbbd/frameset.htm
    Reward points if useful
    Thanks & regards
    Kishore

  • How to send IDOC with extended message type MATMAS

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that.
    Can i use BAPI also for such work, if then how it can be helpful.
    If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Mahesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    That means for few selected materials there will be few PR's which may be open, i have to show those in my report.
    Eg: material A, B. are in PR 00001 & material B, C in PR 00002.
    After selecting materials A to C report will show
    Material                 PR No                   Item No                Quantity
    A                           00001                    10                             1
    B                           00001                     20                            3
    B                           00002                     10                            3
    C                           00002                      10                           1
    Same thing i have to do for open PO & open Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • Sending IDocs as 'control messages' to a Logical System

    Hi all,
    I have defined an external Logical System to where I send Idocs. The Idocs are received and processed by a SAP Java Connector on that LS.
    At the moment, when for example a purchase order is created for a specific vendor, a message to that vendor is sent through ALE, and the receiver port for that Vendor is set so that it resembles/is sent to the Logical System.
    My question is, is it possible, for example when you create a purchase order, to define the message control in such a way that a regular 'New Printout' (or other message) is send to the Vendor (as it normally would), as well as an IDoc message for that purchase order to the Logical System: so send 2 messages to different systems upon creation of the purchase order .
    The main idea is that the IDocs are sent to the Logical System to keep track of the actions done by a user, transparant to the user, so that its actions are logged.
    Hope this is clear,
    David

    Yes, You can do it through outbound IDoc. Create another output types and configure the same from NACE and the processing would be done through EDI.
    Then you need to configure the partner profile in WE20 with that output types.
    Thanks
    Subhankar

  • IDOC Message type 'ORDCHG' - Sales Order Delete funcanility

    Dear Guru's,
    I have a requirement for a client where client is sending a EDI message to change & Delete a Sales order. I have mapped change option with IDOC message type 'ORDCHG' and basic message type 'ORDERS05'. Change option for the sales order is working fine.
    Can any one tell me with message type 'ORDCHG'. how to delete a Sales Order. In EDI, client is passing only Header segments with Summary details.
    Your reply will of greate help to me.
    With Best Regards,
    M. Rajendran.

    Hi Ram,
    Thanks a lot for sharing the link, but this dint solve my purpose. I have a different case all to geather.
    My client is passing only Header segment and summary segment in the EDI. Thru ORDCHG i need to cancle/Delete entire sales order.
    But i found that in standard IDOC Message type 'ORDCHG' only line item deletion/Cancle is availble but i wanted to delete/cancle entire sales document.
    Any possibilites available in ORDCHG. Your reply will be much appreciated.
    Thanks in Advance.
    With Best Regards,
    M. Rajendran.

  • Issue with ORERS05 IDOC sending immediately after Purchase Order creation.

    Hello,
    When output mode of an outbound partner profile was setup as Transfer
    immediately then when ever EDI output is generated in Purchase Order then
    system creates IDOC and sends immediately out of system. But middle
    ware has received only control record and whole data records were missing in IDOC file received by middle ware and we were receiving status 29 back from middle ware.
    Right now we changed outbound partner profile, output mode was set to
    Collect IDOC's and we are running RSNAST00 program in background to send those IDOC's but we
    were looking into go for first option to send idoc out of system as soon EDI output is generated in Purchase Order.
    Is there any way of fixing this issue.
    Thanks in advance.
    Regards
    Prasad

    Yes, I'm facing with PO IDOC only and as I said it is not issue with middle ware as they were receiving only IDOC control record.
    If I resend same idoc by setting status back to 30 they were able to receive whole IDOC and more over if we set partner profile to Collect IDOC and schedule back ground job every 5mins then middleware was bale to get whole idoc.
    Looks like it is SAP issue as this the message I got from SAP.
    The problem only exists if the messages are supposed to be output by
    means of transmission time-spot
    4, that is 'immediately' (during the saving of the application).
    With the output of the change message, the change documents are read for the purchasing document (all as of the last successful transmission).
    With the transmission time-spot 4, it can occur that the change
    documents do not physically exist on the database yet. No change message can be generated in this case and the system generates message ME140 or ME760 in the message log.

  • If message failed at communication channel, then need to send idoc to R/3

    Hi folks,
    i got a requirment like .....If message failed at communication channel, then need to send idoc to R/3.
    can anybody suggest the possible solution.

    HI
    If you use a catching a MAIL - PI ALERT and based on that alert if u creating an IDOC then it is good if u really supress the alert immediately once the ALERT comes but if u really check and supress the ALERT fine Otherwise a CONTINOUS IDOCs will get created at SAP system.
    Also there might be some natural generic reasons for communication channel fails
    a)  somtimes if the target FTP is down
    b)  if there is some issue with FILE ENOUGH
    c)  If File adpater is placing same file already exists or with already Opened by some target application
    d)  Dynamica file naming issue. (technical issue)
    WHy cant u do scenario in the below steps without keeping BPM, CATCHING ALERTS which doesnt give exact QUARANTEE
    Do one thing make a technical design in such a way into 1 flow or 2 flows in worst case
    In INTERFACE MAPPING-->
    a) Insert your current Normal Graphical mapping
    b) Javamapping:- This code will take the first mapping output as Input through Stream Transformation and create a same FILE through JAVA FTP Comments at specified Cleint Location. I recommend in order to avoid direct interraction of writing a file at client FTP better always write at your Local PI NFS Application outbound directory which doesnt require host name and user and pwd. Even if it requires you can do a RFC lookup and maintain a host, Port, User ID, pwd, Directory, FIle naming pattern in that table or else simply DO VALUE MAPPIING and pass it through XML INPUT from FIrst mapping as additional fields
    c) WITH IN THE SAME JAVAMAPPING: -
       If it successfully writes a file - wRite a TRACE log ("FILE NAME+ Sucecssfully written+ File Bytes")
       Then create an simple small XML OUTPUT and PASS that JAVA MAPPING OUTPUT To 3rd Grahical Mapping as Input it might be less than 5KB.
    Note: - Remember that this output XML should be ina Multmapping SPLIT MERGET FORMAT with 1 FIELD or required INFO
    as KEY FIELD INFO using DOM FACTORY
    d) GRAPHICAL MAPPING: -
      SOURCE IS JAVAMAPPING OUTPUT and TARGET HAS 2 messages
                           Message 1) SAME INPUT SMALL XML OUTPUT COMING FROM JAVA MAPPING OUTPUT
                           Message 2) IDOC TY{E STRUCTURE
    Keep a Condition based on KEY VALUE Coming from source field execute either 1 Message1 or Message 2
    In this way you can complete in a single Flow. 
    Later you can deifnee a simple flow to PICK and DROP from SOURCE file  Writing through javamapping to client location Or else
    WRITE A small OS SCRIPT and CALL in Receiver FILE COMMUNICATION at OS Command so that while writing a LOG file it will move the file from Source FTP to CLient FTP location.
    Regards
    Amar Srinivas Eli

Maybe you are looking for

  • Can i have my itunes music on two computers

    . I have my itunes music on my laptop. I want to have it on my new notebook also, but don't want to remove from laptop. Is it possible to have it on both  .thanks

  • Obj or view to flatten "cell" records into "row" record

    I have ProdPrice records which are essentially "cells" in a price matrix. create table ProdPrice { ProdNum number (12,0), Quality char(1), Condition char(1), Price number(15,3), ... (other stuff) with primary key (ProdNum, Quality, Condition) where Q

  • Regarding purchasing report

    Hi all,         i need to have report for finding best vendors which is supplying desired supply...........so  what r the issues to be taken to find out the above......and also..............can any one explain what is purchsing group,material group,.

  • Debugger Not Always Stopping...

    Hello all. I am new to the Oracle/JDeveloper world, so I apologize if this is basic. We are using JDeveloper 9.0.3.10.35. The application is run through an applet as the starting point. The applicatiion runs fine. While using the debugger though, the

  • Itunes delete my music in my iPhone 4 iOS 6.1 I'm new mac mini

    ahen connect a iphone 4 ios 6.1 to new mac mini all of my music vidoe was delete , after i sync to the new mac mini , how can i restor , i did a bucup.