How to implement role control in my WebDynpro application?

Hi,
    I am new to WebDynpro development. And now I create a simple application PMS which uses the WebDynpro Client for client page, Mysql and iBatis for database layer.
    Now, I want to add role to my application to control the user accessing iViews.
   But I do not know if I could make it by configuring the backend server and some coding in the frontend. My colleague told me that I could only configure different applications for each role, so I must do this by inserting authorization code in my application.
    Any help will be welcomed.

Hi,
Create a role in  portal and assign your WD iView to that role. Now all the users that are assigned with the above created role in portal will be able to access the WD iView.
Is this your requirement or something else.
Regards,
Murtuza

Similar Messages

  • How to execute a workflow from a webdynpro application???

    hi friends....
    How to execute a workflow from a webdynpro application???
    we are using ep6, ecc5????

    If you want to start a workflow in the backend, you need to call a RFC that starts it.

  • How to check the authorization based on webdynpro application

    Hi Experts,
    I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
    So how to restrict or check the authorization based on webdynpro application used?
    Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
    Please enlighten me.
    Regards,
    Ajay Matam

    You can assign an authorization object to the Web Dynpro Application within SICF -
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
    Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs.

  • How to get workitem id in ABAP-Webdynpro application

    Hai All,
    When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application. 
    Please let me know how to pass this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hai Kari,
    Thanks for the link, i am looking into it.
    Hai Naresh,
    Where should I give this link,
    http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
    What I have done is,
    In SWFVISU transaction I maintained the following entry,
    Task = TS99000208
    Visualization Type = WD_ABAP
    Visualization Parameter  Visualization Parameter value
    APPLICATION            =  ZWD_OFFICIAL_012
    NAMESPACE            =  SAP
    and registered this task in in universal worklist.
    Where the specify the code you mentioned. 
    Thanks & Regards,
    H.K.Hayath Basha.

  • How to set portal authorization in ABAP Webdynpro application

    Hi All,
    Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we need to set  invisible (hide) the Group UI element  in webdynpro ABAP Application.
    Do you have any sample code on the same to handle the portal authorization in Webdynpro ABAP?? , please let me know if couldnu2019t understand this requirement or my explanation
    Thanks,
    PortalUser100

    Hi Kris,
    Thanks for your reply.
    Like however we passed the UserID, can we pass Group ID also to the ABAP Webdynpro application??
    Can u get me other things, how to copy of the existing component and i want to give the new name for the component and there i need to modify, i dont want to disturb original component  before copy...let me know the procedure for the same??
    Regards,
    PortalUser100

  • How to read an excel file in webdynpro application

    Hello Experts,
    Can someone please tell me how to read an excel file in a webdynpro application?
    There is a tutorial for how to write contect into an excel, but i want to read the excel.
    Can someone help please !!
    Thanks and Kind regards,
    G.Singh.

    Hello Experts,
    I have done all the given above.
    I want to read a excel file from KM. My code is as below
    ResourceContext resourceContext = buildResourceContext();
    IResourceFactory resourceFactory = ResourceFactory.getInstance();
    RID pathRID = RID.getRID("/documents/ExcelReport.xls");     
    IResource resource =     resourceFactory.getResource(pathRID, resourceContext);
    Workbook wb = Workbook.getWorkbook(resource.getURI().getPath());
    Sheet sh = wb.getSheet(0);
    int columns = sh.getColumns();
    int rows = sh.getRows();
    wdComponentAPI.getMessageManager().reportSuccess(" Rows: " + rows);
    wdComponentAPI.getMessageManager().reportSuccess(" Columns: " + columns);
    This does not give me the excel file form the KM
    Can you please just what i can do at this point?
    Kind Regards,
    G Singh.

  • How to extract the code of standard webdynpro application

    Hi,
    We are on ECC5.0, ERP2004 ESS/MSS ,EP6
    Can someone tell me, How can we get the code of a standard webdynpro application into NWDS.
    ( I am familiar that, to modify the standard ESS applications, we need to use JDI.)
    is it compulsory that , unless and until i have JDI i can't see that code , no other way?
    Regards,
    NR

    Hi Sharadha,
    after installing the JDI, what are the steps that needs to be done to get the code of standard Webdynpro application, lets say <b>sap.com/essinfam</b>.
    Can u post some links where I can get the step-by-step process of calling a Standard Webdynpro ESS application into my NWDS?
    Regards,
    NR

  • How can I customize the stylesheet of webdynpro applications?

    Hello experts,
    how can I customize the Look & Feel (e.g. background color) of webdynpro applications?
    I refer e.g. to UWL which is opened by a task link in an email and opens as as webdynpro application in a separate window. It appears in the typical SAP blue. I would like to change the color.
    The portal´s customization does not affect webdynpro applications.
    Thanks in advance for any hint.
    Thomas

    Hi Avi
    Yep, that's what you get with AIR output. You have to live
    with the skins the AIR layout provides. I suppose if you are a FLEX
    developer you might be able to change the skins. But it is what it
    is.
    You might consider submitting a Wish Form to ask the
    development team to allow us more flexibility with AIR skins. Or to
    even create a way for the AIR app to use elements of the WebHelp
    skins.
    Click
    here to visit the Wish Form.
    Cheers... Rick

  • How to see VIEW and METHODS in webdynpro applications ?

    Hi ,
        I am New to WEBDYNPRO applictions , How can i see
    ABAP Webdynpro Application ZAPPROV View V_GETLIST Method VALI_APP....and  BOR Object ZBUS2081 get_property approverlist changing container.....Can any one kindly let me know .
    Regards,
    Veera

    open transaction SE80
    in the repository browser, select Webdynpro component/interface in the dropdown.
    type the name of your webdynpro component and press enter.
    The component will open up, it will have the views, applications that you have created in this component....you can see them as it is required.
    On the left tree, there will be a node for VIEWS, open it and find your view V_GETLIST in it. The view wil open up on the right....there you can find the tab methods in the end (right most)....a list of methods will be displayed....double click on the method name and you will see the code

  • How to create an iview for ABAP Webdynpro Application in Portal?

    HI,
    I am Webdynpro Java webdynpro developer.
    I want to create an IVIEW for an ABAP Webdynpro application in the enterprise portal.

    The process is almost exactly the same as creating a Web Dynpro Java iView. You simply chose the ABAP instead of the Java radio button when you reach that step in the Web Dynpro iView creation process.  There is a video on the topic here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/eae111e7-0b01-0010-6cb7-e0dd2bfbfa7a
    You can also read about the process in the online help:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1d/e4a34273f60b31e10000000a1550b0/frameset.htm

  • How to use call transaction stmt from webdynpro application

    Hi Expers,
    Can I use call transaction 'tcode' in my webdynpro application, I have tried in my application but i am getting short dump saying
    Error analysis+
    An exception occurred that is explained in detail below.The exception, which is assigned to class'CX_SY_SEND_DYNPRO_NO_RECEIVER',  was not caught and therefore caused a runtime error. The reason for the exception is: During background processing, the system  attempted to send a screen to a user. Current screen: "SAPLMGMM " 0060.
    I haven't used any more statements in my application am sure from my application side everything perfect. but I have seen a screen shot
    with SAP screen in webbrowser.
    Please help me out if you are not clear abt my doubt please ask me for clear idea.
    Thanks in advance
    Phalani M

    Hello,
    Since you can't use the call transaction command in web dynpros components, I suggest you to create a report and fill a BDC table on this and use the call transaction in this report.
    So, in your web dynpro component you can use a command SUBMIT to create a job in background.
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards.

  • How to implement navigation control inside view controller project

    Hi,
    I am trying to implement an navigation control in a view controller project.
    I am unable to do that process.
    Can anyone please suggest me how to do this navigation flow which should be placed inside view controller.
    SRI.

    Hi,
    I am using Jdeveloper 11.1.1.4.0.
    To use the appModules methods, I am creating the service interface and then I am creating the webservice proxy into another view controller project and access the appModule methods.
    Now, I don't want to create the webservice proxy. I want to directly access the appModule methods.
    Thanks,
    Rohit.

  • How to implement fullscreen controls?

    Hi I've been struggeling to implement fullscreen controlls when using pure AS3. I want to show a non-streached playback controller in fullscreen mode. How can I do this using OSMF. Any code samples would be great.
    Vikram

    And thanks every one in advance for your kind help.
    Vikram

  • How 2 implement keyboard controls for 2 players simultaneusly in java game?

    I ' m making this fighting game . 2 players can fight at a time. I got my 2 characters on the screen at the same time. The 1st player should be controlled with Arrow keys and number key pad.
    The 2nd player should be controlled with Z for left C for RIGHT , S for UP( jump), X for duck. and then use BNM, GHJ and TYU to do the same as the number keys for the first player
    When i tried this , it worked if i performed moves from player 1 , then trie d player 2,, but i noticed when i pushed buttons at the same time ( i pushed one key from player 1 's side of the keyboard and one key from player 2's side) it did't work because no move was executed. And i know it's because i'm pushing 2 keys at once . so one character sees that i'm pushing 2 keys, but he doesn't know what to do cause i didn't make a case of pushing 2 keys that would move him and another character.
    So i have this in keyDown()
    //THIS IS FOR 1 PLAYER MODE : you against enemy
    switch( key){
    case Even.UP:
    if( player1 is michaelCharacter ){
    michaelCharacter.jump()
    else if( player1 is johnsonCharacter){
    johnsonCharacter.jump();
    break;
    etcc... all player 1 keys in this way, acconrding to which character he chose to play with
    //then i have this swich that supposedly is used if there is a second player
    if( gameType = 2Player mode ){
    switch( key ){
    case 's':
    if( player2 = michaelChacter)
    michaelCharacter.jump():
    if( player2 = johnsonCharacter)
    johnsoncharacter.jump();
    break;
    //etc
    So that works if each character does his move But there is no overlap of moves, that is you don't have player1 and player2 executing a move at the same time.
    well, how would i do it? Is it possible ?

    Hi,
    It's bit tricky to do check keyboard simultaneously...
    you need to check KeyPressed() and KeyReleased(), and do a "log key-event history" to find out what keys are still in pressed.
    alternatively,
    If you don't mind, you can use Fly game library...
    initialisation part:
    // initialisation & make game screen resolution to 800x600
    Game g = new Game();
    g.init(800,600,false);
    ...and then on your key trapping logic, just do a standard logic. I'm surely it will works:
    if (g.getKeyboard().isKeyPressed(KeyEvent.VK_UP)) {
    if (g.getKeyboard().isKeyPressed(KeyEvent.VK_DOWN)) {
    }the library can be downloaded here:
    [Fly Game Engine|http://fly.engine.googlepages.com]
    Just follow the tutorial / download example for more info....
    good luck

  • How to implement boolean control via network

    Hi,
    I am developing an application by using LabVIEW 8.2 and RealTime. There is a host PC connecting to a PXI
    through network cable. Application VIs are running at PXI and GUi is running at host PC. My problem is
    When I config a boolean control as "Latch when release" mechanism, pass it to a shared network variable
    and then to a boolean control at PXI. "Latch when release" mechanism seems not run very well. Most of the
    time, no action when I press the boolean control button in my GUI. It seems that shared network variable
    could not act as "Latch when release" mechanism. I checked some examples from NI. Most of examples set
    the boolean control button mechanism as "Switch when press" and manually switch it status later on. I have
    a bunch of such boolean control buttons in my GUI. It will be hard to handle every of them in this way.
    I'd like to know whether there is an easier solution for this.
    Thanks
    Jason

    Hi Jason,
    How are you passing the shared variable to the Boolean control in PXI VI?
    Here is something to try out.
    --Configure the Boolean controls on both systems to "latch until released".
    --Create the shared variable (network-published) on the host PC and wire the output of the Boolean control to it.
    --On the remote system, bind the Boolean control to the shared variable on the host PC. To bind to the shared variable, right click the Boolean control 
       and select properties. Then select the "Data Binding" tab in the property window. Set the "data Binding selection" option to "Shared Variable Engine
       (NI-PSP)" and browse for the path to the shared variable created on the host PC.
    --With this setting, whenever the Boolean control on the remote system (PXI) reads a true value, it stays true until the value is read by LabVIEW and
        goes back to the initial (false) state.
    Checkout the attached sample LabVIEW project.
    Tun
    Message Edited by Tunde A on 12-12-2006 05:27 PM
    Attachments:
    Boolean Shared Var.zip ‏18 KB

Maybe you are looking for

  • "Help" is not working.

    Followed the other suggestions of deleting the 2 help plist files, but Help is still blank. Just got iMovie 11 and would like to use Help. When I type something in the search box, it comes up with lots of things, but not anything to do with iMovie 11

  • T41P external Display

    My T41P is installed with Windows 7. I like to use an external Display (Samsung 2433BW) but it does not work. FN + F7 to switch between Monitor and external Display is not possible. Any ideas?

  • How to track stolen laptops with Serial Number?

    Hi friends, my laptop is stolen two weeks back from my home. Serial No. CBxxxxxxxx Plz give me a suggetion to track that laptop. Moderator Note; s/n edited Solved! Go to Solution.

  • Importing an image from photoshop into FCP7

    Hello I have some images in photoshop that I need to bring into FCP7...I need them to look transparent so the image (video) can be seen. The images are coffee stains .I need to know how I import them. Any help would be great. I have imported images b

  • OBIEE 10g

    Hello, I have created the ibot reports with filter and this will send to the user through the mail daily. But my problem is, the user cannot view the filter that i have set. The user can only view the report. Can any one help me out on how to visible