Mapping with IDoc problem

Hi All
I am having a problem where if I get over about 30 records from my 3rd Party in a file. This data is mapped to the Materials Master IDoc(MATMAS05) and it gets a mapping error when trying to run thru the mapping.
  <SAP:Category>Application</SAP:Category>
  <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
  <SAP:P1>com/sap/xi/tf/_MM_MATCAT_MATMAS_</SAP:P1>
  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
  <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
If I take this data from the Payload in SXMB_MONI and test in the Graphical Mapping tool in Integration Design it crashes with the above error. If I take this file and break into 2 parts and then send thru the mapping tool both files has no error. Does anyopne have any idea why this error occurs(could this be a memroy error - but for like 30 records) and how I can fix this as we would like to do a mass upload - about 9000 records(materials).
Your help will be appreciated.
Thanks
Clinton

Hi
This is such a weird error.
I have now started taking this file that I receive from the 3rd party with 200 records and tested it with the mapping tool. The results are as follow: From record 1-31 goes successful, 32-147 goes successfully and 148-200 goes successfully. So if I take the file as one file it crash, but if I break the file into the above 3 files it goes thru fine. for the first part it can only take 31 records, the 115, and then the rest. This does not make any sense, can someone please give me some advise.
Thanks
Clinton

Similar Messages

  • Multi Mapping with IDoc receivers

    Hi,
    I want to use an Interface Mapping in Enhanced Interface determination. The Interface Mapping includes two Message Mappings and should create either  IDoc Type WPUWBW01 or IDoc Type WVINVE03, depending on the values of the Source Message.
    In SAP Help I read the following about developing Multi-Mappings for Message Splits: "Messages that result from the split in a mapping-based message split are sent using one Adapter Engine. For this reason, only those adapters that run on the Adapter Engine are supported. "
    Does this mean my scenario will not work?
    Thanks in advance.
    Alex

    Yes correct. you will have to do two separate message mappings and interface mappings to achieve your goal.
    The IDoc adapter is on the ABAp stack and therefor does not allowing you to use some of the functionality which you get on from the adapter engine on the java stack.
    let me know if you need anything else...
    Edited by: Alex on Jul 21, 2008 5:37 PM

  • XI Mapping with contest problem...

    Hi to all,
    i have this source structure:
    ITEM (1..n)
    --A
    --SUBITEM (0..n)
    B
    ad i have to map in this target structure:
    ITEM1(0..n)
    --E
    ITEM2(0..n)
    --F
    ITEM3(0..n)
    --G
    The rules are: i have to create the ITEM1 if A=1, ITEM2 if A=2 and ITEM3 if A=3
    ITEM1 occurence must be equals to SUBITEM occurences and B=A.
    Example:
    From:
    ITEM
    --1
    --SUBITEM
    test
    --SUBITEM
    test1
    ITEM
    --2
    --SUBITEM
    test2
    --ITEM
    --3
    --SUBITEM
    test3
    To:
    ITEM1
    --test
    ITEM1
    --test1
    ITEM2
    --test2
    ITEM3
    --test3
    Any help will be appreciated
    Thank's

    Hi Marco,
    Try with follow logic:
    Text Preview
    /ns0:MTP_TARGET=/ns0:MTP_SOURCE=
    /ns0:MTP_TARGET/ITEM1=removeContexts(ifWithoutElse([keepss=true]stringEquals(useOneAsMany(/ns0:MTP_SOURCE/ITEM/A=, /ns0:MTP_SOURCE/ITEM/SUBITEM=, /ns0:MTP_SOURCE/ITEM/SUBITEM/B=), const([value=1])), const([value=])))
    /ns0:MTP_TARGET/ITEM1/E=/ns0:MTP_SOURCE/ITEM/SUBITEM/B=
    /ns0:MTP_TARGET/ITEM2=removeContexts(ifWithoutElse([keepss=true]stringEquals(useOneAsMany(/ns0:MTP_SOURCE/ITEM/A=, /ns0:MTP_SOURCE/ITEM/SUBITEM=, /ns0:MTP_SOURCE/ITEM/SUBITEM/B=), const([value=2])), const([value=])))
    /ns0:MTP_TARGET/ITEM2/F=/ns0:MTP_SOURCE/ITEM/SUBITEM/B=
    /ns0:MTP_TARGET/ITEM3=removeContexts(ifWithoutElse([keepss=true]stringEquals(useOneAsMany(/ns0:MTP_SOURCE/ITEM/A=, /ns0:MTP_SOURCE/ITEM/SUBITEM=, /ns0:MTP_SOURCE/ITEM/SUBITEM/B=), const([value=3])), const([value=])))
    /ns0:MTP_TARGET/ITEM3/G=/ns0:MTP_SOURCE/ITEM/SUBITEM/B=
    Steps:
    *Step 1*
    useOneAsMany( A , SUBITEM , B )
    *Step 2*
    equals( +Step1+, Constant[1] )
    *Step 3*
    ifWithoutElse ( +Step2+ , Constant[ ] )      - Set Use SUPPRES values = TRUE
    *Step 4*
    RemoveContexts ( +Step 3+ )
    *Step 5*
    node ITEM1 receive +Step 4+
    In ITEM2 and ITEM3 use the same logic, changing the CONSTANT of the Step 2 for values 2 or 3.
    And in nodes E, F and G, use directly the node B.
    Regards

  • Problem with Idoc Mapping

    Hi,
    Target field is : Bank Address 1:
    Source mapping: it is a Idoc with the following requirements
    IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-FIIBKNAM)<=11
          then MID(E1IDB02 BB-FIIBKNAM,2,10)
    IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-FIIBKNAM)>11
           then MID(E1IDB02 BB-FIIBKNAM,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1IDB02 BB-FIIBKNAM)<=35
            then MID(E1IDB02 BB-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1IDB02 BB-FIIBKNAM)>35
           then MID(E1IDB02 BB-FIIBKNAM,36,35)
    E1IDB02 -- is a segment name with occurence 1..1
    BA and BB are the qualifiers
    FIIBKNAM is the field name.
    I am unable to map this as the condition has to be given with two qualifiers at a time.
    Can some one help me out on this. Can we define the UDF where we can store this information as temporary variable. If UDF can be defined, please let me know with the details.
    Regards,
    Manoj

    HI,
    Yes, but you have to write your own UDF ,
    but i can give example use this to solve your problem.
    IF E1IDB02 BA-FIIKWAER = CNY
    then MID(E1EDKA1 BE-NAME1,12,11)
    1)
    input E1EDKA1 BE-NAME1,E1IDB02 BA-FIIKWAER
    if (E1IDB02 BA-FIIKWAER = CNY) {
    return substring(E1EDKA1 BE-NAME1,12,11);
    2)
    input E1EDKA1 BE-NAME1,E1IDB02 BA-FIIKWAER
    IF (E1IDB02 BA-FIIKWAER <> CNY ) && ( (E1EDKA1 BE-NAME1).length<=35)
    return substring(E1EDKA1 BE-STRAS,1,35);
    3)
    IF (E1IDB02 BA-FIIKWAER <> CNY) && ((E1EDKA1 BE-NAME1).length>35)
    return substring(E1EDKA1 BE-NAME1,36,35);
    Before map this first map with same level of empty constant and concat it, if it is empty,later map with substring.
    Regards
    Chilla

  • Mapping Problem with IDOC HRMD_A05

    Hi All,
    When i am mapping source structure with IDOC HRMD_A05 i am getting Mapping not sufficiently defined...
    The idoc is used to change the address of employee(infotype 0006)..
    my source structure is
    EMPADDR_MT
       EmpAddr1
         Trans_INFTY *
        Address1
          AddressType *
          PERNR       *
          EFdate      *
          Addr1       *
          Addr2       *
          ADDR4       *
          City        *
          Country     *
          state       *
          Postalcode  *
    the fields to be mapped
    So can any one help me out what r fields to be maintained for <b>HRMD_A05</b>...
    Regards,
    Sridhar
    Message was edited by: sridhar reddy kondam

    All the required fields & segments(shown red in mapping editor or min occurence:1) of idoc need to be mapped.If any of the fields are not available in your source for mapping..map those fields with empty constants using constant option of the mapping editor.

  • Problem to transform Flat file to Data Type Structurated and map to IDOC

    Hi all,
    I have a file to idoc scenario.
    The information is like this:
    1#!445#!AI12#!1#!20070214#!DVXXXXR#!201#!31GINHG876#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    where 1, 2, ... = key segments for the file adapter and #! are the field separator.
    this must go to a Data Type with substructures like this:
    (xml)
    .1
    ......2
    .3
    ......4
    ......5
    where 2 is inside 1 and 4-5 inside 3.
    The reason of this is we can get unbounded replays of 3/4/5 for one header.
    But XI reads the information like if all segments are headers.
    .1
    .2
    .3
    .4
    .5
    So the IDOC is bad created.
    Where is the issue?  At Message Mapping all substructures are mapped with his default and at TEST option it works fine.
    Thanks in advance for your help.
    best regards
    Message was edited by:
            Federico Martin
    Message was edited by:
            Federico Martin

    Dear people,
    according to license problems at client, it's impossible to get the convert agent.
    so now we come back to try to solve with normal mapping.
    the next step is try to convert it using 2 message mappings: dt (flat xml) to dt (structurated) and this one to the idoc.
    i suppose it can be done adding program at interface mapping.
    I created the no hiereachical Data Type for load the information and it's fine. But i am unable to get the first mapping OK, because XI has problems with unbounded segments.
    If you agreed and has time, i copy here the information and his structure.
    I receive (#! defines separation and key segment fields are 1,2,3,4,5):
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    5#!pos5
    5#!pos5
    The destination must be:
    CHASE A
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    3 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    5 (1..unbounded)
    5 (1..unbounded)
    5 (1..unbounded)
    CHASE B
    Or, in another case with 5 as child of 3 (like example in last mail)
    1#!445#!AH02#!1#!20070214#!DVPOSTER#!201#!31GINHGIN0#!#!
    2#!#!ETC
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    5#!pos5
    3#!000000000030008888#!#!3000#!#!10#!#!20070215
    4#!dades45#!b#!c#!d#!e#!f#!g
    5#!pos5
    1 (1..1)
    ....2 (1..1)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    3 (1..unbounded)
    ....4 (0..1)
    ....5 (1..unbounded)
    Questions:
    How i do for map Data Type (no hierachical) -to-> Data Type (hierachical) and  Data Type (hierachical) -to-> IDOC? Is any loop or context object required?
    Thank you in advance for your help and sorry the long thread.

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys!
    I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
    REALLY strange...
    Any suggestions?
    IDX2 metadata loaded.. I think, all needed settings are done.
    Question - do I need to set up LS in XI ABAP part?
    Thanx, Olian!
    P.

    Hi Olian ,
    just check if u have followed all the following steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name
    Regards,
    AshwinM

  • Advanced mapping from IDOC to SOAP with reversed 3 level context change

    Hi everyone.
    I am having a though time mapping the HRMD_A01 IDOC into a SOAP message. The reason is that the reciever expects an xml structure where the root node is cost center instead of employee which is the case in the IDOC.
    Mapping from:
    IDOC (1..1)
       E1PLOGI (1..unb)
         SEGMENT (String)
         OBJID (String)
         E1PITYP (1..unb)
           E1P0001 (1..unb)
             SEGMENT (String)
             KOSTL (String)
    To this structure:
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above  
    I expect several occurances of E1PLOGI which states multiple employees sent in the IDOC. I also expect several occurences of E1P0001 containing cost centers.
    My conclusion is that I need an advanced mapping and I have created one which collects all KOSTL for the IDOC context, deletes duplicates, and creates the CostCenters segment. This is now working. But my problem is that I can't create the employees segment in the right place. They are only created once under the first CostCenters node.
    Here's the java-code for mapping between KOSTL and CostCenters/KOSTL:
    public void costCenters(String[] var1, ResultList result, Container container) throws StreamTransformationException{
      Set set = new HashSet(Arrays.asList(var1));
      String[] array2 = (String[])(set.toArray(new String[set.size()]));
      Arrays.sort(array2);
      for (int i = 0; i < array2.length; i++) {
        result.addValue(array2<i>);
    Any ideas on how to proceed?
    Best Regards

    Hi,
      Do the mapping like below.
      UDF should be select as context.
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above
    Mapping:
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--Removecontext--CostCenters
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--SplitbyValue(Each Value)--KOSTL
    constant---Employees
    OBJID----------------------------------------------Use One As Many---SplitByValue (EachValue)----------OBJID
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    Regards,
    Prakasu.M
    Edited by: prakasu on May 20, 2009 3:28 PM

  • Multi Mapping - Receiver IDOC & Mail with BPM

    Hi,
    Is it possible to use BPM with Multi Mapping for IDOC & Mail receivers sent parallely..
    Appreciate your help ..
    Thanks,
    vasanth.

    Hi Michal,
    Thanks Michal,
    We are using PI 7.1, Our Scope to do File to IDOC & Mail scenario in between we have to do RFC Lookups..
    Could you pls guide me thru the steps fo BPM,
    1 SA -> OB to AA
    2 ID  -> OB to AA & AA to Recv
    3.RD -> OB to AA & AA to Recv
    4.RA -> AA to IB & AA to IB
    Correct me if i'm wrong..
    Clarification : Is there is any way out to implement this scenario with out BPM.
    We already implemented this scenario with 2 MM & 2 OM, Scenario works fine...but we have to use 1 Mapping..
    Appreciate your help in advance..
    Thanks,
    vasanth.

  • Problem with idoc DEBMAS

    Hi everybody.
    We have a problem with idoc DEBMAS.
    This idoc is sent from R3 to PI throw change pointers then the idoc is field only with the data modified in the master custumer.
    We need the information fill it in the segment /IDOC/E1KNA1M/E1KNVVM to determine the receiver determination but this segment is not always sent.
    What can be done in R3 to send always this segment.
    We dont want to sent the whole data but always this segment.
    Any idea???
    Thanks a lot!!!!!

    Hi,
    As E1KNVVM segement is not mandatory, when you are triggering IDoc based on change poitner data might not populted in the E1KNVVM segment until some sales data is changed.
    if you need that segement always just copy the Idoc type and make it mandaotry field.
    otherwise yoy can populate some fields like STDVRS with the reruried constant and can use in your receiver determination.
    Regards,
    Suresh

  • Problem with Reversed document with IDOC interface

    I have a problem when I create Idoc which will reverse a document.
    I use ACC_DOCUMENT_REVERSE, in Idoc is filled like this -
    OBJ_TYPE ( BKPFF )
    OBJ_KEY( reverse document number + company code + year)
    OBJ_SYS ( system id )
    OBJ_KEY_R ( obj_key of document which will reverse )
    PSTNG_DATE
    COMP_CODE
    REASON_REV
    I formed OBJ_KEY with one select from table bkpf, and get the last number of documents reversed with Idoc interface. The interface creates Idoc reverse document with number 929xxxxxxx. With fb08 - documents created are 92xxxxxxxx.
    The problem is when use transaction fs10n, fill customer account number, and the sums are not right. The documents which was reversed with Idoc did not entered in G/L Account Line Item.
    But if I start transaction fbl5n - customer line item, the documents reversed by Idoc is there, and the total sum is right.
    How can I resolve this problem?
    Greetings,
    Lazar Hristov

    Hi,
    I hope you have reversed the posting.Have you cancelled the downpayment invoice.
    Please cancel the first downpayment invoice and post the amount for the second downpayment.
    Now try to create the final invoice.
    Regards,
    Krishna.

  • Mapping shipment idoc with XI internal structure.

    Hi,
    we are sending shipment idoc to PI system, there mapping is required like
    for each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure
    where material number and Item description field is at same level but in idoc it is not.
    Regards,
    Mayank

    for each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure
    where material number and Item description field is at same level but in idoc it is not
    If i try to make out some sence out of your post ..it would be like you have an idoc to file scenario ,where you are trying to map a particular IDoc field under subsegments and for each occurance of the segment you need to create a field in target.
    you can handle this easily if you try understanding context handeling in mapping.
    http://www.riyaz.net/blog/xipi-introduction-to-context-handling-in-message-mapping/
    specify your requirement clearly or frame a question.
    Regards,
    Anika

  • Problems with IDOCS

    Hi everyone!
    I'm working with IDOCs and I am having the following problem:
    I'm modifiying a specific standart IDOC (DELVRY03), adding a new structure called ZSTRUCTURE. When making an example to create the IDOC I am not able to find the new structure that I have just created in the IDOC.
    Does anybody know why? Maybe the structure is empty, is this a problem?
    Thank you very much.
    Regards

    hi,
       I dont think u can direct modify sap standard idoc type.
       Instead u can go for Idoc extension.
       Create structure ie segment u want to add say EDIT->set release
        and in we30 choose extension create zobject type  with extension as standard idoc and choose EDIT->set release
       and goto we80 add msgtype,Basic idoc type, extension.
       I think this will  fix ur problem.
    Regards
    Shanmukhi

  • Problem in map with a link.

    My map:
    http://mapping.lt/ifas/map.swf
    The problem:
    The buttons does'nt work,i think i'm doing something wrong. They're in the map it self,because i don't want them to move while zooming.
    Actions of the button is:
    on (release) {
    getURL("http://mapping.lt", "_blank");
    T.y. for your help.
    The fla of the map is here http://www.wikiupload.com/download_page.php?id=131316

    Try redoing the button.  You have a button in a button which is not going to work.

  • Problem with "Building interactive maps with Flex" example

    I have been looking at the tutorial by Matt Sheehan Building interactive maps with Flex found at
    http://www.adobe.com/devnet/flex/articles/interactive_maps.edu.html
    I have downloaded  Flash Builder 4.6 trial version and followed the example. I have also copied the source code from the example and pasted that into the file mymodestmap.mxml.
    In both cases the application opens a new page in Google Chrome but does not display any map data.
    No errors or warnings are displayed when I run the code from Flash Builder.
    Although I have got plenty of experience of writing software, I am a total beginner when it comes to developing web applications!
    Any ideas as to what I am doing wrong, I have attached the source below.
    Cheers
    Steve
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx1="library://ns.adobe.com/flex/halo"
                                     minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx="library://ns.adobe.com/flex/mx">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  import com.modestmaps.TweenMap;   
                                  import com.modestmaps.mapproviders.OpenStreetMapProvider;
                                  import com.modestmaps.geo.Location;
                                  import com.modestmaps.extras.ZoomSlider;
                                  import com.modestmaps.extras.HandCursor; 
                                  [Bindable]private var _map:TweenMap;       
                                  private var _mapUI:UIComponent;
                                  [Bindable]private var _initialLat:Number = 40.668903;
                                  [Bindable]private var _initialLong:Number = -111.680145;
                                  [Bindable]private var _initialZoom:Number = 6;
                                  private var _mouseWheelZoomCenter:Location;
                                  private var _mouseWheelZoom:int;     
                                  private function init():void
                                            _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());   
                                            _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
                                            mapCore();
                                  private function mapCore():void
                                            _map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);   
                                            _mapUI = new UIComponent();
                                            _mapUI.addChild(_map);    
                                            var zoomslider:ZoomSlider = new ZoomSlider(_map);
                                            zoomslider.x = mappanel.width - zoomslider.width*2;
                                            zoomslider.y = 30;
                                            _mapUI.addChild(zoomslider);   
                                            var handcursor:HandCursor = new HandCursor(_map);
                                            _mapUI.addChild(handcursor);
                                            mappanel.addElement(_mapUI);   
                                  private function mouseWheelHandler(e:MouseEvent):void {
                                            if (e.delta < 0) {
                                                      _map.zoomOut();
                                            else if (e.delta > 0) {
                                                      _map.zoomIn();
                                            _mouseWheelZoomCenter = _map.getCenter();
                                            _mouseWheelZoom = _map.getZoom();
                        ]]>
              </fx:Script>
              <s:BorderContainer id="mappanel" width="100%" height="97%"/>
    </s:Application>

    Technically, it's Javascript, not Java :) TOTALLY different beasts. I wish they'd never named it Javascript, it's ambiguous. So anyway, on to the point of the whole thing...
    If you want quotes in your values, you'll need to write a function to replace " with \", and pass the values through it. So instead of javascript:passBack('#ENAME#','#JOB#','#SAL#'); you would have javascript:passBack(addslashes('#ENAME#'),addslashes('#JOB#'),addslashes('#SAL#'));. That would mean that ABC"DEF"GH would be passed to the function as ABC\"DEF\"GH and your quotes would stay intact. Search around on the internet for more specifics as to how to pass double quotes in javascript by using backslashes.
    ~Jer

Maybe you are looking for