Question about iDoc- iDoc_xml- soap- axis- ...

Hi,
I have to create iDocs, transform these iDocs into xml(iDoc_xml) and send these xmls "soaped" via a https POST to an external webservice (axis 2). The webservice should transform the xml in a xml-format who could be read by an other system. Then the transformed xml will be send to the system. In the other direction I will get state changes from the system, transform this data @ the webservice into an idoc an send this via JCO into the SAP system.
The first steps are done. I could create an idoc and send it via the Port " soaped to a http destination. But I am not able to read the data within my webservice and the https stuff doesnt work too. Could anybody tell me if there are perhaps Best Practices for this kind of "work". I think my way to send a delivery03 iDoc as an xml to a customer is not the best way. Perhaps its a better idea to send the idOc to the webservice and let the jCo transform this iDoc to XML? Is this generally possible?

Hi Benjamin,
In this case
E1AFKOL is the parent segment.
E1JSTKL, E1AFABL and E1AFFLL are the child for E1AFKOL.
The meaning is - for a particular parent segment there can exist 1 - 9999 child segments of E1JSTKL, E1AFABL and E1AFFLL
This is the parent child relationship
For the second question
In the table EDID4
Let us take this example
DOCNUM    SEGNUM    SEGNAM    PSGNUM     HLEVEL
1000            000001       E1AFKOL    000000        01
1000            000002       E1JSTKL     000001        02
1000            000003       E1JSTKL     000001        02
1000            000004       E1JSTKL     000001        02
1000            000005       E1AFABL     000001        02
1000            000006       E1AFABL     000001        02
1000            000007       E1AFABL     000001        02
1000            000008       E1AFFLL     000001        02
1000            000009       E1AFVOL     000008        03
1000            000010       E1AFVOL     000008        03
1000            000011       E1AFFLL     000001        02
1000            000012       E1AFVOL     000011        03
1000            000013       E1AFVOL     000011        03
1000            000014       E1AFFLL     000001        02
1000            000015       E1AFVOL     000014        03
1000            000016       E1AFVOL     000014        03
Hope this helps.
Regards
Arun

