Abap web dynpro and portal events

First off, a little introduction: My name is Martin Kroppen, I am an Abap developer for SAP Netherlands, and I am currently involved in a project for hospitals to built a portal. For this, I have created 2 Abap web-dynpros, and then impemented the views as iviews in an EP. What I want to achieve is that the input view triggers the display view on a second page, and the data is shown for the values in the input view (all in the same browser window).
I am using the portal integration manager for this,  with the method for relative navigation.
The navigation is working fine, only problem is that I don't know how to handle the business parameters that I send over.
My questions are:
1. is this the correct way for navigating between abap webdynpro iviews in the portal?
2. what is the correct way to read the business parameters into my context of the second Abap WD application?
I tried the solution that is described below, I could not get it to work correctly.
If you define BUSINESS_PARAMETERS as application parameters in your Web
Dynpro application and the parameter names start with ″APP″, they will
automatically be forwarded to the startup plugs of the Web Dynpro application –
provided they are marked as startup parameters. In this case, keep in mind that
the iView/page used as the navigation target must be assigned to the user role.
If it is not, navigation cannot be triggered.
Hope someone can help me…
Regards
Martin Kroppen

Hi,
please refer to this link for portal integration
Web Dynpro for ABAP Portal Integration [original link is broken]

Similar Messages

  • Integrating Web Dynpro and Portal

    Hi people!
    I'm starting the development of a simple web site in SAP Enterprise Portal. I created a simple web dynpro application  to test the integration between web dynpro and SAP EP. I created a new folder and a new system in portal content. After I add a new page and a new iView (this iView open my webdynpro iview).
    My Page open normally in SAP Portal Page Admin, now i would like to know how do for include the Portal Theme, Menu, Status Bar into to my page.
    I investigated about wdPortalNavigation and wdPortalNavigationMode, but i don't understand very well how insert the Portal Navigation properties into my Page.
    How do I  insert this properties in my iView Code? or I should set this properties in Portal Admin?
    Somebody have some e-books or tutorials to indicated?
    Thanks in advance!!
    Marcelo

    Hi Marcelo,
    First of all welcome to SDN....
    For you Webdynpro pages to open with new THEME but not with default theme of portal you have to design new theme in portal and assign that  theme to WebDynpro Components
    for creation of THEMS please refer these Documents
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3ea0d790-0201-0010-80b8-b680496a3838
    Please Reward Points if Helpfull...
    Regards.
    Vinit

  • Change properties of Roles in Abap web dynpro

    Hello Gurus,
    I need to hid or unhide a role based on a condition in my abap web dynpro.
    Can anyone please update me how I can access it from abap web dynpro.
    Is there an API call from abap to set or reset the invisible in navigation area value in portal?
    Regards,
    Dale

    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
    Regards,
    Dale

  • Use of multiple components in ABAP WEB DYNPRO

    Hi,
    Am  new to  abap web dynpro and I just want to know whether  we  can  use  multiple components for an application in web dynpro.
    Thanks ,
    Dhaya.G
    Edited by: Dhayalinie Ganesh on Feb 22, 2012 12:06 PM

    Hi,
    depending requirement of application we can use multiple components.
    for example if we want to display table data into alv grid for that we can use the existing(standard component) ie: SALV_WD_TABLE  .Like such a way we can use the components as per our requirements.
    For importing components:
    --> Go to properties tab of view of your web dynpro application
    --> There you can find one button create controller usage ,click on it then import the components
    Thanks&Regards
    Sreenivas Pachva
    Edited by: sreenivas.p on Feb 22, 2012 1:11 PM

  • Report Varaint in ABAP web dynpro

    Hello All,
    I am currently working on an ABAP Web dynpro development.
    I am developing a Report, where the requirement is to have Variants (same as that of GUI reports).
    The user can select the particular variant, which will populate the selection screen.
    I am new to ABAP Web dynpro and am unaware whether Standard functionality of Variants is available for Web dynpro?
    Can you please tell me whether Variants is available for Web dynpro?
    Thanks and Regards,
    Pratik

    Hi Pratik.
    You could define the select options in a table per variant.
    Depending on the selected variant you read the corresponding selection fields
    from that table and populate the select options fields in wddoinit.
    Then just call submit report afterwards.
    AFAIK there is no standard functionality for that.
    Cheers,
    Sascha

  • How to integrate a Smart Form in Web Dynpro and how to view it on portal?

    Hi,
    I have created a Smart Form in ABAP. I need to use it in Web Dynpro. How can this be done?
    I want to integrate this Smart Form in a Web Dynpro Application and then display this Smart Form on the Portal (when I deploy the Web Dynpro application).
    Is it compulsory to first convert the Smart Form into PDF Format? Is there some other way ??
    Thanks in Advance.
    Regards,
    Harshada

    Hi,
    Go through Re: Web Dynpro and Smart Forms.
    Regards,
    Satyajit.

  • Not able to check-in file in Browser (Portal/ABAP web dynpro)

    Hi
    If I try to check-in file from Back-end or Easy DMS I am able to do that and file is in Locked status. But when I use Portal or ABAP web-dynpro it is saying Check-in completed and when I save document(DIR), it is changing it to Unlocked icon.
    Did anyone get this type of issue before?
    do we have to do any special configuration or use different Content server for Browser and GUI ?
    Thanks
    ND

    DMS Folks.....
    if you came across this type of error then let me know ...
    Am I missing any configuration ?
    For HTTP request (like portal/webdynpro) do we need HTTP content server or normal content server will work for same.

  • Tracking ABAP web dynpro events in back end SAP

    Hi Experts ,
    I have
    Is there any way to capture the events on th ABAP web dynpro in the backend.
    The scenario is that i have some particular code which gets executed in the back end when User clicks on any button or tab in the appraisal document , which is ABAP web dynpro application.
    I want this code to be executed only when User clicks on particular TAB/BUTTON on the ABAP web dynpro.
    Are there any system tables that I can check.I am novice in ABAP Web dynpro.
    Thanks

    hi ,
    I wud like to demonstrate this with example
    suppose in ur WD  screenu  take the sales organization as input .
    and u want to do smthing like this in backend :
    u wud like to read VBELN from VBAK where VKORG is with in sales organization range entered in input field
    create a context attributeinside a context node  in Context Tab inside ur view
    first bind the VALUE property of ur Input field to a context attribute
    inside the method OnActionClick  thn u wud  use code wizard (control +f7) to read the context attribute which is binded to input field
    u press CONTROL + F7 and select the radio button read context node/attribute
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   get single attribute
        lo_el_cn_node->get_attribute(
          EXPORTING
            name =  `CA_ATTR`
          IMPORTING
            value = lv_attr ).
    // I have read attribute CA_ATTR inside the node CN_NODE
    thn u wud put select query to fetch from data base using the value lv_attr
    DATA : vbeln type string .
    SELECT SINGLE vbeln FROM vbak INTO lv_vbeln
        WHERE vkorg = lv_attr .
    I hope it is clear nw
    regards,
    amit

  • Develop forms using Adobe Forms and ABAP Web Dynpro

    Hi, 
    Could someone help me on how to learn forms development using Adobe Forms and ABAP Web Dynpro?  Any suggestion on Tutorials / Books / other helpful hints please?
    I have good knowledge of Smart Forms and used these to generate PDF Attachments via emails.
    Thanks.
    Regards
    Keshav

    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/d-f/faq%20on%20interactive%20forms%20based%20on%20adobe%20software.faq

  • Lost colors in my abap web dynpro iview when i publish portal

    hello everybody,
    i have a strange problem:
    i create a abap web dynpro application and i create a iview in portal for publish it.
    everything work good
    today we decide to publish in internet the portal using an alias. so we changed all reference in system configuration (w.a.s. url).
    the portal work correctly but we see the abap dynpro iview in whitout color. Only test
    it seems he lost css style link....
    any suggestion?

    somebody can help me?
    maybe is lost .css file?

  • Access Portal Parameter from within ABAP-Web Dynpro

    Hi all,
    I have an ABAP Web Dynpro which is executed via an Web Dynpro iView in Enterprise Portal.
    How can I read the UserID of the portal user within the web dynpro? (the portal user will not be the user who called the Web Dynpro)
    Any suggestions on this?
    Thanks in advance.
    Kind Regards,
    Martina
    ~~~~~~~~~~~~~~~~
    ABAP Web Dynpro developed within CRM 5.0 system
    Enterprise Portal 6.0

    Hi Diz,
    I tried doing the same thing by following the steps as mentioned by you. Just to re iterate,
    1. Created a DC "Portal Application Standalone" project by the name myservice.
    2. Created a portal service inside myservice by the ame AmitsService.
    3. Exposed IAmitsService.class in the public part.
    4 Build and deployed the DC on server and tested it through an abstract portal component and it worked FINE !!
    Now..
    5. Created anoter DC of type WebDynPro
    6. Added SAP_JTECHS -> epbc.prtapi._api as a "Used DC" with dependency build time and runtime
    7. Specified the sharing reference in the properties as PORTAL:sap.com/myservice
    8. Tried to reference the service using the following code..
    IAmitsService portalservice=(IAmitsService)WDPortalUtils.getServiceReference(IAmitsService.KEY);
    9.Build and deployed the DC.
    10. When I run the application I am getting the following error
    Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.frame.core.load.SAPNoClassDefFoundError: com/sapportals/portal/prt/service/IService
    Exception id: [000D6008418B005C0000002C00000D200004163CE6719E1D]
    PLEASE ADVISE

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

  • Testing ABAP Web dynpro: Error  code 403 and for the reason Forbidden

    Hi,
      We have NW04s Installed and trying to execute a SAP supplied ABAP web dynpro application DEMO_SIMPLE_MAIN. Please see the following error and let us know which service it's talking about? I am familiar with SICF. However in AS7.0( New name for WEB AS ) The transaction is little different.
      Thanks
    Arunava
      However we are getting the following service error
    Service cannot be reached
    What has happened?
    URL http://server.domain.name.com:8001/sap/bc/webdynpro/sap/demo_simple_main call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XXX with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:NAME999_XXX_01-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team

    Hi,
      this was actually some services which needed to be started through SICF. Once I have started the service sap/bc/public ETC.. and the web dynpro started working. Most of the SAP delivered demo apps are working
      However for some ABAP web dynpro ( for some application XRPM ) I get  some peculiar error. Please see below and if you could think of anything out of these.
    I have already checked and found the both HTTP and SMTP services are working fine.
    The following error text was processed in the system PXA : Syntax error in program /1BCWDY/56ZRPAZLU25M8S1BKV2T==CP .
    The error occurred on the application server fmsap994_PXA_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

  • Get portal user logon details from abap web dynpro

    Hi all,
    I am developing an abap web dynpro which will be added via an iview to our ees/mss portal. What i need to know is how do i get the current user logon details in my web dynpro! i.e. if a user is loged into the portal using personnel number 111111 i need to be able to capture this value so that i can retrieve hr data for this personel number! any information would be much appreciated!
    Regards
    Mart

    Hi Mart,
    You can pass "iv_user=<User.LogonUid>" as application parameter in iview.
    add iv_user parameter in HANDLEDEFAULT method of default window of webdynpro component.
    that's it.
    when u run your webdynpro application, you can have value of portal logged on userid in iv_user.
    hope this will help u a lot.
    [Visit this thread|Re: WD4A: pass portal logged in userID to WebDynpro ABAP IView.]
    -Haresh Khandal

  • Web dynpro documents regarding dynpro and Portal

    Hi,
    I am new in web dynpro so i need some documents regarding dynpro and portal. So please provide it and if possible send it my personal mail [email protected]
    I am also looking for some examples applications .If any budy have links of it provide it.
    Regards,
    gurprit

    Hi Gurprit,
    I have sent Complete Webdynpro Examples to your mail.
    And also please check the following links for more clear understanding
    Programming UI and Navigation
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    Webdynpro for Java
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Webdynpro Samples
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20sample%20applications%20and%20tutorials.htm
    Web Dynpro User Interface
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/ce44a14c-0a01-0010-af89-d7dbd944f176 [original link is broken]
    PDf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaverdevelopersguide2004s/sap%20netweaver%20developer's%20Guide%202004s/UsingJava_00_PDFsList.ca
    SAP Netweaver Application Server eLearning Catalog
    https://www.sdn.sap.com/irj/sdn/elearn?rid=/webcontent/uuid/b1203f5e-0501-0010-bb88-915402c954f2 [original link is broken]
    give rewards if useful.
    regards
    Anil

Maybe you are looking for

  • JDevloper 10.1.3 OC4J - SEVERE: Could not read manifest of

    I have a struts based web application in my JDeveloper 10.1.3. Everytime I run the application I get the error logs displayed below before the application starts, usually this takes about 20 seconds. Please advise what could be causing this error. [S

  • When I am trying to install apps on creative cloud it says there is a download error?

    when I am trying to install apps on creative cloud it says there is a download error?

  • How to put control on a form dynamically?

    Hello all, I want to put check boxes on my web page dynamically. i.e. i wont to create a table of check boxes getting numbers of rows and columns from the database. which may increase or decrease with time. so i want it to every time first get the no

  • How to disable report-tab after testrun

    Hello, i am using TestStand 4.2.1. After each testrun there is a new tab created with a report and the test-results. The same report is also created as report-file on harddisk. Question is: How can i disable the new tab? So that after the test is fin

  • BW  -  CFM Implementation

    Hello All, I am implementing BW for CFM , but found many of the reports are not availabe through std. business content . I am sure that the one who has implemented it must have created custom data objects for the same during implementation. Please fo