Run R/3 transaction from WebDynpro

Hi gurus,
We're developing a webdynpro that has to call R/3 report (ALV one). How can we do this?
Thanks a lot!
Regards,
Iván.

Hi,
according to me you want to call a report program from wd abap.
so if this is your requirement then go thru this thread
how to call report program from WebDynpro Application
also go thru this link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a086ce1e-b551-2b10-e4ba-bf7ac5e4b2d6&overridelayout=true

Similar Messages

  • Calling SAP transaction from WebDynpro

    HI,
    Could someone post a link as to how I may call a SAP transaction from a webdynpro.
    Will this be an external call to R/3 or can i get it embedded in my dynpro.......
    Tnks..

    Hi,
    You can call by creating external window method.
    create LINK to URL or LINK TO ACTION according to requirement, for this. write code in onaction of that.
    data: iv_url type string value 'http://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*se38 RS38M-PROGRAMM=rsparam;DYNP_OKCODE=SHOP'.
      data: api_component  type ref to if_wd_component,
              window_manager type ref to if_wd_window_manager,
              window type ref to if_wd_window.
      api_component = wd_comp_controller->wd_get_api( ).
      window_manager = api_component->get_window_manager( ).
      window = window_manager->create_external_window(
                     url = iv_url
                     modal = abap_false ).
      window->open( ).
    Cheers,
    Kris.

  • Running the BEX query from webdynpro ABAP

    Hi Gurus,
    Can someone provide the code for running the BEX query from WDA.
    Thanks,
    David.

    Hi! Do you want to get query results in ABAP or to open excel from browser?

  • How to call transaction from webdynpro application

    Hi Experts,
    I have a web dynpro component zxx_comp.its corresponding web dynpro application zxx_app.
    my requirement is , when i test the webdynpro application, i have to call a transaction zxx_txn corresponds to the module pool program zxx_pgm  directly . How can i do that?
    Regards
    Ashwin KV

    Hi Ashwin,
    Use the following to open a T-Code from WD application.
    CALL METHOD cl_http_server=>if_http_server~get_location
    IMPORTING
      host = lv_host
      port = lv_port
      out_protocol = lv_protocol.
    DATA lv_url type string.
    concatenate lv_protocol  '://' lv_host  ':' lv_port  '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='zxx_txn' into lv_url.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window_manager->create_external_window(
         EXPORTING
           url    = lv_url
         RECEIVING
           window = lo_window ).
    Regards,
    Harsha

  • How to call ABAP transaction from Webdynpro in NWBC

    Hi
    I need to develop an Webdynpro application who lists Sales Orders. The Application is launched in NWBC DESKTOP version.
    This part is no big deal...
    But: i need to gain users the possibility to display the Sales Orders in T-CODE VA03 (ABAP) when they click a link in the list. How can i do that?
    I have tried to do a test like this:
    method ONACTIONTEST_LAUNCH .
      DATA: url TYPE string,
            query TYPE string.
      url = cl_nwbc=>url_construct( html_client        = abap_false
                                    canvas_transaction = 'VA03' ).
      cl_nwbc=>url_launch( url ).
    endmethod.
    But this url launches the HTML version of NWBC (inside the Desktop version...). and i want the system to launch the ABAP system.

    Hi Jakob,
    I would use Object Based Navigation in this case (OBN). With OBN you can define an OBN target in your WDA application and map that target to a transaction in your PFCG role.
    Here is some help
    http://help.sap.com/saphelp_nw74/helpdata/en/4c/5bdc7f97817511e10000000a42189b/content.htm?frameset=/en/66/48a793bc2f4ec5bdb8e7e93ea6cd9f/frameset.htm
    Hth,
    Simon

  • Passing parameters to an ITS Transaction iView Table from Webdynpro Java

    Hi,
    I am calling the IW44 transaction from Webdynpro using ITS, and would like to pass a list of Confirmation Numbers as screen parameters. When I pass parameters to AFRUD-RUECK, I can fill one cell, but my question is how to fill up each row as the technical name will be the same?
    Thanks

    Try this
    <AFRUD-RUECK1>=<parameter1>
    &<AFRUD-RUECK2>=<parameter2>
    [http://help.sap.com/saphelp_nw70/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]

  • Run SAP transaction from Java?

    I'm looking for answers for two questions:
    1) Can I run an SAP transaction from Java & capture the result either in a file or table.. or any such structure?
    2) Can I run an ABAP report directly from Java? and then capture the result as well? I realise that I can use the JCO to run any RFC enabled function module..? But what about a report itself.? Can I run the report behind an SAP transaction directly from Java?
    I need this information urgently, and would appreciate any help on this.

    Hi Deepika,
    I think the requirement you have asked is quite complex and there is no solution as far as i have know.
    You can use BAPI to run SAP Transactions for example BAPI_MATERIAL_DISPLAY will take you to MM03 transaction when you pass a valid material number to it.
    When i searched for the same i ended up with no solution,
    but got a good link which gave some idea
    http://expertanswercenter.techtarget.com/eac/knowledgebaseCategory/0,295197,sid63_tax296869_idx25_off25,00.html
    Go through that link that might be helpful.
    Thanks & Regards,
    Kathir~

  • Pass value from webdynpro ABAP to service "Sicf"

    Hello Gurus,
    We need to call a transaction from WebDynpro application. For this purpose I have created a service for transaction, this service I will then call from my webdynpro application.
    My issue is I also want pass a parameter to the service u201CTcodeu201D from webdynpro application, how can I do that? I have tried Set parameter ID and export but these do not work.
    Regards,
    Abhi.

    Thank you Thomas for your reply.
    I am using the following URL
    http://<url>:portno/sap/bc/gui/sap/its/webgui/?~transaction=*rsh1%20p_iobj=0costcenter;DYNP_OKCODE=SHOP
    Now, I am able to retrieve the value from the above URL. There is another problem, the users are able to type any transaction code in the menu. I want to restrict the user to only 1 transaction, how can I restrict the user to a single transaction.
    Regards,
    Abhi.

  • MAC: Starting ABAP Transaction from eclipse ADT - Wrong GUI version

    Hi there,
    I am running eclipse (Kepler Service Release 2) with ADT for SAP HANA (Version 2.28.1) and SAP GUI 7.30 Revision 9.1 on my MAC. Whenever I try to run an ABAP transaction from within the IDE, I do get this error:
    The GUI itself runs fine. It seems as if the GUI and ADT version do not match. What should I do?
    Cheers

    Hi Pascal,
    you have already the newest version 7.30 patch level 9. Florian was wrong with 7.30 Compilation 3 Present. 2.
    I have the same problem. I have tried older versions 7 and 8 too. With a reinstallation it has worked only for 2 or 3 times. It seems to be a new bug with new ADT 2.28 because 2.24 was working fine. Maybe it is related to the java version.
    Actually I have no time to take care of this and create an OSS message.
    Regards
    Andreas

  • Calling a Report/Transaction iview from Webdynpro..

    Hi all,
              Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
              Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
              Does any body know the answer for the above issues. please let us know.
             Thanks in advance.

    hi,
    1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
    ABAP Report in WebDynpro
    this link will help you out for that(calling standard bapi in WD)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
    2) go thru this links
    WebDynpro Application as callable object in GP?
    Webdynpro callable object - RFC model
    implenting webdynpro as a Calable Object with GP Interface
    hope it helps
    regards

  • Calling transaction SECATT from webdynpro UI

    Hi friends,
    I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side
    CALL METHOD cl_wd_utilities=>construct_wd_url
            EXPORTING
              application_name = 'appname'
            IMPORTING
              out_absolute_url = lv_final_url.
    SPLIT lv_final_url AT 'webdynpro' INTO lv_first_url lv_second_url.
            SPLIT lv_second_url AT 'ztwb_tor' INTO lv_final_url lv_apostrophe.
            CLEAR lv_final_url.
            CONCATENATE  lv_first_url '/gui/sap/its/webgui?TRANSACTION=secatt&RB_TEST_CONFIG=X&RB_ECATT_SCRIPT=&    ECTC_VER-NAME ='  ls_ztwb_test_case-testcase '&okcode=ECOB_SHOW' lv_apostrophe
                INTO lv_final_url.
    CALL METHOD lo_window_manager->create_external_window
            EXPORTING
              url    = lv_final_url
            RECEIVING
              window = lo_window.
          lo_window->open( ).
    But I am still able to open the first screen of secatt and not the second screen with the relevant testcase datails.
    But if I try to open the second screen of SCAT transaction I am able to open it using the following url.
    CONCATENATE  lv_first_url '/gui/sap/its/webgui?TRANSACTION=SCAT&*CATA-ABLNR=' ls_ztwb_test_case-testcase '&okcode=ZEIG' lv_apostrophe
                INTO lv_final_url.
    Is there anything else that I need to pass as parameters in SECATT transaction.
    The program of SCAT transaction is a module pool program.
    The program of secatt transaction is a function pool program.

    Hi Jenish,
    As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?
    rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    If you get any answer for your question let me know.
    Regards,
    Karthick K Eswaran

  • Trying to opn SAP Transaction IView from Webdynpro

    Hi Friends,
    I need to open a SAP Trancation Iview from Webdynpro (on click of some button) and pass some values to the screen fields,
    I am using the code below(which I found in many threads):
    WDPortalNavigation.navigateAbsolute("ROLES://<Iview ID excluding pcd>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    (String)null);
    The problem is nothin happened on account of execution of this code,
    I mean not even a blank screen gets opened.
    I am not even getting any error/exception.
    Please advice what could be the possible cause.
    Regards
    Deepak
    Edited by: Deepak Gupta on Mar 17, 2008 12:15 PM

    I wrote the code like below:
    WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    "number=123456");
    In IView application property, I wrote:
    CRMT_SEARCH_LOC-CARD_NO=<Request.number>
    (L.H.S is the screen field name)
    then I got following exception at portal:
    An exception occurred while processing a request for :
    iView : pcd:portal_content/<Iview path>
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
    what went wrong????

  • Run Transaction from wda and display results

    Hello,
    If it is possible to run SAP transaction(f.e.ME2L) and the result (ALVreport) display in wda window?
    Regards,
    Natalia.

    Hi,
    Check this forum thread regarding calling transaction from WD4A.
    Re: Calling a transaction code
    Thanks
    Suman

  • How to run jsp pages  from webdynpro java

    Hi experts
         I want to run the jsp pages present in a webserver like tomcat or weblogic servers from webdynpro.Is there any way to run a jsp from webdynpro environment?
    Thanks and regards
    venkat kalyan

    hi Venkat,
    Check out this threads. They might be helpful
    Re: web dynpro jsp
    Re: Opening a jsp from another server(Weblogic) from webdynpro running on WAS
    Regards,
    Gopi

  • Run a SAP ERP transaction from a BPF

    Hi Experts:
    We would need to run a SAP ERP transaction from our BPF. Would it be directly possible?
    I guess it would be possible by programming a BADI,  wouldn't it?  Would it be the best option?
    Thanks in advance for your help.
    Kind regards
      Jose

    Hi Jose -
    You can execute an ERP transaction from a Drill Through command if your EPR system has an ITS (Internet Transaction Server)installed.  Please see the following "How To" guide for details:
    [How To..Configure Drill Through Functionality  |http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10a56b21-04b9-2d10-a6b7-e0f8732b4142]
    You cannot directly access the Drill Through from a BPF, you would need to link a report into the BPF then link the Drill Through from the report.
    Regards,
    Sheldon

Maybe you are looking for

  • Downloading and Using Adobe Creative Cloud in Chrome OS

    Is Adobe planning to make creative cloud compatible with the Chrome OS? I have a Chromebook and would like to be able to use the Creative Cloud. Thanks.

  • How to install Lion on a MacBook Pro 2,2?

    Hi everyone, I try to install OS X 10.7 on my MacBook Pro 2,2 (Intel Core 2 Duo 2.33 GHz, 3GB RAM, 500GB HD with 270 of free disk space). I tried to install Lion from a USB stick but only got an error message that Mac OS X Lion Installation.app could

  • How to refresh image component JSP?

    hi i am using Netbeans 6.01 and developing a web project. I need to do some manipulation on an image according to input and save the image at address in the project/build/resources/image with the same name when user press a button but sometimes page

  • Anyway to add gridlines in iphoto for a grid drawing?

    need to add lines at one inch intervals

  • Print out not comming

    Hi, I worked with 2 output types LD01 and LD00. For LD01 Print is comming but LD00 it's not comming. When ever i press print in Spool Request is genarated and status was Completed for both output types,but LD00 it's not comming print. Printers are sa