Ajax/Javascript in Web dynpro ABAP

Hi,
I need your help in figuring out what artefacts of web dynpro ABAP could help me resolve a problem.
In a Web dynpro abap application, we have a button that redirects a user to an external site. Some of our users can go to this site from their computer and some others can't because they are not allowed. I would like to be able to show the button only to the users that have the right to execute this navigation.
In order to do that, I need to embed some script in my web dynpro application that will test if the URL of this application sends back an HTTP/200.
With the latest versions of Web Dynpro ABAP, is it possible to embed javascript of ajax? How can it be done?
If not, what could I use to base the visibility of my button on a validation that has to run on the users's browser?
Thank you very much for your help!
Renaud

Another way it could be done creating a custom ztransaction (abap report) performing a PING to the ip server , reading log txt,  saving if the user is authorized or not , and redirecting to the Abap Web Dynpro.
Then On wddoinit select zztable for authorization.
But i don't know if this solution will work for you (ping specific port 80? or other requirements)
DATA: workdir TYPE string,
      path_log TYPE string,
      parameter TYPE string.
TYPES: BEGIN OF tylog,
     line(1000),
  END OF tylog.
DATA: t_log TYPE TABLE OF tylog,
      v_log LIKE LINE OF t_log.
  DATA:  appl_name TYPE string,
            abs_url TYPE string.
START-OF-SELECTION.
  CALL METHOD cl_gui_frontend_services=>get_sapgui_workdir
    CHANGING
      sapworkdir = workdir.
  CONCATENATE '/C ping google.it >' workdir
  INTO parameter SEPARATED BY space. "example google
  CONCATENATE parameter '\pinglog.txt' INTO parameter.
  CALL METHOD cl_gui_frontend_services=>execute
     EXPORTING
*    document               =
       application            = 'CMD'
       parameter              = parameter
       synchronous            = 'X'.
  CONCATENATE workdir  '\pinglog.txt' INTO path_log.
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename                      = path_log
      filetype                      = 'ASC'
    TABLES
      data_tab                      = t_log.
  LOOP AT t_log INTO v_log WHERE LINE CS 'Lost = 0'.
    EXIT.
  ENDLOOP.
if sy-subrc = 0. "ping ok
zzping-uname = sy-uname.
   zzping-authorized = 'X'.
else.
  zzping-uname = sy-uname.
  zzping-authorized = ' '.
  endif.
   INSERT ZZPING.
**construct web dynpro url and call browser
  cl_wd_utilities=>construct_wd_url( EXPORTING application_name = appl_name
                                                             IMPORTING out_absolute_url = abs_url ).
CALL FUNCTION 'CALL_BROWSER'
  EXPORTING
    URL                          = abs_url.
Edited by: alessandro spadoni on Mar 24, 2011 10:09 PM
Edited by: alessandro spadoni on Mar 24, 2011 10:31 PM

