Mapping Problem with IF...Else

HI,
im having problems with my if then else condition.
What i want to have. (ORDERS IDOC)
IF E1EDKA1-PARVW = WE and
    E1EDKA1-LIFNR = "XX" then CONSTANT ("true")
else Constant ("false").
If i use only one E1EDKA1 segment ... it works.
If i use many E1EDKA1 segments and use if without else ... it works.
But i cant get it with if then else. I will allways get the else value.
any ideas ?
Gordon
Message was edited by:
        Gordon Breuer

HI,
<b>In your example data only one true and two false right?</b>
try the below UDF
use parvw - removecontext -- UDF -- split byvalue --target node
use lifnr -- remove context --- /
while creating UDF ---Input parvw,lifnr , select the queue option for User defined function
for (int i =0;i < parvw.length;i++){
if parvw(i).equals("WE") && lifnr(i).equals("xx"){
result.addValue("true");
}else
result.addValue("false");
Note the "true" and "false" are not equal to boolean values do not compare.
Regards
Chilla
reward points...
Message was edited by:
        Chandra Sekhar Chilla

Similar Messages

  • Mapping problem with compressed key update record

    Hi, could you please advise?
    I'm getting the following problem:
    About a week ago replicat abened with "Error in mapping" error. I found in discard file some record looking like:
    filed1 = NULL
    field2 =
    field3 =
    field4 =
    field5 =
    datefield = -04-09 00:00:00
    field6 =
    field8 =
    field9 = NULL
    field10 =
    Where filed9 = @GETENV("GGHEADER", "COMMITTIMESTAM"), field10 = = @GETENV("GGHEADER", "COMMITTIMESTAM"), others are table fields mapped by USEDEFAULTS
    So I got Mapping problem with compressed key update record at 2012-06-01 15:44
    I guess I need to mention that extract failed in 5 minuts before it with: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <[CFileInfo::Read] Timeout expired after 10 retries with 1000 ms delay, waiting to read transaction log or backup files. To increase the number of retries, use SETENV (GGS_CacheRetryCount = n) in Extract parameter file. To control retry delay time, use SETENV (GGS_CacheRetryDelay = n). handle: 0000000000000398 ReadFile GetLastError:997 Wait GetLastError:997>.
    I don't know if it has ther same source as data corruption, could you tell me if it is?
    Well, I created new extract, starting 2012-06-01 15:30 to check if there was something with extract at the time, but got the same error.
    If I run extract beging at 15:52 it starts and works.
    But well, I got another one today. Data didn't look that bad, but yet one column came with null value:( And I'm using it as a key column, so I got Mapping problem with compressed key update record again:(
    I'm replicating from SQL Server 2008 to Oracle 11g.
    I'm actually using NOCOMPRESSUPDATES in Extract.
    CDC is enabled for all tables replicated. The only thing is that it is enabled not by ADD TRANDATA command, but by SQL Server sys.sp_cdc_enable_table, does it matter?
    Could you please advise why does it happen?

    Well, the problem begins somewhere in extract or before extract, may be in transaction log, I don't know:(
    Here are extract parameters:
    EXTRACT ETCHECK
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    SOURCEDB TEST, USERID **, PASSWORD *****
    exttrail ./dirdat/ec
    NOCOMPRESSUPDATES
    NOCOMPRESSDELETES
    TABLE tst.table1, COLS (field1, field2, field3, field4, field5, field6, field7, field8 );
    TABLE tst.table2, COLS (field1, field2, field3, field4 );
    Data pump:
    EXTRACT DTCHECK
    SOURCEDB TEST, USERID **, PASSWORD *****
    RMTHOST ***, MGRPORT 7809
    RMTTRAIL ./dirdat/dc
    TABLE tst.table1;
    TABLE tst.table2;
    Replicat:
    REPLICAT rtcheck
    USERID tst, PASSWORD ***
    DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
    SOURCEDEFS ./dirdef/sourcei.def
    HANDLECOLLISIONS
    UPDATEDELETES
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
    Rpt file for replicat:
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
    Windows x64 (optimized), Oracle 11g on Apr 22 2011 00:34:07
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
    Starting at 2012-06-05 12:49:38
    Operating System Version:
    Microsoft Windows Server 2008 R2 , on x64
    Version 6.1 (Build 7601: Service Pack 1)
    Process id: 2264
    Description:
    ** Running with the following parameters **
    REPLICAT rtcheck
    USERID tst, PASSWORD ***
    DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
    SOURCEDEFS ./dirdef/sourcei.def
    HANDLECOLLISIONS
    UPDATEDELETES
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 64K
    CACHESIZE: 512M
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1G
    CACHESIZEMAX (strict force to disk): 881M
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG = "AMERICAN_AMERICA.CL8MSWIN1251"
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "CL8MSWIN1251"
    For further information on character set settings, please refer to user manual.
    ** Run Time Messages **
    Opened trail file ./dirdat/dc000000 at 2012-06-05 12:49:39
    2012-06-05 12:58:14 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 0, rba 925 (aborted 0 records).
    MAP resolved (entry tst.table1):
    MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
    2012-06-05 12:58:14 WARNING OGG-00869 No unique key is defined for table table1. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
    Using the following default columns with matching names:
    field1=field1, field2=field2, field3=field3, field4=field4, field5=field5, field6=field6, field7=field7, field8=field8
    Using the following key columns for target table R_019_000001.TCALCULATE: field3.
    2012-06-05 12:58:14 WARNING OGG-01431 Aborted grouped transaction on 'tst.table1', Mapping error.
    2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
    2012-06-05 12:58:14 WARNING OGG-01151 Error mapping from tst.table1 to tst.table1.
    2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
    Source Context :
    SourceModule : [er.main]
    SourceID : [er/rep.c]
    SourceFunction : [take_rep_err_action]
    SourceLine : [16064]
    ThreadBacktrace : [8] elements
    : [C:\App\OGG\replicat.exe(ERCALLBACK+0x143034) [0x00000001402192B4]]
    : [C:\App\OGG\replicat.exe(ERCALLBACK+0x11dd44) [0x00000001401F3FC4]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x000000014009F102]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B29CC]]
    : [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B8887]]
    : [C:\App\OGG\replicat.exe(releaseCProcessManagerInstance+0x25250) [0x000000014028F200]]
    : [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007720652D]]
    : [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x000000007733C521]]
    2012-06-05 12:58:14 ERROR OGG-01296 Error mapping from tst.table1 to tst.table1.
    * ** Run Time Statistics ** *
    Last record for the last committed transaction is the following:
    Trail name : ./dirdat/dc000000
    Hdr-Ind : E (x45) Partition : . (x04)
    UndoFlag : . (x00) BeforeAfter: A (x41)
    RecLength : 249 (x00f9) IO Time : 2012-06-01 15:48:56.285333
    IOType : 115 (x73) OrigNode : 255 (xff)
    TransInd : . (x03) FormatType : R (x52)
    SyskeyLen : 0 (x00) Incomplete : . (x00)
    AuditRBA : 44 AuditPos : 71176199289771
    Continued : N (x00) RecCount : 1 (x01)
    2012-06-01 15:48:56.285333 GGSKeyFieldComp Len 249 RBA 987
    Name: DBO.TCALCULATE
    Reading ./dirdat/dc000000, current RBA 987, 0 records
    Report at 2012-06-05 12:58:14 (activity since 2012-06-05 12:58:14)
    From Table tst.table1 to tst.table1:
    # inserts: 0
    # updates: 0
    # deletes: 0
    # discards: 1
    Last log location read:
    FILE: ./dirdat/dc000000
    SEQNO: 0
    RBA: 987
    TIMESTAMP: 2012-06-01 15:48:56.285333
    EOF: NO
    READERR: 0
    2012-06-05 12:58:14 ERROR OGG-01668 PROCESS ABENDING.
    Discard file:
    Oracle GoldenGate Delivery for Oracle process started, group RTCHECK discard file opened: 2012-06-05 12:49:39
    Key column filed3 (0) is missing from update on table tst.table1
    Missing 1 key columns in update for table tst.table1.
    Current time: 2012-06-05 12:58:14
    Discarded record from action ABEND on error 0
    Aborting transaction on ./dirdat/dc beginning at seqno 0 rba 987
    error at seqno 0 rba 987
    Problem replicating tst.table1 to tst.table1
    Mapping problem with compressed key update record (target format)...
    filed1 = NULL
    field2 =
    field3 =
    field4 =
    field5 =
    datefield = -04-09 00:00:00
    field6 =
    field8 =
    field9 = NULL
    field10 =
    Process Abending : 2012-06-05 12:58:14

  • Mapping problem with compressed key update record (target format)...

    Hi Guys,
    Getting below error while replication from Source to target. Source table is having NOT NULL Column, but on target replicat process giving error about some NULL value ??
    How to overcome this issue, any idea...
    2011-08-04 10:35:04 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK starting.
    2011-08-04 10:35:05 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK started.
    2011-08-04 10:35:06 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: OCI Error ORA-01407: cannot update ("INFRA"."CUST"."CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE" = :a4,"ORD_QTY" = :a5,"ORD_PRICE" = :a6,"CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.
    2011-08-04 10:35:06 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Aborted grouped transaction on 'INFRA.CUST', Database error 1407 (ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL).
    2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
    2011-08-04 10:35:06 *WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: SQL error 1407 mapping INFRA.CUST to INFRA.CUST OCI Error ORA-01407:* *cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE"=:a4,"ORD_QTY"*
    *= :a5,"ORD_PRICE" = :a6,"SCRP_CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.*
    2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
    2011-08-04 10:35:06 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Error mapping from INFRA.CUST to INFRA.CUST.
    2011-08-04 10:35:06 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: PROCESS ABENDING.
    Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-04 10:35:05
    Current time: 2011-08-04 10:35:06
    Discarded record from action ABEND on error 1407
    OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
    (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
    Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
    error at seqno 68708 rba 44132192
    Problem replicating INFRA.CUST to INFRA.CUST
    *Mapping problem with compressed key update record (target format)...*
    ORD_QTY = 500
    ORD_PRICE = 37430
    SCRP_CODE =
    MKRT_CODE = N
    Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-
    04 10:35:05
    Current time: 2011-08-04 10:35:06
    Discarded record from action ABEND on error 1407
    OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
    (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
    Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
    error at seqno 68708 rba 44132192
    Problem replicating INFRA.CUST to INFRA.CUST
    Mapping problem with compressed key update record (target format)...
    ORD_QTY = 500
    ORD_PRICE = 37430
    SCRP_CODE =
    MKRT_CODE = N
    Any inputs / help would be appreciated.
    Regards,
    Manish

    The SCRP_CODE column has a NOT NULL constraint. The ORA-01407 error is telling you that you cannot update or set a value for this column to null because of the constraint. This has absolutely nothing to do with an index. You can use a marker/sentinel value in lieu of using NULL. For a numeric field, where everything is positive, a negative value (-1) can be decoded as meaning null. For a character field, a code such as NA can represent NULL.
    This also has nothing to do (directly) with GoldenGate failing because of this error. The underlying SQL statement will fail everywhere, regardless of the tool or application. It is not a case of failing only in GoldenGate.

  • Port Mapping Problem with AEX

    I have a new Airport Extreme and a problem that did not exist with the Airport. I connect a Toshiba network camera to an Airport Express, set as a WDS remote, with the netcam connected to the wired ethernet port of the Express. I can see the netcam, which also functions as a web server, on the internal 10.x.x.x address, and have reserved a discrete 10.x.x.x address via the MAC/DHCP reservation function of the Extreme. Just like the older Airport which did this without a hiccup, I should be able to map a port (e.g. 1200) on the public IP to port 80 of the internal 10.x.x.x address, then access the netcam on the internal network from any browser (http://67.x.x.x:1200). My cable modem is just that: no router involved other than the Airport Extreme. I'm using the latest Extreme and Express firmware, and am either missing something with the new Leopard firewall, overlooking something else, or dealing with a product flaw. Any help is appreciated and Happy Holidays.

    I have forwarded the port (have tried several different ports actually) in what I think it the correct way: using the Airport Utility, connected to the Airport Extreme, and, under advanced options, selected port mapping, entered the public TCP port of 1200, then the private 10.x.x.x IP address of the netcam (which I can access from the internal network with no problem), coupled with the private TCP port of 80. I then attempt to access the netcam from the Internet by entering http://my cable modem IP address:1200 (or another port to which I've attempted to map). This method worked for two years with the Airport, but, with the Extreme and Leopard (simultaneous transition), I'm stumped. After reading other about other port mapping problems, I reserved an IP address for the netcam based on its MAC with no positive results. I also set the firewall through the Security icon in System Preferences to allow all incoming connections. Thanks for taking the time to respond.

  • Mapping problem with XML scheme

    Hi All,
    I have a scenario which I am trying to send a XML file through SFTP (Advanco) to a Z RFC.
    I created the message mapping, but I am dealing with a issue that I would like to see if it already happened with someone else and which is the best way to solve it.
    In the message mapping - test tab - source view we can find this xml tag regarding the messagetype (see that my MT is called ROOT)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ROOT xmlns:ns0="http://www.post.ch/schemas/dfu/2006/20/Report6">
    the problem is, when I am testing the interface the original file comes like this below
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT xmlns="http://www.post.ch/schemas/dfu/2006/20/Report6">
    without ns0:
    And if I test in message mapping without ns0: I have the problem.
    Shouldnt it be equivalent ? I mean, as far as I know the ns0: shouldnt be a problem
    Does someone have any suggestion regarding my issue above ?
    Thank you
    Regards
    Diego
    Edited by: Diego Crespo on Feb 10, 2011 10:01 AM

    Shouldnt it be equivalent ? I mean, as far as I know the ns0: shouldnt be a problem
    when you have a namespace in the message then you need to associate it with some prefix....since ns0 (or any other prefix) is not present you are getting the error....having the namespace but not ns0 is the problem.
    XMLAnonymizer bean may help you to add the namespace prefix...

  • Mapping problem with Wireless Keyboard and Japanese iPhone

    Hi everyone:
    This seems to be a slightly obscure question -- at least, I can't find a ready answer for it with the search terms I've tried, possibly because most people don't use this particular accessory with the iPhone.
    I have an iPhone 4 that I bought from and use on Softbank, the carrier in Japan, where I live.  While visiting the United States recently, I bought an Apple Wireless Keyboard from an Apple retailer.   I wanted to carry it with me for use with my iPhone, so I would reliably have a convenient way to access the Internet without being confined to the touchscreen keyboard.  (I live in a rural area where WiFi spots are uncommon, but my iPhone's access to Softbank's data network is fairly good and consistent.)
    However, to my frustration, I can't use the keyboard due to a mapping problem.  The Bluetooth connection is fine -- the iPhone can discover the keyboard.  However, the mapping is off: typing "Q" gets me "A," typing "Z" gets me "W", numbers and punctuation are off, etc.  The key point: This is NOT a problem with the International Keyboard settings (under the Settings -> General -> Keyboard -> International Keyboards menu).  I have the Keyboard setting set to QWERTY, which is the layout of the Apple keyboard; I have tried all the other possibilities, just in case.  None of them work.  Setting the Keyboard setting to QWERTY does not make the external QWERTY keyboard map correctly.
    The rather ironic addendum is this: While on a recent trip to Tokyo, I visited the Apple store in Shibuya and, after concluding the main business of my visit (discussing my MacBook's battery problems with an English-speaking staffer), I took out my iPhone and keyboard and asked him about my mapping problem.  He started with the Keyboard menu, tried the same things I had tried, realized they weren't working, and puzzled over the problem for a while.  Then he did this: He hit a key combination (I believe) that brought up a menu on the iPhone's screen.  "Ah, there's your problem," he said, and selected a new setting.  The problem was instantly fixed.
    To my chagrin, however, I neglected to write down what "Ken" had done to fix the problem.  Argh... I was looking at the iPhone upside-down; I'd already taken up more than half an hour; people were waiting, and I guess, being used to living in the countryside now, that I'm not used to Shibuya crowds any more.  Anyway, I didn't take careful notes or ask him to walk me through it, and now I cannot recall or repeat what he did.  And I still can't use my keyboard!
    Any ideas or advice, anyone?  How did "Ken" fix my problem, and how can I repeat it?  Much, much appreciated, in advance.

    THAT'S IT.  Sir, you have solved my problem.  Thank you!!
    And I feel a little silly; this will doubtless seem to an expert as if it should have been obvious all along.  But isn't that always the way in hindsight?
    Here's what happened: The key combination I was trying to remember was "Apple/command + space on the hardware keyboard," as you just said above.  The "menu" it brings up is, apparently, a list of keyboards.  I take it that this list is the same as the list of the "virtual" keyboards on the iPhone?  I have never had more than one external keyboard -- the Apple Wireless -- but I do have several keyboards active virtually, as the iPhone in Japan seems to come with both the "Nihongo Ten-key" and the "Nihongo Romaji" keyboards active, and I added several other languages as well.
    When I hit "Apple/command + space," this list comes up on the iPhone's touchscreen.  Highlighted and checked at the top is "English," just as if it had been selected all along.  But nonetheless, when I first turn on and pair my keyboard with the iPhone, I need to perform this key-combination action, as if to "reselect" English, and then the keyboard promptly starts working properly as QWERTY.  I can only assume that one of the others had been default-selected before -- presumably one of the Nihongo ones? -- and that this was causing the interference.
    Thank you again!  You have made me and my wireless keyboard very happy.

  • XSLT Mapping - problem with prefixes when calling template

    Hi all,
    I am having a problem with using an XSLT mapping in XI to combine various fields from 2 input messages of different structures into a single output message.  I understand that XI puts a wrapper around the 2 input messages so the structure of the XML I am mapping is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns2:Messages xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge">
    <ns2:Message1>
    <ns:(root of first message)>
    </ns:(root of first message)>
    </ns2:Message1>
    <ns2:Message2>
    <ns:(root of second message)>
    </ns: (root of second message)>
    </ns2:Message2>
    </ns2:Messages>
    Currently my XSL looks like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="http://example.co.uk/example" xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge" xmlns:javamap="java:systemDate.CurrentDate" version="2.0">
    <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
    <xsl:param name="inputparam"/>
    <xsl:template match="ns2:Messages">
    ...<xsl:calltemplate name="FormattingTemplate"/>
    </xsl:template>
    <xsl:template name="FormattingTemplate">
    </xsl:template>
    </xsl:stylesheet>
    When I test the mapping it works fine until it calls the FormattingTemplate.  Then it throws out a "transformer exception" error saying the prefix 'ns2' is not mapped to a namespace.
    If anyone could tell me where I am going wrong I would be very grateful.
    Thanks,
    Mike

    Hi Udo,
    Thanks for your reply.
    When testing the stylesheet locally with XMLSpy, it works fine, but I have just noticed that it adds information in the root tag of the target message as follows:
    <(root of target message) xmlns:javamap="java:systemDate.CurrentDate" xmlns:ns="http://example.co.uk/example" xmlns:ns2="http://sap.com/xi/XI/SplitAndMerge">
    I checked the root tag of the target message in XI and it does not automatically add this information. Thus I added it in my stylesheet so the information above is projected in the target message, but the same error message appears when the call template function is called.  Do you know if I need to somehow add a namespace to templates other than the main one? If so, do you know how I go about doing that?
    Thanks,
    Mike

  • Maps Problem with Glitchy Map Display

    I've been having a problem with Maps recently. Lately, I've been scrolling across maps and very (very) often I would have a really glitchy layout that looks like this:
    http://img137.imageshack.us/img137/442/mapsproblemrr6.png
    This occurs on both 3G and WiFi wireless networks.
    I've tried rebooting the phone (holding down power button and sliding the slider) and resetting my network settings already.
    Any ideas?
    Thanks for your help!

    Zanneth-,
    Does the map ever come into focus, or does it remain distorted? Does this issue occur when using different geographical searches? If so, I would try resetting all settings and then a restore, setting the iPhone up as a new phone.
    You could also test installing Google Earth for the iPhone (available on the app store) to see if the same issue occurs as well.
    Update and restore error messages on the iPhone and iPod touch
    http://support.apple.com/kb/TS1275
    Hope this helps,
    Raleigh

  • Map problem with ios6

    I have problem with IOS6 Maps is any one knows to downgrade to old IOS5 Maps

    Load this map and save it on your Home Screen
    https://maps.google.com/

  • Excel XML map problem with numbers.

    Hi Xcelsius gurus,
    Once again i need your help.
    I use Excel XML maps to get data into my embedded spreadsheet, my data are current year sales per month like below:
    115.450,36
    220.336,20
    189.222,56
    200.005,48
    just numbers.
    After inserting the xml data i am not able to use them. No chart, No list, No gause can present my data. Like there is no data.
    I realised that after mapping the XML, spreadsheet's cells showing an error, when i click on error icon there is an option to convert data to number, that fix the problem.
    What could i do to solve this issue? Is there any problem with my XML file?
    Pease help me with this one, i am confused.

    Hi:
       what is your xml file format?
       you can try some ordinary xml format instead, here is a example:
       <?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
    <book catalog="Programming">
    <title lang="en">C++ Programming Language</title>
    <author>Bjarne Stroustrup</author>
    <year>998</year>
    <price>198.0</price>
    </book>
    <book catalog="Networking">
    <title lang="en">TCP/IP Illustrated</title>
    <author>Richard Stevens</author>
    <year>1996</year>
    <price>156.0</price>
    </book>
    </bookstore>

  • Ovi maps problems with Nokia 5800 xpress music

    Since Ovi updated the maps I've had trouble using it. I have version 40 firmware which was installed by Vodafone when my device expired. Despite the update, Ovi maps just crashes the phone when I try to use it. The screen goes blank and I get all coloured lines flashing down one side and the phone reluctantly restarts. Any advice please?

    I am having exactly the same problem with my 5800 xpress music having updated to version 40.0.005.235.10 and installed the new version of OVI maps and the software Own Voice.
    I have also tried reinstalling the sotware, restoring my phone to factory settings and resetting my phone by pressing the green, red and camera button whilst powering up. The problem persists. I will be making a call and within a few seconds of the call being connected the phone switches off and back on again. I also get the the coloured lines flasing on the screen.
    Please Nokia Support, help us out.

  • Keyboard mapping problem with sunstudio

    I'm a new sunstudio user and am having trouble with a setup issue. When I run sunstudio 11 from a sunray with a Sun keyboard all works fine (except the sunray has far too small of screen and it drive me crazy). When I run with my linux desktop being the x-server then none of the special keys (home, end, arrows, backbspace, enter, etc.) work correctly in sunstudio. All other gui apps I've tried (gedit, gvim, staroffice, web browser, etc.) work fine from my linux/pc keyboard.
    Using google I discovered xev. It shows the keycode and keysym that is interpreted for each keyboard stroke. When I compare the output from my linux/pc keyboard vs. the sun keyboard connected to the sunray I see the expected differences in keycode, but the keysym and resulting interpretation (e.g. BACKSPACE) is the same. Yet sunstudio ignores any keystroke except normal alphabet characters that come from my linux/pc keyboard.
    When using my linux/pc keyboard I'm in one of two configs (both act the same):
    - ssh -X hostname
    OR
    - Xephyr :1 -screen 1250x975 -query hostname &
    Thanks for any help.
    cb

    There is a known problem related to control keys in the netbeans GUI.
    http://www.genunix.org/wiki/index.php/Sun_Studio_FAQs#IDE_-TheSun_Studio_IDE_is_ignoring_my_control_keys
    It's hard to tell from your message where the programs are
    executing from.
    Run two X programs next to each other, running on the same machine,
    and displaying to the same X server. Verify that one of them can see
    ALT keys (for example) and the other one can't. Then you know it's
    a problem with the application program, and not due to your keyboard.
    The Sun Studio IDE has no idea what physical keyboard you're using.
    It only sees the keysyms from the X server.

  • 5.1 speaker mapping problem with X

    I recently created a dual-boot configuration with XP and Vista , and at the same time upgraded to an X-Fi Xtremegamer card. I am using Klipsh 5. ultimate speakers, which worked perfectly with my previous Audigy 2. In Vist, 5. surround does not map properly. I otherwords, when I test each speaker in the windows speaker control, the test sounds do not come out of the correct speakers as follows:?Test Left front - sound comes out of Right Rear SpeakerTest Center is OKTest Right Front is OKTest Right Rear - sound comes out of Left Rear SpeakerTest Left Rear - sound comes out of Left Front Speaker?All speaker cables are connected correctly and this occurs whether CMSS-3D is on or off. Surprizingly, the surround sound in XP seems OK but there is no way to individually test each speaker as in Vista, at least none that I know of. Has anyone else experienced this problem Vista and X-Fi?Thanks for any help.

    yeah, I used mp3s first, I also have run games and videos and stuff like that. If all my settings are set to 5.1 surround, then I should at least get sound out of them, even if it's not true-blue surround sound, right? I mean, that's the way I've always understood it. You may not get the positional sounds, like someone sneaking up behind you in a FPS coming out of only the back speakers, but it should at least play sound in general.
    Maybe I'm wrong? I don't know~
    I have gotten sound out of the rears while hooked up to the rear output plug, but only very faintly. That's what I'm not sure what's going on. I'm just reluctant to just go buy a new card without knowing that that's a guaranteed fix. You know? Throwing money at a problem is all well and good when you have a lot of money :P

  • Mapping issue with if else

    Src. Structure:
    A (0-unbounded)
       within A-> p
    B (0-unbounded)
      within B-> p
    NOTE: at a given instant either A/B can occur, # of K(Target)should b same as # of A/B
    Target structure
    K(0-unbounded)
        within K---> z(1)
    now i have done A/B -> K mapping,
    question comes when i try to map the p to Z field within K,
    depending on weather A/ B exists i need to map the P in A/B to the Z field in K,
    here is what i have done so far:A/B->K mapping
    A --> exists -->OR createif --> SplitByValue -->K
    B --> exists -->
    for mapping p-> Z (i used if then else function)
    A --> exists -->if then  --> A.p --> K.z
    else-> B.p-> K.z
    Here is the test scenario i am doing:
    I send a test without A's only 3 Bs
    I get 1 K element with 1 z in it.
    the remainder of the elements of B in other contexts don't show up.
    When i do a display queue: for my p->z mapping  at the if-then-else function i can see only 1 output from it though there are 3 p fields, this is because in my K structure z field can occur max only once,
    HOW CAN I HAVE  seperate Z elements, each within different K elements?
    Your help is very much appreciated,  this sounds so complicated i hope not, i m sure im not doing something correct, can some1 help me understand this?
    Thanks,
    Hank

    If you have not got the solution, then consider this logic:
    K is 0..unbounded so in the MM duplicate the subtree for K (so now you will have 2 K nodes)
    A -
    > exists -
    > createIf ---> K  ........K will occur when A node exists in the source...to one of the two K nodes
    To map A.p to K.p
    A.p -
    > K.p  ....... you may need to increase the Context of the A.p node....K.p should be the first K node to which the above exists logic (A exists) is applied.
    B ---> exists ---> createIf ---> K   .........K will occur when B node exists in the source...to second K node
    To map B.p to K.p
    B.p ---> K.p....... you may need to increase the Context of the B.p node....K.p should be the second K node to which the above exists logic (B exists) is applied.
    Regards,
    Abhishek.

  • Message-Mapping Problem with empty queue while testing

    Hello,
    I want to develope an mapping to an BMEcat-structure. This mapping should be an filter.
    My problem is, that everytime I want to check, if my mapping works correct, the queues for the proccessing steps keeps empty.
    I filled a test case with all data I needed for the step I want to test (not the whole mapping is ready, but for this step, it is). Now I go to my mapping step an check the queue for the parameters and the queue comes up and displays the correct values. In next step I want to display the queue of an "equalsS"-Step, but this queue keeps empty as all following queues too. Sometimes there is coming up an empty "Processing log"-window.
    The problem only comes up, if the target-message is a BMEcat-Structure.
    Have you any solution for this behaviour? Or do you need more informations?
    Here you can find some Screenshots:
    http://www.gothsite.de/sapscreen/ScreenShot00113.jpg
    http://www.gothsite.de/sapscreen/ScreenShot00114.jpg
    http://www.gothsite.de/sapscreen/ScreenShot00115.jpg
    http://www.gothsite.de/sapscreen/ScreenShot00116.jpg
    http://www.gothsite.de/sapscreen/ScreenShot00117.jpg
    Edited by: Dirk Koch on Feb 6, 2008 12:00 PM

    Hello,
    thank you for your tip, but the main problem is still existing. As you can see in the next screenshots, I build in your code and I'm sure it normally works fine. Also I filled the "have to"-Fields in the strukture, so that the check-function (F7) delivers an all right.
    But still I get no queue results.
    http://www.gothsite.de/sapscreen/ScreenShot00118.jpg
    http://www.gothsite.de/sapscreen/ScreenShot00119.jpg
    For tests you can take these informations:
    http://www.gothsite.de/sapscreen/Z_RFC_EAN_CHECK_resp.xsd
    http://www.gothsite.de/sapscreen/bmecat_2005_XSDs.zip
    Edited by: Dirk Koch on Feb 6, 2008 12:56 PM

Maybe you are looking for

  • ITunes won't let me add new songs to established playlists - what's wrong?

    I'm more than frustrated. Yesterday, everything worked fine! I created 3 playlists and did the drag/drop of songs into the playlists. Today, I bought more music. Those songs show up in my library. But ... when I try to drag/drop the new songs into th

  • An error has occurred while attempting to load the CR in hosting

    I deployed my asp.net with crystal report in hosting server... They have installed Crystal Report Basic Runtime for Visual Studio 2008.(10.5.3700.0) on windows server 2008 OS X64.. I developed my asp.net application with visual studio 2008 in xp mach

  • Binary to XML format

    Hi all, To post a document to bank i have used digital signature using SSF functions. It is working fine. And my recipient received the data with digital signature. Now I have a problem, when i use SSF function my input data is converted into binary

  • The debugger agent is not enabled on server....

    We have to weblogic instances and IDM is deployed in both these instances. When I am trying to start the debugger on server1 I do get this error: +'The debugger agent is not enable on server2: To enable, please set the SystemConfiguration property se

  • Citrix error: Reports are opened in filtering window

    Hi friends, I am getting a wierd error when i am using Citrix connection to open the reports. There are no errors if I open the reports otherwise. when I enter the filtering values and click transfer, the report is opened in the same window as filter