Have to send only first context value

Hi All,
I have a requirement where a field will have a multiple context and need to send value of the first context only.
Regards,
Mani

Hi Manikandan,
As per my understanding you want to send all the values coming in first context to target.
If my understanding is correct then PFB the screen shots of mapping & UDF which will serve your purpose.
If your requirement is different then provide sample input and expected output.
Regards,
Sudha

Similar Messages

  • How to select only first few values in a Column

    Hi, in one of the column of type SDO_GEOMETRY. In that column we have many values. Example : *(-6.33787700000002, 56.547309, -6.33786800000001, 56.547279, -6.33781400000001, 56.547249, -6.33776900000001)*
    I wanted to know how can i select only first two or last two values from within the column.
    Eg: i want only -6.33787700000002, 56.547309 to be displayed
    Thanks

    Hi,
    Are the value specified here are multirow or single row data?
    if it is multi row, Karthick solution should work. Else if it is a single row then try this
    with T as
    select '-6.33787700000002, 56.547309, -6.33786800000001, 56.547279, -6.33781400000001, 56.547249, -6.33776900000001' SDO_GEOMETRY from dual
    -- end of sample data
    select substr(SDO_GEOMETRY,1,instr(SDO_GEOMETRY,',',1,&cnt)-1) Output from T
    PRAZY@11gR2> /
    Enter value for cnt: 2
    OUTPUT
    -6.33787700000002, 56.547309
    Elapsed: 00:00:00.05And remember, while posting questions it is good to specify your DB version with clear sample data and required output.
    HTH,
    Prazy

  • I need to receive IDoc to XI as from Party, I still have as sender only BS

    Hi Guys!
    I'm sending IDoc from my R/3 system to XI and want to forward it further. I want to use parties to cimmunicate, however, receiver IDoc is always received only from business system w/o party, so no receiver is found (because of my receiver determination). How to achieve it, that sending system (my internal R/3) would have Sender Party?
    Thanxx!
    Olian

    Hi Olian !
    Check what SAP doc says:
    <i>Header mapping
    In the header mapping you can map the values of the following key fields of the receiver agreement to other values: sender and receiver party, sender and receiver service. The address fields (sender, receiver) in the message header are then transformed correspondingly during outbound processing.
    <b>The header mapping is important when configuring cross-company processes in which the business partners want to replace the names of their internal business systems with neutral representatives (<u>party</u>, business service)</b>.</i>
    Please specify your scenario in more detail...who is the receiver? is it another R/3? why does this solution won't work?
    Thanks.
    Regards,
    Matias.

  • In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status?

    Hi Team,
    My requirement is In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status values only? how to do it..now in my status drop down values system status values also displayed ,i want only user status values only i have to show...how to do it?
    Thanks
    Kalpana

    Hi Kalpana
    As Standard there are 2 separate search fields for Status.
    One for User Status
    One for System Status
    Are you sure that the other Status value you require are not for other Service Transactions different to the one you are wanting to search on?
    If you need to make a only the User Status for  a given selected Transaction Type, then you would need to make an enhancement to that Component
    Regards
    Arden

  • A send-only e-mail account on iPhone. Is that possible?

    I have two accounts on my iPhone: Gmail and work (via VPN).
    The Gmail account is managed via 3rd party app (Gmail app).
    But the system won't let me send e-mails such as photos from the Camera Roll via this 3rd app automatically, so I have it on the Mail app also.
    So every time that I have to check or reply my work's e-mails I enable VPN, launch Mail app, wait for the system to timeout checking the Gmail account (because the VPN won't let it reach the Gmail server), and then it checks the work account successfully. And that takes a long time (and uses cell data).
    Can I prevent the Mail app to check every account that I have added to it? Or putting in another words, can I have a send-only e-mail account on the Mail app on iPhone?
    Sorry, English is not my native language.
    Thank you,
    Rafael

    I'm sure somebody will correct me if I'm wrong, but I would try setting up an e-mail account without an Incoming Mail Server set.
    As long as you have your outgoing mail server details it will send e-mail.
    If it doesn't allow you, maybe set up a dummy e-mail address that you don't use and enter the Incoming Mail server details for that one instead
    So the two options are:
    Outgoing Server (Gmail)
    Incoming Server (blank)
    or
    Outgoing server (Gmail)
    Incoming server (Gmail 2)

  • Serv. Desk: Action: send an email only when a value in a field has changed

    Hello,
    In Soution Manager 4.0, Sevice Desk, I would like to create an action which creates an email only when a value of a certain field has changed.
    - only in change mode relevant
    - only when a value of one field has changed (e.g. Message Processort has changed from Buss. Partner 4 to 5. Than a mail should be sent to BP 5).
    - it should only send this kind of email when the field value has changed in change mode. In other words: it should not sent the email e.g. when the status has changed.
    I tried all kinds of things but I do not know on how to define the COnditions for an Action, so I can compare e.g.
    if <old value> <> <new value>
    Any ideas or experience on how to implement this without major modifications ?
    Thanks
    Christian

    Hi Christian,
    check out my question on SDN.
    Email on Status Change
    it has details on how to send an email when the status changes. I believe you are going to have to do something like this for each of the fields you want to create an Action Starting Condition for.
    regards,
    Jason

  • HTTPService.send() only works the first time

    I have the follow HTTPService defintion in my mxml page:
    <mx:HTTPService
    id="updateRequest"
    url="{accessURL}"
    useProxy="false" result="onSuccessEvent(event)"
    fault="onFailEvent(event)">
    <mx:request>
    <username>{userName}</username>
    <password>{password}</password>
    <id></id>
    <sname></sname>
    <value></value>
    <randomNum>0</randomNum>
    </mx:request>
    </mx:HTTPService>
    Here is my call:
    updateRequest.request.id= myid;
    updateRequest.request.sname= myname;
    updateRequest.request.value = myvalue;
    updateRequest.request.randomNum = Math.random();
    updateRequest.send();
    The first time call is successful, but second time(after 30
    seconds), after send() function call, I didn't even received
    HTTPService call from server side. Is this somehow cached or I need
    to reinitial it? This looks strange.

    I am having the same issue but have already been using the
    post method. When I click my refresh button or if the timer I have
    set up resets I see no request made to the server.
    private function onResult(Event:ResultEvent):void {
    var myNum:int = Math.round(Math.random() * 2);
    var xmlResult:XML = XML(Event.result);
    _xlcMyListData = new XMLListCollection(xmlResult..asset);
    <mx:HTTPService id="tempXML" resultFormat="e4x"
    result="onResult(event)" method="POST" url="
    http://mysite.net/info_wrapper.php?customer={customer.text}&amp;username={username.text}&a mp;password={password.text}"
    useProxy="false"/>
    <mx:TileList dataProvider="{_xlcMyListData}"
    labelField="fleet" left="35" right="15"
    width="350" backgroundColor="#000000" color="#ff0000"
    fontSize="27" borderColor="#000000" columnWidth="315"
    rowHeight="50" themeColor="#808080" fontWeight="bold"
    allowMultipleSelection="true" id="TileList1" height="0" y="202"
    x="178"/>
    <mx:Button label="Refresh Page Now" height="27"
    fillAlphas="[1.0, 1.0]" fillColors="[#030000, #030000, #474545,
    #474545]" borderColor="#DCDEDF" click="tempXML.send();"/>

  • WebLogic 10.3 , ear file, application.xml only finds first context root

    I just can't find out what this is. I have two web service projects (JAX-WS) and am trying to put them in an .ear file to deploy to WebLogic 10. Normally, this is done by creating an .ear with both projects .war files in it and an application.xml file in the META-INF directory that defines the context-root for each .war file. However, nothing I do for WebLogic 10 seems to work, it only see's the first context-root and sets that same context-root for both web services. I have verified this by switching the order in the application.xml file. Also, this exact same .ear file deploys to the Sun Enterprise Server (Glassfish) and acts correctly. Using a weblogic.xml file in each .war and deploying them individually they end up having the correct context root, just not from an .ear using application.xml. I even tried deleting the application.xml file and just having the weblogic.xml files in each .war define the context root and it still only came up with one context root for both. It's as if only one context root is allowed in an .ear for WebLogic 10, which can't be correct as we are doing this on WebLogic 9.2 (JAX-RPC) with multiple .war files in an ear.

    Hi,
    Try to increase severity of the server logging to avoid more logging.
    Avoid Debugs and and info and better select the severity to notice which will avoid more logging.
    Regards,
    Kal

  • Why does Apple Mail preview pane display only sender's first name?

    Some, but not all, of the mail I receive shows only the sender's first name in the preview pane. I've checked the three areas others have mentioned as possible sources of the problem: 1.) Both first and last names appear for these senders in my Contacts. 2.) None of these senders appear with only first names in my Previous Recipients list. 3.) The full headers don't show first name only.
    When I used Entourage, emails from the same senders never showed only first names in the preview pane.
    Is this a bug in Apple Mail? Is there a workaround?

    I came here looking for a similar answer. Some of my HTML messages show up just fine in Mail 3.5. Others, I get the plane text alternative or a bunch of raw HTML. With no answer in sight on the Discussion groups, I decided to look at the raw mail message of one of the offending emails.
    Under the View menu I found a sub menu called Message then there are 6 choices beneath that:
    *Long Headers*
    *Raw Source* (which is what I was looking for)
    +(and then below a separator I found a surprise!)+
    *Plain Text Alternative* (grayed out)
    *Previous Alternative* (grayed out)
    *Next Alternative* (available)
    *Best Alternative* (available)
    Only the appropriate ones for the current message display format are available.
    So low and behold selecting "next" or "best" changed my message into fully readable HTML format with pictures, formatting, etc.
    I am assuming that something in the way that the multipart MIME message is assembled by some senders' systems does not sit well with Mail. I'm not going to bother figuring it out, but I'm sure that close examination of the raw message would give some clues.
    Now if only I could figure out how to choose the message format based on the sender, I could eliminate having to change every message that comes in from that sender. Maybe AppleScript and a Mail Rule?
    Message was edited by: sjmvideo

  • TS4143 Mail message to a group of iCloud contacts sends only to the first recipient

    Trying to send out group emails to my minor league team, either the group name becomes a comma in the To box or the email sends only to the first of the people in the group.  It is annoying to have to start to input individual names... how can this be fixed?

    I do the following:
    1. Send the email to yourself.
    2. Put the group's email into the BCC field.
    3. Click send.
    The only thing that shows up to the recipients is your email twice.

  • Display only first value of the repeated values  in ALV report

    Hi,
    Test Data
    Doc No   Net Val   billing Doc value Qty
    1000      2000.00    567850.00
    1000      2000.00    567850.00
    1000      2000.00    567850.00
    2000      6000.00    767850.00
    In this type of ALV Report in which only the First field value of the repeated value  should be displayed.
    Doc No   Net Val   billing Doc value Qty
    1000      2000.00    567850.00
    2000      6000.00    767850.00
    I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value  which cannot be done in SORT ORDER in LAYOUT.
    Please tell me the suitable solution.

    For a Sales Order there are two Invoice.
    Sales doc     Invoice No    Billed Qty    Net value                     Qtywith  material no
    5000              900             234774.00    456.00000                 65             123
                                             234774.00    456.00000                 25             456
                                             234774.00    456.00000                 35             898
                                             234774.00    456.00000                 20             496
                          901            634774.00    256.00000                 50               746
                                            634774.00    256.00000                 10               456
                                            634774.00    256.00000                 20               545
                                            634774.00    256.00000                 30               869
    I  need to print this billed Qty and Net value  only once in first line and it should not be deleted.
    I need the result like this
    Sales doc     Invoice No    Billed Qty    Net value                     Qtywith          material no
    5000              900             234774.00    456.00000                 65                     123
                                                                                    25                     456
                                                                                    35                     898
                                                                                    20                     496
    5001              901            634774.00    256.00000                 50                       746
                                                                                    10                       456
                                                                                    20                       545
                                                                                    30                       869               
    The same value should not be repeated for Billed Qty and Net Value.
    I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
    Please  help.

  • I have just bought my first mac and have been told that i can get a free upgrade to lion but it seems that this is only an option in the us and canada, not the uk. is this true?

    i have just bought my first mac and have been told in pc world that i can get a free upgrade to lion, but it would appear that this is only for those in the u.s. and canada. is this true? also from reading the discussions it seems that lion is not a good thing. i am already regretting my decision to go to a mac.

    I have found that both Linux and Mac (unix) are capable of reading "deep" folders while win 32 will have issues, your it people are clearly wrong.  I run a network with both win/mac. And as long as the win servers/pc's that have shares are set to allow apple file sharing in their folder properties.   And the macs are set to allow smb there should absolutely no trouble with you accessing anything across the platforms, heck, from a Mac to a win pc on some occasions you don't even need to include a "domain" name to log on to, and you can create aliases and make your own shortcuts etc... So you don't have to manually connect each time you boot up etc... But that's all personal preferences I suppose.
    All I can tell you is that, I do it on a daily basis managing a small business. So your answer is yes you can.

  • Not all selection screen value coming from selection screen only first val

    hi i am doing
    SELECTION-SCREEN BEGIN OF BLOCK gl_ac3 WITH FRAME TITLE text-019.
    SELECT-OPTIONS: gl_acdp1 FOR gv_gldep1.
    SELECTION-SCREEN END OF BLOCK gl_ac3.
    then i am using seelct as below
    SELECT      robukrs
                    rzzhkont
        FROM  zzamd1t INTO TABLE it_amdt
           WHERE ryear = p_gjahr
           AND   robukrs IN so_bukrs
           AND   rzzhkont IN gl_acdp1.
    but the value selected by select statement from internal table is for only first value of gl_acdp1 ie for first account c1 but user is entereng three acts c1 c2 and c3 so fro all data should be selected but for only one it is being selected
    pls sugest

    Hi,
        Is gv_gldep1 & rzzhkontare of same data type.
    Do as below
    SELECTION-SCREEN BEGIN OF BLOCK gl_ac3 WITH FRAME TITLE text-019.
    SELECT-OPTIONS: gl_acdp1 FOR gv_gldep1.
    SELECTION-SCREEN END OF BLOCK gl_ac3.
    INITILIZATION.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C1'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C2'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C3'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    START-OF-SELECTION.
    SELECT robukrs
                 rzzhkont
                               FROM zzamd1t INTO TABLE it_amdt
                               WHERE ryear = p_gjahr
                               AND robukrs IN so_bukrs
                               AND rzzhkont IN gl_acdp1.
    Make sure that ur table zzamd1t has values for C1, C2 and C3.
    Tell us how is ur output with this code.
    Regards,
    Bala Krishna
    Edited by: Bala Krishna on Aug 11, 2008 9:11 PM

  • "Send these cards..." only sends the first one

    I'm trying to send several cards at a time to a bluetooth mobile phone. In Address Book I use Cards, Send these cards... after I've highlighted, say, three cards in the address books. It only sends the first of the cards.

    Hi,
    As per the Ref thread i can manage the step 1 and 2  in the Note 329537, can any one help me in step 3.... what exactly i need to do in SE37. do i need to save the changes after calling the function module ?
    Regards,
    S.Manu

  • Please send email to Yvonne.  I have a password only Ohrid email only after the update

    Please send email to Yvonne.  I have a password only Ohrid email only after the update
    <Personal Information Edited by Host>

    I am putting in my correct birthday and the password that I am sure is right and it is telling me to check my network connection even though my connection is working fine. I don't know what else to do!

Maybe you are looking for