Reg: Login to Web Dynpro

Hi All,
Need some help. In my requirement i need to know the User Name who has logged into SAP ABAP WEBDYNPRO.
I mean i don't need the SAP Logon Details like generally we get them when we use SY-UNAME.
Please Provide me Portal Login Details. Any code or setting's related to it. Let me know is this possible.
Thanks,
Sandy.

Hi Sandy,
You can get the portal logon details in your Web dynpro Application by passing application parameters from portal iView. check my article, [How to integrate WDA in portal and Capture Portal Log on details|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008fc414-997f-2e10-3899-fd895ec8eb5e]
Hope this helps u.,
Thanks & Regards,
Kiran.

Similar Messages

  • How to Login to Web Dynpro developer studio in real time scenario.

    Hi,
    1. How to Login to Web Dynpro developer studio in real time scenario.
    Do we have login pad and User id to enter developer studio.
    Is the user id for login maintained in UME of J2EE engine.
    2. How to stop and start j2ee engine in real time. Is it same SAP Management console is used like in Demo version.
    3. If I use central server, Do I have to install GUI like SAP R/3 GUI to Develop, test and deploy my application.
    Cheers,
    Sam

    Hi,
    What do you mean with real time scenario? Do you talk about runtime?
    NetWeaver Developer Studio (NWDS) is only for design time and you install it on the local PC/laptop of the developer. The 'connection' between NWDS and engine is specified in the preferences (Window->Preferences->SAP J2EE engine) of NWDS. The development track is in 'real life' (e.g. if the engine is a remote one) connected with support from SLD (System Landscape Directory) which is a tool for managing the NWDI (NetWeaver Development Infrastructure). In normal case, there are so-called 'development configurations' that can be imported into NWDS (Window->Preferences->Java Development Infrastructure).
    For starting and stopping the engine, there are several possibilities: SAP MMC, view in NWDS or console.
    If you've a central server, you connect your NWDS to this central server and then you can deploy to this central server.
    Regards,
      Jan

  • Reg : adobe in web dynpro

    hi ,
    I am working on Adobe Online Interactive Form using webdynpro for ABAP.
    Steps followed for development:
    In WD I have created a service call and added the bapi   to create  sale order.
    Mapped the context from component controller to view controller.
    From the view layout, I have configured the UI element properties.(data source, pdf source, onsubmit,templatesource etc.)
    Inside the interactive form (ZCI type), I have binded all my UI element with the context elements that is displyed in data view.
    and then
    went to the layout of adobe form, in the menu Utilities->Insert web dynpro script.
    i have a button in my view.
    I put a break-point on the action handler method.
    when i enter the data on adobe form and click the button on vuew...it is not going into debigging mode.
    it is saying WAIT...and thats it,
    can any one help plz.
    regards
    Arjun

    Hi,
    Check out these links-
    https://www.sdn.sap.com/irj/sdn/adobe
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
    Regards
    Lekha

  • Reg: Workflow in Web Dynpro ABAP

    Dear Experts,
    Im new to Workflow. I need some guidance in sending a smartform for approval to next level approver's workflow inbox, im using web dynpro abap when i click on approve button in web dynpro abap the smartform should move to next level approver inbox.
    Regards
    Arun.P

    Hi Arun,
    Here rather than using smart form, make use of INteractive adobe form.
    This will disaply the required fileds of your amartform as well as buttons to approve o reject.
    Do a little search on SDN and you will get plenty of examples to use adobe forms in web dynpro.
    Once you have designed the adobe form, you can make use of SAP_WAPI* function modules to transfer data to workflow.
    Hope this helps.
    Regards,
    Sangvir Singh

  • Reg:Locking in Web Dynpro for JAVA.

    Hi All,
    When a user logged in the front end i am calling the lock function module(based on this locking mechanism is working) and when a user logged out i am calling the unlock function module(now the locked mechanism is getting unlocked).
    now my problem is when a user closes the window abruptly without loging out,the unloeck mechanism should work at that particular instance.Please suggest me if this is possible or not in web dynpro for java.  
    Thanks,
    Mahesh Nuli.

    Hi,
    I will give you two different solutions, use whatever you think fits best for you.
    First One:
    Whenever you call your "LOCK" function module, do not disconnect the ModelInstance. Create a Locking method in Java which returns a "com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable" instance. It should look like this:
    InputClass inputInstance..
    node.bind(inputInstance);
    inputInstance.execute();
    if fails, return null;
    otherwise, return your inputInstance;
    Keep this inputInstance into some Context Attribute. Whenever you wanna "Unlock", you can disconnect this input from the backend system.
    InputClass inputInstance = wdContext.getInputInstance();
    inputInstance.modelInstance().disconnectIfAlive();
    This will work for all the cases you are currently having problem. However, this solution holds one connection.
    Second One:
    Assuming your transaction runs in one View, you can set this View lifecyle to "when_visible" - Doing that, whenever you navigate "away" from this View the method wdDoExit of that ViewController will be executed.
    In this appoach, you dont need to store any "InputClass" - You can perform your Lock and disconnect from the backend. In your wdDoExit method you can code a "Disconnect If Connected" method.
    Use whatever fits best.
    Regards,
    Daniel

  • Reg : JA310 : Java Web Dynpro Release 640

    Hello All,
              I'm following the SAP's JA310 Java Web Dynpro Release 640 Documentation as part of my learning.
    In this Documentation I found some examples in which it says to open an already existing project with a pre-defined structure.
    I guess SAP may have provided some CD with solutions of the Exercises along with this documentation .
    I don't have that CD.
    If any of u guys have this then I request you to send the content of that CD to my Personnel mail id : <b>[email protected]</b>.
    Thanks in advance for ur understanding.
    Regards,
    Deepu.K

    Hi,
    there is no solution CD for the JA310 course.
    The mentioned "open an already existing project" describes the process
    of importing the project while sitting in the class, having access to
    the WTS-infrastructure of SAP during the course.
    Regards,
    Michael

  • Very Urgent!!!! Reg Tables in Web Dynpros

    Hi all,
    The following is my requirement.
    I need to display values in my table on the view. But based on the Field content in one perticular column i need to make that entire row editable/in editable.
    Say I have a column Status in my Table.
    If the status field content for a given row is 'In progress' then that row should be made Editable and all other rows with status other than 'In Progress' should be made Ineditable.
    Please Revert back ASAP.
    Thanks
    Sravan.

    No, do not use wdDoModifyView().
    You could add a calculated boolean attribute "ReadOnly" under the data source node "Rows", and (assuming the table cell editor is an InputField) bind the "readOnly" property of the input field to this attribute.
    In the generated getter for the calculated attribute, you would write something like
    boolean getRowsReadOnly(IWDNodeElement element)
      //@@begin ...
      IRowsElement row = (IRowsElement) element;
      return row.getState() != State.IN_PROGRESS;
      //@@end
    Armin

  • Can Write Full business logic in web Dynpro ?

    Hi All
           We are developing many Iviews with WebDynpro and
           same time where we need to write the pure business logic ?
           Can we write in Web Dynpro ? Any issues on this ?
    Any one can help me on this pl
    regards
    rakesh

    At a purely technical level, then you can of course write business login in Web Dynpro - after all, it is still just Java (or ABAP). The real question here is whether that is a good idea.
    I think that Web Dynpro works best as a presentation and application-flow framework - actual business logic is best implemented in another layer. This can be done in EJBs in Java, but in most SAP landscapes my experience is that the business logic layer is best implemented in ABAP, since the ABAP back-end is most naturally the place where all business logic exists. Of course, if you only have Java developers and you are using Java Web Dynpro, then an EJB-based business logic layer may be more comfortable to implement.
    Hope this helps,
    Darren
    <a href="http://www.fortybeans.com/">blog</a>

  • How to Logon to Web Dynpro developer studio in real time scenario.

    Hi,
         1. How to Login to Web Dynpro developer studio in real time scenario.
             Do we have login pad and User id to enter developer studio.
             Is the user id for login maintained in UME of J2EE engine.
         2.  How to stop and start j2ee engine in real time. Is it same SAP Management console  is used like in Demo version.
         3. If I use central server, Do I have to install GUI like SAP R/3 GUI to test and deploy my application.
    Cheers,
    Sam

    Hi,
    What do you mean with real time scenario? Do you talk about runtime?
    NetWeaver Developer Studio (NWDS) is only for design time and you install it on the local PC/laptop of the developer. The 'connection' between NWDS and engine is specified in the preferences (Window->Preferences->SAP J2EE engine) of NWDS. The development track is in 'real life' (e.g. if the engine is a remote one) connected with support from SLD (System Landscape Directory) which is a tool for managing the NWDI (NetWeaver Development Infrastructure). In normal case, there are so-called 'development configurations' that can be imported into NWDS (Window->Preferences->Java Development Infrastructure).
    For starting and stopping the engine, there are several possibilities: SAP MMC, view in NWDS or console.
    If you've a central server, you connect your NWDS to this central server and then you can deploy to this central server.
    Regards,
      Jan

  • Assigning a login module to a Web Dynpro application

    Hi everybody,
    I would like a Web Dynpro application to use a custom login module for authentication. How can I do this?
    What I found is the Security Provider (in the Visual Administrator tool) where I can add a login module to the "form" authentication mechanism for example. But if I do this I think all applications using this mechanism have to use my custom login module, right?
    I wonder if I have to add my Web Dynpro application as a component to the Security Provider so that I can assign login modules to it. Am I on the right way? If yes, how can I do this? If I choose "Add" from the "Policy Configurations" tab a popup appears where I can enter the name for a new component. How do I specify my application there?
    Thanks in advance for all answers,
    Torben

    Hi,
    Web Dynpro applications use the ticket authentication template. U wud need to add your login module to the ticket template's login stack.
    Incase you are accessing the Web Dynpro applications thru the EP u wud need to make changes to the authschemes.xml file too.
    regards,
    Vishal

  • How to enforce a login screen when running a Web Dynpro app?

    Hello,
    In Web Dynpro for Java there is a way to set authentication property to true and by that enforcing a login screen in case someone is browsing this application outside of an authenticated context (for example, the portal).
    My question is: How do I do this for Web Dynpro for ABAP?

    Roy, are you familiar with that http://help.sap.com/saphelp_nw04s/helpdata/en/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm ?

  • Restrict simultaneous login to a web dynpro application by the same user

    I have a stand alone web dynpro application and used the sap.authentication for user to login into the application. How can i restrict a user from accessing the application from two different browsers using the same userid?

    Hi,
       You can try the following approach:
    1. Create an outbound plug to some dummy view which shows the message to the user that he/she is already logged in. Let's call this plug "ToMessageView".
    2. In the "wdDoInit" method of the component controller write the following code:
    String loggedInUserID = WDClientUser.getLoggedInClientUser().getClientUserID();
    String[] apps = WDServerState.getActualApplications(loggedInUserID);
    //All entries of apps will look like <application-name>/<application-id>
    boolean isRunningParallely = false;
    for (String app : apps) {
         if(app.split("/")[0].equals(wdComponentAPI.getApplication().getName())){
              isRunningParallely = true;
              break;
    if(isRunningParallely)
    //fire the plug to message view here
    FYI, I haven't tested this but do try it out.
    Regards,
    Satyajit

  • Use ZBEX Anonymous Login Service in BIApplicationFrame in ABAP Web Dynpro

    Hello,
    We created a ZBEX Service as an alias of the BEX Service as per SAP OSS Note 516884 to allow users to anonymously access BW reports.
    Now we want to embed the BI Web Application in an ABAP Webdynpro as a BIApplicationFrame.
    Note that the ABAP Web Dynpro is on the SAP R/3 ERP side while BI is a separate BW instance.
    The problem we are facing is the standard BIApplicationFrame element uses the SAP standard BEX service when it forms the URL and we do not seem to have a way to make it use the ZBEX Anonymous login service. Hence it always asks for the logon screen defeating our purpose.
    Has anybody done been able to make the BIApplicationFrame use ZBEX service and if yes, what is the solution to this problem?
    Thanks and regards,
    Atul Kulkarni

    Hi Ankur,
    Someone will somewhere call the EJB (not: "Java Bean"!). As an EJB isn't part of a request/response cycle but mainly thought for business logic, it is of course the task of the calling component to deliver the user (his logonID for example) to the EJB.  There is not other way!
    Hope it helps
    Detlev

  • Login screen in web dynpro

    How to develop a log in screen in web dynpro. Can anyone guide me to any documentation on this.

    hi Satish,
             I believe there are no documents specifically for Log in screen. Capture the login details from the user through a webdynpro screen and authenticate it by refering to a database table in the R/3 back-end through an RFC. I hope this will help you.
             But if you can tell your requirement more specifically then it will be helpful.
    Regards,
    Jaydeep

  • Call web dynpro abap application at login

    Hello!
    I have a requirement to call an abap web dynpro application at Login.
    When this web dynpro page is called I want it to be the top page, i.e the roles, masthead, etc should not be visible for user to have access.
    Any sugesstions?

    Dale Hewison wrote:
    End of days play, this is what I was able to achieve.
    Realised the masthead jsp is the best place to call my abap web dynpro as it is just after the login and at the load of default framework page.
    I was able to call my abap web dynpro and on success, I am calling the homepage role.
    What I have done in the jsp is written an if else statement:
    1) If it is the first call to the jsp call my abap web dynpro in navigation mode 3. This ensures the roles are not visible and the redirection works before the page loads.
    2) Else load the framework page as usual.
    The only issue I have at this point is, I cannot depend on the first visit of the user.
    I need to know in the jsp where the call to jsp is coming from, if it is coming from login page, i will direct the user to WDA else if the call is from my WDA, the normal load should work.
    It would be ideal if my abap web dynpro could write something in the http header which the jsp could read as success. Still close but dont have the solution working yet
    Thanks again for your time.
    Regards,
    Dale
    Hi Dale,
    I am trying to implement something similar and I cannot find the place in the masthead where you put your custom code, to call your Web dynpro instead of the framework. Can you expand on your solution? I am looking in HeaderiView.jsp. Also if you can tell me how you figured out where the call to masthead is coming from?
    Thanks

Maybe you are looking for