Similar Messages

  • BSP vs Web Dynpro ABAP

    Hello,
    we are looking for a listing that states the functional and technical differences between Web Dynpro ABAP an BSP.
    Is there anybody who has come along such a list ?
    Tx a lot in advance!
    Best regards,
    Ana

    Annette,
    check this
    The SAP Web Application Server (WAS) provides a page-based programming model with server-side scripting as well as server page technology for developing, designing and implementing Web applications:
    Business Server Pages (BSP). Server-side scripting enables direct access to all elements in the application server (such as function modules, database tables, ABAP Objects, and so on.).
    We can create HTML pages or Business Server Pages (BSPs) with server-side scripting in ABAP or JavaScript.
    The HTMLB and XHTMLB HTML Business libraries are available as BSP Extensions for a uniform layout and its associated usability advantages.
    And In the Web Application Server, the presentation layer is separate from the business logic. This makes it possible to implement front-end technology.
    Why BSP NOT WebDynpro
                              BSP
                  ABAP WEBDYNPRO
    Currently PMUSA/JMC customers are using Fire fox (Mozilla), Internet Explorer and Netscape navigator web browsers to access WEBUYPM application.
    BSP supports these web browsers.
    Restricted (Some of the features will not be supported by WebDynpro)
    Existing WEBUYPM application is written in HTML, Business HTML and JavaScript language.
    BSP supports these languages. And it allows even to mix ABAP, HTML and JavaScript thus has more flexibility to convert WEBUYPM application into BSP.
    Web Dynpro does not support HTML/JavaScript.
    Existing WEBUYPM displays the trade communications (Information tab) based on JavaScript and custom configuration file
    BSP supports JavaScript, we can display the trade communications in BSP too.
    Web Dynpro does not support Java Script.
    Existing WEBUYPM application has different colors schemes, Logos and graphical elements for PMUSA/JMC companies.
    BSP support s multiple color schemes/logo. These color schemes can be set dynamically based on company code selection at runtime.
    Separate Themes has to be developed for each User Interface elements.
    Development effort needs to be involved to even display a logo.
    BSP supports client side (user) validations. As most of these validations can be done at client side, the no. of hits on the server can be reduced and thus giving better response for the user inputs.
    In this way, performance can be increased.
    Web dynpro does not support any client side validations, every time the request must be sent to server to validate the useru2019s input. This increases the traffic and reduces the performance
    WEBUYPM application has logos, images.
    BSP supports Client side caching, and thus loads these element from client side very quickly.
    Web dynpro supports very little use of caching on the client side, and hence quite a significant delay in starting on some customeru2019s browsers.
    BSP has no restriction on user interface possibilities, Ex. Grid, drop down boxes, Font colors, size etc.
    Significantly more restrictive in user interface possibilities.
    Ex. Only those fonts, which are provided by SAP, can be used.
    Appearance can be changed dynamically using same web pages, to support different colors for different companies.
    We can have same (or better) look and feel if we convert the application into BSP.
    As there is no HTML coding involved in web dynpro the same look and feel as we have it today can't be achieved by using web dynpro.
    BSP is built for developing any type of web application (including mobile applications. It can be accessed from desktop, laptop, and any kind of smart devices like PDA.
    Web dynpro applications can not be accessed from PDA s (Not possible)
    Why WebDynpro NOT BSP
                 ABAP WEBDYNPRO
                               BSP
    Personalization can be given to the end user if they do not want see any of the user-interface elements.
    We can not hide any of the user-interface elements (Ex buttons ex) during the runtime.
    Note - Current WEBUYPM application does not support any of these options.
    Currently we are setting/retrieving the runtime context values in a session.
    Web dynpro supports State full applications.
    No additional development would be required. 
    BSP also supports to set runtime values and to retrieve the runtime context values, but minor development would be required to achieve this functionality. 
    Currently users can see view source for WEBUYPM HTML pages.
    Using Web dynpro this can be restricted thus providing more security to the application.
    HTML view source can be available to the users, Users can see the HTML client side code (not server side coding) as it does today.
    By using Adobe Flash Island, powerful web pages (RIA) can be created.
    But, Flash Island comes with Net weaver.
    BSP does not support Flash Island. But, BSP supports Java Script.
    JavaScript is essential for the new trend of rich internet applications (RIA), it is used by all the new applications, Ajax, Widgets, Flash, and even Microsoft is supporting JavaScript for the new generation of RIA
    Web dynpro has wizard tools to generate the code to create/configure the User Interface elements.
    Development effort would be required to create UI elements.
    We dynpro has uniformity as we use standard colors provided by SAP
    Uniformity can be achieved by using style sheets (minor development would be required).
    Thanks
    Bala Duvvuri

  • New Web Dynpro ABAP Related eLearnings Available

    Although not a question, I thought using a forum thread to let everyone know about some new Web Dynpro ABAP realted eLearning sessions might be useful. These focus on new features in NetWeaver 7.01 and give a little sneak preview to some features coming later this year in NetWeaver 7.02. I try to publish new sessions twice a month.
    Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding (NetWeaver 7.0)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89
    Web Dynpro ABAP: Defaulting Select-Option Values (NetWeaver 7.0)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
    Web Dynpro ABAP: Drag and Drop (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0760510-a2d5-2b10-de9f-d897679696e3
    Web Dynpro ABAP Flash Islands Tutorial: Google Maps (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f16eef-91ef-2b10-4fb5-d709436f3cc3
    Web Dynpro ABAP Flash Islands Tutorial: Multiple File Upload (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
    Tutorial on ABAP HTTP Client REST Service Calls (using Polestar OnDemand)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/608ef65d-1ff9-2b10-b582-d6445b691719
    Web Dynpro ABAP Tutorial: ACFUpDownload and ACFExecute (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    ABAP Language and Tools 7.02 Preview (Also shows new features in WDA - 7.02)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725
    Web Dynpro ABAP - Islands Revisited (NetWeaver 7.01)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0c91fc0-932d-2c10-4ca7-f5774950c8e3
    NetWeaver Business Client 3.0 Preview (NetWeaver 7.02)
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207c3b88-8c2d-2c10-00bc-bf10a7158f2b
    Future topics coming later this month: "How to do Long Polling/Reverse AJAX in Web Dynpro ABAP 7.02" and "Database Locators and Streams for large STRINGs and XSTRINGS in 7.02".
    I'm also always looking for suggestions for future eLearning topics.

    Hello Thomas.
    I got some questions for you.
    I think you are a great expert on SAP Development Subject.
    I saw the webdynpro tutorials that you appended on this board.
    When I saw the tutorial there were some persons work with me.
    And they were suprised with the beautiful graphics. It's M~uch better than the webdynpro Screens( like colours or Designs) that I use until now.
    So. I want to change my webdynpro development enviroment excatly the same thing as the tutorial's one.
    And I found there is URLS. That means Unified Rendering Light Speed.
    It changes Some of webdynpro's development attributes.
    And I also think it can spoils some or all the webdynpro components that existed before I applied URLS.
    I have two questions.
    one of the questions is this. If I apply URLS on my system, whether the system does get any negative effedcts from the applying.
    The other question is this. I have a experience that use NWBC. And the Tutorial's GUI looks similar to NWBC. I want to know the GUI's name and What should I do if I use it on my system.
    Component Version - ECC 6.0
    Enhencement Package Version 3
    Thank you for your concern and reading.
    I deeply Appreciate you,
    Regards,
    Jonghwan

  • Web Dynpro Abap popup doesn't display in portal

    Hi all.  A wierd issue here.  We have a couple fields within a web dynpro abap application that use search helps.  These search helps work fine when the application is run outside of the portal, but when run within the portal we get a javascript error about a 'null' object.  Any ideas of what may be going on?  I am thinkning there is some security feature suppressing the popup of the search helps.
    Thanks so much...

    Good news.  Our basis team fixed the problem.  There were some security settings on our apache server we use that caused the problem.  Thought I would post the fix.  Thanks for replies.

  • When to use 'Web dynpro ABAP' and when to go for 'Web Dynpro Java'

    Hi,
    I am trying to learn 'Web dynpro ABAP' from tutorials available on SDN as i am presently working in ABAP. I am also Java learned.
    Please tell me the selection criteria for using Web Dynpro component / application using ABAP or JAVA.
    Regards,
    Tanaya

    Hi,
    Go through this
    Web Dynpro: ABAP or Java?
    WebDynpro for ABAP Vs Java
    Re: Javascript future in Webdynpro (JAVA and ABAP)
    Javascript future in Webdynpro (JAVA and ABAP)
    PradeeP

  • Web Dynpro ABAP v/s BSP

    These questions are for someone who have extensively worked on both Web Dynpro ABAP as well as BSP in the past.
    (1) Will it be worth gaining knowledge on BSP since we already have now Web 
         Dynpro ABAP platform for web development ?.
        Will it help to learn Web Dynpro ABAP if you have good knowledge in BSP ?.
    (2) In release 6.0 we have Web Dynpro ABAP and with the availabiltity of Web
        Dynpro ABAP do you think there will be any reason for people to go  for
        development using BSP ?.
    Thanks in advance
    Sandeep

    Hi Sandeep ,
    Answer 1) I will suggest to directly Switch it <b>WebDynpro for ABAP</b> .
    I have worked in both areas WebDynpro For Abap and BSP.
    Now why WebDynpro For ABAP .In my view BSP and WebDynpro ABAP are two distinct and Complex areas . So Instead of putting efforts and energy to explore BSP and trying to apply that Logic in WD ABAP won’t be right deal .
    Now let me make you one thing clear . WebDynpro ABAP programming is much <b>more different experience than B</b>SP .It strictly follows <b>MVC</b> (Model View Controller ) .Not just that you need to have good sense of <b>OOABAP</b> classes and methods , interfaces etc.
    May at time Achieving some functionality with BSP over<b> web will be easy deal</b> compare to same thing in WebDynpro ABAP .ut as your thinking in Context of WD ABAP will mature you will find it easier .
    Answer 2) Ya there might be reason for going for BSP development .
    In my view there are to possible reason
    1)     Based on current skill sets of SAP resources and Complexity of thing .Many time if less web Services are there and if you have existing BSP resources then its better for BSP development.
    2)     Amount you want use other things like HTML or javascript .You can more easily use things in BSP .
    I will suggest you to go through following links
    The specified item was not found.
    Hope I have cleared your doubts .
    If yes Reward Points.
    Cheers !!!
    Parry B.

  • Using Portal Theme for a Web Dynpro ABAP Application

    Hello everyone,
    I've created a web-dynpro abap application that I display on one of my portal pages using a Web-dynpro iView.
    Somehow, the WDA app never reads the portal theme properties and has the default SAP roadshow theme colors. I've tried almost everything including passing the theme as an application parameter using WDTHEMEROOT and WDFORCEEXTERNALSTYLESHEET params.
    Documentation states that the application should automatically read the portal's theme, but it never does.
    Interestingly, I have one more web-dynpro java application that works fine and uses the portal theme correctly.
    Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    Any ideas, suggestions, solutions would be greatly appreciated.

    >Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    What are the release and support package levels of both your ABAP system and your portal?  If the ABAP AS has a later release or SP level than the portal, the Web Dynpro framework will always fall back to using the theme of the backend ABAP system.  This is to protect the application rendering.  Running with a theme (CSS and JavaScript) from an older release or support package level could cause the application to render incorrectly.

  • How is Web-dynpro ABAP application is accessed in web.

    Hi
    How are pages in ABAP-Webdynpro rendered in web, how does they get converted in HTML.
    As far as my understanding, ICM forwards the request to Application server ABAP, if request is for ABAP webdynpro page.
    After that does ITS play a role to render these pages in Web ??

    First of all ITS has absolutely nothing to do with Web Dynpro ABAP. 
    When you design a Web Dynpro ABAP application an XML based meta-data representation of the User Interface is saved in the repository.  Then at runtime we have a Web Dynpro ABAP rendering engine (written completely in ABAP Classes) uses this meta-data to render corresponding HTML and JavaScript content that gets loaded into the HTTP Response object. We actually have multiple rendering engines for Web Dynpro (xBCML for Flash and the NWBC) as well as the ability to replace and upgrade these rendering engines over time without disrupting the applications.  This is what is currently happening with 7.01 - we have rewritten the HTML/JavaScript renderer with a new version called LightSpeed.

  • How can I capture mouse click events on BSP or Web Dynpro ABAP Screen

    hi Guys,
    Currently we have a user inactivity problem,
    the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
    Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
    while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    this file can be downloaded, means this file is there.
    Any one can help on this issue? find the js file or another way to capture the mouse click event.
    Thanks a lot with points!

    Hi  Feng Guo,
                        We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
    But for your problem I think you can get solution by setting iView Expiration to some more time period.
    Regards,
    Siva

  • F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

    Hello,
    I have created an Interactive Form with ZCI type.
    I placed a text field MATNR on the form.
    Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
    This form was then embeded into Web Dynpro ABAP view.
    The problem is that when I click on the F4 button, nothing happens.
    Is anything else needs to be done?
    Thanks
    Sagar

    Hi Amol,
    After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    Ragards,
    Amol Patil.

  • [Integration] Web Dynpro ABAP calling Flex in Popup (without Flash Islands)

    Hi,
    We do not intend to install Enhancement Package 1 in a near future.
    Nevertheless, we do have requirements where Flex should be integrated with Web Dynpro ABAP (Flex components embedded or 'attached' to Web Dynpro ABAP applications).
    I would like to open a popup showing a Flex component. Then, the user validates and the Web DYnpro ABAP application is resumed. All this integrated within EP 7.0.
    What, according to you, would be the most effective combination : 
    - Suspend / Resume plug
    - Server-side cookies
    - iFrame (although it is deprecated)
    Given what I have read so far, it seems encapsulating the .swf within a BSP application would be the best shot. Could it be possible to get rid of this 'additional layer' ?
    Thanks in advance.
    Best regards,
    Guillaume

    Web Dynpro ABAP
    Define a suspend and a resume plug.
    BSP
    Retrieve the parameters sent by WDA either by AUTO attributes or the following code
    CONSTANTS: c_resume_name          TYPE string  VALUE `sap-wd-resumeurl`.
    DATA: lt_tihttpnvp                TYPE tihttpnvp.
    FIELD-SYMBOLS: <fs_httpnvp>       LIKE LINE OF lt_tihttpnvp,
                   <fs_dept_magasin>  LIKE LINE OF t_dept_magasins.
    ** Lecture des paramètres envoyés (par le WD ABAP)
    CALL METHOD request->get_form_fields
      CHANGING
        fields = lt_tihttpnvp.
    READ TABLE lt_tihttpnvp ASSIGNING <fs_httpnvp> WITH KEY name = c_resume_name.
    IF sy-subrc = 0.
      e_url = <fs_httpnvp>-value.
    ENDIF.
    Flex
    To return to the Web DYnpro ABAP, call a Javascript function within the BSP using this kind of code :
    jsReturn = ExternalInterface.call("sendBackToSAP", selectedDepartmentsParam, orderParam);
    BSP
    First, to react to the user action in the Flex component, define a Javascript function in the
          function sendBackToSAP(departements, ordre) {
             fireServerEvent(departements, ordre);
             return("Done");
    To fire a server-event (in order for BSP to call the WDA resume plug), I use this declaration :
    <!--  Event used by the Javascript to trigger OnInputProcessing so as to create
                  the server-side cookie -->
           <bsp:htmlbEvent name= "fireServerEvent"
                           id  = "flexAction"
                           p1  = "departements"
                           p2  = "ordre"></bsp:htmlbEvent>
    Last, I simply call the URL that the WDA gives me first :
    navigation->goto_page( e_url ).
    If people are interested in a more detailed presentation, feel free to reply to this post, and I will write a blog about this. Nevertheless, it should become pretty obsolete with the Flash Islands release... 
    Edited by: Guillaume Garcia on Oct 11, 2008 11:13 AM

  • Is there a way to get Web Dynpro ABAP available in a ECC 5 - NW2004 env?

    We will start developing an offline Adobe interactive form with email functionality for ECC 5 on very short terms. We have to decide asap what client/server configuration we will use for this new functionality. We will also develop an online interactive form and an offline form with upload/download functionality for ECC 5. We will have to setup a client/server configuration that supports all 3 scenario's. 
    The main reason we would like to have NW2004S available for ECC 5 is because we would like to develop the forms in Web Dynpro ABAP instead of Java. Guided Procedures is a "nice to have" too, but not really important at this moment.
    At this moment we think we have 3 options:
    1. Investigate if we can make an Adobe solution in WDA for ECC 5 with our current setup
    2. Upgrade ECC 5 - NW 2004 -> NW 2004S to get WDA functionality available
    3. Install ADS for NW 2004 to be able to create Adobe solutions in ECC 5, then we will have to develop in WDJ
    1. We have the following configuration up and running: NW2004S - CRM 5 and ADS installed: both Java and ABAP stack work properly. We are wondering if we could develop an Adobe interactive form in Web Dynpro ABAP in CRM 5 using BAPI's to retrieve the data from ECC 5 and put it on the form for display or update purposes. Also we have questions about the email functionality: do forms have to be send by email via a mailserver from ECC 5 via CRM 5 and back or can this be done directly from and to ECC 5 or is it not possible at all? Also we don't know if we can develop an online interactive form for ECC 5 via CRM 5. The current setup is not a real option for us right now as we see far too many uncertainties. Does somebody can give us some answers on the possibilities we are looking for?
    2. My assumption is that upgrading ECC5 to ECC6 can be compared with upgrading 46C to ECC5. If my assumption is correct, this would mean an upgrade project with a 6 months leadtime within our company. If my assumption is wrong, please let me know. This upgrade will happen some day, but it has not been planned for 2007. So unfortunately, for us this is not an option at the moment because we cannot wait that long. I was hoping an upgrade of NW2004 -> NW2004s was not that time consuming but I guess this can be compared with a SAP upgrade project like 46C -> ECC 5.
    3. Installing Adobe Document Services for NW2004 is not our preferred solution but we think it is the safest/easiest solution at this moment to get started with Adobe interactive forms for ECC 5 on short terms. We will have to develop in Web Dynpro for Java, so be it.
    WDA is not a must but if we can find a client/server setup which gives us the possibility to build in WDA for ECC 5 functionality, that would be great. That's why I dropped the question on SDN. I want to be sure we choose the best option possible at this moment for us.
    kind regards
    Angelique

    Yesterday I got new information through SDN which sounds very interesting:
    There are technical repository integration points between ECC and the underlying SAP NetWeaver release. To get Web Dynpro for ABAP, you could install a stand-alone SAP NetWeaver 2004s system (without ERP) side-by-side.
    Somebody else wrote: we set up a 3-system landscape of NW04s and have configured single sign on and trusted RFC's so that users can hit the webdynpro pages via the portal, and those systems make the necessary queries to the backend systems via RFC.
    Does somebody know if this stand-alone system could be a proper solution for our situation? Does somebody foresee any problems related to Adobe LiveCycleDesigner or ADS?

  • Shooping cart creation in SRM 7.0 using web dynpro ABAP classes.

    Hi,
    We have recently upgraded to SRM 7.0 from SRM 4.0. We are using customized portal application for the creation of the shopping cart.I am planning to create custom FM which will use the standard Web dynpro ABAP classes to create the shopping cart.
    Could you please guide with the classes that are need to be implemented and the sequence of the classes used in the shopping cart creation.
    I think these are the classes that are used in the standard web dynpro ABAP component.
    CL_FPM_EVENT ->                  Creates an instance of this class based on an event ID.
    CL_BADI_FLT_DATA_TRANS_AND_DB -> Data Handling: Transport and Database.
    CL_EXITHANDLER ->               Class for Ext. Services Within Framework of Exit Technique.
    CL_EX_BBP_DOC_CHANGE_BADI ->     BAdI Class CL_EX_BBP_DOC_CHANGE_BADI.
    CL_BBP_OBJECTS_ACCESS ->         Access Functions for Object Types.
    /SAPSRM/CL_PDO_BO_SC ->          Shopping Cart BO.
    Your expert comments will be appreciated...
    Regards,
    Naresh

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • SRM 7.0 Web Dynpro ABAP Customization

    Hi ,
    Upgrading from SRM 5.0 to SRM 7.0 and would require customization at the Web Dynpro ABAP Component for RFx.
    I need to put a pop-up screen when the Buyer clicks on the "AWARD" button on the Bid Screen. Now I am not able to find the award action/event at the Web Dynpro component level where I have to put the pop-up code and other related logic. I also tried getting into the SPRO and find the class which may contain the AWARD event. Please let me know the solution to this problem. Thank you.
    Manoj

    Hi Akash,
    Thanks for the reply. Can you please guide me through how to go about the enhancement, keeping the original functionality of the Award Button intact. And I understand coding in method of interface is not possible.
    Manoj
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:33 PM
    Edited by: MANOJ NACHIMUTHU on Jul 12, 2011 6:35 PM

  • Integrating Flex/Flash in Web Dynpro ABAP(Netweaver 7.0) need info!

    Hi all,
            I need to embed a flash or a flex object inside a web dynpro abap application.I am working in Netweaver 7.0 and i don't have enhancement pack 1 installed.Is it possible ?   If it is possible can anyone please provide me the coding and configuration details.
    Thanks,
    Saikat

    I'm afraid that the SAP supplied integration technology - call FlashIslands - is only available from NetWeaver 7.01 and forward.  You could perhaps do some simple integration (very little data transfer) with the iFrame UI element - although the iFrame is deprecated in 7.0 and 7.01, but does return to full support in 7.02.  The other option would be to use the NetWeaver Portal or NetWeaver Business Client and have two iViews within the page. One iView would have WDA and the other some external technology (BSP, JSP, etc) to host the Flash/Flex content.  Not tight integration, but you could potentially use Portal Eventing to at least communicate events.

Maybe you are looking for

  • ITunes won't open up after updating...

    oh no. it won't. i download the update, i install it succesfully, i open up iTunes and...that's it, it bumps in the dock once and then it disappears without opening up. Then the only thing that can restore a working version of iTunes is deleting it w

  • HP HDX 16-1010EA: Battery charging and performance problems

    Hi, Due to my warranty being finished by HP, this place will be the only hope for some problems that I'm having, so please help guys. 1. I own a personal copy of Windows 7 Pro x64, installed it on a different partition from my Vista x64 that came wit

  • Seeking Widget

    Prior to updating (erase & install) to Leopard, I had a picture frame widget which allowed for custom frames to be placed on any photo dropped onto the widget. One such frame was a "push pin" at the top of the frame and another was a "strip of tape."

  • Outlook 2010 Advanced Find Contacts Not Working

    Some Outlook 2010 Advanced Find criteria work but the "email is not empty" and "email is empty" criteria return no results though there are contacts that have the Email field populated.

  • Convert table control table to array

    have can I convert the table control to array at LabVIEW?