Get the approvers for the container and role combination

Hi Abap Gurus,
Is there any alternate FM for RH_RESOLVE_RESPONSIBILITIES . Please find my code and Questions in a nutshell !!
FM Used - RH_RESOLVE_RESPONSIBILITIES
  CALL FUNCTION 'RH_RESOLVE_RESPONSIBILITIES'
       EXPORTING
            act_object      = p_role
            search_date     = sy-datum
       TABLES
            ac_container    = p_t_accontainer
            actor_tab       = p_t_appr_temp
       EXCEPTIONS
            no_active_plvar = 1
            no_actor_found  = 2
            parameter_error = 3
            OTHERS          = 4.
p_role = AC94000016
sy-datum = 20070829
p_t_accontainer is an INternal Table HAving fieldsas Elements , TAB_INDEX , ELEMLENGTH , TYPE and VALUE.
( The above Internal table Contains 6 Records )
p_t_appr_temp internal table contains fileds as OTYPE , OBJID . ( For Ex - Otype = 'S' and OBJID = '60037892' or Otype = 'US' and OBJID = '10029646' where
S - Position and US - User )
Question-:
     Problem is that This report is failing to fetch the Data for the user because of the lack of assignment of the workflow role  with the necessary user access or authorization . Now Even though the role is there the necessary authorization fails because of the period of the waranty . So as also in the FM Because of the authorization check it fails to fetch the data . My Question is that is there any other FM or Turnaround method to avoid this authorization check ? Also if you have any clue of accessing the Functional sequence logic of accesiing the tables to arrive in the same result will be highly appreciated !! Thanks in Advance
Creg !!

No ANswers frinds for this yet ?

