One Java Mapping - two Different IDOCs

Hi,
is it possible to create 2 different IDOCs(IDOCTYP or MESSTYP different) with one Java mapping?
thx

Or what is more interested, when mapping is done only for first message, in my case IDOC, it is ok, if ther isn't any second message. What is also confusing, when I run whole proces, system dumps for all cases, even for one IDOC message. Trace:
<Trace level="2" type="T">com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:44)(:main:, row=1, col=44) -> com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:44)</Trace>
  <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
Error:
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="MAPPING" />
  <SAP:P1>unexpected end-of-file</SAP:P1>
  <SAP:P2 />
  <SAP:P3>1</SAP:P3>
  <SAP:P4>1</SAP:P4>
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>Exception CX_XMS_SYSERR_MAPPING occurred (program: CL_XMS_MAIN===================CP, include: CL_XMS_MAIN===================CM00A, line: 604).</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>

Similar Messages

  • BPM could be trigger for two different IDocs

    Hi Gurus!!
    Can I configure a BPM to be triggered by one of two different IDocs? I explain my scenario to clarify the question.
    I have a requirement to do several actions with the IDoc Types MATMAS05 (Material) and CLFMAS02 (Material Characteristics).
    To do these actions I use BPM, but I have several scenarios: receive MATMAS05 and CLFMAS02, receive only MATMAS05 or receive only CLFMAS02.
    I need to configure the BPM to be triggered by MATMAS05 or CLFMAS02, somebody could guide me, please?
    I have read something about a receiver determination step on the BPM.
    Thanks and regards,
    Manuel.

    Hi All,
    I am also facing same problem. I want to create material using IDOC and characteristics value. Don't know how to proceed.
    Can any body explain in detail if possible with example code.
    Thanks and full points in advance.

  • Automatic Deployment Rule - One ADR for Two Different Collection for Two Different time Intervals

    I have a scenario where two collection of Windows 8.1 is made based on geographical location. One collection is for all the windows 8.1 machines in India and one collection is for all windows 8.1 machines in US. Now I have created one ADR to be deployed
    to the Collection for Machines in India with a schedule.
    My requirement is that can i use the same ADR for those two collection with different schedule. Say I want ADR to be deployed in India at say 10:PM IST and for US collection at say 10:00 PM PST.
    Can I use one ADR with two different schedule and can be deployed to two different collection. Any help will be greatly appreciated.
      

    Couple of "bits" to help you one your patch automation quest:
    A ADR is very much a 1:1:1 rule.  It creates (or updates) ONE update group, deploys it to ONE collection, and you can provide ONE schedule.  While you are more than capable of flipping said deployment time to use local time instead of UTC, in general
    it's a very simple set of rules that are dogmatically run.
    That said because of the "include" feature of collections it's not that hard to setup a good/robust patching pattern.  What I recommend doing is building an ADR for each variance of deployment of patches or enforcement time.  for example,
    my ADRs look something like this:
    Software Updates - Zero day enforced
    Software Updates - Critical and Security 1 month enforced
    Software Updates - Critical and Security 1 month no reboots
    Exact terminology is up to you of course, but I find a good descriptive ADR name saves a lot of confusion.  For each ADR I create an identical collection.  From there I can use existing collections and a simple "include collection" rule
    to bundle things up and make them part of the patching schedule of my choice.  Anyone can now go into my "software update" folder, look at my collections, and know exactly what gets patched by what deadline.
    Finally, don't be afraid to look into maintenance windows to trim down ADR count.  Making a deployment available for a month before it goes enforced, then setting up groups of maintenance windows (one for each Friday of the week for example) can also
    accomplish a similar goal by having machines auto-patch during their week but you only using one ADR.
    So by having two "types" of collections to manage your patching (one to assign a ADR built by deployment deadlines, the other for exact update windows) you should be able to group most your workstations into a decent patch scheudle without being
    too excessive about creating a billion ADRs.

  • One file to two different folders simultaneously?

    Is there a way to copy one file to two different folders simultaneously?
    Maybe a script?
    Drew

    Thanks for the response Baltwo.
    Maybe I shouldnt have said 'simultaneously'.
    What I'm trying to achieve is this.
    I drop a file into one folder and it automatically copies to ano folder (a redundant back up of the first folder)
    Is that possible at all?
    Drew

  • How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    How does one set up two different iTunes accounts on the same computer so that they do not merge into one?

    mparker402 wrote:
    So, when the other iTunes account needs to be used, I should log out of Windows and have the other user log in under a different Windows account, correct?  
    M Parker, 
    Yes, since you are trying to keep things separate, that is exactly what you would do.

  • Save different Objects in one file by two different streams

    Hi all,
    I have a issue to read two Objects from one file if I write those in two different streams.
    I open the ObjectOutputStream and save an Object to the file. Then I close this stream and file. Then I open the new ObjectOutputStream and save the second Object in the same file. It works Ok. Then I open the ObjectInputStream and try to read those two objects and get java.io.StreamCorruptedException.
    This exception happes only when app tryes to read the second Object.
    this is the code example:
    //Write part
    for (int i=0;i<2;i++)
    File file = new File("test.swp");
    FileOutputStream fileOut = new FileOutputStream(file,true);
    ObjectOutputStream objOut = new ObjectOutputStream(fileOut);
    JobObject jobObj = new JobObject();
    jobObj.setID(i);
    objOut.writeObject(jobObj);
    objOut.flush();
    objOut.close();
    fileOut.close();
    //Read part
    FileInputStream fileOut = new FileInputStream("test.swp");
    ObjectInputStream objOut = new ObjectInputStream(fileOut);
    for (int i=0;i<2;i++)
    JobObject jobObj = (JobObject)objOut.readObject();
    objOut.close();
    fileOut.close();
    Thank for any help.

    Maybe try closing the ObjectInputStream (and re-creating it as needed) within your for loop?
    - Saish
    "My karma ran over your dogma." - Anon

  • Want to assign one event to two different JSliders

    Can somebody explain how to assign one event handler to two different Jsliders?

    Jamaal wrote:
    I found some code on the Sun example index but it very vague and seems like something is missing. I've been through the Sun JSlider tutorials and examples. I'd call them anything but vague or incomplete; not to be insulting, but it's probable that your understanding of them is as yet incomplete, and you just need to study them some more. If you have specific questions about a part of the tutorial, please ask.
    I don't think that the source code even shows how they make the sliders change at the same time.Have you looked at the Converter program source code or run it?
    http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#Converter

  • Use one agent for two different managment servers

    Hi ,
    Can one agent be connected to two different managment server in different domains ,
    or do i have to install two agents in the same server to connect to each managment server .
    thanks

    Can one agent be connected to two different managment server in different domains
    No
    do i have to install two agents in the same server to connect to each managment server Yes.

  • Buy one application for two different Touches, slightly different details

    Hi, I have a couple questions about applications and the touch, my brother and I are getting touches for our birthday and we don't know if we can buy one app and use it on both our players or not. Someone said if both are linked to the same account it's ok but our parents are going through a divorce so we'll likely be living apart...exactly how does it work? W euse the same account but we'll be on different computers so can we do that? Or will be have to have different accounts because we'll be living apart? We use one account and buy as many apps to use on both as we can before we move? If anyone knows and can list the steps we'd appreciate the help

    If you bought an app once and synced it to two different IPT's you'd almost certainly be in breach of Apple's licensing terms. In any case I imagine their apps DRM would prevent you from doing so. You're probably going to have to get separate iTunes store accounts. The divorce shouldn't affect this, there's no reason both accounts can't be registered with the same credit card #.

  • One instance for two different application

    Hello,
    I have to solve following problem..
    need have one instance of object for two different application..fist is standard SE application and second is EE (web)..
    SE application is a server..listen on and accepting connection from mobile phone..and EE application need to show list of connected devices and should say to SE application that new device was connected..
    I would like to do this without database..only server and web app..
    I have thought about RMI..but hope there is more simple solution..
    Thanks a lot for your ideas.
    Dmitrij

    I would like to do this without database..only server and web app..You have your reasons for wanting this to be the case. If you are sure you don't want a DB, then pass the state of the object between the two ends using XML as the transport form. As someone said, you can use JMS or you can write an HTTP POST or probably other transport mechanisms other people will suggest to actually get it over the wire from one side to the other.
    As to your question of how to sync state, just make the object you're sharing final after it's been created (on the side that creates it) and make the reference that receives it and holds it final also, after you've reconstructed it from the XML you received.

  • One PO for two different vendors

    Hi Experts ,
    My Questions are ......
    Can we maintain two different vendors for two different materials and create one PO ? ;
    How does it work  ?
    How is it sent to different Vendors ?.
    Will the vendor receive one general PO containing all line item materials from different vendors...or Each vendor will receive his own line item PO (PO Split)...
    Regards
    Albert

    Hi Albert,
    Your qns-
    Can we maintain two different vendors for two different materials and create one PO ? ;
    Yes you can maintain 2 different vendors for 2 different materials. But you cannot create a single PO (i.e. PO with same number) for 2 different vendors. I do not understand why you want to create one PO for 2 vendors supplying different materials. Can you please explain the logic for it?
    Vivek

  • One project with two different web services styles (JAX-RPC and JAX-WS)

    Hi theres,
    how come the same project doesn't support two different web services styles?
    First time I create a web service proxy using the wizard, the second step is to choose between JAX-RPC and JAX-WS. After that, this step is removed from the wizard and all subsquent web services are assumed to be the same style as the first one.
    Can someone explain me why?
    thanks in advance,
    Manuel Leiria

    Hi,
    yes, I think to remember that there is support for a single style only. If you need another one too then you create a new project.
    Frank

  • Same message type and two different IDOCS need to be triggered

    Hi,
    I have two idocs with same message type,the partner profile is same.
    Please tell if there is any way to handle this situation without changing the message type.
    Please do the needful.
    Thanks,
    Nivedita

    Hi
    We can have same message type for different idoc types.
    ex:MATMAS.MATMAS01
        MATMAS.MATMAS02
        MATMAS.MATMAS03
    In the above example MATMAS is the same message type for different idoc types.
    Thanks

  • How to split one monitor into two, differently configured desktops

    Hello,
    I have a 27" iMac. I would like to split the screen into two differently configured desktops or monitors. Apps like TwoUp or Divy don't exactly do this. I'll explain it with an example:
    Suppose I'm working on a document and I need to open many folders to retrieve files. One common problem is that opened folders overlap each other and sometimes they overlap with the document I'm working on, or they go underneath the document. I would like to split the screen vertically in, say, two virtual, independent desktops/monitors, like this:
    - one window/space on one side (say, on the left) of the screen would contain the document  from top to bottom, with no dock bar on the bottom
    - the other window/space (right) would behave as a regular, full desktop, with the entire dock on the bottom
    In this way, if I need to navigate to find a file to use in the document, I would move the cursor to the right. The Finder would work only in this window/space, thus windows or other applications would never overlap or clutter the left side of the screen. Drag-and-drop from right to left should be possible.
    One way to imagine it is as if the 16x9 monitor were comprised by two vertical, 8x9 independent monitors side by side, each with its own configuration.
    Is this possible? Can anyone recommend an application or type of setup?
    Thank you,
    -celso

    Looking for something like this?
    You can tell Display Maid to save the positions of your open windows across many apps and later restore those positions when things become a mess. With Display Maid you don’t have to restore windows one at a time, or even one app at a time. Display Maid restores all saved window positions across all apps with one command. It will also restore window positions automatically when it detects a workspace change.
    http://www.funk-isoft.com/index.php/display-maid

  • One Material with two Different In-House Production Days

    Dear Experts,
    We have 1 semi-finished material (HALB) that is common to two different locations (production version) with two different in-house Production days.  How can we separate the 2 different in- house prod. days for this specific material? Could we setup in the production version? if not, could you give us an advice.
    Ex:
    JDXZ011111 with Prod. version I000 = 3 days
    JDXZ011111 with Prod. version X000 = 1 day
    We are hoping for your help..
    Thank you.
    Regards,
    Marnelli

    Dear Mamelli,
    1.You cannot maintain  the in-house production time in the production version.
    2.In-house production time in days can be maintained in MRP2 view.
    3.If Lead time scheduling is carried out at the time of MRP run then the system uses the in-house time for the calcualtion onf basic
    start and end dates.Based on the routing data the system proposes the production start and end time.
    4.Generally exception messages 64     Production finish after order finish
    63     Production start before order start are  shown after MRP run.
    5.If basic scheduling is carried out then the system proposes only the basic dates.
    Regards
    S Mangalraj

