Message mapping not generating target fields

hi
iam doing jdbc--->rfc (bpm) created a one2one message mapping to import rfc table.
thanks in advance
sri

Hi Sri Rao,
Since you have created a one to one mapping, it would be required to map all the fields in your target message to ur source fields. In case there r some target fields which do not relate to your source field, map it onto a constant. This is all that is required to be done from what i understand from your query. In case there r further problems send the source n target data structure n i will be able to help you out better.
Cheers,
Christina

Similar Messages

  • Message Mapping : content based target structure generation

    Hi Team,
    As per my requirement , mapping should generate target structure based on one "field" value in source srtucture.i.e target structure should generate for some of the custid values  , not for all cust id's . also I dont want empty files .
    Source:
    MT_SOURCE
    -Custid
    -CustName
    Target:
    MT_TARGET
    -Custid
    -CustName
    But I want to generate Target structure MT_TARGET only for custid values' 001,002,003 ; for remaining values I dont want to generate target structure MT_TARGET . Is it possible using graphical mapping.I think UDF is correct oprtion. can you provide sample code for this requirement.
    Thanks.
    Drumi

    But I want to generate Target structure MT_TARGET only for custid values' 001,002,003 ; for remaining values I dont want to generate target structure MT_TARGET . Is it possible using graphical mapping.I think UDF is correct oprtion. can you provide sample code for this requirement.
    might be it is helpful for ur requirement:
    Custid + constant(001) +equals ->(first) if
    Custid->then                                                 
    Custid + constant(002) +equals-> else
    First if ending -> Second if
    Custid->then
    Custid + constant(003) +equals-> Second else ->target Custid

  • BPM Message Mapping: "Cannot produce target element /ns1:BAPI...."

    Hi,
    A scenario File - BPM - BAPI call was developed, as described in blog 'RFC scenario using BPM' cfr. link
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The Mapping is as follows:
    MT_EDB_MATERIAL_REQ (1:1) --> BAPI_MATERIAL_EXISTENCE_CHECK (1:1)
    MATNR (1:1) -
    > MATERIAL (1:1)
    When executing the scenario, an error appears in the trace of SXMB_MONI, step 'Request Message Mapping'
    Cannot produce target element /ns1:BAPI_MATERIAL_EXISTENCECHECK. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd....
    I tried the following:
    1) import the XML-file into the testmapping: executed successfully
    File:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_EDB_MATERIAL_REQ xmlns:ns0="http://agfa.com/SD_EDB">
    <MATNR>15P6X</MATNR>
    </ns0:MT_EDB_MATERIAL_REQ>
    2) Removed the mapping on node level and left mapping only on element level (material): same error
    3) Activated the message mapping, interface mapping, determinations, etc again...:same error
    4) Removed the Interface Mapping and created it again: same error
    5) Compared the version ID of the Interface Mapping/message mapping in the Monitor trace with the version ID of the IR and saw that there was a difference.
    After the CPA full cache, SXI_CACHE full refresh and object refresh in the IB Administration, the differences remain, and also the error....
    Anybody an idea ?

    Hi
    >>>Cannot produce target element /ns1:BAPI_MATERIAL_EXISTENCECHECK. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd....
    The error clearly says that one of the occurrence value  for the target node mentioned is not coming from the source during mapping. The easiest way to solve the problem is as follows
    <b>
    First Execute the mapping as pointed out by "Raj" and the following steps.
    </b>
    1. Goto the Mapping Editor
    2. Double click on the target node that is causing the problem here BAPI_MATERIAL_EXISTENCECHECK.
    3.  Right click on the same node and select "DisplayQueue".
    4. View the Queue.
    5. YOu will find "Suppress" entries, which means a value is expected but no value is coming in.
    6.Go from right to left and check each node in the mapping and you will be able to trace where the suppress node comes from and take appropriate action
    regards
    krishna

  • In XI Mapping multiple fields mapping to single target field.

    Hi Friends,
    In XI Mapping multiple fields mapping to single target field.
    For example my requirement is :
    Source Fields:(This RFC BAPI Structure)
    Empno                0-1
    EmpName           0-1
    Address             0-1
    Taget Field is:
    Details               0-1
    The above three fields passed to the Details Field. Here i am using Concat function
    But i have one query on that on,Every field having "line Break" required.
    Can you please help me out above this requirement.
    Thanks in Advance,
    Sateesh N.

    If you want a line break between the three fields, then try
    passing a,b,c to the udf and in the udf you would have
    return a+"\n"+b+"\n"+c;

  • Changing datatype, afterwards Message-Mapping cannot produce target element

    Hi,
    we use PI/700.
    I changed a working system by changing a datatype of an existing message (adding a new element). My interface mapping contains two mappings: an XSL-Mapping and afterwards a Message-Mapping.
    My interface mapping looks like this:
    Message-Type A ->
          XSL-Mapping ->
    Message-Type B ->
          Message-Mapping ->
    Message-Type B
    When I test each mapping alone everything works fine (with the new element I added).
    But if I test my interface mapping in IBD with both mappings together, I'll get an error:
    "Cannot produce target element /MT_EDM_OUTBOUND_LASTGANG_TO_SAP/LASTGANG/MASSEINHEIT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd".
    Is it possible that XI has problems in refreshing the XSDs?
    I tried this:
    (1) I changed my Message-Mapping and now all elements are mapped 1:1 -> no success!
    (2) Later I changed my Message-Mapping and build in "exists" with "if" to check whether the element "MASSEINHEIT" is generated by the XSL-Mapping -> It doesn't exists (??? - WHY? - when I test it, everything works fine)
    (2) Afterwards I changed my interface mapping and take only the XSL-Mapping (without the following Message-Mapping) -> the element "MASSEINHEIT" exists now!
    I'm totally confused!
    Any ideas?
    Regards
    Wolfgang Hummel

    Hi,
    If you have made structural changes to the data type..such as number of fields have decreased/increased..or some new fld altogether, then you have to activate the datatype..goto message mapping and then re-do the mapping...but if you have made "typo" changes like names have been changed, etc..then i think it should be alrite..i have sometimes made changes to my datatype, but after activating it, i had to redo the mapping..that was it!...the rest would fall into place:) No changes had to be made in the interface mapping..
    Regards,
    Sushumna

  • In Idoc bundling ...message mapping not found

    Hi XI Friends..
    In my File to Idoc scenario..i want to send multiple IDOCs from the XI without a BPM .
    I am following blog by Michal.
    <a href="///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change:///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    I have xsd for source ..so i created one external definition .and message interface for outbound.
    following the above blog by michal..
    i imported  idoc ..and i exported that idoc into xsd and i changed the occurance of idoc to unbounded and again imported as external definition.
    i created  the message mapping between these two external definitions.and tested ..
    As in michal 's blog..
    In Interface mapping..i given source and target interface as standard idoc.and clicked on Read interface then i am not finding  the message mapping created in previous step..
    i refreshed cache also..
    please guide me.....
    regards
    ram

    Hi bavesh...
    thank you so much for very your quick responses..
    i got xsd as source..based on xsd i created external definition for source xsd  and  i created outbound interface based on source external deifinition <b>MI_OUT_WearUnits</b>.
    and i imported Idoc and exported as xsd and changed occurance to unbounded and again imported as external definition.
    i did mapping between these two external definitions.
    and i selected standard idoc for source and target interface for interface mapping  and given message mapping of previous step.
    In ID
    sender agreement :
                    sender service :BS_external
                    sender interface :<b>MI_OUT_WearUnits</b>
    receiver agreement:
                  receiver service :R/3
                  receiver interface :  standard Idoc
    Interface determination:
    sender service :BS_external
    sender interface :<b>MI_OUT_WearUnits</b>
    reciever service :R/3
    and clicked create
    inbound interface : Standard IDOc
    i am not getting Interface mapping which i created in IR.
    i tried Enhance interface determination also..
    please guide me....
    waiting for your help.
    regards
    ram

  • Error in message mapping - Cannot produce target element

    As one step in my integration process, I am builing a very simple file to BPM integration (inbound MI async, outbound MI abstract).
    The source type and the target type are completely equal - I am only doing some modifications to some of the content.
    The type for both messages - source & target message - is an imported external definition (DTD), and hence no DT or MT are created.
    As a first step I am trying to fill the target message with the content from the source message (without any modifications to the content). However, when testing this in the message mapping area, I get an error message already when filling the first element, the 'root node'.
    The error message is as follows:
    Start of test
    Compilation of <MM name> successful
    Cannot produce target element <elementname>. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element <elementname>. . Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    End of test
    Any suggestions?
    Thanks,
    C

    Thanks,
    when creating the source message manually in the MM it worked - so nothing wrong with the mapping.
    I saved this file and compared with the "original file" - containing the content which I wanted to upload, and on which the xsd (external definition) was based - and there where some inconsistancies.
    I changed some values in the source XML which made it work, also when uploading the file from a drive.
    So, I will go back to the source system and try to get a better XML.
    Thanks for now!

  • Message Mapping : ( Not Activating )-Main Exception in thread "main"

    Hi all
          I have configured a message mapping , with proper occurence checked for
    both source & target MesTypes.
    But on activation it is throwing the error :
    <b>java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"</b>
    Also my previous mappings are also not activating , which were running properly previously...
    i tried these option already :-
    --> i also restart the Java Stack...
    ---> Re: JAVA stack not starting
    > SAp note 928038
    still i am getting the same error..
    Regards
    Ashutosh Rawat

    Ashutosh,
    I am not sure weather it will resolve your problem but you can give a try to it.
    If you have the access for tcode "<b>SICF</b>" then
    1. Run tcode SICF, and press F8 button.
    2. default_host>sap>xi.
    3. Now check the below mentioned are activated (activated services will be in black) or not, if not then just right click and activate the service:
         i). adapter_plain
        ii). cache
       iii). cache_gui
        iv). cache_ssl
         v). docu_apperror
        vi). docu_syserror
       vii). engine
      viii). simulation
    Regards,
    Sarvesh
    Message was edited by:
            Sarvesh Singh
        <b>SFIC</b> is corrected to "<b>SICF</b>"

  • Error Message: Can not generate mask for the LMB peripherals

    I've added a bunch of  perhipherals to my microblaze project and used the Generate Addresses button.  I get the below error messges when I try to generate a net list. ERROR:EDK:3193 - issued from TCL procedure
       "::hw_lmb_bram_if_cntlr_v2_10_b::update_syslevel_mask" line 88
        C_MASK (IPNAME:lmb_bram_if_cntlr, INSTANCE:ilmb_cntlr) - Can not generate
       mask for the LMB peripherals! An address decode mask is assigned to all LMB
       peripherals connected to the MicroBlaze processor. The address decode mask is
       based on a set of decode bits that distinguish the LMB address space from the
       OPB/PLB address space. The error message indicates that a set of decode bits
       can not be found to generate a mask. Please modify the address map of the
       slaves connected to OPB/PLB to use a common address bit.
    ERROR:EDK:1585 - IPNAME:lmb_bram_if_cntlr INSTANCE:ilmb_cntlr -
       E:\Xilinx\11.1\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v2_10_b\d
       ata\lmb_bram_if_cntlr_v2_1_0.mpd line 77 - error computing override value for
       C_MASK using tcl
    ERROR:EDK:3193 - issued from TCL procedure
       "::hw_lmb_bram_if_cntlr_v2_10_b::update_syslevel_mask" line 88
        C_MASK (IPNAME:lmb_bram_if_cntlr, INSTANCE:dlmb_cntlr) - Can not generate
       mask for the LMB peripherals! An address decode mask is assigned to all LMB
       peripherals connected to the MicroBlaze processor. The address decode mask is
       based on a set of decode bits that distinguish the LMB address space from the
       OPB/PLB address space. The error message indicates that a set of decode bits
       can not be found to generate a mask. Please modify the address map of the
       slaves connected to OPB/PLB to use a common address bit.
    ERROR:EDK:1585 - IPNAME:lmb_bram_if_cntlr INSTANCE:dlmb_cntlr -
       E:\Xilinx\11.1\EDK\hw\XilinxProcessorIPLib\pcores\lmb_bram_if_cntlr_v2_10_b\d
       ata\lmb_bram_if_cntlr_v2_1_0.mpd line 77 - error computing override value for
       C_MASK using tcl I understand its complaining about the mask values, but I'm not exactly sure why.  Here is the address map it shows:Address Map for Processor microblaze_0
      (0000000000-0x00003fff) dlmb_cntlr    dlmb
      (0000000000-0x00003fff) ilmb_cntlr    ilmb
      (0x81800000-0x8180ffff) xps_intc_0    mb_plb
      (0x81c00000-0x81c0ffff) xps_ll_temac_0    mb_plb
      (0x83400000-0x8340ffff) Generic_SPI    mb_plb
      (0x83c00000-0x83c0ffff) xps_timer_0    mb_plb
      (0x84000000-0x8400ffff) RS232    mb_plb
      (0x84400000-0x8440ffff) mdm_0    mb_plb
      (0x8c000000-0x8fffffff) mpmc_0    mb_plb
      (0xfffff000-0xffffffff) xps_gpio_0    mb_plb Any thoughts?  I was unable to find another instance of this error message.

    Version 11.3 I actually figured it out, its rather odd that the generate addresses button doesn't do this automatically. It appears that the mask was set to trigger use of the cache on a single bit.  0x00800000.  I had enough devices added where automatic address generation was using the most significant bit meaning that bit was falling within other address spaces. I changed it to 0xFFFFC000.  (Basically telling it to match addresses if all address signals above 16KB are zero).  I don't know if that is the proper way to do it, but it accepted it.  Now I'm fighting with some stuff regarding an FSL bus I added that apparently isn't quite properly setup, so I haven't found out yet if the processor likes that address mask.   But the tools appear to like it.

  • How to send file content (whole) and map it to target field?

    Hi guys!
    I need to send whole file content in a one xml tag -
    so xml would look like this:
    <MesType>
      <Recordset>
        <filecontent>jksdhfkjsdhfkjsdhfkjhsdf</filecontent>
      </Recordset>
    </MesType>
    How to set up file sender adapter conversion params? I suppose there will be only one fieldSeparator, which's value will be eof. But how to write this eof?
    Thanx for help,
    Olian

    Hi Olian,
    you can use below mentioned parameters in your <b>Sender CC</b> under Content Conversion.
    <b>Recordset Structure</b>   Recordset,*
    Recordset.<b>endSeparator</b>  'nl'
    Recordset.<b>fieldNames</b>   Comp,DocType,RefDocNo  etc.
    Recordset.<b>fieldFixedLengths</b>   2,2,8 (give the length of fields values)
    Now in your message mapping your source message type should have one field as per your requirement, now as other mentioned use concat function to concat all source fields. The delimiter of cocat function will be as empty, so that after concatination there will be no spaces in your target file as per your requirement.
    Hope this will solve your problem.
    Regards,
    Sarvesh

  • Error message is not telling which field causing the issue!

    Hello
    I am developing the Adobe Interactive Form and launching this form from WebDynPro ABAP application, fine.
    This form has tonns of dropdown fields, mandatory fields, greyed out fields. Fine.
    I am filling the list the drop-down fields from webdynpro ABAP, but, i am filling list for only 80% of the drop-down fields, rest 20 % is not filling at all (bcz, business want to have those 20% dropd-owns on the form by thinking going further they require, this moment they dont need so they dont want to fill the lists)
    Now the form is launching on the browser, fine. But when user submits it i am getting the below erro:
    The Entered Value Is Not on the List of Valid Values.  (I am guessing this error is talking about the DROPDOWN fields only)
    I hv tonns of drop-down fields, so, its very difficult for me to go and trace each and every drop-down fielld!! But, i checked all the populated/entered values in the drop-down fields, they are all fine. Sone dropd-down fields are GREYED OUT, they are defaulted from webdynpro ABAP
    Pls. let me know How can know which field/drop-down is causing this issue? Wht are the possible causes for this error? Error is not telling which fields is making issue?
    How can i trace and how can i fix it, pls. let me know
    Thank you

    Thank you for your tips.
    But, as of my knowledge every thing (case sensitive, list box entries) are fine, not sure, why am getting this error! I will double chk again.
    But, thing is.... actually, i have 4 pages, depending on the logged in user, i will HIDE the pages (say, for me the 3 rd page will be hidden), i am hiding the pages by using JavaScript in the form.
    So, this error is not coming if i execute/launch all the 4 pages, but, its coming if i hide any page for any user!!
    By chance, do we debug to figure out which FIELD is CAUSING issue/this error?
    From where this message is coming, i mean, from the SAP's JAVA stack? Wht is the message ID and #?
    or is it Adobe's/Form's error?
    Thank you

  • Whitespaces in XML during message mapping not preserved

    I use a twostep mapping process during Interface Mapping. The first one is the standard message mapping and the second one is a Java mapping. However, during the second step, the white spaces that should be preserved from the output of the first mapping is not there anymore. I created the XSD and specified in the details that the white spaces should be preserved.
    I need the whitespaces since the output of the second mapping would be used for file content conversion in a file adapter to create the output:
    MSGTYP CONTROLNOMSGID VALUE1VALUE2 VALUEn.....
    Is there any way to preserve the white spaces?
    Thanks!
    Best Regards,
    Rommel Mendoza

    This is odd. Java won't condense/trim the whitespaces unless explicitely told so.
    Where are you seeing the missing whitespaces?
    Please notice that SXMB_MONI won't show the spaces because it uses a HTML representation of the XML (and, by default, HTML condenses the whitespaces). But the actual XML file should have all the spaces (check the XML document source code, through mouse right click over payload, to be sure).
    Also, what are the conversions you do in the java mapping?
    Are you sure the java mapping input has the whitespaces?
    Regards,
    Henrique.

  • Map spaces to target field

    Hi,
         I need to map 18 spaces to target field material.
    Can someone tell how do i do it?

    Hey,
    Better try this way...
    (Constant( 18 Sapces  ) ) to -
    > Target
    Thanks,
    Boopathi

  • Message Mapping not getting Activated

    Hi Experts,
    I have done a simple Message Mapping. I am unable to Activate it. The same screen is visible and it is stucked up. When i closed the ESR and again i am trying to activate Message Mapping it is showing the same screen. Even i chekced the Lock overview in Administration tab nothing is locked on my name. Please check the screenshot in the attachment and do the needful.
    Regards,
    GIRIDHAR

    Hi Giridhar,
    I think I have seen this issue. Speak to your Basis team and ask them to check all JMS related services involved in activation. this is related to one of the JMS services stopped or inactive.
    You can also try restarting Java. I don't think it is a local machine issue. Does it work for anyone else?
    Ambrish

  • Reg: When trying for [Record Set Per Message] Payload not generating MONI

    Hi,
    Can you please change the value of FCC parameters from
    Record Set Per Message:: 1
    Key Field Value: KF
    Key Field Type: Case Sensitive
    Record Set Per Message:: 1
    Key Field Value: K01
    Key Field Type: Case Sensitive
    Regards,
    Chandra

    Hi,
      If you want to split file according to Record set per message, check below settings with your configuration.
    Ex file:
    Amarsrinivas,Eli,4444,XYZ,3
    Sachin,Tendulkar,29564,ABC,9
    Ajay,Jadeja,5555,PQR,5
    *IR PART*
    See this is the Outbound Data type I have created::
    *ADT_Record_Outbound     Complex Type     *                              
    Record                            Element           0..unbounded(This is used for if Record set per message more then one.Structure Occurance.Not the message type)               
    First_Name            Element       xsd:strin     1                    
    Last_Name            Element     xsd:string     1                    
    EMP_ID                            Element     xsd:string     1                    
    Project_Status            Element     xsd:string     1                    
    Experience            Element     xsd:string     1                    
    THis is the Inboudn Data type I have created::
    ADT_Record_Inbound
    *ADT_Record_Inbound     Complex Type     *
    Record                    Element      0..unbounded(This is used for if Record set per message more then one.Structure Occurance.Not the message type.One to one mapping done)                              
    FullName     Element     xsd:string     1                         
    Global_ID     Element     xsd:string     1                         
    Project     Element     xsd:string     1                         
    IT_Exp     Element     xsd:string     1                         
    This is the Mapping I have done.....
    ForSource Message TYpe I kep Occurancs as 1
    For Target Message Type as I kept Occurances as 1
    ID Part::
    CONTENT CONVERSION PARAMETERS::
    Document Name:: AMT_Record_Outbound
    Document Namespace:: http://xxxxxxxxxxxxxxxxxxxxx
    Document Offset::
    RecordSet Name::Record
    RecordSet Structure: ---:Record,*
    Recordset Sequence,* ::: Assensding
    Record Set Per Message:: (As you required)(According to that target file and message will create)(If you mention 2 each 2 structure one message will flow in SXMB_MONI)
    Key Field Value:
    Key Field Type: Case Sensitive
    Record.fieldSeparator= ,
    Record.endSeparator= nl
    Record.fieldNames= First_Name,Last_Name,EMP_ID,Project_Status,Experience
    ignoreRecordsetName= true
    Regards,
    Prakasu.M

