Reg calling Transaction code in Webdynpro ABAP

Hi All,
Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
Thanks.
Kumar Saurav.

Hi,
The most easy Way is here:
1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
Copy its HTTP link, Suppose we get the below link
http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN )  with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
So that the newly generated link is such that the below one:
http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
Note in place of PA30 you can put any of your desired tcode.
3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
4) Activate and test your webdynpro Application.

Similar Messages

  • Calling Java code from Webdynpro Abap UI

    Hi All,
    Can anybody tell me, How to make calls to java code on a button click from webdynpro ABAP UI ?
    Thanks in Advance.
    Jenish .V. Joy

    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

  • Calling transaction OAOH in webdynpro abap

    Hi,
    I am trying to call the transaction OAOH for uploading a document for archival.
    But the popup for document upload works only in SAP GUI.
    Can anyone help?

    Hi Soumya,
    Instead of calling a transaction it may be easier to make a file-upload element in your web dynpro and call a function module to store the document in Archivelink. Check for example function group SCMS_AO_AP with the following (released) function modulesI:
    SCMS_AO_API                    CMS: API Archive Object
    SCMS_AO_FILE_CREATE            CMS: Create AO API Document
    SCMS_AO_FILE_CREATE_ASYNC      CMS: Create AO API Document (Asynchronous)
    SCMS_AO_FILE_GET               CMS: Make AO API Document Available
    SCMS_AO_STATUS                 CMS: AO API Status Query
    SCMS_AO_TABLE_CREATE           CMS: Create AO API Document from Internal Table
    SCMS_AO_TABLE_GET              CMS: Make AO API Document Available from Internal Table
    SCMS_AO_TABLE_GET_BYTES        CMS: Make AO API Document Available in Bytes
    SCMS_AO_TABLE_UPDATE           CMS: Replace AO API Component from Table
    Hope this helps!
    Cheers, Roel

  • Calling a webservice from webdynpro ABAP.

    Hi,
    Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls )  with clear steps ?
    Thanks in advance. Ponts will not be a constraint for right answers
    Praveen
    Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AM

    Hi Praveen,
    1st Step : configure Logical Port
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    2nd Step : Generate Proxy Object
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
    data: sys_exception type ref to cx_ai_system_fault,
          sys_exception2 type ref to cx_ai_application_fault,
          client_proxy type ref to zco_myesa, "MY PROXY CLASS
          lv_ret_code type int4,
          lv_input type zsend_email_input,
          lv_response type zsend_email_response.
    data: lv_from type string,
          lv_from_address type string,
          lv_to type string,
          lv_to_address type string,
          lv_subject type string,
          lv_msg type string.
    lv_input-from = 'MYSAPTEST'.
    lv_input-from_address = '<someAddress>'.
    lv_input-to = 'Prashant'.
    lv_input-to_address = '<someAddress>'.
    lv_input-subject = ' TEST'.
    lv_input-msg_body = ' Hi this is wonderfull to see it work'.
    try.
    create object client_proxy
    exporting
    logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
    call method client_proxy->send_email
       exporting
         input  = lv_input
       importing
         output = lv_response    .
      catch cx_ai_system_fault  into sys_exception .
        data lv_err type string.
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
      catch cx_ai_application_fault into sys_exception2  .
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
    endtry.
    if lv_response is initial.
       write: /'Not Executed'.
    else.
       write: /'Did Execute'.
    endif.
    Greetings
    Prashant

  • CALL TRANSACTION code in RFC

    Hi Experts,
    I've created RFC function module that make use of CALL TRANSACTION code. This function module is being called in CRM system. However I encountered a short dump CALL_FUNCTION_RECEIVE_ERROR. Kindly help to determine if CALL TRANSACTION code is possible in RFC function module?
    Thanks in advance!

    Hello,
    Here's the detailed error analysis found in ST22:
    Error analysis
        An error occurred when executing a Remote Function Call.
        "Exception condition "CNTL_ERROR" raised. "
        Status of connection.... " "
        Internal error code.... "RFC_GET3"
        Log error: No end marker in data container.
    Thanks!

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

  • How to call a webService from WebDynPro ABAP ?

    We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
    How exactly do we call a WebService from a WebDynPro-ABAP application?
    What are the main steps involved ?

    Hi Phani,
    You will need to create a service call as follows.
    Right click on your WD component name and select Create->Service Call
    The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
    Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN.

  • How to assign transaction code to a ABAP program?

    Hi,
    Need help in assigning transaction code to a ABAP program. Any method that will do the job?

    >
    sainath raj wrote:
    > hi
    > within my knowledge
    > Any ABAP program can have its own transaction code if and only if it is of type 'MODULE POOL' .
    > An EXECUTABLE program  cannot have a transaction code.
    >
    > So try with this .
    >  1) Go to the attributes of the program and change the program as type module pool
    >   2) then execute transaction SE93.
    >  3) give the appropriate program name and assign a transaction code as ur wish.
    Well Sainath,
    What u said is not correct, an executable report can have a transaction code, difference between module pool and executable program is that u neccesarily need to have a tcode for module pool but that doesn't mean that only module pool can have tcode.
    And secondly u should not answer these kind of simple questions, as people then continue posting simple questions without making an effort to serach for themselves.
    кu03B1ятu03B9к.

  • 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

  • Transaction code to WebDynpro application

    Hi,
    i want to create a webdynpro application which is started from a transaction. Has anybody an idea how the application can get information about the transaction code?
    Example:
    Transaction mm02 -> call webdynpro application, want to know which transaction "called" the application
    Thanks in advance
    Dominik

    i have no answer for this , but do let me know , if u found solution for this....
    Thanks
    Ramesh

  • How to call interactive form using webdynpro abap.

    Hi Sap Guru's,
    I have Created Invoice Interactive form using SFP Transaction , now my requirement is ,
    Need to Call that invoice form using webdynpro abap by passing invoice number(vbeln) from the screen.
    please suggest .
    thanks

    Hi Suresh,
    Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm">Interactive Forms in WDA.</a>, this is the best one .
    Welcome to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms.</a>.
    Do post your queries on Interactive Forms in SAP Interactive Forms by Adobe.
    Rgds,
    - anto.

  • Calling Dynpro components in Webdynpro ABAP.

    Hi friends,
    Could anyone tell me how to call webdynpro components in DC's in Webdynpro ABAP.
    Regards
    Sireesha.

    Hi Sireesha,
    In WebDynpro(WD) ABAP, we do not have DC methodology. We can save the WD components and appliations in package. We can call WD applications using
    1. OBN
    2. if it is embeded in portal, then we can use portal navigation
    3. We can also reuse the WD component in another WD component, by component reusability concept.
    Best regards,
    Suresh

  • How to call the rfc in webdynpro abap..?

    Dear Experts,
    I need to add two numbers using RFC in webdynpro abap.
    First we have to give the input then click the submit button.. The result will be shown in next screen with addition of two numbers...  Please help me in this...
    Thanks.

    Calling an RFC Function module in Web Dynpro ABAP is nothing different from Classical ABAP
    use Pattern button to call function module and use DESTINATION syntax to specify the RFC destination
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_II.pdf?PHPSESSID=c528a60bf8857431c0fa6f6595639da7
    In Above document, page no 7, there is a wizard for Service call, in that 4th step is select service where
    you can specify the function module name and the rfc destination name
    Abhi

  • 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 call call transaction in web dynpro abap

    hello experts,
    i need to call one RFC in web dynpro.In RFC we maintained the BDC program. but while calling the same RFC in web dynpro through service call function, it is not working.Kindly suggest any way out.this is very urgent.
    Regards

    Hi Rajat,
    Please use the below mentioned link.May be it will help you:
    The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems
    Thanks and Regards,
    Neha

