Problem with condition IF THEN in Message MApping

Hi,
We are not getting correct ouput when we use condition IF THEN without else in message Mapping .We are sending data from File to XI to R/3.
We are using file adapter and IDOC adapter to create customer in R/3.
In message Mapping we are creating Segment E1KNB1M and E1KNBKM based on condition.
IF THEN Condition used in mapping is as below
find the length of Compnaycode with LENGTH function.Pass that value as one of the parameter to function GREATER.Pass second parameter to function GREATER a constant (0).Pass the result to If without else function.If this is true pass Item to IF THEN function and Map the result to E1KNB1M.
Our mapping is not giving desired output in below scenario:
Source  XML
<?xml version="1.0" encoding="utf-8" ?>
<ns:CustomerMaster_Request_MT xmlns:ns="http://mazdausa.com/sapr3/fi/masterdata/customermaster">
<Idoc>
<Header>
  <ID>H</ID>
  <ACCTGRP>M002</ACCTGRP>
  <CUSTNO>R51563</CUSTNO>
  <NAME1>WAYNE MAZDA</NAME1>
    </Header>
<Item>
  <ID>L</ID>
  <COMPCODE>US10</COMPCODE>
  <BANKKEY>0000326</BANKKEY>
  <BANKCNTRY>US</BANKCNTRY>
  <BANKACCT>05893</BANKACCT>
  </Item>
  </Idoc>
- <Idoc>
- <Header>
  <ID>H</ID>
  <ACCTGRP>M002</ACCTGRP>
  <CUSTNO>51563</CUSTNO>
  <NAME1>WAYNE MAZDA</NAME1>
  </Header>
  </Idoc>
- <Idoc>
- <Header>
  <ID>H</ID>
  <ACCTGRP>M002</ACCTGRP>
  <CUSTNO>V51563</CUSTNO>
  <NAME1>WAYNE MAZDA</NAME1>
    </Header>
- <Item>
  <ID>L</ID>
  <COMPCODE>US10</COMPCODE>
  <BANKKEY>000326</BANKKEY>
  <BANKCNTRY>US</BANKCNTRY>
  <BANKACCT>0305893</BANKACCT>
  </Item>
  </Idoc>
  </ns:CustomerMaster_Request_MT>
Here 3 Idoc are created under ZDEBMAS06.
First IDOC contain segment E1KNB1M and E1KNBKM as desired because first idoc in Source XML contains Item data.
Second IDOC contain segment E1KNA1M only as desired because second Idoc in Source XML does not contains item data.
Third IDOC does not contain Segment E1KNBKM and E1KNB1M which is not a desired output. It should contain these segments as third idoc in source XML have item data.
But we are getting right output in case we also have Item data under second IDOC in source XML.
Please let me know where I am doing wrong.
Thanks.
Rekha.

Hi Rekha,
I am getting the same problem while checking display Queue in message mapping??
<i><b>Source code has syntax error: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"</b></i>
Any ideas to solve this problem...
Thanks,
Sekhar

