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

Similar Messages

  • How to create  personal number

    Hello everybody  ,
    please tell  how to create  personal  number in  Tcode :-  PA40  please mention the steps

    hi sandeep,
    do the followings
    1.) go to PA40 check the customization ,,,if exists...then personal no will automatically be generated.
    2.)otherwise....go to PA40 ..it will have some screens ...fill the mandatory fields.....save it and personel no. will automatically geanerated
    thnxs n regards
    sachin
    njoy life

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How to pass arguments from PAPI to the process

    Can any one tell me How to pass arguments from PAPI to the process.

    The link Creating a new work item instance in a process using PAPI shows how to create instances on PAPI and pass in the variable information as they are being created.
    Provide some additional detail if you're interested in seeing how to pass in variable information using PAPI for scenarios other than instance creation.
    Dan

  • How to Call the RFC in Webdynpro abap application

    Dear Experts,
    Good Evening to all...
    I have to add two numbers using RFC in webdynpro abap application. If we give the numbers in the input screen then the RFC should add it and give it in the output screen. This is the application for that I have created the RFC.
    But the problem is i don't know how to call the RFC in that Webdynpro abap application and how to link the input view and output view with that RFC...? I am new to Webdynpro abap. Please kindly help me on this... I am struggled here... I need your help in this....
    Thank You.

    Hi Jaga,
    You asked the same question again.
    Without closing the [previous one|Re: Where SAP store the uploaded files?].
    I think Abhi has answered your question.
    If not please elaborate on the problem.
    The solution btw is to create a Service Call.
    Sumit

  • How to deploy the  webdynpro ABAP application  in Portal

    Hi,
        Can someone provide me, all the steps involved to deploy the  webdynpro ABAP application  in Portal.
    Thanks,
    Kundan

    Hi Kundan,
    First create a WD abap component and then you have to integrate in the portal.
    Refer this article [Integrate a Web Dynpro Application into the SAP Enterprise Portal|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/7bfea990-0201-0010-44a7-84a74971b795&overridelayout=true].
    I hope it helps.
    Regards
    Arjun
    Edited by: Arjun Thakur on Sep 22, 2009 2:20 PM

  • 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.

  • How to use traffic lights concept in alv in webdynpro abap

    Hai ,
              How to use traffic lights concept for alv in webdynpro abap. If possible give me some code.

    Hi Ravi,
    You can create ICON  to get traffic light.
    Go through this step by step.. in this example
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true
    Please go through this...
    Re: Display ICON in the ALV table column
    Re: Image in ALV
    cheers,
    Kris.

  • How to exit from a WebDynpro ABAP application and open another url

    Hi Friends,
    How to exit from a WebDynpro ABAP application and open another url like (www.yahoo.com) in the same window of the WD4 application on click of a Button?
    Regards,
    Xavier

    Hi,
    First of all you should create outbound plug in the window you are trying to exit with plufg type "Exit"
    Then create method handler in the view with this code
            data lo_view_cntr type ref to if_wd_view_controller.
            data lo_win_cntr type ref to if_wd_window_controller.
            data: l_parameter_list type wdr_event_parameter_list,
                  l_parameter type wdr_event_parameter,
                  l_val type ref to data,
                  l_val_url type REF TO data.
            field-symbols: <fs> type any,
                           <fs_url> type any.
            lo_view_cntr  = wd_this->wd_get_api( ).
            lo_win_cntr = lo_view_cntr->get_embedding_window_ctlr( ).
            CREATE DATA l_val type c.
            CREATE DATA l_val_url type string.
            ASSIGN l_val->* to <fs>.
            ASSIGN l_val_url->* to <fs_url>.
            <fs> = 'X'.
            <fs_url> = 'http://your-link.com'.     
            l_parameter-name = 'URL'.
            l_parameter-value = l_val_url.
            INSERT l_parameter INTO TABLE l_parameter_list.
            lo_win_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name = 'EXIT_PLUG'
                                                                    parameters = l_parameter_list ).
          You can easily change this logic to exit application instead of redirecting to the site
           just changing to
           l_parameter-name = 'CLOSE_WINDOW'.

  • How to access SQL tables from WebDynPro ABAP application ?

    Hi,
    I am trying a scenario, where I need to send an user ID to SQL server table (update/modify/delete) from webDynpro ABAP application.
    Basically ,I am trying to know:---
    a>How to write a SQL Connection from ABAP code within webdynpro ABAP application
    b>What are the ways to do it.(by code or any other API/mechanism)
    I appreciate if anybody knows this.
    Thanks
    Praveen

    Hi,
    The EXEC CONNECT ... is usually used in the procedural ABAP code. For this you can refer to the ABAPDOCU.
    I dont have any sample code on the classes I listed try to check out them for the parameters and the methods they have.
    In WD for Java, we have these connection classes to connect to any databsae server.
    Or try to create an RFC with DESTINATION for this
    Pls check out this link for this -
    Pull data from another r3 server using abap dynpro
    Regards
    Lekha

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • How to Integrate HCM Process with Webdynpro ABAP Application

    hi,
    I have issue regarding how to integrate HCM Process with Webdynpro abap application.
    I had created one HCM process for transfer using Hrasr_dt T code and also created form scenario and work flow.
    How to Integrate HCM Process with Webdynpro ABAP Application
    by
    Parthasarathi

    hi suhasini,
    Thanks for your reply,
    Can u explain in detail.. and Give any documents or links...
    by
    Parthasarathi

  • Personal number problem in the  Custom HCM Process

    We developed custom ESS-MSS application using Webdynpro ABAP and SAP HCM is backend for employees,Managers and HR data.
    User A has custom ess role and standard ess(Webdynpro java ESS-MSS business package)
    First time in the Custom ess role Employee(User A) try to change the personal information it is giving error
    "Process Zxxx only useful if personnel number is specified"
    If the Same Employee(User A) clicks the Standard ESS role and Come back to the custom ESS role and try to change the Employee
    information the HCM process is working
    After Clicking Std ESS role and Come back to the Custom ESS role the error does not exist.
    else,
    "Process Zxxx only useful if personnel number is specified" .
    how the pernr details of the employee is getting populated to memory variable  ESS01
    Can you please help me how to solve the problem.

    Hi,
    Thanks for your reply
    We have mapped the user for the employee at PA30 trans through communication info 105 and sub 0001
    The iview,  does not give any error
    if we execute
    1.Standard Employee self service
    2.then running our custom role and hence custom iview
    In the appintegrated iview, we are calling asr_process_execute (WD ABAP standard application) with the parameter
    Process=Zxxx&GET_PERNR=X&PERNR_MEM_ID=ESS01
    We found thatthere was an entry for this user at table "indx" when we execute Standard Employee self service.
    Also,
    If the table "INDX" has an entry for the user, then our custom iview runs with out any error, since the value for the
    MEMID= ESS01 exists.
    Apart from mapping the user through comm info type 105, what we shoud do to have an entry for this user at table "INDX"
    Please give suggestion
    please help me
    Thanks

  • Printing Personal number (PERNR) IN FOUR COLUMNS USING SMARTFORM

    <<Mobile phone number removed - Read the Rules of Engagement>>
    Hai Friends,
    I have a problem with SMART FORM .
    I tried to print PERNR Number of PA00002. I Need only one varible its printing fine. its printing  15 personal numbers per page.
    my requirement is , it should  print 60 personal numbers on a page.
    i am giving sample here.now its print like bellow.
    20001
    20002
    20015 after 15 rows its going to next page. but i want like bellow
    20001            20016           20031        20046
    20002            20017           20032        20047
    20015            20030           20045        20069
                      OR
    20001               20002       20003         20004
    20005               20006      20007         20008
    20009               20010       20011        
    Please let me know if any one knows this scenario. i am thankful to you.
    Thanks and Regards,
    BALU
    <<Mobile phone number removed - Read the Rules of Engagement>>
    Edited by: Matt on Nov 20, 2008 9:34 AM

    Hai Karthik,
    Thanks alot for your quick reply. i tried with your logic. its working for 4 numbers and mulitple of 4. if i give 20001 to 20004 or 20008 or 20012 in selection screen its working fine.
    if i gave 20001 to 20003. its not printing. if i give 20001 to 20010, its printing till 20008 not printing 20009 and 20010.
    i am sedning the code. pls can you tell me where is mistake. i am appending itab2 at last column.i think thats why its comming like this.but if i append after end of 4 th column its print only first column and remaining values are zero.
    REPORT ZPPEMP_NUMBERS.
    TABLES: PA0002.
    SELECT-OPTIONS: S_PERNR FOR PA0002-PERNR.
    DATA:  FM_NAME TYPE rs38L_fnam,
                T_PA0002 LIKE STANDARD TABLE OF PA0002 WITH HEADER LINE.
    TYPES: BEGIN OF TY_EMP,
                    COL1 LIKE PA0002-PERNR,
                     COL2 LIKE PA0002-PERNR,
                      COL3 LIKE PA0002-PERNR,
                    COL4 LIKE PA0002-PERNR,
                  END OF TY_EMP.
    DATA: I_EMP TYPE STANDARD TABLE OF TY_EMP WITH HEADER LINE.
    DATA; G_COUNT.
    G_COUNT = 0.
    START-OF-SELECTION.
    SELECT * FROM PA0002 INTO TABLE T_PA0002 WHERE PERNR IN S_PERNR.
    LOOP AT T_PA0002.
    G_COUNT = G_COUNT + 1.
    IF G_COUNT = 1.
    I_EMP-COL1 = T_PA0002-PERNR.
    ENDIF.
    IF G_COUNT = 2.
    I_EMP-COL2 = T_PA0002-PERNR.
    ENDIF.
    IF G_COUNT = 3.
    I_EMP-COL3 = T_PA0002-PERNR.
    ENDIF.
    IF G_COUNT = 4.
    I_EMP-COL4 = T_PA0002-PERNR.
    APPEND I_EMP.
    CLEAR: G_COUNT, T_PA0002.
    ENDIF.
    ENDLOOP.
    I am passing  I_EMP table to FORM using CALL FUNCTION FM_NAME.
    Hai karthik please can look in to this.
    Hai viswa thanks for your reply , karthik solution is working almost.
    thank you guys

  • How to pass APEX_UTIL.COUNT_CLICK parameters in the url

    Hello,
    I have to count clicks on the List items:
    There is a Click Counting option in the definition of each List item,
    and you can add Click Count Category there.
    However, I also need to add Click Id parameter - p_id.
    This parameter (p_id) suppose to pass a value into CLICK_ID column of the APEX_WORKSPACE_CLICKS view.
    I am constructing a url for that.
    The url without p_id works perfect:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.But the url with p_id does not work at all:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.Do you know how to pass p_id parameter in the url, so that it would be inserted in apex_workspace_clicks view?
    Thank you!

    CLICK_ID column of the APEX_WORKSPACE_CLICKS is a Number, so you have to pass a number, ex:
    &p_id=1
    So your url should look like:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.You can use a page number to associate with a click, to be more descriptive

Maybe you are looking for

  • How do I move my music list from one external to another?

    As per my post a couple of minutes ago, I do not want to run the risk of Itunes deleting all my Ipod files again. I have put all my files onto an external hard drive. I was up until 4am this morning removing duplications in the music list. I never wa

  • Smartforms of Sales Excise invoice

    Hello,       I am not getting Smartforms of Sales Excise invoice printout after clicking Excise Invoice (F9). If i will use script then no problem but i have problem in smartforms. Plz help me . Vivek

  • Diplaying of ordsys.ordimage field in a Report based on Query

    Hi, I have a table with a ordsys.ordimage field, where I am uploading images. I created a custom report based on that table but I just cant seem to find a way to show images in it. Could anyone please tell me how to do this. I tried using this "porta

  • Nokia 5130XM: Problem with updated software versio...

    i have updated my nokia 5130c  xpress music with version v7.97. after updation i got that my music player's library updation speed get more faster then before but i have lost screen saver option and also lost power saver option. my music player also

  • Oracle 12c disable EM Database Express

    It seems less obvious now that db console (database express) is stored within the database how to disable it.  We already have EM 12c Cloud, is there any benefit to have database express also run standalone?  If not, is there a recommended way to dis