Maybe you are looking for

  • Hiding Fields in ALV-Grid Display

    Hi Experts, Can anybody help me on the below logic? I have 16 different transactions in GLPCT Table. Based on given Period(1 to 16 in Select Options), these transactions(HSL01, HSL02...HSL16) should get display. Other than entered Period, Fields shou

  • Sender and Receiver IDOC config Settings

    Guys I have just come up with this document as a quick reference guide to enable me to be able to configure IDOC scenarios quickly and efficiently. Couls you please let me know if this looks ok and all is in the correct order. <u>Quick Guide to Scena

  • How to configure snmp host in IPM?

    Hi!!! I have CiscoWorks 2000 Rwan with IPM. I installed and configure IPM to send snmp traps when the treshold is excedeed. I can see on the graph that it is exceeded but I can not verify that it sending snmp traps.Where to view these traps and how t

  • Unable to boot up in MAC 10.6 anymore

    Hey guys, 1 week after installing Windows 7 Home Premium, I tried to boot up in MAC OS but there was a problem. One thing to note is that during this 1 week, I have been able to boot up in MAC successfully. After turning on the computer(My startup di

  • I am trying  to change my main emailaddress in mail, I want another than my Icloud-email to be the main email, but don't know how to change it?

    I want to change my main email adress in mail. Now it is the apple.me.com address. I would like it to be another one. But I don't know how. Please help! grtz, h