Similar Messages

  • Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    JaillotJb wrote:
    I download the iOS7 Beta even if I was not a developper.
    if you downloaded it and are not a developer, then we are not allowed to help you here.  sorry.

  • I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you have too many live channels

    I'm frustrated, I am doing everything you recommend, I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you ave too many live channels, the disk is slow prepare...can you help?

    Quote from: Richard on 15-November-07, 20:33:05
    tornado2003,
    What you need to do is boot into Safe Mode. Then delete the VGA Drivers.
    After that boot normally and install the latest nVidia ForceWare Drivers
    Take Care,
    Richard
    i guess you missed that:
    Quote from: tornado2003 on 15-November-07, 17:26:52
    ive tryed booting xp in safe mode but it just freezes after it loads up a couple of needed files .
    ive even formatted my hard drive and tryed installing a fresh xp on it but it just keeps locking up when it gets to the "starting windows setup" .(this is just after it loads all the drivers from the xp cd)

  • I am unable to access my email. I can sign in with my password, then a message comes up that says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All plug-ins listed are enabled. What am I missing?

    I am unable to access my email from Charter.net. I can sign in with my password, then a message comes up which says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All of my plug-ins are enabled. What am I missing?

    After a great deal of searching I ran across the suggestion to disable all plug-ins and then, one by one, enable them until finally the problem was solved. I am not sure which plug-in was causing the problem, as I am satisfied to have the problem solved. I am going to leave the rest of the plug-in disabled.

  • I have some problems with element Panel Label and Message.

    I have some problems with element Panel Label and Message. When I create form from VO attributes then I have Label for input text element. If I use Panel Label and Message element then I need to copy LABEL from input text element to Panel Label and Message element LABEL PROPERTY. Can I define in View object that I don't need label and want all attributes in Panel Label and Message element?
    BEST REGARDS

    You can simply remove the label attribute for the input text on the page.
    sid

  • I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared

    I have a problem with my white macbook, this message keeps popping up when I start the laptop " no matching processes belonging to you were found " even though I didn't mess up with the system or even use terminal. It just appeared without Doing anything!!
    And now I can't use the " tap an click " from my tack-board and no nothing was spilled on my mac.
    Please help  

    Check your login items in the Users & Groups preference pane. Remove any that you don't recognize.

  • Fix your browser, 8.0.1 unistalls everything so i restored my system now 7.0.1 will not open. there was not a problem with my version until your messages to upgrade kept coming across then when I did, everything's gone...please fix, I have work to do!

    Good, Mozilla you need to look at the problem. What made you think that 8.0.1 should be allowed to disable everything your users have?

    You can't use system restore to go back to a previous Firefox version. SR only restores a few specific files and not all files. You will have to do a reinstall of your Firefox version.
    You can find the latest Firefox release here:
    *Firefox 8.0.1: http://www.mozilla.com/en-US/firefox/all.html
    *Firefox 7.0.1: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/7.0.1
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.com/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.com/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to do a compatibility check or see if there is a compatibility update available.

  • Using Firefox 7. Can log on and run problem for a while, then get message "Not connected. Trying to re-connect" But it never succeeds in re-connecting. If I exit Firefox and re-launch, it cures the problem. Get this problem with several different PCs

    Chrome works fine. Haven't got desperate enough to try IE.
    Friend reports similar problem with her system, which is not connected to mine.

    * Try this.
    * Type in the address bar about:config.
    * Accept the warning.
    * In the page that appears, in the Filter box, type network.http.max-connections.
    * Change the value to 32 (which is probably set to 256 in your case).
    * Close the about:config page.
    * Restart the browser.

  • Problem with condition editor in Interface determination

    Hi,
    I have 5 receivers for an interface. There are some conditions based on which the message should be processed.
    one of my condition is:
    If field A = CIT* and (field B != IDP or field C != IDP*) then message should be processed to a particular InterfaceMap(Messaeg Map).
    I am facing problems when giving the condition with != in the condition editor of InterfaceDetermiantion.
    When I send a message that is not satisfying the above condition, even then an output file with 0kb is getiitng created. But in this case, the condition should obstruct the message going to Message mapping.
    I thought this could be the problem with != operator in condition editor.
    Can any one suggest if there is any other way that i can proceed.
    Thanks in advance,
    Minisha.

    Hi Suraj,
    Thanks for the suggestion.
    But it didnt work for me.
    Even when i give empty-message handling to ignore, the empty file is getting generated.
    Not even the condition is working.
    I tried only giving (field A u2248 CIT* AND field B != IDP EX ), which should work in this case. As expected, the message is not processed beyond this as the condition is false. But problem is when i tested with other testfile with which the condition given is true, still the message is not being processed. it is now completely obstructing the message even if the condition is true.
    Thanks,
    Mnisha.
    Edited by: Minisha Uthaman on Sep 10, 2009 4:12 PM

  • Photoshop CC 2014 having a problem with display driver then crashes computer

    Since the Photoshop update in October most of the time when I open Photoshop CC 2014, either my computer crashes with the driver state power failure or the program is able to boot and provide an error message involving a problem with the display driver and then my computer crashes with the driver state power failure. I did not have this problem until the update in October. Any help would be greatly appreciated.
    I am using Windows 8.1 64-bit
    Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz processor
    12.0 GB of RAM
    NVIDIA GeForce GTX 860m
    Intel HD Graphics 4600
    All drivers and programs are up to date.

    VHail wrote:
    …All drivers and programs are up to date.
    You need to update your video driver from the website of the manufacturer of your video card.  You cannot rely on Windows Update or Microsoft, which typically have outdated drivers.

  • Problem with HP pavillion dv7 giving message (a problem with the internal fan enter = shutdown

    HP Pavillion DV7 notebook PC
    Windows 7 64
    intel I5
    6 gig memory
    service pack 1
    I am trying to identify a problem with my HP Pavillion dv7 laptop
    Several months ago it started getting hot and showing messages about problems with the internal fan and battery. It would say enter = shutdown and shut off. I suspected a bad battery so I checked it without it just plugging it in with the power cable. It seemed to work better so I assumed that was the problem.
    I ordered a new battery and it worked for a while. The problem came back and is getting worse. I can run it without the battery for a while but it gets got and shows the same message.
    I read on here that flashing and updating the bios worked for some but the latest update gives me an error IHISI not support BIOS then Insyde flash not supported.
    any help would be great this PC has a lot of info on it and I dont think it is a lost cause
    thanks

    Hi duddy, sorry to hear that you are having issues with your computer over heating.  I have found a document that will assist you with Restoring the BIOS.  http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c02693833&lc=en&product=5199538&tmp...
    I have also found a document that will assist you with Troubleshooting and Overheating and Auto shutdown issue.    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03904182&lc=en&product=5199538&tmp...
    If you are still having issues, please let me know and I will be happy to offer more assistance..
    Thank you.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Problems with ViaVoice under Leopard, especially key mapping problems

    ViaVoice's behavior has changed considerably under Leopard. First I will discuss the key mapping problem, since I'm eagerly looking for an answer to this problem. At the end of this post, I will voice some of the other problems I've experienced for those who may be interested. The key mapping problem may be specific to the fact that I use a foreign keyboard with a US version of ViaVoice.
    INTRO:
    I have used ViaVoice on my Mac for years, more or less without problems (ViaVoice's bugginess is notorious).
    Those who know ViaVoice will know that one has two general options for dictation. One can dictate into ViaVoice's so-called SpeakPad, which allows special formatting, editing and dictation error correction within the dictated text, or one can dictate into "external" software such as Microsoft Word, in which case ViaVoice just sends a string of characters to that software. SpeakPad appears to make strong use of the operating system's built-in functionality for character formatting, document formatting, etc.
    *MY PROBLEM*
    I have a German keyboard on my PowerBook, yet dictate in US English. When I dictated into SpeakPad under Tiger, all characters appeared correctly. However, when I dictated into Microsoft Word using Tiger, I had to switch the keyboard mapping from German to US to get all characters (that means including the characters that are located at different positions on a German keyboard than they are on a US keyboard such as y, z, apostrophes and parentheses) to appear correctly.
    Under Leopard, things have changed. Now it doesn't matter whether I dictate into SpeakPad or Word; the results are the same and many characters do not appear correctly.
    If set to a German keyboard, y and z appear as expected. To name a few irregularities:
    "(" appears as ")"
    ")" appears as "="
    apostrophes appear as "#" and
    ";" appears as ","
    If set to a US keyboard, y and z are interchanged. "(" and ")" appear as expected. Apostrophes appear as "\" and ";" appears as ","
    By comparison, if typed (as opposed to dictated, as in the examples above) "correctly" (i.e. based on the letters printed on the keyboard) on a German keyboard set to imitate a US keyboard:
    y and z are interchanged
    apostrophes appear as "|"
    "(" appears as "*"
    ")" appears as "(" and
    ";" appears as the symbol for "less than"
    Since I don't have a US keyboard, I can't say how it would behave if set to imitate a German keyboard, i.e. if there's a correlation to the results I get when I dictate.
    Since I was previously able to dictate correctly into SpeakPad by setting the keyboard to "German" and into Word by setting the keyboard to "US," I presume that this is a problem in Leopard, not ViaVoice.
    *OTHER PROBLEMS WITH VIAVOICE UNDER LEOPARD*
    In addition to the aforementioned key mapping problems (that may be specific to those of us with foreign keyboards), ViaVoice appears to have lost considerable functionality in Leopard. I cannot access SpeakPad's Preferences and the correction window. Moreover, the traffic-light like window buttons have disappeared from the VoiceCenter (although they work if you click where they should be). SetupAssistent appears to function.
    I've written to Nuance about these problems, but have little hope that they will invest the time in producing a patch since they haven't released any updates since 2003.

    Thrums1,
    I've never had to "register" ViaVoice after updating the system. I thus suspect you haven't fully followed my above, three-step advice (particularly step 3).
    1) Reinstall ViaVoice from CD.
    2) Update to the latest version (using the patch downloadable from Nuance's website).
    3) Replace the “temp” and “users” folders (in the "ViaVoice" folder at the upper level of your home directory) by a previous copy thereof. When I say previous copy, I mean a copy from when ViaVoice was still working properly, e.g. a copy from when it was running under Tiger.
    As I said, I've gotten ViaVoice to survive several system updates by following the above steps. To my knowledge, the last step is critical since it saves you from having to reconfigure ViaVoice under the new operating system (in this case Leopard). I suspect that ViaVoice is crashing on your system because it's trying to start some module of the SetUpAssistant that is incompatible with Leopard (as many are). If you instead use old copies of the "temp" and "users" folders (from the previous system), then ViaVoice doesn't have to go through the initial "registration" process; ViaVoice doesn't need the SetUpAssistant; and all is (more or less) fine.
    Good luck!
    BTW, to my knowledge, Dictate only runs on Intel Macs. It thus won't run on a G4 iBook, just as it won't run on my PowerBook G4.

  • Problems using very large XSD in Message Mapping - POSLog

    Hi,
    I am trying to build a message mapping based on an external definition (.xsd) downloaded from the ARTS webpage (Association for Retail Technology Standards). In PI (7.0) I am able to succesfully create an External Definition based on the downloaded XSD. The resulting external definition syntax checks ok and contains the message type POSLog.
    Next I try to create a message mapping using the external definition as the source message type. This is where it all starts to wrong. When I select the external definition as the source message type PI seems unable to complete the task, I get an hour glass. No matter how long I leave it in this state, it never comes back.
    I'm thinking because the xsd is so large PI is having problems trying to render the mapping. I am working over a VPN but cannot see any network traffic. Windows task manager shows that process javaws is taking up the majority of the processing. My laptop slows to a crawl until I kill the repository. Though my laptop only has 504Mb of RAM we have another with 1Gb which has the same problem.
    Any ideas? The exact same xsd can be downloaded from...
    http://www.nrf-arts.org/
    ARTS Standards -> ARTS XML
    All public shemas -> download
    download the POSLog schema (which is free) not the documentation.
    Any help appreciated.

    Thanks Patrick,
    That did the trick and I like the idea of changing a local copy of the jnlp file. Finally had to run the task on a laptop with 2Gb of RAM with heap-size = 1536m and sap.theme = Tradeshow (not sure if this helps).
    It is still very slow moving around the graphical mapping so I have placed an order for more RAM (upto 4Gb). I think Win32 can use upto 3.5 Gb so i'm hoping for a further improvement.
    It is a ludicrously large xsd.
    Thanks Again
    Surbjeet

  • Problems with the File System Repository & User Mapping!

    Hi All
    I am having a problem with a file system repository, and setting up user mapping for that repository.
    I have done the following:
    Created a File System Repository
    Created a Network Path
    Created a System (Including the alias)
    Now when I go into User Administration and select my user the is no user mapped systems to select.
    All this system is doing is connecering to a folder on our File System.
    Any help would be great as this is really frustrating!
    Thanks
    Phil

    I am using EP7 Stack 11 and unfortunately the only options I have are:
    user
    admin
    admin,user
    It is currently set to admin, user and does not seem to work!
    Phil
    Message was edited by:
            Phil Wade

  • Problem with Mail not showing new messages

    Since 2 weeks, my Mail does not show any of my 'hotmail' messages receive. The connection diagnosis said there are no problem with the account and server. It seems to download incoming mail (which also show in hotmail) but Mail does not show any new messages.

    Back up all data.
    Select the problem mailbox in the mailbox list, then select
    Mailbox ▹ Rebuild
    from the menu bar.

