Question about message mapping

Hi,
When I use the visual mapping tool, I specify the condition that:
<SourceValue> equalsA 1, <TargetValue> value is 1; else it's 0.
However in the source XML, sometimes source XML is like:
<Root>
</Root>
where there's no SourceValue element. And now the mapping has exception. Then I try to use IsNil functionality, however then another exception saying "cannot cast '' to decimal" occurrred.
Is there a way for me to judge in the mapping so that I can pass through, e.g., when there's no this element, the target value is also 0.
Best regards,
-Stanley

Hi ,
Refer these blogs . It will help to u
Workflow in SAP NetWeaver
Visual Composer demo - Customer and Google API
Need to get a SAP NetWeaver component implemented quickly? Try SAP Best Practices
Visual Composer7.1 and Yahoo Maps - Part I
Regards,
Suryanarayana

Similar Messages

  • Questions about shared maps

    Hi,
    I have some questions about shared maps. Our Olite Applications has 96 tables. On these 96 tables, 54 tables are tables with DISABLED DML = UID. So, change on the client database are not uploaded to the server. Some of those tables have no where clause and some have a where clause which is the same where clause for all.
    Is it true to say I could put all those tables as shared maps?
    Are they automatically shared because DISABLED DML = UID?
    What would be the advantages of putting those publications items as shared maps?
    Thanks for your help.

    Thanks for your help.
    I looked into CMP$ tables and CLID$$CS is not 0 but egal to my usersnames. I use a java program to create my items and publications.
    I also found in the table C$ALL_TEMPLATE_ITEMS a COLUMN named SHARED and they are all with the value N. So I think they are not shared.
    I think I found where in the API I should make the table shared. It is in the addPublicationItem procedure of the Class ConsolidatorManager. I will try it.
    If we want all users to have all the table data, must we use the groups you talked about?
    If yes, how do i define those groups?
    Thanks

  • Hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    Hi,
    How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
    In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
    Get-MailboxFolderPermission -Identity
    CEO’s email address:\Calendar -User assistant’s email address
    Also check with:
    Get-Mailbox -Identity CEO’s mailbox
    | fl *GrantSendOnBehalfTo
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Doubt About Message Mapping

    Hi Experts,
    I have to get list of materials from sap r/3 system which starts with some Alphabate. Where can i do it .And how to do it . I think we can do it in Message Mapping. Please let me know the step by step process.
    Helpful Ans wi be reward
    Regards
    Khanna

    Hi Michal,
    Here  i am implementing HTTP TO RFC scenario
    i have BAPI BAPI_MATERIAL_GETLIST
    i have source structure MaterialNo.And in the receiver side i have BAPI.
    Now my question is i want to get the materials which starts with some CA*
    How can i achieve this in Message Mapping????????
    Please Explain me in detail
    Regards
    Khanna

  • Hi,about message mapping

    why is always disabled the dependencies button in the message mapping editor of IR.
    it is for ever gray whether in edit mode or not?

    Hi,
    The dependency button in Message mapping is used to show the Source field mapped to which target field.
    Can u explain ur query clearly...
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • The question about Interface Mapping in BPM

    Hello,
    I am a few confused about  an Interface Mapping in BPM at the Design step.
    I have a task to transmit and trasform two messages of two sender file adapter to  two IDOCs messages and then to send them to SAP system.
    I use BPM.
    But I don't understand what types of message interfaces should I use for source and target interfaces in Interface Mapping? As to the target interface I understand it must be abstract but which of interfaces exactly?
    Actually there are some questions here:
    1) If the source interface should be abstract or real in Interface Mapping?
    2) If the target interface should be  the abstract interface of Receive Step object or the abstract interface of Send Step object?
    3) And what the message types should I use for the source and target message interfaces in Interface Mapping? If I understand correctly that these message types

    hi igor,
    you have to import the IDOC Types under the imported objects in the integration repository objects,
    what are all the data that coming out from the file adapter, you design the datatype.
    the target IDOC should be real and you do the mapping for the all necessary fields.
    refer: --
    File to IDOC:
    Re: how to Sending XML data to idoc
    IDOC Mapping:
    http://help.sap.com/saphelp_crm40/helpdata/en/77/a1d48b1ce06d40932e0a26f3c117ce/frameset.htm

  • Question about Messages application and AIM.

    Hello, I purchased my first apple device last year (iphone) at which point I created an iCloud account and received an @me email address. This is also my Apple ID. Later in the year Apple also gave me an @icloud email like everyone else. I am enjoying my iphone very much and this year I decide to purchase my first os x device (macbook) soon. This is what leaves me to my following questions:
    1. I wish to use the Messages application just for iMessage and not AIM or any other IM service. It is my understanding that about 2 years ago .mac and mobileme users were having AOL create Lifestream profiles for them without pemission. Now I have never been a .mac or mobileme user and only signed up icloud last year as previously stated. I just want to know if AOL is still creating these profiles and if they affect icloud users? I could not find any information about this issue being resolved. Would using the Messages applicaton just for imessage have the risk of having my icloud email have a Lifestream profile created for it?
    2. I am aware that when setting up my macbook for the first time it will ask to sign in to with your apple id and then into icloud. I plan to do this. I am told that this will make me signed into imessage automatically in the Messages application. What I want to know is if this will make me sign into AIM automaticlly too? I have no intention of ever using AIM so I hope this is not the case.
    I hope I have made myself clear as English is not my fist language. Any help with these questions is greatly appreciated. Thank you.

    Hi,
    The last bit first.
    iChat was the application used before Mountain Lion and Messages.
    It could only join the AIM, Jabber and in iChat 6 the Yahoo services.
    These are Instant Messaging services so the text sent between you and a Buddy tend to be referred to as IMs.
    The AIM site I linked to above has an Option (when you can log in there)  that allows your to turn this AIM feature Off.
    Some Jabber servers can do it but it tends to be an option the person running the Jabber decides to do or not.
    If a Server is set up to allow Off Line Messaging then those have to be stored.
    These can  a concern for the person running the server; either with storage space in the first place and for issues around governments want to "see" the data.
    A part of the iChat and Messages apps perform a "Listening" function when you turn your computer On but do not launch the App.
    This Listening will start up the App if anyone send you an iMessage  and AIM or Jabber message.
    However this function of Messages can be turned Off.
    This pic was created for something else but you can see the second line down is about setting the Status to Offline when the App is Quit.
    This effectively stops the App doing the Listening.
    Back to the Lifestream issue.
    I am not sure what triggers the Lifestream to be set up.
    I used a Search on the Lifestream site for my main AIM Name (which I can set the Lifestream to Privacy > No-one) and for my @me.com one which I cannot log in to the AIM settings site.
    I cannot see anything returned in either case.
    I also tried when Logged in under my main AIM name and got this form my @me.com ID
    I think that when AOL/AIM started Lifestream all those people that had AIM and AIM valid Screen Names were included in Lifestream.
    It may now be different and you may have to sign up for it.
    There seems to be a set up page.
    It would seem that my @me.com ID and @icloud.com ID have not been set up for Lifestream where as my AIM account (Main AIM Name as I call it) was set up in the beginning.
    I am afraid I don't have any clearer information than that on this part of your enquiry.
    8:03 pm      Friday; October 25, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Questions about message logging and topic TTL

    We're in the final stages of testing our application. Basically a producer application is sending small, non-persistent messages once every 10 seconds and once every second to an auto-created topic. The consumer application(s) listening are then doing data display of this 1 second and 10 second data.
    Testing the client we noticed it complained of a single 10 second message not being received. We verified that the message was sent by the producer. My question is whether there is a logging setting on the IMQ server that could be used to log the receipt and delivery of every message, perhaps by JMSMessageID to a particular topic? The only idea we could think of is to use 'imqcmd metrics' to track the number of messages in/out, but this isn't as useful for us.
    Any ideas you could provide would be greatly appreciated.

    imqbrokerd does not support tracing at this level, so metrics is probably the best approach for now.
    If a subscriber is not getting a message it is usually because of one of the following:
    1. The message is expiring. If you are using message expiration make sure the clocks are synchronized between the clients and the server. imqbrokerd will log a message when it has expired messages.
    2. The subscriber was down when the message was produced (and it is not a durable subscriber).
    3. You have set a size limit on the destination or system wide that is resulting in messages being shedded as specified by the limit behavior.
    With non-persistent messages you can get an additional level of reliability by setting the following ConnectionFactory property to true:
    ConnectionConfiguration.imqAckOnProducethis adds a handshake between the server and client when a message is sent and provides a mechanism for imqbrokerd to propogate additional message production errors back to the client.
    The following document at sunsolve.sun.com provides more details:
    ID70117 Sun Java[TM] System Message Queue: Tuning 3.0.1 and 3.5 For Robustness
    Joe
    http://wwws.sun.com/software/products/message_queue/

  • Question about key mapping for bank data in SP3 standard Vendor Repository

    Hello Colleagues:
    The situation is the following:
    1) MDM Standard vendor repository does not use Key Mapping for the qualified table data "Bank Details". This makes sense because normally you would pay a vendor in the same account and bank regardless of the company or R/3 system you are paying him from.
    2) However, here in my project customer don't have the same bank data for all of the 3 R/3 Systems. Furthermore, they would like to pay a vendor in a diferent bank and account number; depending on where the payment is generated (Company or R/3 system).
    Because of this, I though about creating a lookup table for the banks which would use key mapping. I did this and I had no trouble importing bank data in to it.
    Now I have this tables:
    1) Banks: Lookup Flat:
    Country and Bank Key as display fields.
    2) Bank Details: Qualified Flat:
    2.a) Field "Bank" as a non-qualifier display lookup field which points to a record on "Banks" table (Described in number 1).
    2.b) The rest of the fields (Account number, Account holder, Reference, etc.) as qualifier non-display fields.
    This aproach works well in data manager.
    However, when I try to import vendors from R/3, I'm not being able to map the bank details, not even with "compound field" functionality, because I cannot map the display fields in the "Banks" lookup table (Described in number 1); in the "Map Fields/Values" tab in the Destination fields pane, it won't show any fields from this table.
    Also, I'm not very sure if I will be able to syndicate this data back to the R/3 systems correctly, this is; replicate only the banks which exist on each R/3 client system.
    Any ideas on how to solve this problem? Please help.
    Best Regards,
    Jorge.

    ... Where
    did Terminal's default keystrokes (e.g., Esc,[5C for
    ctrl-right-arrow) come from? They just produce
    annoying beeps in bash. Are they standard sequences
    for some shell that I don't know about? I
    Somewhere deep in the bowels of computer history....for example
    http://vt100.net/docs/vt100-ug/table3-6.html
    http://www.termsys.demon.co.uk/vtansi.htm#cursor
    that is to say, these codes date back to early hardware terminals such as the VT100. I believe. And that is why Terminal is a member of a class of software called "terminal emulators".

  • Best MMORPG for Iphone 3G and a question about gps maps

    Hi there,
    Could anyone tell me what are the best free and paid iphone 3G MMORPG games? And please tell me some positive and negative things in the games.
    I didn't know where i could ask this so, i came here to apple forum, because i have subsribed to internet on iphone today. This topic doesn't have anything illegal.
    Another thing, does anyone knows if using gps maps through 3g internet, spends a lot of internet trafic? today i've used gps maps for about 12km and it spend me 80kb of trafic. Is this possible? because someone told me that iphone gps spend a lot, but really lot internet trafic. I didn't used sattelite view.

    The sattelite view uses far more data, of course - because of the photography it has to download. But the regular map is still a bitmapped image that has to be updated. It's not a massive amount of data, but not insignificant either.

  • Question about XML mapping to ABAP internal table

    Hi experts.
    I'm trying to XML mapping. But it doesn't work well. Assume there are XML file as below.
    <HEADER>
      <ITEM>
        <FOO>123</FOO>
        <BAR>ABC</BAR>
      </ITEM>
      <ITEM>
        <FOO>456</FOO>
        <BAR>DEF</BAR>
      </ITEM>
    <HEADER>
    and I want to trasformation it as below.
    ITAB
    FOO       |      BAR
    123         |  ABC
    456         | DEF
    How could I trasformation using "call transformation"?
    Regards.

    Hi,
    REPORT  zind_xml_to_sap NO STANDARD PAGE HEADING.
    Data Declaration                                                    *
    DATA: client      TYPE REF TO if_http_client, "Interface
          host        TYPE string,
          port        TYPE string,
          proxy_host  TYPE string,
          proxy_port  TYPE string,
          path        TYPE string,
          scheme      TYPE i,
          xml         TYPE xstring,
          response    TYPE string.
    DATA: t_xml       TYPE smum_xmltb OCCURS 0 WITH HEADER LINE.  "XML Table structure used
                                                                  "for retreive and output XML doc
    DATA: g_stream_factory TYPE REF TO if_ixml_stream_factory.    "Interface
    DATA : return  LIKE  bapiret2 OCCURS 0 WITH HEADER LINE.      "XML Table structure used for retreive
                                                                  "and output XML doc
    Parameters                                                          *
    PARAMETER : p_add TYPE string LOWER CASE ,
                p_dfile   LIKE rlgrap-filename.
    AT Selection-Screen on value-request for file                       *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_dfile.
    Get file
      PERFORM 100_get_file.
    Start-of-Selection                                                  *
    START-OF-SELECTION.
    Perform to upload xml data from URL to SAP internal table
      PERFORM 200_xml_upload.
      IF t_xml[] IS NOT INITIAL.
      Perform to Download data from Internal Table to a text file in local drive
        PERFORM 300_download.
        write : / 'Data Uploaded to Internal Table Successfully'.
        write : / 'XML Data Downloaded to Local path', p_dfile.
      else.
        write : / 'No Data for upload'.
      ENDIF.
    *if t_xml[] is INITIAL.
    WRITE : address, 'Given URl cannot be Converted' .
    else.
    LOOP AT t_xml .
       WRITE:  t_xml-cname, t_xml-cvalue.
    ENDLOOP.
    endif.
    *&      Form  get_file
          Get File
    FORM 100_get_file .
      CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
        FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_dfile
    ENDFORM.                    " 100_get_file
    *&      Form  200_xml_upload
          form to upload xml data from URL to SAP internal table
    FORM 200_xml_upload .
    *Check HTTP:// and concatenate
      IF p_add NS 'http://' OR p_add NS 'HTTP://'.
        CONCATENATE 'http://' p_add
                    INTO p_add.
      ENDIF.
    Fetching the address of the URL
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url    = p_add
        IMPORTING
          client = client.
    *Structure of HTTP Connection and Dispatch of Data
      client->send( ).
    *Receipt of HTTP Response
      CALL METHOD client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          OTHERS                     = 4.
      IF sy-subrc <> 0.
        IF sy-subrc = 1.
          MESSAGE 'HTTP COMMUNICATION FAILURE' TYPE 'I' DISPLAY LIKE 'E'.
          EXIT.
        ELSEIF sy-subrc = 2.
          MESSAGE 'HTTP INVALID STATE' TYPE 'I' DISPLAY LIKE 'E'.
          EXIT.
        ELSEIF sy-subrc = 3.
          MESSAGE 'HTTP PROCESSING FAILED' TYPE 'I' DISPLAY LIKE 'E'.
          EXIT.
        ELSE.
          MESSAGE 'Problem in HTTP Request' TYPE 'I' DISPLAY LIKE 'E'.
          EXIT.
        ENDIF.
      ENDIF.
    Get data of the xml to Response
      response = client->response->get_cdata( ).
    *FM converting the XML format to abap
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text   = response
        IMPORTING
          buffer = xml.
    *FM converting XMl to readable format to a internal table.
      CALL FUNCTION 'SMUM_XML_PARSE'
        EXPORTING
          xml_input = xml
        TABLES
          xml_table = t_xml
          return    = return.
    ENDFORM.                    " 200_xml_upload
    *&      Form  300_download
    *form to Download data from Internal Table to a text file in local drive
    FORM 300_download .
      DATA filename TYPE string.
      filename = p_dfile.
      CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                        = filename
        WRITE_FIELD_SEPARATOR           = 'X'
      TABLES
        data_tab                        = t_xml
    EXCEPTIONS
       FILE_WRITE_ERROR                = 1
       NO_BATCH                        = 2
       GUI_REFUSE_FILETRANSFER         = 3
       INVALID_TYPE                    = 4
       NO_AUTHORITY                    = 5
       UNKNOWN_ERROR                   = 6
       HEADER_NOT_ALLOWED              = 7
       SEPARATOR_NOT_ALLOWED           = 8
       FILESIZE_NOT_ALLOWED            = 9
       HEADER_TOO_LONG                 = 10
       DP_ERROR_CREATE                 = 11
       DP_ERROR_SEND                   = 12
       DP_ERROR_WRITE                  = 13
       UNKNOWN_DP_ERROR                = 14
       ACCESS_DENIED                   = 15
       DP_OUT_OF_MEMORY                = 16
       DISK_FULL                       = 17
       DP_TIMEOUT                      = 18
       FILE_NOT_FOUND                  = 19
       DATAPROVIDER_EXCEPTION          = 20
       CONTROL_FLUSH_ERROR             = 21
       OTHERS                          = 22
      IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.

  • Question about message interface

    I developed a jdbc to file scenario, it works, but I'm confused.
    I designed a message interface for jdbc outbound,
    CustomerRow
    |--row
         |--CUST_NO
         |--......
    I set Document Name = 'resultset' in jdbc sender adapter.
    I can see payload in SXMB_MONI.
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <CUST_NO>pp3433</CUST_NO>
      <SALES_ORG>org1</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis1</DISTRIBUTION_CHANNEL>
      <DIVISION>div1</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
    - <row>
      <CUST_NO>ppy3233</CUST_NO>
      <SALES_ORG>org2</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis2</DISTRIBUTION_CHANNEL>
      <DIVISION>div2</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
      </resultset>
    You noticed that resultset is not 'CustomerRow' in message interface which I defined.
    I don't know how it can work.

    The parameter Document Name should ideallly contain ur Message Type root name. As u have changed it to 'resultset', it is replaced at the sender adapter and then flow continues.
    There are very few occasions when success raises a question
    Regards,
    Prateek

  • Question about F10 mapping in Tom W. training video

    I started going through Tom's FCE4 HD training video yesterday and there's a part about mapping the F10 key so that it will insert a clip into the timeline. It appears the video was an earlier version of OS X because my system doesn't do the expose action on F10, mine toggles the sound on/off. Also the icon in the video where he makes a change to the key doesn't exist anymore. What I have in system preferences is something called expose/spaces so I looked there since the one he was using also had expose. But changing the F10 to be Option F10 there didn't seem to have any effect.
    I've only had the Mac a week so I'm not familiar with how all these key mappings work and are assigned but I will be quick learner.
    Thanks for any help if someone can tell me where I need to make this setting change.
    Gil

    You have one of the new aluminum keyboards which are similar to laptop keyboards. The DVD was made before those keyboards were widely used. There was a mention I thought about using laptop keyboards. Go to the Keyboard section in System Preferences and in the keyboard panel there is a check box you have to click on. That will activate the F keys for application use. To raise and lower the audio or do other keyboard functions assigned to them by the OS, you have to hold down the function key, which is marked FN.

  • Newbie question about message digests

    I understand that a digest is a one-way process, that a message digest is a "fingerprint" of the original message but that there is no way to recover the original (I think Ronald Rivest's document says it is "conjectured to be computationally infeasible" to do so). So far so good.
    But I also read this about digest algorithms: "it is virtually impossible to create a message with a predetermined digest." ( http://tinyurl.com/39thq )
    What does this mean, given that a particular message will always hash to the same digest?
    Thanks for any guidance.
    -javahombre

    Great, now I see! Thanks!
    This sounds especially true now that I see the explanation. For example, I notice that even different case for the "same" string matters: "test" vs. "Test" comes out to different hash.
    As for picking completely different strings that hash to the same digest, that seems almost inconceivable.
    Thanks again,
    javahombre

  • Question about message driven bean

    hello
    i can find tons of tutoriala about developing session bean and entity bean by using jdeveloper,but can't find even one article that tell me how to develop message driven bean and jms by using jdeveloper,who can help me,where can i find such tutorial?
    thank you!

    I setup breakpoints setting thru the MDB examples in j2eesdk 1.4.
    I realize that the message to the being are being process sequentially.
    Is there a way to process message in MDB concurrently?
    Thank you.

Maybe you are looking for

  • Errors in mod_jserv.log

    Hi, We are getting below errors in Jserv logs.No errors were found in Apache logs [01/03/2009 14:45:11:765] (ERROR) an error returned handling request via protocol "balance" [01/03/2009 16:16:42:514] (ERROR) ajp12: Servlet Error: java.lang.NullPointe

  • AEBSn admin problem error -6753

    So, I just brought home a new AEBSn and set it up just fine. The internet works on all my computers, wireless and wired, but... I can't admin it anymore. Airport Admin won't let me connect to it, update my firmware, or anything. I want to get in ther

  • TS4079 How can we make Siri to understand more about the history of our house?

    I would like to know what the historical buildings that has been remodeled to look like before they got remodeled, and I would like to know when they were built actually.

  • Solaris Patching/SAN Boot

    I have just created an ABE on a SAN device, upgraded it and then booted from it. Its been a long journey, and involved a SR with oracle. I was new to it and am astonished at how hard it has been. Not hard in the sense that anything was over complicat

  • That yellow line

    I have a verizon iphone 5 16gb and recently I've started having storage problems so I've deleted tons and tons of pictures apps and even music, but then when I look at what's taking most of my storage up it just says "other". What is it and how do yo