Maybe you are looking for

  • Could you please add to the smaller windows in mission control the icons to the open applications

    Please Apple add this feature.  I loved spaces and could see in the open windows better to know where I'm going.  Just add the icons to the small windows and that should take care of the problem.  I'm getting lost because I'm not sure which the appli

  • Not Found error

    After setting up the test perl script to access our site, I get the following error: "The requested URL /WebObjects/Core.woa/Browse/cfcc.edu was not found on this server." Was our site expired due to the fact we haven't logged in for a while?

  • How can I return to where I left off on a menu?

    I have a menu with 6 items in it. When you select each item you are taken to that page and then you click on the return to menu button and are taken to the number 1 item on the list each time you return to the list. I want to come back to where I lef

  • Windows 8/7 can't connect to RDS GW.

    Hey.. We have 2 RDSH, 1 GW, 1Licenseand 1 fileserver(roamingprofiles), all running on 2012 R2. Also a Alpha SSL cert - Wildcard. Everytime we try to connect we get a message in event Viewer saying: "The user "domain\user", on client computer "ip", di

  • AIR 16 and iPad Mini 1 / iPhone 4S / iPod

    Hello, many customers of mine still have an iPad Mini 1 or an iPhone 4s which is a no-go for a app store update of my apps with the current Adobe Air SDK. I have an app that uses according to Adobe Scout a maximum of 170MB of RAM at its peak. With th