Maybe you are looking for

  • Remote for itunes on shared library

    Hello. On my mac mini in the living room is attached a USB drive with all music for itunes. The remote app on IOS works fine for this mini. In my office on the same lan I have a mini which uses home sharing to see that library. However its headless s

  • Service packs and hot fixes for  BusinessObjects Enterprise XI 3.1

    Hello Experts. Which is the cronology or order of the service packs and hot fixes for  BusinessObjects Enterprise XI 3.1, or which are tha latest? thanks

  • SharePoint Online: Organization Browser fault and SharePoint-Designer-Error

    Hello, I have two Problems: Firstly, the Organization Browser-WebPart is not viewed correctly. The Managers are not displayed on this WebPart. On SharePoint User-Profile I can see, that a Manager is availible for everyone. I wanted to delete this Web

  • Can I create an M4A wrapper around IMA 4:1 AIFF audio?

    Hey, I was just wondering if it's possible to wrap IMA 4:1 audio in an M4A container without re-encoding the audio. I have some AIFF files that are encoded in IMA 4:1, and translating this to Apple Lossless makes larger files (more than twice the ori

  • Permanent humming noise on PowerBook aluminum 15

    since a few days my PB has a permanet high pitch humming noise. It is relatively high frequency noise (a bot like that of a mosquito or a fly, or one of those electric vibration noises... Can anybody help. It is so annoying, it makes it difficult to