Similar Messages

  • Explain about Idoc to soap scenario

    Hi All,
    I am beginner to sap pi can anybody help me out, How to perform Idoc to soap scenario...

    Dear Gaffar,
    Please use the search functionality to learn.
    Redirecting...
    http://www.google.com/cse?cx=013447253335410278659%3Ak8ob9ipscwg&ie=UTF-8&q=idoc+to+soap+scenario&siteurl=www.google.com…
    try out the scenario,create the thread if you face any issues.

  • Questions about IDoc

    Hi ABAPers,
    I´m new on IDoc, so I need somebody to help me.
    I wish know how can I find where an IDoc is "generated". That is, where the MASTER_IDOC_DISTRIBUTE function is called.
    My issue is an IDoc generated during the purchase order process (I guess that in the MIRO), I´ve already tried debug and stop in the above function without sucess.
    Any help is welcomed.
    Thanks,
    Charles

    >
    Charles Oliveira wrote:
    > Hi Krishnendu,
    >
    > The debug didn't stop in these functions too.
    >
    > I don't understand so well about IDoc, but what I've, corrects me if something is wrong, is an IDoc (outbound) that is generated in a BADI or an USEREXIT, during the MIRO.
    >
    > I need know what's this EXIT or BADI, to make some modifications in the information that is passed to IDoc.
    >
    > Thank you and if you know anything more to help me, I would appreciate.
    >
    >
    > Regards,
    > Charles
    There is a Concept called Message Control , Here Output type is attached to the IDoc message type and IDoc type. You will maintain this In WE20 partner profile part , in the outbound section.
    and at the same time you will maitain the Output type in NACE ,
    In NACE you will Configure the output type with medium as ALE/IDOC or EDI
    and Program RSNASTED , i am not sure what is used in your case ? , it may be same or it may be Different and custom one.
    you go to program RSNAST00 ,
    in this you can go to line # 1327 ,
    perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                             us_screen
                                                             if found.
    here you keep a break point. and Go to MIRO tigger the output type. if it stops well and good.
    if not start Debugging  using /H in the messages screen , and Trigger the output by saving it.and then activate the Update Debugging from Menu Debugging->Update Debugging
    then F8. it will stop exactly the above perform , and there you check.
    and also if you know the output type you can check the Medium and Program used for processing the output.

  • Questions about IDoc to file scenario

    I 'm confused, and have a few questions:
    1, we need to define a product for it at least  , assign it to either of the systems?
    2, we don't have to configure an IDoc communication channel, do we?
    3, does the receiver system (file/ftp) need a logical system? and define it by t-code BD54, in XI or R/3?
    4, at least define techinical system and business system for R/3?
    Can you explain the sld configuration to me ?
    thanks a lot.

    Hi,
    ,1) we need to define a product for it at least , assign it to either of the systems?
        Ans: Yes we need to define a product.
    2, we don't have to configure an IDoc communication channel, do we?
    Ans: Sender agreement and Sender IDOC communication  channel is not required as IDOC adapter  
            resides on ABAP stack.
    3, does the receiver system (file/ftp) need a logical system? and define it by t-code BD54, in XI or R/3?
    Ans: For third party system from ID create the business system and use that Business system for File or
            FTP system.
    Business System.
    1.Goto Business Landscape->New Business System->Name the business system.
    2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
    Business System have an entry in the SLD and Buiness Service do not.
    Business Systems are used when you are sending data to and from an R3 system and can be of ABAP, JAVA and Third Party Types.
    Business System is a logical representation of a Technical System.
    Business Service is a abstract representation of a System. For instance, www.google.com have a several system working together and IPs of this machines change eventually. When we use a Business Services like google we reference a computer that we don't know the phisical implementation.
    4, at least define techinical system and business system for R/3?
    Technical System
    In SLD, click on technical landscape->New Technical System->WebAS ABAP.
    Ans: Yes : Technical system is a phisical machine, it have a IP. Can be a BBDD, ERP, J2EE ......... a Business System is a logical term that we use into the Business Scenarios and represent these Technical System that we had created.
    Can you explain the sld configuration to me ?
    SLD is the place where u can define systems that are existing in ur landscape. using these systems u can transfer data from one system to another using PI.
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    /people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak - SLD preview
    SLD - http://help.sap.com/saphelp_nw04/helpdata/en/6e/fba1c735e0b44496072595092d924c/frameset.htm
    Error while reading ID of own business system from the SLD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f8bd90-0201-0010-dd9a-c8a7f52c47aa
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/652b1f46-0a01-0010-25ae-e7cb07b55414
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c00e7efc-0f27-2a10-d9a2-c46fc3863c20
    Check this out
    http://help.sap.com/saphelp_nw04/helpdata/en/56/361041ebf0f06fe10000000a1550b0/content.htm
    Log into SLD and click the Help Link
    You will get the detailed documentation for SLD for your version
    Thanks,
    Satya Kumar
    Reward if it is useful
    Edited by: SATYA KUMAR AKKARABOYANA on Apr 24, 2008 12:30 PM

  • Question About IDOC ADAPTER

    I test a scenario as file->xi->IDOC->R/3
    and another scenario as R/3->IDOC->XI-file
    i think, it should be two Communication channel
    to R/3,one is Receiver another is  Sender
    But when i create the channel ,after select the adapter
    tyep as IDOC, i can not select the Channel as a  Sender
    Can only set it as a Receiver
    why?
    and when i test the first scenario , the flowing error
    appers(my test idoc message is 'CREMAS03':
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>I:IDOC_ADAPTER:209 66609E10320A11D9ABCB000F1F6BBAD1 E1LFA1M</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Fehler: I:IDOC_ADAPTER:209 66609E10320A11D9ABCB000F1F6BBAD1 E1LFA1M</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    all of setting seems fine.

    The IDOC adapter does not need a sender channel, as all information the XI needs are stored in the message itself. Sender channels are requested mostly for polling adapters like file of jdbc. HTTP-, RFC-, IDOC- and XI-adapter do not need a sender channel (see manual for further details).
    The error message seem not to be translated in your system. Here is the message text:
    "MSGGUID &1: Control record must start with tag EDI_DC40, not &2"
    So in the payload there is no control record for the IDOC.
    Check in your IDOC receiver channel, if the checkbox "Apply Control Record Values from Payload" is marked. If so, uncheck it. That should help.
    Regards
    Stefan

  • Question about IDOCS

    Hi,
    Say i have to send an ORDERS idoc from my SAP system to another system , how should i do it?
    Should i use specialized transactions that are delivered for every SAP module to do it automatically?
    Or should explicit configuration be done to create IDOCS?
    Now if i have done that and i see my IDOC in WE05 and see the IDOC fields and their corresponding values is there a way by which i can find which SAP tables the values came from?

    Hi,
    You can get the process code from the partner profiles transaction WE20. and then you can get the FM from the process code.
    Method 2:
    1. Get the Message type from the IDOC in WE05 transaction.
    2. In se37 try to serch FM using Message type.
    Normally the name of FM will be IDOC_<MESSAGETYPE>_OUT*
    Regards
    Kiran.

  • Problem with Dynamic Configuration in SOAP-AXIS adapter..!!!

    Hi ,
    Idoc> XI>SOAP-AXIS
    I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the SNDPRN of Idoc.
    If SNDPRN = 100 , message has to go to  http://10.190.25.16:8210/file/receiver
       SNDPRN = 200 , message has to go to  http://20.180.26.16:8210/file/receiver
    It is working correctly when I tried for single receiver. When I' tried to use DynamicConfiguration, it is coming in SOAP document but it is not working and not passing to correct channel.  According to this note 1039369, I mentioned the following modules.
    AF_Adapters/axis/AFAdapterBean  --->                 afreq
    AF_Adapters/axis/HandlerBean      --->                  xireq 
    AF_Adapters/axis/HandlerBean      --->                  dc
    AF_Adapters/axis/HandlerBean       --->                 remover        
    AF_Adapters/axis/HandlerBean       --->                 trp
    AF_Adapters/axis/HandlerBean        --->                xires       
    AF_Adapters/axis/AFAdapterBean    --->               afres
    xireq ->  handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
    dc    ->  handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    dc   --->   key.1 --->      write http://sap.com/xi/XI/System/SOAP TServerLocation
    dc    --->          location.1  --->         context
    dc     --->         value.1      --->        transport.url
    remover    --->  handler.type    --->   java:com.sap.aii.axis.soap.HeaderRemovalHandler
    remover     ---> namespace    --->      http://sap.com/xi/XI/Message/30
    trp         --->     handler.type   --->    java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    trp           --->  module.pivot  --->     true
    xires     --->    handler.type   --->    java:com.sap.aii.axis.xi.XI30OutboundHandler
    and I am getting the below error in SOAP-AXIS channel
    Error Axis:    error in invocation: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error MP:     Exception caught with cause java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error           Exception caught by adapter framework: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Kindly let me know if anyone has any idea what might be wrong?
    Thanks
    Deepthi

    I have a similar problem. I also like to add some header fields to my message und that's way I'm trying to use the AXIS adapter. (Axis adapter FAQ question 30) Unfortunately I'm getting exactly the same error message:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.IllegalArgumentException: object type invalid: class com.sap.aii.adapter.xi.ms.XIMessage
    Deepthi, you wrote that you have missed one jar file. Can you remember which file it was?

  • Error while passing URL Dynamically in SOAP AXIS adapter..!!

    Hi ,
    Idoc> XI>SOAP-AXIS
    I am doing a scenario where I need to pass the URL dynamically in SOAP-AXIS adapter by taking the RCVPRN of Idoc.
    If
    RCVPRN = 100 , message has to go to http://10.190.25.16:8210/file/receiver
    RCVPRN = 200 , message has to go to    http://10.190.25.16:8210/file/receiver2
    RCVPRN = 300 , message has to go to    http://10.190.25.16:8210/file/receiver3
    I used the below UDF and it is working correctly and generating the URL dynamically .
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyHeader1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "TServerLocation");
    conf.put(keyHeader1, a);
    return "";
    The value is coming in SOAP document as expected like below.
    <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:Record namespace="http://sap.com/xi/XI/System/SOAP" name="TServerLocation">http://10.190.25.16:8210/file/receiver3</sap:Record>
      </sap:DynamicConfiguration>
    I used the below Configuration modules in receiver SOAP-AXIS adapter as suggested in Note 1028961.
    AF_Adapters/axis/AFAdapterBean ---> afreq
    AF_Adapters/axis/HandlerBean ---> xireq
    AF_Adapters/axis/HandlerBean ---> dc
    AF_Adapters/axis/HandlerBean ---> remover
    AF_Adapters/axis/HandlerBean ---> trp
    AF_Adapters/axis/HandlerBean ---> xires
    AF_Adapters/axis/AFAdapterBean ---> afres
    xireq -> handler.type-> java:com.sap.aii.axis.xi.XI30OutboundHandler
    dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
    dc ---> location.1 ---> context
    dc ---> value.1 ---> transport.url
    remover ---> handler.type ---> java:com.sap.aii.axis.soap.HeaderRemovalHandler
    remover ---> namespace ---> http://sap.com/xi/XI/Message/30
    trp ---> handler.type ---> java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    trp ---> module.pivot ---> true
    xires ---> handler.type ---> java:com.sap.aii.axis.xi.XI30OutboundHandler
    and I am getting the below error in SOAP-AXIS channel at the point java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender.
    2009-03-02 15:23:44 Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    2009-03-02 15:23:45 Error Axis: error in invocation: (500)internal server error
    2009-03-02 15:23:45 Error MP: Exception caught with cause (500)internal server error
    2009-03-02 15:23:45 Error Exception caught by adapter framework: (500)internal server error
    2009-03-02 15:23:46 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: (500)internal server error: (500)internal server error.
    2009-03-02 15:23:46 Error The message status set to NDLV.
    Kindly let me know if anyone has any idea what might be wrong?
    Note : The given URL is correct one because I cross checked by passing them normally by giving directly in adapter and they are all working and the message is going to receiver.
    Thanks
    Deepthi

    Hi Stefan,
    >> dc -> handler.type-> javasap.aii.axis.xi.XI30DynamicConfigurationHandler
    >> dc ---> key.1 ---> write http://sap.com/xi/XI/System/SOAP TServerLocation
    >> dc ---> location.1 ---> context
    >> dc ---> value.1 ---> transport.url
    >> Try read instead of write
    When I tried with this, I am getting the below error "Connection refused ".
    Success Axis: entering HandlerBean
    Success Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
    Error Axis: error in invocation: java.net.ConnectException: Connection refused
    Error MP: Exception caught with cause java.net.ConnectException: Connection refused
    Error Exception caught by adapter framework: ; nested exception is: java.net.ConnectException: Connection refused
    Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: ; nested exception is: java.net.ConnectException: Connection refused: java.net.ConnectException: Connection refused.
    Success The message status set to WAIT.
    It is going successfully when I tried sending directly. Looks like Dynamic Configuration is not working for SOAP-AXIS.
    Any Suggestion?
    Thanks
    Deepthi.

  • Question: User defined acknowledgement (IDOC to SOAP)

    Hello friends,
    A very happy new year to all of you!
    The flow im working on is like this -
    R/3 -> Idoc -> XI -> SOAP adapter -> webservices
    I have a requirement of sending an acknowledgement back from XI. But the problem is the acknowledgement has to be of  a structure that is specified by the client. I will have to send this acknowledgement through RFC to R/3 where they will update.
    q1. Can i access the information about the idoc, like if it has failed in sender channel,or IR or at the mapping etc. They want these info codified into something like 101,102 103 etc with each having  specific meanings in terms of Idoc status.
    q2. Are these information stored somewhere so that i can access them and map it to the acknowledgement structure?
    q3. what are the steps for achieving this?
    Looking forward to your help .... Thanks in advance!
    Regards,
    Lakshmi

    Hi,
    As suggested by Swarup, "you can go for Fault message type and have the customized structure to give the details."
    In addition, I would suggest to use FixedValue Table in mapping to maintain your entries (101,102, etc) and their respective meanings or you can use Value Mapping (maintain your entries in Integration Directory. For more info search SDN).
    Regards,
    Sarvesh

  • Integration strategies - Questions about using IDOC XML?

    Hello. First time poster here.  I am looking for some information for a project for a client and I am hoping someone can give me a pointer to where to start.
    I need to connect my clients SAP system to an XML based software package.  I have heard about IDOC XML and I hope I can use this technology to do the following:
    1. Extract PO's from SAP
    2. Insert PO changes to SAP (Price, Delivery, Quantity, etc.)
    3. Extract RFQ information from SAP
    4. Insert vendor quotations for those RFQ's
    Are there existing IDOC XML document types for these transactions?
    Does SAP have a tool that generates the IDOC XML and makes the data available as a disk file?
    Does SAP have a tool that can read an IDOC XML from a disk file and submit it for insertion into SAP?
    Would I need to do any programming on the SAP side to accept the data into SAP or are there, for instance, specific IDOC XML documents for uploading changes to existing PO's?
    Is there documentation avaialble that will answer these kinds of questions?
    Thank you in advance
    David Kuehner

    >
    dkuehner wrote:
    > Hello. First time poster here.  I am looking for some information for a project for a client and I am hoping someone can give me a pointer to where to start.
    >
    > I need to connect my clients SAP system to an XML based software package.  I have heard about IDOC XML and I hope I can use this technology to do the following:
    >
    > 1. Extract PO's from SAP
    > 2. Insert PO changes to SAP (Price, Delivery, Quantity, etc.)
    > 3. Extract RFQ information from SAP
    > 4. Insert vendor quotations for those RFQ's
    >
    > Are there existing IDOC XML document types for these transactions?
    > Does SAP have a tool that generates the IDOC XML and makes the data available as a disk file?
    > Does SAP have a tool that can read an IDOC XML from a disk file and submit it for insertion into SAP?
    > Would I need to do any programming on the SAP side to accept the data into SAP or are there, for instance, specific IDOC XML documents for uploading changes to existing PO's?
    >
    > Is there documentation avaialble that will answer these kinds of questions?
    >
    > Thank you in advance
    >
    > David Kuehner
    You can use XML port for IDOC xml output to file disk or XML-HTTP port to send and receive message through HTTP protocol.
    Search for SAP Help ALE

  • Question about document/literal web service

    Hello every body.
    I have some question about document/literal web service.
    I’ve been working with Axis before.
    Axis has four valid signatures for your message-style service methods:
    public Element [] method(Element [] bodies);
    public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
    public Document method(Document body);
    public void method(SOAPEnvelope req, SOAPEnvelope resp);
    The same I am trying to do with WebLogic API for webservices.
    But when I am trying to test web service (public Document method (Document body); )
    I have serialized exceptions for org.w3c.dom.Document.
    Do I have to write a custom class for org.w3c.dom.Document serialization?
    If yes can you give me some idea or example?
    The all idea behind this web service is. I have just one web service and mane classes for XML processing. Depends what xml document will be during runtime, web service will be using different class for xml processing. It works fine with Axis, but in case of WebLogic I have some problem.
    One more question… How I have to call this web service from java client?
    I have seen this example http://www.manojc.com/?sample31 ,
    but this web service looks like (Document helloDom()). I need to send Document.
    This example works for Dynamic Proxy, but does not work for static call.
    Any ideas?? Thank in advance.

    Hi,
    I am getting a similar issue. I created a Document-style/literal webservice and deployed on Weblogic 9.2 . Then I generated client stubs using clientgen. I get the following exception stack trace:
    java.rmi.RemoteException: web service invoke failed: javax.xml.soap.SOAPException:
    failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException: type mapping lookup failure on
    class=class com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl TypeMapping=TYPEMAPPING SIZE=3
    ENTRY 1:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocumentResponse
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@1125127
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@18dfef8
    ENTRY 2:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocument
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@15e83f9
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@2a5330
    ENTRY 3:
    class: java.lang.Object
    xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@bb7465
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@d6c16c

  • Some questions about configuration in MAX.

    Hello,everyone!
    I have some questions about configuration in MAX(I am a jackaroo for motion control development),I hope I can get your help.
    I use PCI-7344+UMI-7764+Servo amplifier+Servo motor,my MAX version is 4.2 and I use NI-Motion7.5
    My question as following:
    1,In Axis Configuration,for motor type,why I must select stepper but not servo?my motor is servo motor!If I select Servo,my motor can't run,I don't know why.
     If I select stepper,though motor can work but I can't test encoder in MAX.
    2,In Stepper settings,for stepper loop mode,why I must select open-loop but not close-loop?If I select close-loop,the servo motor doesn't work too.
    3,If I want my two servo motors run at different velocity,How shoud I do?It seems I just can set the same velocity in MAX for my two servo motors.
     My English is poor,Pls pardon me!I come from China.
    Thank you for your help!
    EnquanLi
    Striving is without limit!

    Hi,Jochen,
    Thank you for your kindly help!
    The manufacturer of the drive and motor that I am using now is Japan SANYO DENKI,drive type is RS1A01AA,motor type is R2AA06020FXP00.
    And I use position control mode,thehe encoder's counts per revolution is 131072.I set the electronic gear ratio to 1:1 for drive.
    Now,I can use Close-Loop to control the motor but still has some problems.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.When I configure it to run in closed loop mode, the motors behave strangely and never move to the target position.The detail situation is as following
    1,Motor can't run.
    2, Or motor moves to a position, then moves in the same direction agian and eventually stops.
    Except for the  two points mentioned above,"Following Error" is  occured frequently,I don't know why.
    I am still not clear why I must set the motor type be stepper in MAX .
    And I have another question:what the relationship between the steps and the counts?They have the proportion relations?I notice that there are a section said like this in help document: For proper closed-loop and p-command operation, steps per revolution/counts per revolution must be in the range of 1/32,767 < steps/counts < 32,767. An incorrect counts to steps ratio can result in failure to reach the target position and erroneous closed-loop stepper operation.
    I am verry sorry I have too many questions!
    I am very appreciate for your kingly help!Thanks again!
    EnquanLi
    China
    Striving is without limit!

  • IDOC to SOAP asynchronous scenario Error handling

    Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
    SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
    Appreciate your help.
    Manish

    Hello Manish,
    My question is how i can do error handling in this scenario.
    Use the standard alert framework. Search on SDN / SAP Help for details.
    do i need to use BPM and if that is tthe case what will be steps.
    BPM is not required to raise alerts, as this is an async call.
    Regards,
    Neetesh

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Sender Soap Axis error in PI 7.31

    Hi Experts,
    We are using PI7.31
    We got a requirement to extract XML from a exchange rate URL on daily basis and send it to ECC from PI.
    I followed the below link to configure the sender SOAP Axis channel.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-from-an-xml-file-on-a-web-page--rest-axis
    Required class files for Axis are installed in the system.
    The channel is showing error as
    Channel Status : Administrator error
    Log: Adapter has not provided any status information about the channel
    faile to initilize: com.sap.aii.af.service.cpa.CPAObjectNotfoundException: Couldnt retrieve binding for the given channel id.
    Please help on the same.
    Thanks,
    Pavi

    Hi Pavi,
    Please check if the installed axis class files are installed properly.
    http://host:port/XIAxisAdapter/MessageServlet
    Please use above URL to check if axis class files are installed appropriately.
    Hope after installing axis class files u have restarted the java stack.
    hope this helps.
    thanks and regards,
    Praveen T

Maybe you are looking for