Getting Pernr for WebDynpro ABAP application

I am building a new WebDynpro ABAP application and I want to be able to get the PERNR for the user logged into the portal and this application.
I have read some information on this forum about getting the URL or application parameters in order to get the userid or similiar parameters and to handle this within the Window in the HANDLEDEFAULT method of a WebDynpro ABAP application.
I have looked into this and I don't think pulling information from the application parameters will work.  For example, I checked one of our current services for "Personal Data"  and when I go to the portal content administration,  application parameters, I don't see any reference to userid..etc.  I see Property ID, Property Category, Inheritance, End-User Personalization, and Property Description.  In addition, I do not see any information from the URL itself that I could use. 
Here is the scenario.  The user logs into the portal using the 3 character Network id which in turn, I assume, gets their SAP userid and PERNR in order to retrieve all the HR infotype information for each service.  By the way, the service I mentioned above, "Personal Data", is written in JAVA, so I am not able to see how this particular service works or handles getting the userid and PERNR.
Has anyone come across this scenario before and how was it handled in terms of getting the userid and PERNR?

I was thinking that SY-UNAME would be available, but was not sure.  For some reason, I was thinking I was going to have to pass something from the applicaton parameters or some other method to my WebDynpro ABAP program..
I am not the portal administrator so I have not yet added my WebDynpro ABAP program to the portal yet.  Once, it's added, I will check out the availablility of sy-uname.
Thanks.

