Variables between 2 Webdynpro ABAP

Hello,
We need to create a central iview to store information, which will be loaded later in others iviews (in different pages). How can we pass this information? We want use ABAP, and i was thought in pass the data as a session variable.
Is there any method to do that?

Hi,
You may use webdynpro iViews.
In one webdynpro view (central view) of a webdynpro application you may fetch data from R/3 using ABAP functions (RFCs). You may then on need basis transfer this data to other views in the same webdynpro application using context mapping between the component controllers and the views.
You can then create portal iViews out of these webdynpro views.
Regards,
Anagha

Similar Messages

  • Hide values in URL, passing data between two webdynpro(ABAP) applications.

    Hi
       When transferring the data between two webdynpro applications,  How to hide the values in URL.
    Example : First application is using for login
                    Second application is for some transactional screens.
    Based on first application login data second application should trigger. When passing the user id and password thru URL every one can see the user name and password at internet explorer, so how to hide that user name and password in URL.
    Thanks
    Murali Papana.

    Hi Lekha,
        Thanks for your reply, but I could not find parameter like visibility, andi found HAS_TOOLBAR but no use.
    I set it like
    CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
      EXPORTING
        URL            = 'http://*****:8000/sap/bc/webdynpro/sap/Y1app1/?sap-language=EN&sap-client=200&sap-user=1104&sap-password=abcd'
        MODAL          = ABAP_FALSE
        HAS_MENUBAR    = ABAP_TRUE
        IS_RESIZABLE   = ABAP_TRUE
        HAS_SCROLLBARS = ABAP_TRUE
        HAS_STATUSBAR  = ABAP_TRUE
        HAS_TOOLBAR    = ABAP_FALSE
        HAS_LOCATION   = ABAP_TRUE
      RECEIVING
        WINDOW         = lo_window.
    Thanks
    Murali Papana.

  • How can we navigate between two windows of same component in webdynpro ABAP

    Hi
    how can we navigate between two windows( not views ) of same component in webdynpro ABAP. its an urgent requirement
    Thanks in advance.
    Regards
    Laeeq

    Hi Laeeq,
    You cannot navigate between windows of one component. You can only call a dialog box showing the contents of a second window, or you can embed the contents of a window of a different component.
    Just add all the views you need to the one and only main window of the component.
    Ciao, Regina

  • Cell Formatting in excel -  Webdynpro ABAP

    Hi,
    I have Webdynpro ABAP component. In this I am downloading some internal table data into spread sheet using following code. I need to Format data like giving Cell coloring. Could any one please tell me where i can make this format in WebDynpro ABAP.
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text   = ls_text
        IMPORTING
          buffer = ls_xtext.
      wdr_task=>client_window->client->attach_file_to_response(
    **path to the word file
         i_filename = 'WDP.xls'
    * String Variable
         i_content =  ls_xtext
    * File Type
         i_mime_type = 'EXCEL' ).
    Thanks,
    Sekhar.J
    Edited by: sekhar J on May 3, 2010 11:50 AM

    Hello,
    We did the saved the excel in  Excel XML format and duplicated the code using concatenations as given in thread http://scn.sap.com/docs/DOC-25024
    .But I always see the below error
    XML PARSE ERROR:  Missing whitespace between attributes
      Error occurs at or below this element stack:
        <ss:Workbook>
         <ss:Worksheet>
    But the XML tags are concatenated as well in to field of type STRING .
    Please advise how to resolve this .
    Thanks
    Shishupal.

  • Error when Interative Adobe Form is called from Webdynpro ABAP.

    Hi Experts,
    I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
    Line: -
    The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
    The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===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
    Line: -
    When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
    So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
    Thanks in Advance.
    Regards,
    Arun.

    Hello,
    Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
    Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
    check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
    and especially note 999998
    Regards, Otto

  • Bsp Vs Webdynpro ABAP

    Hi All,
         I am new to the concepts of BSP and ABAP web dynpro,Can some body please guide me on what is the difference between BSP and ABAP web dynpro.
    Thanks in Advance.

    Hi Varun,
    think of WebDynpro as a replacement UI technology for SAPGUI. It is designed to support interactive transactions (i.e. multi-screen) with a standard look and feel for professional users.
    BSP is designed to support simple web-style transactions where the user has a fairly simple interaction with the page and you can tailor the user experience to look any way you like.
    So WebDynpro would suit a rewrite of the Sales Order Entry transaction. BSP would suit building a web-style shopping basket experience. and
    i. In Web DynPro there is lesser coding when compared with BSP. i.e Web Dynrpo are more dependent on Designing rather than coding whereas, BSP's are done by coding.
    ii. There is low possibilty of customization in web dynrpo, i.e We need to use only the available color or style themes available..It is not easy to have user defined color themes but in BSP we can have our own color themes at ease.. and
    The difference is a little bit more subtle than that. Both webdynpro and BSP call ABAP function modules from HTTP. The BSP interface does this via programming in SE80, the webdynpro does this via programming in the Java development workbench. The BSP enters the SAP systenm via the ICM and is 'routed' to ICF where call are then made to executre ABAP (a good example is we use SOAP BSP's). Webdynpro routes via the ICM to the Java engine which then executes the Java to cann the functions via an RFC interface called a JCo connection.
    Another difference to note is SAP is now dedicated to using webdynpro as its internet platform of the future. This indicates that it aims to eventually retire such things as ITS and BSP.
    and also check
    What is difference between WebDynpro and BSP?
    Cheers,
    Bhavana

  • Adobe print forms - Intergration with Webdynpro ABAP

    Hi
    We are working on SAP Adobe print forms with Webdynpro ABAP. We are getting the PDF form's Hexadecimal content as a part of the FPFORMOUTPUT parameter when we execute the FM of the Form.
    I tried to assign that to a context variable and assigned that to the PDFSource of the form and tried to generate the PDF. But is is showing a black page.
    Can you please suggest a way if any to get this done.
    Regards,
    Srikanth.

    You can use the print form directly. I mean the same way as you would use the WD/ online form. Provide the form name, the data source and stuff and the form should work. If that would be an interactive one, you would not be able to change any values if the form is based on DDIC dictionary, but since you want to use the printform, this is not your concern.
    Regards Otto

  • Do i need ABAP stack on EP, to run Adobe form in Webdynpro ABAP

    Hi All,
    We have an EP running on Java stack, and are going to configure ADS for development of Intercative forms in webdynpro ABAP, on our ABAP stack wihich is seperate R/3 system.
    Do we need to have ABAP stack also on Portal, for the development and execution of Interactive forms on Portal?
    Please clarify my doubt. Its very important
    Thanks in advance

    Hi,
    installation isn't my hobby and I can't tell you about possibilities of upgrading.
    For WebDynpro ABAP your abap stack must be NW 2004s. Your java stack with ADS must also be NW 2004s because communication between ADS on NW 04 and abap stack on NW 2004s doesn't work - thread "Run JAVA netweaver2004s and ADS 7.0 together with ECC 5.0 "
    But here is certainly someone who can describe it more precisely.
    Michal

  • Webdynpro ABAP/Portal. Plugin HTTP connection issue on WaitingEventQueue.js

    Hello,
    We are experiencing a strange Portal Behavior with our Webdynpros. Our portal contains several iViews including some Webdynpro (ABAP) and some reporting transaction calls that use SAPgui for HTML.
    When portal is called for the first time and a user logs in, two connections of type RFC can be seen for that user in SM04 in our ERP system. All iViews work as expected. For example, calling the Time Management webdynpro closes one of the RFC connections and starts a new Pluguin HTTP connection. We can go back and forth between the welcome page and this Webdynpro with no issues.
    If we then select one of the reporting transaction codes, the portal launches the SAPGUI for HTML. Report retrieves and shows data, and then we close using the "Exit" button provided by the sapgui for HTML
    Next we try again to launch any webdynpro (abap), but SM04 shows that the new Plugin HTTP session gets stuck and spinning mid way, and will stay there. Refreshing the Portal screen with F8, navigating back and forth, logging off and on again has no effect. The webdynpros will not launch again. Only webdynpros are affected, any of the reporting transactions can be called successfully over and over.
    We have figured that deleting Temporary Internet files (we are using IE 7), and in particular by just deleting the WaitingEventQueue.js?XXXXXXXXXXX file, the system will break away from the spin loop and show the webdynpro again, but eventually it will get stuck again, and asking the users to delete their Temporary Internet Files every 5 minutes is not a workable solution
    I have reviewed the contents of this javascript file at different points during the test, and the contents do not change, so deleting the file and the recreate process must be resetting somehow the queue and allowing for a new correct communication.
    Is there a way to properly reset this event queue (for example from ABAP, when the webdynpros are reloaded) in order to avoid the spin loop?
    Thanks for any help!
    Andres

    Well, we got the issue resolved, so here is what we did, in case anybody is interested:
    Tested again our portal with multiple versions of Internet Explorer, in particular IE8 and IE6, the Webdynpro behavior was normal (no timeouts or locks). It even worked when we installed IE7 in a brand new machine and tried our portal.
    So we started suspecting if maybe the particular IE7 that we install internally (with specific settings and policies) may be the culprit. We took a desktop that was producing the timeouts and used the following options in IE7:
    Tools->Internet Options->Advanced(tab)-Reset Internet Explorer settings
    and, voila! the next time we ran there, the portal did not create any timeouts.
    We even asked our desktop support team to uninstall and reinstall IE7 in the same machine after we did the reset, and even after the re-install that the timeout problems did not re-appear.
    One of the things that the "reset" option does is delete the Add-ons used by IE.
    So as a last test, we took a machine that was presenting the problem and went to the Internet Options to disable all the add-ons (in the Programs Tab). The error disappeared.
    And even after enabling back all the add-ons, the error would not return.
    Conclusion:
    Without being able to pinpoint the specific add-on (or combination) that causes the problem, we suspect that some of them conflicted, causing IE7 to behave abnormally. Disabling them all, restarting Internet Explorer, and enabling them again, makes the WaitingEventQueue.js work as it should

  • How to save User input into DB using webdynpro abap

    Hi,
    Im trying to create an application using webdynpro abap.
    I want to know how to save the data input by user, into a database table.
    In my UI, I have a table control which is editable and user inputs data into this. I need to know how i can transfer this data to a DB table.

    hello,
    u can do it by reading ur context node.
    we bind our UI elements to context attributes of appropriate type .
    we read their values using the code wizard or by pressing control+F7, click on radio button read node/attribute
    here for ur specific case , u must have binded ur table control with the context attribute , now u need to simply read this attribute
    eg suppose u have created a context node " cn_table"
      reading context node cn_table
       DATA : lo_nd_cn_table TYPE REF TO if_wd_context_node ,
             lo_el_cn_table TYPE REF TO if_wd_context_element ,
             ls_cn_table    TYPE wd_this->element_cn_table.
    *   navigate from <CONTEXT> to <CN_TABLE> via lead selection
      lo_nd_cn_table = wd_context->get_child_node(
                       name = wd_this->wdctx_cn_table ).
    **    get element via lead selection
      lo_el_cn_table = lo_nd_cn_table->get_lead_selection(  ).
      lo_el_cn_table->get_static_attributes( IMPORTING
                 static_attributes = wa_table ).
    here wa_table is the work area of structure type . u need to create a structure first with the same variables as there are the context attributes in ur node cn_table
    in ur
    now ur wa_tablecontains value
    u can nw use appropriate FM to update , delete and modify the DB table using the value
    u cn directly use SQL statements as well in the method of ur view , but direct SQL statements are nt recommende
    rgds,
    amit

  • How to use Java code inside WebDynpro-ABAP

    Hi,
        How to use Java code inside WebDynpro-ABAP.
    Could any one provide sample code.
    Cheers,
    Sam

    Hi Sam,
    We can't Bring Java Inside the ABAP. Both are running in different Environments.
    and also ABAP Codes are runs on BASIS.
    -Basis is a middleware between ABAP codes and Ur OS.
    -Contains set of programs to load,RUN,intepret the ABAP program..
    So Both are Different.
    Regards,
    Ramganesan K.

  • Webdynpro ABAP independent application

    hello,
    I have developed independent application of webdynpro ABAP
    i want to integrate it on portal
    i have page, create iview, assign application url to the iview - all this i do in portal content administration etc
    but in later versions, instead of iview etc, there is bankend transaction code, ie tcode in R/3 where I can assign my web dynpro application to portal
    I need the name of that transaction code. kindly help with your inputs
    thanks
    bhakti

    Hi Bhakti,
    AFAIK there is no such kind of facility available so that you can directly assign your webdynpro into the portal using any t-codes.
    But the SAP Enterprise Portal supports the Web Dynpro application development with functions like:
    Event handling of portal events
    Navigation between Web Dynpro applications within the portal or to any portal content
    WorkProtect mode
    And With Web Dynpro you create interactive Web-based user interfaces for business applications. The portal allows the role-based and secure access to different kinds of information (structured or non-structured), services, and applications using a Web Browser.
    For portal integration, refer the below document which will give you an idea.
    How to Integrate Web Dynpro  ABAP in Portal
    Thanks
    KH

  • Single SignOn in webdynpro ABAP

    Hi,
    I am pretty new in Netweaver Portal side and recently got an requirement from a customer for single Sign on:
    Requirement -
    We already had a SSO set up with MS Windows with SAP Portal. Hence in order to open SAP Portal, user has to use his Window's credential (Usually Company's own network credentials) instead of SAP credentials.
    Now customer also has another legacy portal where  client has similar SSO set up.
    Recently we had implemented SAP Learner Portal (SAP LSO Solution) and now user should directed to legacy portal only when he/she clicks a button in SAP portal's application (Webdynpro ABAP).
    Therefore, we need to implement same SSO inside Webdynpro Action. Please suggest me what should be our approach of doing so.
    Will APIs like IF_WD_PORTAL_MANAGER be handy ?

    Enable SSO between the portal and the AS ABAP system hosting the WDA. Using SAP Logon Tickets is the simplest way. Then access the WDA through the portal. That way you will have SSO since portal already has SSO using Windows Credentials. Another option is to enable SSO in the AS ABAP system hosting the WDA. Your options include at least SPNEGO for ABAP (part of the NWSSO suite), X.509 certificates and SAML.

  • Calling GuidedProcess from WebDynpro ABAP

    Hi all
    can anybody tell me that how to call GP from webdynpro ABAP.
    and what are the advantages and disadvantages in this scenario??
    if anyone reply then it would be the great help to me
    Regards
    Suresh babu

    Hey,
    You can call a GP from WD ABAP through by implementing a service call from a method that is embedded in your WD. You can refer this link for the same.
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/58f9cc0d95311ce10000000a155369/frameset.htm
    But you should note here that Data exchange between ABAP WD and GP is not two way but its only one way.
    Cheers,
    Mandrake

  • How to create custom calendar in webdynpro ABAP.....(WDA)

    Hi,
    How to create custom calendar in Webdynpro Abap ?.
    Regards,
    Narasimha

    The best way I see here is to develop your custom calender in any of the UI technologies supported like Flash (flex) or HTML5 (or maybe even SilverLight? not sure) and embed it in your WD view. You can also handle interactions between the embedded component and the WD controller.
    Regards,
    Raghavendra

Maybe you are looking for