Substitution handling in portal

hi,
i want users to enter their substitution in the portal, so that all workflow tasks
are forwarded to the substituted person.
well, there is the business workplace to do this.
BUT: is there a easier way to get directly to the substitution without calling trans. SBWP ?
reg, Martin

Hi Martin,
If you want the functionality of maintaining substitutes you can use FM SIN_GRID_EXECUTE_WF and call it with fcode = SMWF and owner the user who executes, this will give you the pop-up. For activating and deactivating use fcode SUBA, for adopting substitution fcode SBWF and SEWF for ending substitution.
Maybe you could use this?
Regards,
Martin

Similar Messages

  • Event handling in Portal IView of JspDynpage

    Hi All,
    I have created the portal iview with jspdynpage.Can any body tell whether event handling can be performed from the portal iview which is created from the jspdynpage?
    Regards,
    V Karthi

    hi
    check this threads
      Event handling in portal through sap netweaver.
      From creation of JSP page to iView at Portal
    Thanks

  • Open "Manage Substitution Rules"  without portal framework page

    Hello,
    when performing the "Manage Substitution Rules" function in the UWL a popup opens with the "Manage Substitution Rules"-iView in the context of the portal framwork page (that means Header and Detailed Navigation). I need to open this iVie "stand-alone" without the Header and the Detailed Navigation. Does anybody know how I can configure this?
    Thanks and best regards,
    Dominik

    My idea would be to look to the XML configuration files in System admin -> System config -> UWL -> Manage item types.
    Take look for example to file: uwl.standard.
    You should find something like this there:
        <Action name="launchSubstitutionManager" groupAction="" handler="SAPWebDynproLauncher" referenceBundle="SubstitutionManager" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowName="Substitution" launchNewWindowFeatures="width=800,height=600,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
          <Properties>
            <Property name="WebDynproApplication" value="UWLSubstitution"/>
            <Property name="WebDynproDeployableObject" value="sap.com/tckmcbc.uwl.ui~wd_ui"/>
            <Property name="DynamicParameter" value="uwlSessionId=${context.uwlSessionId}&amp;configureGroup=${context.configureGroup}"/>
            <Property name="System" value="SAP_LocalSystem"/>
            <Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/>
          </Properties>
        </Action>
    Maybe in your system this has been replaced with a new file with higher priority, and it has a different configuration. As far as I know, the above is pretty much the standard, and at least as far as I know in the standard the substitution pop-up does not have the header and detailed navigation etc.
    Regards,
    Karri

  • Limit displayed users when creating substitution role in Portal-UWL

    Hi all!
    We are trying to customize the UWL in our Portal (NW7, SPS12) the following way:
    When users define a substitution role, they shell only be allowed to see (and chose) certain users. Any ideas?
    We already tried to solve this using "companies" in our UME. See http://help.sap.com/saphelp_nw04/helpdata/en/3e/9bd6e9a11fd847a1ca1a5f9ac6ad23/frameset.htm
    Unfortunately, this does not limit the list of shown users here (although it works perfectly in our UME).
    Greetings and thanks for any hints
    Peter Lintner

    By default there is no easy way to do this ..... BUT you might find SAP Note: 977069 somehat helpful.
    It talks about new BAdI functionality which although you still have to write something, it means you can rely on your ABAP developers rather than having to do something with the portal based functionality.  Up until the versions below - there was little you could do short of implementing your own uwl.
    Available in:
    SAP_BASIS 620 SAPKB62061
    SAP_BASIS 640 SAPKB64019
    SAP_BASIS 700 SAPKB70010
    It is likely that SAP will address this shortcoming in future versions but no information is available yet.
    Haydn

  • Event handling in portal through sap netweaver.

    Hi...
    Please let me know..how to evoke event handling in iviews..thru sap netweaver in ep.

    Hi,
    For iview event handling you can use EPCF (<b>Enterprise Portal Client Framework (EPCF) provides an infrastructure for scripting used in iViews and by the portal</b>.)
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
    /** The below link is a link to a PDF of EPCF details **/
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771fa290-0201-0010-3d93-865e66cc6d7e
    Go to this link and download the pdf.This could be some help to you.
    Thanks
    Ritu
    /Helpfull answer will be rewarded with points/

  • Error handling in Portal standard forms

    I have a customer who needs to validate input on a Form Based on a Table (standard component). They have tried code, as shown below, as a PLSQL handler on a Save button. This example can obviously be solved with JavaScript validation on the client, but they have similar requirements for validation on DB level.
    If procedure call 1) in the if statement is used, nothing happens. If procedure call 2) is used, it is executed in a new page as a standard error Oracle Portal error message.
    declare
    v_sender VARCHAR2(1000);
    v_sender_id NUMBER;
    begin
    v_sender := p_session.get_value_as_VARCHAR2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SENDER');
    v_sender_id := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SENDER_ID');
    insert into hd (number, text) values (hd_seq.nextval,
    'step 3 v_sender = ' || v_sender ||
    ' v_sender_id = ' || v_sender_id);
    if v_sender_id >= 100 then
    1) Custom error handling, does not display:
    show_error('Error message');
    2) Error handling is displayed, but as a standard error:
    raise_application_error(-20000, 'SenderID must be smaller than 100.');
    else
    doInsert;
    end if;
    end;
    The customer has two questions:
    Why does the custom procedure in 1) "show_error" not execute, and if it does, why does it not display? show_error works and the if statement is entered.
    Is it possible to take control of Portals error handling on standard components (forms etc.), to show custom error messages with the style used on the component/page instead of the standard Error: ORA- ....etc. as Portal displays it?
    Customer needs reply asap. Please reply directly. Any help will be much appreciated!
    Kind regards
    Jakob Lund

    Jacob,
    Try following:
    declare
    v_sender VARCHAR2(1000);
    v_sender_id NUMBER;
    begin
    v_sender := p_session.get_value_as_VARCHAR2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SENDER');
    v_sender_id := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_SENDER_ID');
    insert into hd (number, text) values (hd_seq.nextval,
    'step 3 v_sender = ' || v_sender ||
    ' v_sender_id = ' || v_sender_id);
    if v_sender_id >= 100 then
    p_session.set_value(
    p_block_name => "_block",
    p_attribute_name => '_STATUS',
    p_value => 'Sender ID must be less than 100!');
    -- return to your form with status message set
    -- and all fields filled with recent values
    return;
    end if;
    end;
    -- This point is reached only if validation is OK
    doInsert;
    Regards,
    Henn

  • Exception handling of portal errors

    Some par's or abstractportalcomponents throw Java exceptions. In the web.xml (irj/WEB-INF) you can handle those exceptions. Only it seems that it doesn't work. We use portal 7.
    We used for example the following wiki documentation: http://wiki.sdn.sap.com/wiki/display/EP/CustomizingErrorMessagesinPortal
    I've found the common documentation but that also doesn't solve our problem.
    Any help is welcome.

    Another relating question is that we want to replace the custom ErrorComponent portalcomponent. This component is shown when for example a null pointer exception occurs.
    A short description ot this in CE 7.1 is found at https://cw.sdn.sap.com/cw//docs/DOC-112387/edit?containerType=14&container=5444
    Only I can't find any document which describes how this should be done in 7.0.
    Edited by: Sander Star on Dec 21, 2009 1:44 PM

  • How to write an JavaScript Event Handler for Portal Form?

    I have created an form in Portal builder.
    There are two column, R04 and R05.
    I need to use Javascript Event Handler to check if R04 value is smaller than R05 value.
    Can I be able to build up this function?
    Can anyone give me a hint? or steps?
    Thanks

    Here are some suggestions.
    1. do what we did, and write your own protocol server that understands whatever custom commands you need, and then write a custom thin client which will send commands to and receive responses from this protocol server. you can use any language for the client software. the protocol server should be written in java so that it can receive commands from the client and then use the 9iFS API to execute the requests or retrieve the data that the client wants to display.
    2. write a custom fat client, in java, that accesses the 9iFS API directly. this means that each client will be accessing the iFS schema on the database machine directly. if you configure the iFS service on the client to use the THIN driver, then you won't need to install the Oracle client software on the client machine. You'll just need all the iFS .jar files and the database's JDBC driver (classes12.zip). Note that using the THIN driver is not supported because of bugs and performance problems. If you use the OCI8 driver, which is supported, then you'll have to install the whole Oracle client software package on the client machine.
    3. write a thin client that uses the WebDAV protocol, and communicate with our built-in DAV server. this approach will allow you to execute any command that DAV understands. you may be able to find some free HTTP or DAV client software on the net, or you can try writing it yourself. this is probably a better solution than number 1 unless you really need to send custom commands that are not in our DAV server's vocabulary.

  • Tab Handling in Portals

    I am unable to handle the way Tab behaves in Portal. Say there are two text fields, and in one Loginid and in other pwd is there, so if the combination is wrong, and an error msg is there, after pressin Okay button I am unable to Focus the cursor in the Loginid field it is always there in the Password field. so Please if u can help this out.

    hi,
    use focus()
    suppose ur form is indexForm anf txtbox for uid is uid then
    indexForm.uid.focus();AE

  • Substitution tags in portal ver.2

    Could anyone tell me if are the substituion tags (like #BANNER.GREETING.LABEL#) which were used in oracle portal version 1 (3.0.9) supported in oracle portal version 2 (9.0.2)?
    Thanx a lot.

    You can use substitution tags in Unstructured UI templates and then use the templates in pages and other components. Go to templates from
    Navigator->Providers->Shared Components->Templates

  • Event Handling in portal application

    Hi friends,
      In portal application i have defined two methods called "docontent" and "docompute".here iam giving the code.
    package com.seal;
    import com.sapportals.portal.prt.component.*;
    public class abstract1 extends AbstractPortalComponent
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    response.setContentType(PortalComponentContentType.HTML);
    IPortalComponentURI uri = equest.createPortalComponentURI);
    uri.setPortalRequestEventrequest.createRequestEven"compute"));response.write("<form action=\"" + uri.toString() +
    "\" method=\"post\">" + "<table>" + "<tr><td>" + "Enter your name" + "</td>" +"<td>" + "<input type=\"text\" me=\"expression\" value=\"" +name + "\">" + "</td></tr>" + "<tr><td></td><td>" +     "<input type=\"submit\" value = \"Tell" + "\">" +"</td></tr>" + "</table>" + "</form>");
    public void doCompute(IPortalComponentRequest request, IPortalRequestEvent event)
    System.out.println("doCompute");
    try {
    name = event.getData().getAttribute("expression");
    state = WELCOME_STATE;
    } catch (NullPointerException npe) {
    For the doCompute method am getting the following the
    error: no other errors am getting xcept this.   
    IportalRequestEvent cannt be resolved(or is not valid type) for the argument of the method docompute.
    Can anybody please help me how to solve it.
    Thanks and regards
    sireesha

    hi sireesha,
    glad to know that I have been of some help to you .
    When you do source->Organise Imports the NWDS automatically calls all the imports that are necessary for your code provided that these import packages are on your build path . Hope this answers your question.

  • ERROR Handling in Portal with calls to the back-end!!!!

    HI all,
    We are seeing the following error message with the very very long Java dump that is intimidating to the users and looks so ugly.... Is there any way to trap this in the Portal and make the error message appear more friendly?:
    No authorization for Write trip 0005027615:
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No authorization for Write trip 0005027615
                at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
                at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
                at com.sap.xss.tra.fc.utils.FcTraUtils.raiseRFCException(FcTraUtils.java:494)
                at com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtils.raiseRFCException(InternalFcTraUtils.java:321)
                at com.sap.xss.tra.fc.utils.FcTraUtilsInterface.raiseRFCException(FcTraUtilsInterface.java:286)
                at
    com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface.raiseRFCException(InternalFcTraUtilsInterface.java:252)
                at com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface$External.raiseRFCException(InternalFcTraUtilsInterface.java:468)
                at com.sap.xss.tra.tre.fc.generaldata.FcTreGeneralData.rfcGeneralDataGet(FcTreGeneralData.java:508)
    and so on.......
    Thanks, Neeta

    Hi Neeta,
        Check if this helps...
    Parent and Child groups in Portal
    Regards,
    Uday.

  • Message user-exit handling in Portal

    Via customizing there is a user-exit for update travel-declaration in the Portal. (exit_sapmp56t_002)
    you can pass through parameter (continue with update).
    if this isn't  a 'Y', a message is generated and updating is not possible.
    But there are several circumstances for checking, but there is only one message possible.
    (From message-class PTRA_WEB_INTERFACE and message 905 )
    We would like to create several messages.
    Is this possible and how do you do this?
    with kind regards
    Jan Weegels

    Hi
    There can be one other method to fulfill your requirement. If you want a check only on address field, there might be a field exit for this address field.
    Check out the technical name of the field where you want to check and note down the data element name mentioned in data dictionary.
    RSMODPRF . In the input screen, paste that data element behind the address field and press F8. If there is a field exit for this, it will come up in the output and you can code a simple check for this field in t-code PZ02.
    Moreover, if there is none for your required data element, then it will help you to create one. Do read the Information mentioned on the input screen. it will tell you about the coding and constraints of a field exit.
    Regards
    Waz
    Edited by: Waz on Feb 12, 2008 10:39 AM

  • Custom components handling during Portal upgrade from 7.0 to 7.3

    Greetings,
    I started the upgrade of our development portal from version 7.0 to 7.3. I'm stuck in the configuration step when the upgrade program asks what to do with the custom java components found in the system.
    I have 8 components for which I can only select Scan inbox or Remove. The problem is that I would like to keep them as-is but the option Keep does not appear in the combo box.
    Does anybody have an idea about how to keep those components as they are?
    thank you in advance,
    Sébastien

    Even i am running into same issue where it doesn't show the option to keep the custom components. Can i know how did you fix the issue?

  • Re:Event declaration and handling in portals

    Hi,
    I am new to portal and I got struck in how to access events and to declare events as well .
    Please guide me in this issue
                                         Thank You,
                                         D.Durga Rao

    Hi,
      Check this link for the tag for button. It shows onClientClick and onClick. onClientClick is client side validation (code written in javascript inside jsp itself) and onClick is server side validation.
    http://help.sap.com/saphelp_nw70/helpdata/en/f1/9a0e41a346ef6fe10000000a1550b0/content.htm
    For server side: Use onClick:
    JSP DynPage: Declaration of the method that processes the event:
    public void myClick (Event event) { ..coding.. }
    or
    public void onMyClick (Event event) { ..coding.. }
    Here myClick is like ProcessConfirm defined for button. It can be defined as
    public void ProcessConfirm (Event event) { ..coding.. }
    or
    public void onProcessConfirm (Event event) { ..coding.. }
    Regards,
    Harini S

Maybe you are looking for

  • Installing microsoft office

    I am buying a new iMac to replace my 8 year old MacPro and was advised to install all apps with a clean install rather than migrate 8 years of content over to the new machine.  I own MS Office: mac 2011 on disks. Two questions.  First is this a good

  • THANK YOU to every one who replied to me and or anyone else in a helpf

    iate your help and i am sure other people do but don't always take the time to say thanks.  once again thanks.

  • Help for HR-ABAP

    Hi gurus.. I m new to HR ABAP.. can nebody provide me the material and inteview questions for the same.. Helpful answers will be rewarded accordingly. Regards, Manish Hadiyel.

  • Why is Black more expensive than white?

    There is 2 whitemac books! Then a black one! Why does the black cost more than the high end white? Is one made of metal and the other one made of plastic? Are macbooks durible or more durible than the MacBook pro?

  • Can i follow an object?

    hi all, i would like to find a way to follow an object through all the methods it is passed as a parameter. for example if i have this: public static void method() Object o = new Object(); methodA(o, "another parameter"); methodB("another_parameter",