HowTo create a direct link to an approval

Hi all,
did someone of you tried to create a direct link to an approval?
The link looks like this: "u2026/ProcessRequest?RequestID=12345&TaskID=111&EntryID=01234"
So my question:
Is it possible to use SQL statements in these scripts to read out the needed data from "MXP_PROVISION"?
I have tried out this:
Configuration in "EMailNotifiaction_Approval" Pass:
MSKEY     %MSKEY%
MX_APPROVERS    %MX_APPROVERS%
MX_ENTRY_REFERENCE     %MX_ENTRY_REFERENCE%
Coding in the script of "Next data entry" (just the relevant part)
var entryReference = Par.get ("MX_ENTRY_REFERENCE");
var sql = "SELECT MSKEY FROM MXP_PROVISION WHERE AUDITREF = " + entryReference;
var sqlresult = "";
sqlresult = uSelect (sql);
I don´t get a Value into "sqlresult". I think one problem is that he doesn´t read the value of entryReference
Br,
Philip

Thank you Thomas,
the privilege was the problem.
Maybe someone of you had the same problem.
I have solved it like this now: (All with * marked lines can be found in the HowTo guide)
*var pendingValue = Par.get("MSKEY");
*var approverList = Par.get("MX_APPROVERS");
*var entryReference = Par.get("MX_ENTRY_REFERENCE");
*// uErrMsg(logLevel,"Approver List: " + approverList);
*var approvers = new java.util.Vector();
*approvers = uSplitString (approverList, "|");
*var i = 0;
*var result;
*var emailAddress = "";
*var idStore = uGetIDStore();
*var emailAttribute = "%$MAILATTRIBUTE%";
var sql = "SELECT APPROVALTASKID, AUDITREF, PARENTMSKEY FROM MXWV_PENDING_APPROVALS WHERE MSKEY = " + pendingValue;
var sqlresult = "" ;
sqlresult = uSelect(sql);
var part = new java.util.Vector();
part = uSplitString (sqlresult, "|");
actionid = part.get(0);
auditref = part.get(1);
usermskey = part.get(2);
// This line was made to get the unique name of the requesting person
var sqlname = "SELECT AVALUE FROM MXIV_SENTRIES WHERE (ATTR_ID = 2 AND MSKEY = " + usermskey + ")";
var name = "";
name = uSelect(sqlname);
var url = "http://10.44.110.68:50000/webdynpro/dispatcher/sap.com/tcidmwd~workflow/ProcessRequest?RequestID=" + auditref + "&TaskID=" + actionid + "&EntryID=" + pendingValue;
I think there are much more solution. (Iam new at IdM )
Br,
Philip