Similar Messages

  • RH_RESOLVE_RESPONSIBILITIES -  Get the approvers for the container and role

    Hi Abap Gurus,
    Is there any alternate FM for RH_RESOLVE_RESPONSIBILITIES . Please find my code and Questions in a nutshell !!
    FM Used - RH_RESOLVE_RESPONSIBILITIES
    CALL FUNCTION 'RH_RESOLVE_RESPONSIBILITIES'
    EXPORTING
    act_object = p_role
    search_date = sy-datum
    TABLES
    ac_container = p_t_accontainer
    actor_tab = p_t_appr_temp
    EXCEPTIONS
    no_active_plvar = 1
    no_actor_found = 2
    parameter_error = 3
    OTHERS = 4.
    p_role = AC94000016
    sy-datum = 20070829
    p_t_accontainer is an INternal Table HAving fieldsas Elements , TAB_INDEX , ELEMLENGTH , TYPE and VALUE.
    ( The above Internal table Contains 6 Records )
    p_t_appr_temp internal table contains fileds as OTYPE , OBJID . ( For Ex - Otype = 'S' and OBJID = '60037892' or Otype = 'US' and OBJID = '10029646' where
    S - Position and US - User )
    Question-:
    Problem is that This report is failing to fetch the Data for the user because of the lack of assignment of the workflow role with the necessary user access or authorization . Now Even though the role is there the necessary authorization fails because of the period of the waranty . So as also in the FM Because of the authorization check it fails to fetch the data . My Question is that is there any other FM or Turnaround method to avoid this authorization check ? Also if you have any clue of accessing the Functional sequence logic of accesiing the tables to arrive in the same result will be highly appreciated !! Thanks in Advance
    Creg !!

    No ANswers frinds for this yet ?

  • How to config the user and role in the runtime for executing in the GP?....

    Hi Experts,
    I am learning GP(Guided processor)according the document
    http://help.sap.com/saphelp_nw70/helpdata/en/44/0d5b8f250d5cfae10000000a155369/frameset.htmneed.
    I meet two question when I learn the GP.
    The first:
    This document don't tell me how to config the member framework of the company.  After I design the GP, I have to config the user and role in the runtime for executing. I hope I can use the WDA(webdynpro for java or webdynpro for java) to implement to config the user for executing in the runtime. Thus, the customer don't config the user when runing the GP. But I don't know how to do this.
    I need a document guide step by step to tell me how to do this.
    The second:
    If I use the workflow in the GP, I have to install and config the NWDI(Netweaver Development Infrastructure). Now I have installed the NWDI, but I don't know config it so that I can download it to my machine for develop the workfolw in the GP.
    Do you give me some hints? Thanks a lot.
    Thank a lot.
    Best regards,
    tao

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • I had to take the I pad I got for Christmas back and they gave me  new one.  Is there a way I can get the books and apps I purchased without having to buy them again?

    I got an I pad for Christmas and had to return it and they gave me a new one.  Is there a way I can get the books and apps I purchased without paying for them again?

    Downloading past purchases from the App Store, iBookstore, and iTunes Store: http://support.apple.com/kb/HT2519

  • HT201209 My wife purchased an iTunes gift card for me and I scratched off the back to get the code and when I entered it to redeem it told me that it had already been redeemed what do I do?

    My wife purchased an iTunes gift card for me and I scratched off the back to get the code and when I entered it to redeem it told me that it had already been redeemed what do I do?

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    And there is this...
    http://www.apple.com/hk/en/support/itunes/store/giftcard/

  • My iPod is showing a white screen. I could not see anything. But I can listen to songs by blindly pressing the play button twice. The battery comes only for an hour.? How do I get the display and longer battery?

    Hello Friends,
    I've two iPod Nanos (4th gen - 8GB). I'm facing a severe problem with both of them. For both iPods, I tried to do this method Simultaneously press the top button + home (central) button. But of no use.
    1. My first iPod is showing a white screen. I could not see anything. But I can listen to songs by blindly pressing the play button twice. The battery comes only for an hour.? How do I get the display and longer battery?
    2. My second iPod is facing more severe problem. None of the buttons are working. When I connect it my PC it showing "CONNECTED- eject before disconnecting". But it is not ejecting with all the usual methods. When I manually and physically disconnect it from the PC the same "CONNECTED- eject before disconnecting" is still showing till the battery goes off. After that if i press any button it is showing low battery signal. And when i re-connect it to the PC the same process is repeating. When I tied to restore it to the factory settings I'm getting "Error" report.
    (I'm using windows 7)
    Friends, Please help me with the above problems. It will be a great help.
    Thank You.
    R.SAMALA

    Sounds like some hardware issues, meaning you'll want to take or send the iPods in for service or repairs. You can choose to have Apple do an out of warranty exchange for the prices indicated in the link below or find another third party service perhaps even local to your area.
    http://www.apple.com/support/ipod/service/prices/
    B-rock

  • HT5373 How do I enable a calendar subscription in my iCloud calendar? I'm using a Windows laptop (Home Office 7) and am trying to get the rugby and footfall fixtures to appear on my iCloud calendar.  Thanks for your help.

    How do I enable a calendar subscription in my iCloud calendar? I'm using a Windows laptop (Home Office 7) and am trying to get the rugby and footfall fixtures to appear on my iCloud calendar.  Thanks for your help.

    I suspect you had the same issue I did and downloaded the 64-bit version of the OpenSC libraries, but your firefox is 32-bit. You can see the opensc-pkcs11.dll in the System32 folder via windows explorer, but when you browse that directory via firefox to add the module, you are acutally being redirected to the SysWOW64 directory. Try intstalling the 32-bit OpenSC libraries, and adding the appropriate library from the C:\Windows\SysWOW64 directory.

  • I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for?

    I downloaded Mavericks and it won't install. I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for? I never had an administrator password-- I just hit enter and have never had a problem before with previous installations. I'm on an iMac, from 2007, running Mt. Lion (version 10.8.5). I've been looking for other's posts who may be having the same problem, but haven't found any. Can anyone help?

    Ugh. The 'no password, no work' thing is a recent Apple development. I ran into it on my system and ended up having to do a clean install on a partition I fully erased.
    I suppose, if you have the ability to, go online and look up how to burn a bootable DVD image. Download the 10.8.4 image then use the Disk Utility to make a boot image of it. You'll need a dual-layer DVD or a USB drive (or memory stick at least 8GB) If you've got an optical drive, burn the disk, if you've a USB device, use that.
    Then get a pocket drive and copy your important files off the system or let Time Machine do a full backup.
    When the backup is done, insert the disk and hold down the C key until the machine boots off of the DVD. At the point you get to the start window, go to the menu and choose the Disk Utility.
    In the Disk Utility, reformat the drive. You go to the actual DRIVE (not the Macintosh HD, but the root above it that is the actual hard drive device)
    I always do this and *partition* it into several volumes, the benefit being, you can store all of your music, documents and importans stuff on that secondary storage volume you make - it will have it's own index and then the first volume is where you put the OS and it will have it's own index as well. That way, if the OS throws a wobbler and you need to reinstall, you don't lose your data.
    Depending on the size of your hard drive, it is good to give your OS partition at least 60GB and optimally 100GB, and the rest for storage.
    Name your volumes, use the little box sliders to manually size them or put that number in the size window, select for the format, Mac OS Extended (Journaled) and hit Apply and then the Disk Utility will quickly create your new partitions.
    Once finished, quit the Utility and it will return you to the OS installer. Select the volume you want to install to and it should start up and install.
    Once the installation is done, you'll get the new machine startup then you MUST put in a password for the computer. Once you're in, and to the desktop, don't bother with any Mountain Lion updates, go right to the App Store and get the Mavericks update and let it install the app to your Applicaitons folder, then do that install.
    On a side note, there MAY be a way to make a disk image from the Mavericks application and avoid the entire Mountain Lion step.. I honestly do not know, but a bit of hitting the search engines may find out if there is. I think that if you looked for "make Mavericks boot disk or boot image' you may find something.
    Good luck!

  • Z-Report for PR using ES language not getting the Header and Item text deta

    Hi,
    We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data,
    Secondly when We select language EN and execute the report then we are getting the Header and Item text details.
    Please guide me.
    Thanks
    Shital

    Have you maintained Tetexxt in ES language or is it that you are expecting  on selecting ES the text from En will get coverted to ES and display in your report?

  • Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Find the attachment(LV8.5) for local machines. 
    You can use shared variables to monitor the remote machine's usage.
    Attachments:
    Task Monitor 85.vi ‏25 KB

  • Adobe Air SDK for IOS, i'm searching for a week  to get the certificate and provisioning files

    Adobe Air SDK for IOS, I'm searching for a week  to get the certificate and provisioning files!!
    Please help me to get the certificate and provisioning files and I should pay to have these files.
    Thanks

    Apple doesn't provide support for third-party development tools.
    You need to post in the Adobe forums.
    You need a paid developer account to install apps on an iOS device.

  • Get line that contains and then get the second and fourth line after that.

    So I have a text file and I want it to find all the lines in the file that contain an @ symbol and then I want it to get that line and the line second and fourth from that line. Then I would export it like this:
    $linewith@ + ":" + $secondline + ":" + $fourthline
    Finding the lines with an @ symbol is easy, but how would I tell it to get the second and fourth line after the line with an @ symbol?
    So I would get the lines with something like this:
    foreach ($line in [System.IO.File]::ReadLines($filename)) {
    if($line.contains("@")){}

    That worked perfectly thanks man! Here is the entire code. I'm sure it could been cleaned up. I'm still learning powershell. 
    $username = "Username"
    $password = "Password"
    $url = "http://URL"
    $ie = New-Object -com InternetExplorer.Application
    $ie.visible=$false
    $ie.navigate($url)
    while($ie.ReadyState -ne 4) {start-sleep -m 100}
    $ie.document.getElementById("username").value = "$username"
    $ie.document.getElementById("password").value = "$password"
    $ie.document.getElementById("click").click()
    start-sleep 20
    $ie.Document.body.innertext | Out-File -FilePath c:\web.txt
    $links = $ie.Document.getElementsByTagName('A')
    $logout = $links | where {$_.innerText -eq 'logout'}
    $logout.click()
    start-sleep 5
    (gc C:\web.txt) | ? {$_.trim() -ne ""} | set-content C:\web.txt
    ( Get-Content C:\web.txt | Select-Object -Skip 2 | ForEach-Object { $_.TrimStart( " " ) } ) | Set-Content C:\web.txt
    start-sleep 5
    $fileContents = Get-Content C:\web.txt
    foreach ($line in $fileContents) {
    if ($line -like '*@*') {
    $line + ":" + $($fileContents[$line.ReadCount+0]) + ":" + $($fileContents[$line.ReadCount+3]) | Out-File -FilePath c:\finish.txt -Append

  • Itunes  11.4.0.18 crashing when clicking on app store  Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open

    Itunes  11.4.0.18 crashing when clicking on app store
    Itunes is getting crash when clicked on app store. I tried to get some information for this crash and got the above message in debugging mode. Please fix this if required but i am unable to open app store.

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • When I look up the creation date for files on my Macbook I get the date and month in brackets, but not the year.  Why is this and how can I look up the year?

    When I look up the creation date for files on my Macbook (using "get info", or the information window in Iphoto) I get the date and month in brackets, but not the year.  Why is this and how can I look up the year? 

    Does the Date Modified column in a window set to List view show the date correctly, or does it also display it incorrectly?
    To add additional columns to a Finder (folder) window, with that window open and active open the View Options for it. You can do that by pressing Command-J or by selecting View Options from the View menu in the main menubar.

  • I NEED MY UNBLOCKING CODE FOR MY IPHONE 4S ,I HAVE BEEN INCONTACT WITH MY SERVICE PROVIDER AND THEY CONFIRMED THEY HAVE SENT AN EMAIL TO YOURSELF TO GET THE CODE AND NOW I NEED TO CONTACT YOU MYSELF IS THIS CORRECT AS VODAFONE DO NOT SEEM TO BE HELPING ME

    I NEED MY UNBLOCKING CODE FOR MY IPHONE 4S ,I HAVE BEEN INCONTACT WITH MY SERVICE PROVIDER AND THEY CONFIRMED THEY HAVE SENT AN EMAIL TO YOURSELF TO GET THE CODE AND NOW I NEED TO CONTACT YOU MYSELF IS THIS CORRECT AS VODAFONE DO NOT SEEM TO BE HELPING ME

    There is no such thing as an unlock code for an iPhone. It's done by restoring the phone using iTunes

Maybe you are looking for

  • Calendar list view 7.1.2

    What happened to Calendar List view in 7.1.2.   I used to be able to get List View for ALL dates.   Now I can only get it for ONE DAY!  I believe list view worked correctly (i.e. list all days on FULL SCREEN) in 7.1.1.  Only since last update (to 7.1

  • How do I delete photos PERMANENTLY?

    I have moved photos to the trash can and emptied the trash can multiple times and they keep popping back up in Iphoto. Not just Iphoto but many other files are not actually being deleted. Plus, I'm finding random snapshots of my family's phone number

  • HDMI Audio Vizio Television

    Hello, I'm using a Vizio television as my monitor, connected to my computer via HDMI cable. The picture looks fantastic, however I cannot seem to get the audio to work. The problem here is most likely my lack of knowledge. I've tried the steps in the

  • Beware: if you run Lion on a separate drive, don't update aperture

    I'm not sure how MacOSX managed it, but I ran Aperture tonight (on SnowLeopard) and it tells me that I can't run this version of Aperture on my operating system! The problem is, I never updated to the version it was claiming. The AppStore prevented m

  • Photoshop Elements 11 freezing and creating 1000s of tmp files when saving images

    Photoshop Elements 11 freezes up and then continues to create 1000s and 1000s AND 1000s of tmp files in the same location as I was trying to save the jpg. Any ideas on what is going on?