Maybe you are looking for

  • Storage location,Stocktype,Batch no for 2lis_03_um

    hi experts, We have recently extracted Inventory Data from ECC to BW System, and client was reconciling the data in 0IC_C03. we have extracted from 2lis_03_bx,2lis_03_bf and 2lis_03_um. and for the Valuations which 2LIS_03_UM-->0IC_C03  client is say

  • Unable to print on HP J6480 after installing Snow Leopard

    After installing Snow Leopard I've been unable to print from my HP J6480.  I get an error message saying to check for updates from Apple and the manufacturer.  Apple shows no more updates.  I've added a printer driver v2.6 from Apple, but that hasn't

  • Podcast are not in the podcast directory

    Hi, I just reformat my hard disk, I re-install Itunes, the latest version, I have subscribe and downloaded my favorite podcast. I sync my Ipod nano every thing went fine but my podcast are not in my podcast directory on my ipod, I have to artist... W

  • Customisable Presentation

    Hi Everyone I'd like to create a company presentation using Flash Catalyst and deliver as a standalone application (AIR) to run from a user's computer. Using Flash Catalyst would make creating the interface and interactions/animations really fast and

  • Analysis Measurement Gray Values Incorrect?

    I'm trying to use the Image Analysis functionality of PS CS6 to obtain brightness levels from an image. To test the "Gray Value" measurment, I've created 11 patches from 0%-100% in 10% increments. I used the fill tool (Shift-F5) and specified values