Similar Messages

  • OIM11gR2 - Is it possible to create a direct link to a specific area in the oim plattform?

    hi,
    is it possible to create a direct link to specific area in the oim self service plattform? for example a link to the users account list, or a link to a specific resource account?
    br,
    max

    Hi,
    Yes, Its very much easy in R2 as compared to R1. You can use following link to achieve your requirement:
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/uicust.htm#BABIDJAB
    ~J

  • How do I create a direct link to a page in the secure zone?

    How do I create a direct link to a page in the secure zone? Right now I have a menu link to the "member-news" page, which is secure. When clicked, the link goes to the member login screen. Upon login, it drops the user onto the default login page.
    I want the "member-news" link to allow the user to log in and continue onto the "member-news" page without stopping at the default login page.
    Is this possible?

    What program are you using?

  • Creating a direct link to the help topics?

    Ok I have been building my first RoboHelp project with the help of some good tutorials online.
    I have a number of different help topics and they have sub topics.
    How do I direct a user when they click on a direct link to a subtopic.  What is the HTML code to use to get to a subtopic?
    If I use the HTML file name of the topic, the help TOC on the left doesn't show up.
    Does this make sense?

    Hi there
    Have you investigated the links below? Perhaps you are overthinking it.
    Click here
    Or Click here
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Howto create a dynamic link with current domain

    We need to create a dynamic link on a html page in the portal.
    The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
    Thanks!
    Matthias

    Hi Matthias,
    you could paste something like this in a Custom JSP Component:
    <script type="text/javascript">
         function getServerURL() {
              return top.document.location.protocol+"//"+top.document.location.host;
         function redirect(uri) {
              try {     
                   top.location.href=uri;
              } catch (e) {
                //unfortunately this is not triggered in IE - only in mozilla
                   alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
        redirect(getServerURL()+'/tool'+top.document.location.search);
    </script>
    Best Reagrds, Thomas

  • OIM 11g - Email Notification with direct link to Approval Task Details

    Hi,
    We wanted to send email notifications to approver with direct link to the approval task details screen from which the user can either approve or reject the request. In OIM 11g OOTB Notification templates such as Request Creation contains the direct link to Request Detail screen which is something like
    http://localhost:14000/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP;E_TYPE=MY_REQUEST&T_ID=65
    Wondering if there is something similar for Approval Task Details screen as well.
    Any kind of help or suggestion is greatly appreciated.
    Thanks,
    Deepa

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • OIM 11g: send direct link to approval tasks in email notification

    Hi all!
    What do I want to achieve: I want to send email notification to assignee in case if some approval task in OIM has assigned to them and this notification must have a direct link to the page of approval task details from which assignee can approve or reject an approval task.
    The default email notification that exists in approval task “DefaultRoleApproval” has a direct link to a request details page:
    <a href="<%substring-before(/task:task/task:payload/task:url , "/workflowservice/CallbackService")%">/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP&E_TYPE=MY_REQUEST&T_ID=<%/task:task/task:payload/task:RequestID%>>
    But unfortunately from this page we can’t do any action such as reject or approve.
    To find a direct link to an approval task details page (Self Service -> Tasks -> Task Details: Approval) from which I can perform needed operation I used document ID 748447.1. But I haven’t found a direct link.
    What is the direct link to task details page for approval with exact ID which I can include in an email to satisfy my requirement?
    Thanks in advance!</a>

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • How do I create a direct URL link to my iBook product page?

    How do I create a direct URL link to my iBook product page? The Apple iTunes linkmaker webpage appears to have been updated recently --- and I can't create a direct link to my iBook, or any iBook for that matter.

    No, not with a direct link to the iTunes product page which I can copy and use. However I found another work around by viewing another book's product page, then clicking "view more by this author" and found the link that way. Thanks for your reply.

  • ISE 1.3 Sponsor Appproval direct link

    There is a way to add a link in the email notification to the sponsor requesting approval.
    Does anyone know if there is a URL that is a direct link to the approval?
    Also is anyone aware of an API function for approvals so that approvals could be submitted via email or sms?

    Customize Approval Request Email Notifications
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/admin_guide/b_ise_admin_guide_13/b_ise_admin_guide_sample_chapter_010001.html#task_21A9D4748CCB4AE0AE61D632AE0369CD

  • Create a direct external link into SAP Portal

    Hello, I am looking to create an external URL to directly link into a specific page inside my Netweaver Portal.  Is there a way to set up this navigation?

    Hi Chris,
    The link would be something like this:
    http://<server>:<port>/irj/portal?NavigationTarget=<pcd address of page>
    The above creates the entire framework page around the page. You can get just the page by doing something like this:
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd address of page>.
    Hope this helps.
    Daniel

  • Direct link to Web Dynpro for ABAP

    Hey everyone,
    I created a web dynpro    for ABAP    application that will list out all the work items for the purchase requisition approval through workflow. I want to be able to have our higher ups be able to access this through our portal. I created an iView    that works and calls the application just fine.  What I want to do now is provide a link in an email to these people so they will be able to log into the portal and go directly to the application (just the application not portal wrapper around it at all) and only the application.  I can't provide a directly link to the WDA app since, I think, it would be to the ECC server and not the portal one.
    I have tried Quick Links but that isn't what I want.
    I did try to put a pcd location link
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd location>
    but I get an internal error because it's trying to do an anonymous login and I want the login screen to show up first.
    HELP!!!!!
    Thanks,
    Archie

    The PCD path of the portal object is the Navigation target.
    http:/myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole
    This can be hashed and shortened to form the Short URL as shown below
    http:/myServer:50000/irj/portal?NavigationTarget=navurl://b3d6d9ebac16a46574d62757803b05d4
    Short URL can be enabled and disabled depending upon the requirements.
    Check the links below for detail description to enable short URL:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/330b66fd695aa8e10000000a42189d/frameset.htm
    NavigationTarget generally shows all the portal roles with the specific object highlighted.
    In the sense it takes you to that Object with the portal header and TLN.
    If your requirement is not to show header and TLN,then try adding &NavMode=3 to the NavigationTarget url you are using as below
    http://<server>.<port>/irj/portal?NavigationTarget=ROLES://<PCD path of object>&NavMode=3
    I( made some testes here, and works fine for worksets and roles.
    Hope it Helps.
    Fabio Sarmento

  • Is there a DIRECT link between SD schedule lines and delivery lines?

    Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)? 
    Is there a function module to retrieve the data?
    Example-
    One order line with 3 schedule lines.
    Each schedule line is for 2 units (total of 6 units).
    Three deliveries made.  1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
    You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line.  The schedule line already references the order line.
    I am using math to decrement the schedule lines used and make the link between VBEP and LIPS.  It works fine.  I need four records back....
    1st schedule line for 2 units uses delivery 123
    2nd schedule line for 1 unit (partial) uses delivery 124
    2nd schedule line for 1 unit (partial) uses delivery 125
    3rd schedule line for 2 units uses delivery 125
    Like I said, it works. Just wondering if I missed a more direct link.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • Does Direct Link from PP to SG actually work??  Does SG actually work???

    I have been hassling with this all day.... the project will go over to SG (via Direct link), and I start grading and about after 30-40 mins it will just crash (SG actually closes down)... there is no file / no save as far as I can tell... so all the work I did is lost (and this has happened 3 times now).  It is a short 5 min EPK with nothing heavy in the way of transistions.  So I read about DIRECT LINKS problems and then tried the EDL method of bringing it over, consolidated to 1 video track as it is limited too (I honestly CANNOT believe this) who edits on 1 video track?  This is ridiculious!!  But anyway, I get the big red square with all kinds of "not supported" problems and my EDL never actually gets loaded.  VERY FRUSTRATED... how am I ever going to even start thinking about grading a 90 min feature if I can't get a 5 min EPK to WORK.  So far I am NOT IMPRESSED with SG.... which stinks after I have spent days in tutorials learning the program!   Anyone actually ever use SG for a real project before???

    Allent,
    In direct-link mode, Speedgrade is using a PrPro project file directly ... and is NOT allowed to "touch" that file until you specifically tell it to go back to PrPro. That's a part that is oft mis-understood. It has a few major things to "know" or you'll get frustrated.
    First, as you've discovered, there is  NO auto-save while working on a direct-linked project in EITHER PrPro or Sg. So ... if you're over in Sg working for more than a few minutes, it is wise to manually save, perhaps adding an iterative letter/number, so that you've got your work to that point protected in case of crash.
    Second ... as Sg is locked out of changing the timeline of a  PrPro project file in any way, you cannot add a grading layer to the timeline from Sg in a direct-link session. So ... one needs to create any additional/supplemental grading layers one will need in Sg BEFORE leaving PrPro, by putting "adjustment layers" over the sequence or specific clips you'll want to use a separate grading layer on within Sg.
    Third ... another hitch some people have been befuddled by is that when you first apply a Lumetri "look" or a LUT, it's in "preview" mode. You need to hit enter or a couple other things that Sg takes as "accepting" that look/LUT permanently before going back to PrPro or that effect doesn't "save" to the project.
    So ... any timeline changes have to be done in PrPro. Corrections/grading done in Sg. Saving a file under work in a direct-link Sg session is manual ... and wise. And yes, this is now suited for working while editing, taking over sub-sequences perhaps is a way to look at it? There are some changes in workflow ... but as you get used to them, it is so much simpler than working edl's or DPX or those sorts of things. And quicker.
    Neil

  • Direct link between planned/production order & Stock transport order

    Hello,
    We have the following situation.
    Plant A = ordering/receiving plant
    Plant B = producing/selling plant
    Material is stock material in plant A (reorder point planning). If required, plant A creates intercompany purchase order with plant B as vendor.
    Standard SAP behaviour: MRP run will create planned order in plant B but there is no direct link between the intercompany purchase order and the planned order. It can as well be that this planned order combines several requirements.
    Our requirement: Have a 1 to 1 relationship (and a direct link) between the intercompany purchase order and the planned order (and also with the production order which will be generated afterwards). The solution we think about: After creation of the purchase order, create firmed planned order (or immediately production order) by means of a bapi.
    My question is whether there are standard SAP solutions for this?
    Best regards
    Kurt

    When customer give order and then it creates sales order.
    depends on material - I mean Finshed good or Comapny own product ,
    If it is outside material ,it creates Purchase req and then Purchase order.
    if it is company material ,it creates Planned order and then production order.
    Check the transaction you will get better idea.
    MD04
    MD02
    MDBT
    LS24
    LS26
    MMBE
    CO01
    CO02
    CO03
    CS03
    ME51N
    ME52N
    ME21N
    ME22N
    VA01
    VA02
    VA03
    Reward Points if it is helpful
    Thanks
    Seshu

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

Maybe you are looking for

  • BCD_FIELD_OVERFLOW  error while assigning value to dynamic work area

    Hi guys,             I am trying following code --it uses dynamic table concept.        LABSTD2 TYPE P DECIMALS  1,        LABST_2 TYPE P DECIMALS   1,        LABST_12 TYPE P DECIMALS 1,        T_ARTMAS-LABST_12 = T_ARTMAS-LABSTD1 + T_ARTMAS-LABSTD2.

  • SSO configuration in BOBJ 4 with Active Directory

    Hi Experts, Our client wants to implement the BOBJ on AIX 7.1 box with oracle 11G and wants to configure the Active Directory authentication for the BOBJ. BI 7.0 is already implemented on AIX. I have searched a lot to find the relevant document for t

  • When i click on firefox it loads but then nothing comes up and it doesent work

    When i click on firefox it loads but then nothing comes up and it doesent work

  • Update to Iphoto 9.4.2

    I've just downloaded the upgrading to iPhoto version 9.4.2. When i'm trying to open iPhoto, I get these messages "Photo Library must be updated to work with this version of iPhoto" and "Photo library will not be readable by previous versions of iPhot

  • Master Pages and Buttons - Bug and Fix Request

    I think I'm the only person in the world who has encountered this bug, and I've filled out the bug report form on the Adobe site twice in a couple of years. Just wondering if anyone else has encountered it, and I'm curious to know if it still exists