Similar Messages

  • Iview for Webdynpro ABAP application with TimedTrigger

    Hello,
    I created an IView  for a WebDynpro  ABAP  application. This application uses a UI element TimedTrigger. Without portal integration this TimedTrigger works fine. Inside an IView  this TimedTrigger element does not work anymore. Did anyone have a similar problem? Does anyone have a solution for this?
    Thanks and regards
    Marc

    hi,
    Go through this link
    [****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
    Hope it will help you.
    Regards,
    Rohit

  • Personalization data for WebDynpro ABAP application ?

    Dear Experts,
    We can personalize WebDYnpro ABAP application via right click , show hide buttons , columns etc.
    Where is this personalization data stored or how can it be retrieved assuming my application is executing outside the  portal ?
    Greetings
    Prashant

    Hi Prashant,
    it is stored in the ABAP system - not the portal, so no issues about running outside the portal.
    This is different to WDJ pagebuilder configuration/personalisation - which is stored in the portal!
    you can see some of the personalisation framework that is used for things like storing POWL user preferences etc in the backend via the IMG path
    Cross-Application Components --> General Application Functions --> Generic SAP Business Suite Functions --> Personalization (sic) .
    Hope this helps you,
    Chris

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • Apply custom themes to WebDynpro ABAP application in Portal

    Hi,
    We have just upgraded the E-Recruitment to EHP4. We have two instances of ECC in which one acts as HR instance and the other one for E-Recruitmet. We have created custom themes for portal and need to apply the same for the WebDynpro ABAP applications for E-REcruitment. I have downloaded the theme and from portal and uploaded the same in MIME folder using SE80 transaction. I have also added the parameter sap-cssurl=/sap/public/themes/<my custom theme folder name>.
    Also tried giving the url in application parameter as
    SAP-EP-THEMEROOT=http://<hostname>/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/<custom theme>
    Is there any other way to apply themes for WD ABAP applications. I dont want to customize the standard applications and just want to apply the themes.
    Any suggession on this is highly appreciated.
    Kind Regards,
    Vivek.

    Hi,
    to create theme for webdynpro abap application, use Eclipse Plugin.  Please remeber to check the version of theme file before using theme.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d5ef40-465e-2c10-9ca9-f548bfc3f236
    setup custom theme for webdynpro abap application.
    FEATURED EVENTS
    Regards
    Baby

  • Popup for transport request in WebDynpro ABAP application

    Hi there,
    which function module can I use to prompt the user for the transport request in an WebDynpro ABAP application.
    In SAPGUI I found 'TR_ORDER_CHOICE_CORRECTION' to do this but I get a short dump when I call this one from a WebDynpro ABAP application ...
    Many thanks in advance!
    Regards,
    Steffen

    Thanks for your replay!
    The reason I get the short dump is the function modules I found call a dynpro screen inside for prompting for the request. I am not surprised this does not work for WebDynpro applications ....
    So I thought there is a generic function module for WebDynpro applications available or a WebDynpro component I can use for this ... Sure I could build it by myself but this does not seem to be the right way for me since this requirement seems to be of a generic nature.
    @Gaurav: I am interested to bring up a generic popup for prompting for the request. So I cannot use the flags to suppress the screen ...
    Best regards,
    Steffen

  • How to Pass personal number(pernr) to the ESS Webdynpro ABAP Application

    Hi,
    How to pass personal number of employee to the standard ESS webdynpro ABAP application as application parameter of iview.
    Thanks
    Srikanth

    Hi
    For WebDynpro application in iView there is a property to set Parameter for WebDynpro application.
    Handel these passed parameters in Default plug of Interface Controller.
    Note string passed as parameter in iview is case sensitive.
    Try this code to get URl of Deployed application
    String appURL = null;
    try {
         WDDeployableObjectPart currentAppPart =wdThis
                                  .wdGetAPI()
                                  .getComponent()
                                  .getApplication()
                                  .getDeployableObjectPart();
    appURL = WDURLGenerator.getApplicationURL(currentAppPart);
    } catch (final WDURLException ex) {
    wdComponentAPI.getMessageManager().reportException(
                             new WDNonFatalException(ex),
                             false);
    Mandeep Virk

  • Webdynpro abap application for HCM

    Dear all,
    In enterprise portal->Content Administration->PortalContent->Content provided by SAP->line_manager->Manager Self-Service->iviews->HCM-> there is a PCR application by name "personnel change request". this is a webdynpro java application.
    I have installed latest business package of ESS/MSS. so there should be both dynpro java and dynpro abap application. kindly tell me that for the personnel change request PCR application in which package can i find the wendynpro abap application.
    Regards,
    Bharath

    Dear Bharath,
    I am no expert on the topic but i can definitely answer your last question.
    Yes, Webdynpro ABAP applications are available in the latest versions.I have seen this in ECC Enhancement Package 3 (ECC 603).
    I can't really tell you much abt PCRs but the Requisition forms(SRQ3) in 603 are based on WDA application.If interested you can check the Recruitment work center in MSS.
    Also, please ensure that the relevant Business Function/Services are activated when using the enhancement packages to see the relevant functionalities.
    I think you need to activate the HCM administrative services BF available as of 602 . This definitely uses webdynpro ABAP applications in the portal.
    Regards,
    Sowmya
    Edited by: Sowmya Kadambi on Dec 23, 2008 3:23 PM

  • When m testing webdynpro abap application m getting this error  help me to get solution

    hi all,
    when m testing webdynpro abap application m getting this error  help me to get solution.
    plz find the screen shot

    Hi
    I think you are using the IDES system, Can you check the services in SICF transaction. If the service is not activated you activate it again.
    In this path you will find  in the below path and try to check/activate the services relevant to the WDA stack.
    sap/bc/webdynpro/sap

  • Webdynpro ABAP application for specific Country

    Hello Consultants
    We have developed a custom Webdynpro ABAP application and the service is working alright.
    The probelm is that this service is to be enabled only for one Country i.e. India and this should not be visible for other country users.
    I have created resource, service and country-specific service for this application and linked the country-specific service to India. Even after doing this am not able to stop  the availability of  this service other countries.
    Shall be thankful for an immediate response.
    S. Chandrasekaran

    Dear Bharath,
    I am no expert on the topic but i can definitely answer your last question.
    Yes, Webdynpro ABAP applications are available in the latest versions.I have seen this in ECC Enhancement Package 3 (ECC 603).
    I can't really tell you much abt PCRs but the Requisition forms(SRQ3) in 603 are based on WDA application.If interested you can check the Recruitment work center in MSS.
    Also, please ensure that the relevant Business Function/Services are activated when using the enhancement packages to see the relevant functionalities.
    I think you need to activate the HCM administrative services BF available as of 602 . This definitely uses webdynpro ABAP applications in the portal.
    Regards,
    Sowmya
    Edited by: Sowmya Kadambi on Dec 23, 2008 3:23 PM

  • FPM Navigation - asking for Log on when calling WebDynpro ABAP Application

    Hi Experts,
    I want to call a Non FPM based WebDynpro ABAP Application from a FPM Component.
    I have followed the method showed in the following thread by Rajkumar to call WebDynpro Application using URL.
    [Launch transaction without launchpad|Re: Launch transaction without launchpad]
    I could successfully call my WebDynpro ABAP application using this approach,
    However when the application opens in new Browser , it asks for log on again.
    Can anyone help me to avoid this log in screen.
    P.S. --> Both the applications are in the same server.
    Regards,
    Ashish Shah

    Hi Ashish ,
    I am also facing the same problem , did you find any solution ?
    Thank You,
    Aman

  • DMS Document not getting created thru Webdynpro ABAP Strange Problem

    Dear all,
    My requirement is that I have a Webdynpro ABAP application sitting on SAP Server1 and I am having a FileUploadUI Element in there for uploading files and we have SAP Server2 with the DMS configured. So, what we have done is we have an RFC in SAP Server2 and we are calling it from our webdynpro ABAP application sitting on SAP Server1. And we are calling BAPI_Create2 with all the necessary parameters in this RFC to create the DMS document with the file from webdynpro ABAP application. But its not working. I am passing the Presentation Server File Path of the File to the BAPI_create2.Even if I write the file to the application server of SAP Server2 and then pass this file path to the BAPI_Create2 then also it doesn't work but when I execute this RFC locally in the SAP Server2 with the presentation server file path It executes successfully.
    I don't know what I am missing.
    Please help.
    Thanks and regards,
    --Sonal

    Dear Thomas,
    Suppose I have got the file copied to the application server in SAP Server2 using datasets from WDA in SAP server1.
    Now I have an RFC say ZFILE_UPLOAD in SAP Server2 for which we have made an SAP ABAP RFC Connection from SAP Server1. In this RFC I am calling BAPI_create2 using the application server filepath(of SAP Server2) in docfile parameter along with ur suggested destination then also it doesn't work. Gives an error that "error in storing and checking file" i.e. Error 253.
    One more query how to handle the file upload of different file types say I am uploading a pdf file from my webdynpro abap application in SAP server1. Then I get the xstring and pass it to ZFILE_UPLOAD and convert it into binary and write it there in SAP Server2 using datasets. Is it possible to upload any kind of file and then creating the DMS document out of it?
    and how to call this RFC?
    Thanksn and regards,
    --Sonal

  • Error in webdynpro(ABAP) application development

    Hi,
           I am very new in webdynpro (ABAP) application development. I want to create some application based on webdynpro ABAP for few Z- Report. What is the prerequisite to develop a application based  on webdynpro( ABAP ) .Because when I am trying to create application in se80 and giving the related functional model name in wedynpro component field , I am getting the error like Web Dynpro Comp./Intf. ZOS_xxx_FM does not exist. How to proceed further?
    Thanks,
    Kundan

    Hi,
    Can you be more clear...
    Please refer this link  for Personalization-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/719f42f2ff7e5fe10000000a155106/content.htm
    Regards,
    Lekha.

  • Webdynpro ABAP application on MSS Overview screen

    Hi Guru's,
    We are having a customized Overview screen in MSS which is all Webdynpro Java application.I am trying to add Webdynpro ABAP custom application link on the overview page.I created a IVEW ,then PAGE, assigned to Workset and then to role .
    Copied the PCD location and assigned in the Resources of Homepage framework.
    When I do preview it is fine but when I run it through Overview..I am getting 404 page error.
    Again its webdynpro ABAP application in the Overview page..What are the steps for it ..I created Area,Subarea ,Services and assigned Resources which has the PCD location with ROLES:// ...
    Also in Services I mentioned it as WEBDYNPRO ABAP application.
    Please suggest me ay steps I may be missing.
    Thanks,
    ST

    Also I was comparing the links through HTTP WATCH that was trying to read:
    The first one is from direct page assignment under ROLE in Portal:
    http://DEV SYSTEM/sap/bc/webdynpro/SAP/zhr_associate_form/;sap-ext-sid=bNrjr3FDhSA9HxracqUNhQ9H0Rpx1m12qVv5aAWcHbEw
    The Second one is referred under overview from Homepage Framework:
    http://DEV SYSTEM/sap/bc/webdynpro/sap.com/pcui_gp~xssutils/XssMenuArea/;sap-ext-sid=bNrjr3FDhSA9HxracqUNhQE37DBLWEEK_COBmuSIHeeA
    I am for sure missing something ..can you please suggest.
    Thanks,
    ST

  • F4 help issue with Webdynpro ABAP application

    Hi,
    I am facing a strange issue with the F4 help in my webdynpro abap application.
    I have few fields for Purchase Order and Line item on the screen and they have corresponding F4 helps associated with them.
    When i select for F4 help, sometimes the screen simply blanks out and a white screen is displayed. When i refresh the screen and try the same scenario again, i can see the value list correctly.
    This issue occurs very randomly with no specific pattern. If anyone else has faced this issue earlier, kindly let me know how to get rid of this issue.
    Any pointers to resolve this issue will be helpful.
    Note: I am using SAP version 702 SP09.
    Thanks,
    Ramanath

    Hi,
    we cannot help you from offline, you need to check the standard procedures like
    SICF->is your application node is active.
    FQDN->check fully qualified name is configured
    You can also try to execute standard SAP application, if sap application also has problem running then you may have to get the help of BASiS people to look into that and raise a support ticket.
    If sap applications are running and your custom developed applications are not running then look into this application if there is any URL parameters need to supply etc.

Maybe you are looking for

  • Case-insensitive -- what's a scriptor to do?

    Here's my delima: (from a tcsh) % ls file1.txt file2.TXT file3.txt % ls file{1,2,3}.TXT file1.TXT file2.TXT file3.TXT % ls *.TXT file2.TXT % rm *.txt I've written hundreds of unix (csh,tcsh, perl) scripts since around 1988. I never considered that so

  • SharePoint 2013 Community Site Discussion List Custom View Issue

    I need to create a custom view to show the discussions updated in the past 7 days and ordered by most replies.  I have created a custom view based on the subject view and included the following columns: Body Category Last Updated Modified By Replies

  • N8 Anna browser differences / issues?

    A couple of things I've noticed since the Anna upgrade, WRT the browser. 1. When entering text in text windows for some forum posts (it actually works correctly on this forum, but on others I read / post to) the newline button doesn't add a line brea

  • Mode in java

    Hello, I am new to java and have a school project that im working on i have to do maximum, minimum, avg, mode and standard Deviation.. I have max, min, and avg, can anyone help me with how to get the mode? here is what i got so far. import java.io.*;

  • Highlight Hot and Cold toggle turns entire Image RED!

    Hi, I'm curious if anyone has a solution to this issue. I'm using Aperture 2.1.3 on a Macbook Pro running OS Version 10.5.7. I shoot Nikon RAW files and a while back when I hit the ever helpful Option-shift-H (to toggle the Highlight Hot and Cold fea