Rule to find the Position has SAP ID's or not

Hi,
I have requirement where i need to find the whether the position in the org chart contain SAP Id's or not and if the position is not empty then i need to send the mail to position if not i need to send the mail to workflow administrator.
Please can any one guide me in achieving this functionality.
regards
manju

Hi Arghadip Kar  ,
thanks for your response
there is one FM RH_OM_GET_HOLDER_OF_POSITION this will retrieve the user ID's for the given position . so i got the solution .
i have one more query . i need to find the workflow admin SAP id .is there any FM for that .
thanks for your response
Regards
manju

Similar Messages

  • Finding the position of the end of a line in a JTextPane

    I'm trying to make a JTextPane which expands horizontally if the text being typed in it reaches the right hand edge. To do this I need to know the position in the Document of the end of the current line.
    I've managed to write a method which expands the JTextPane vertically using getEndPosition() in AbstractDocument.
    There is an endLineAction in the DefaultEditorKit which moves the Caret to the end of the line but I don't want to move the Caret, just find the position of the end of the line. I did have a method before which moved the Caret to the end of the line, stored the position and moved it back but that wasn't suitable.
    I suspected the answer was to do with the View but I can't figure out how the View relates to the JTextPane or Document.
    Can anyone help?

    Well, personally I don't think its a good idea to keep changing the size of the text pane as text is being typed and I doubt the solution will be as easy as you think.
    As you type the text will automatically wrap so it will be a little late trying to change the width after the text has wrapped, which means you would need to increase the width "before" text is typed. But then you have another problem because you don't know how much to increase the width by since a single character could be typed or a string of text could be pasted into the text area (people always forget about pasting when doing stuff like this).
    Also if text is removed you would need to iterate through all the line to find the longest line and reset the width.
    Anyway the only way to know the width would be to play with the modelToView() method. If you want to find the end of the current line then you can use the Element.
    Check out my [Text Utilities|http://www.camick.com/java/blog.html?name=text-utilities] class which might give you some ideas on how to use the Element class and modelToView() method.
    which has example of using the above Class and method that might give you some ideas.

  • How can I find the position of a robotic arm with a cFP-CTR card?

    Hello,
    I use a CTR-500 to measure the pulses of 3 encoders.
    The encoders are related to the 3 axis (x,y,z), to which a robotic arm is moving.
    Each encoder has 2 channels (A,B) which go to each pair of Count Inputs of the CTR card.
    When the robotic arm is moving on one axis, the corresponding pair of Count Inputs is increasing, but there is a phase between the one Count Input and the second one. What is more, the Count Inputs do not decrease when the robotic arm is moving to the other direction, but they still increase.
    So, I cannot find easily the position of the robotic arm.
    What I have done, is to try finding the position, by using only one Counter Input for each axis. This means that I use the value of the encoder as a counter, and I calculate the position with some software tricks. But for some reason, it does not work properly.
    I have heard that the method I use is not proper. Instead, I have been told that I must use the phase of the 2 Count Inputs, in order to find the direction to which the robotic arm is moving. But, the Count Inputs of the CTR are augmenting in parallel, when the robotic arm is moving forward or backward.
    How can I find the position of the robotic arm, as it is moving like a CNC ?
    Thank you very much.
    Message Edited by nikosfs on 08-21-2009 12:27 PM

    You don't want to use a cFP-CTR-500 card.  What you have are quadrature signals.  You should be using the cFP-QUAD-510.  It has 4 channels that can handle both the A and B signals of a quadrature encoder.  It has the built in circuitry do determine the phasing of A vs. B to know when to count up vs. count down.

  • Need help in finding the position of a SubString in a String

    Hi All,
    I have a VARCHAR2 column in my table which has data similar to '152-425-3265-8-5623-45'.
    I want to find the position of the numbers in the column.
    For example:
    If i give 8 - query should return me 4.
    If i give 425 - query should return me 2.
    The numbers are delimited with '-' value.
    Please help.
    Thanks in advance.
    Edited by: 868171 on Jun 24, 2011 4:33 AM
    Edited by: 868171 on Jun 24, 2011 4:34 AM

    do you know the max number of dashes?
    if so
    with t as (select  '152-425-3265-8-5623-45' code, '425' num from dual union
                   select  '152-425-3265-8-5623-45' code, '8' num from dual)
    select code, num, case num when  regexp_substr( code,'[^\-]+',1,1) then '1'
                   when  regexp_substr( code,'[^\-]+',1,2)  then '2'
                   when  regexp_substr( code,'[^\-]+',1,3) then '3'
                   when  regexp_substr( code,'[^\-]+',1,4)  then '4'
                   when  regexp_substr( code,'[^\-]+',1,5) then '5'
                   when  regexp_substr( code,'[^\-]+',1,6)  then '6'
                   else 'not found' end result
    from t
    CODE     NUM     RESULT
    152-425-3265-8-5623-45     425     2
    152-425-3265-8-5623-45     8     4or if you have 11g you can use regexp_count
    with t as (select  '152-425-3265-8-5623-45' code, '425' num from dual union
                   select  '152-425-3265-8-5623-45' code, '8' num from dual)
    select code, num, regexp_count(regexp_substr(code,'^.*'||num||'.'),'-')
    from tEdited by: pollywog on Jun 24, 2011 7:55 AM

  • How to find the webclient in SAP MDM server

    How to find the webclient in SAP MDM server
    Thanks In Advance
    GuruvaReddy

    Hi Guruva,
    If you are talking about MDM APIs, then you will get them from Service place when you download the complete MDM 5.5 Suite. You need to choose the API which is appropriate to you. MDM comes with 2 different APIs - Java API and COM API as of SP1(The news is.. ABAP API is under development).
    Pre-requisite for building applications using Java APIs is basic Java skills.
    Regards,
    Rajani Kumar K

  • How to find the position of view in MM02 transaction for coding BDC?

    Hi Guys,
    Is there any FM or BAPI Available to find the position of the view in MM02 transaction. I tried FM SELECTION_VIEWS_FIND. But getting inconsistent results
    i.e Some materials it is giving correct positions but for others i am getting wrong position. So my BDC is getting failed.
    Thanks in advance.
    Vinod.

    Hi,
    data : i_t133a like t133a occurs 0 with header line,
          ch(1),
           viewno(2) type n.
    clear viewno.
      select * from t133a into corresponding fields of table i_t133a
                    where bilds = '21' and guifu like 'SP%'  .
      loop at i_t133a .
        ch = i_t133a-pstat.
        if mara-vpsta na ch .
          delete i_t133a     .
          continue .
        endif .
      endloop.
      sort i_t133a by guifu ascending .
      loop at i_t133a .
        viewno = viewno + 1 .
        if i_t133a-guifu = 'SP01'.  "FOR BASIC DATA1                CHANGES              ACCORDINGLY REFER TABLE T133A TO FIND VTHE VALUE
          exit .
        endif .
      endloop .
    reward if usefull

  • Cannot find the ''Positioning Methods'' option on ...

    Hello....I have recently bought the C7-00 and I wanted to test my GPS but I could not find the "Positioning Methods'' option to select the A-GPS, so can anyone help on this.
    Thank you.

    Do you not have a Location app in your Applications Folder ? As CJ mentioned , that is where you set your location methods to on/off. Inside Location you should have 3 sub folders, Landmarks,GPS data and Positioning. Open Positioning and you should be able to change the settings !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • How to find the version of SAP

    hi,
    please tell me how to find the version of SAP like 4.6, 4.7 or ECC5.
    regards
    prabhu

    click in your menu: System - Status.
    in the field componen status there is your version.
    if you are not common to descriptions like "ECC 5.0 or like that, you might wan to click that small button right beneath.

  • HT203167 I downloaded a ringtone last week for my iphone5 and it was active on my phone until I did a sync on the weekend with my laptop and now I find the ringtone has disappeared how do I reload it without being charged again?  I still have the tax invo

    I downloaded a ringtone last week for my iphone5 and it was active on my phone until I did a sync on the weekend with my laptop and now I find the ringtone has disappeared how do I reload it without being charged again?  I still have the tax invoice.

    Ringtones are currently a one-time only download, but if it's not on your phone and it hasn't copied over to the Tones section of your computer's iTunes library then you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • My 3 apple products, an imac, a macbook air and a macbook lost their contact with their external hard disks. They were LaCie make. And every time I turn my laptops, I find the positions of the keys on their  keyboards changed.  Why is Apple silent?

    After the latest apple IOS upgrade my 3 apple products, an imac, a macbook air and a macbook, lost their contact with their external hard disks. They were LaCie make. And every time I turn my laptops, I find the positions of the keys on their  keyboards changed.  Why is Apple silent? There are so many people complaining about this issue and expecting Apple to correct this issue that they have created.

    Probably because it's not an Apple issue. I have Lacie EHD's connected to my MBAir and iMac, all work perfectly on Mavericks. In addition I don't have any keyboard issues on any of my Apple products. BTW IOS is only for IOS devices such as iPads, iPods and iPhones, Macs use OS X. The two OS's are seperate  products designed to run on seperate products.

  • Find the position of refrence wbs in tx cj02

    HI friends,
    I need to update one WBS element above the refrence WBS elemnet n tx CJ02 for the project defination.....
    The problem is how do i know the position of the Refrenece WBS elment....
    Please help finding the position of the refrence WBS...
    regards
    kanishak

    Hello,
    You should be able to see it in t-code IM23.
    Try this link also
    [http://rwd.tennessee.edu/content/zpposition_find_a_position/wi/postscript/index.pdf]
    Hope it helps
    Thanks,
    Pavan.

  • I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.

  • HT204382 Telestream finds the plugged in HDVR file but will not play..blank black screen no sound or picture. DivX will not download. Error report sent to Apple. Any ideas how to import / play AVI files?

    Mac suggestes downloads to open AVI files on HDVR. Telestream finds the plugged in HDVR file but will not play...blank black screen which has no sound or picture. DivX will not download, report sent to Aplle.  Any ideas how to play the files?

    Thank you, Daniel.....
    Downloaded VLC and can play, trying now to edit clip and put it into a keynote presentation. Bought Mac as got fed up with windows but still not got used to it!

  • I bought an album in the I Store and it shows there as a Purchased item.  However, I cannot find the album in my iTunes and do not know how to redownload it.  What should I do?

    I bought an album in the I Store and it shows there as a Purchased item.  However, I cannot find the album in my iTunes and do not know how to redownload it.  What should I do?

    If you are in a country where music can be redownloaded then it should show in the Purchased link under Quick Links on the right-hand side of the iTunes store homepage - that it where you can redownload items (as long as they remain in the store).

  • How to connected my Creative WP-350 Headset to my iMac. The device has been found it will not connect?

    How to connected my Creative WP-350 Headset to my iMac. The device has been found it will not connect?

    You're profile indicates your Mac has v10.5.1 installed.
    If that is correct, you need to update to v10.5.8.
    Click Software Update from your Apple  menu drop down menu or open System Preferences > Software Update.
    After the update is installed, restart your Mac.
    Turn off the printer then turn it back on then try printing via USB.
    If that didn't help, try here >  Mac OS X 10.5: Included printer drivers

Maybe you are looking for

  • USB 3.0 Not working in Windows 8

    Hello all,      I have a msi 990xa-gd55 and cannot get my usb 3.0 to work with windows 8. Everything worked when I had windows 7 installed, tried installing the windows 7 drivers but they do not work. There is no usb 3.0 windows 8 driver on the downl

  • Error processing your request  Error We're sorry, we encountered an error processing your request.  Please try your request again. You may wish to try one of the following links:

    Cannot download trial version of Livecycle Designer: I select English windows then click download.  It then takes me to this page. Error We're sorry, we encountered an error processing your request.  Please try your request again. You may wish to try

  • JMS/MDB : message synch problem

    We have a WL 8.1 FIFO based queue to which are attached a bunch of MDBs. These MDBs pull messages out of the queue, does some processing and put messages in another queue. We would like to get the messages in the second queue in the same order in whi

  • Inoperative Delete Button in Bluetooth

    The "Delete Selected Device" in the Bluetooth window does not work when I try to get rid of the Keypad. The + and Gear symbol work just fine but nothing happens when I click on the - , to try to delete the Keypad. Why is the - not working? Cheers Joh

  • 8i and a Report Runtime

    I have converted my 8.0 database to 8i on my development computer. I'd like to test some Oracle Reports 3.0.6 and Forms (5.0.) that I have in production on another system runing the 8.0 database. Can I load just the runtime files for Oracle and run t