How to call Webdynpro ABAP from Widget

Hello guys,
I want to add an icon to my widget with a link to a webdynpro ABAP application.
However, the link is dependent on the system the user is accessing.
So, I'd like to know if it's possible and what's the best method to do it.
1. is it possible to call a Transcation or a RFC that calls a WebDynpro from the Widget?
or
2. is it possible to retrieve the Widget's default system parameters and assemble the Webdynpro URL dynamically?
Any more ideas?
Thank you and best regards,
Henrique.

up.
Henrique.

Similar Messages

  • How to call webdynpro applications from outside

    Hi
    I have a requirement where i need to call below webdynpro application from outside (for ex CRM,ISA..) environments
    http://test.com/webdynpro/dispatcher/test/eomp~eompapp/EmpDisp?EmpNo=0500002203.  When i am running this application from
    browser , my application working fine and i am able to see call to the backend BAPI's.  But when I configure this url
    in the configurations of the above environment.  I am unable to run this application.
    Any Idea?
    Thanks
    Prasad

    Hi
    I am not getting any error, but the backend call not hapening.  I put a debugger in the backend BAPI and run the webdynpro application , no input parameters came or call came to the the backend BAPI.
    Thanks
    Prasad

  • How to call a Query from widget which has mandatory variables/filter values

    Dear Gurus,
        I want to show data from BI query (BEX) in Wedget, which has variable/ Filter as input parameter.     Please tell me how add these parameters while calling query throgh web service.
    Regards,
    Aslam Khan

    Hi Aslam,
    Kindly refer to Page Number 49 u2013 23rd Point and Page 50 and 51 in the SAPEnterpriseWidgetDevelopmentGuide.pdf u2013 Which explains how to pass the Import / input Parameters.
    You can also refer these links u2013 [How to pass more than one value in RfcRequest ?;
    [how to bind an input field with an rfc input;
    Hope it helpsu2026
    Regards,
    Shilpa B.V

  • How to call WebDynpro application from an external application

    Hi All,
    I have an external application, from which an existing webdynpro application should be accessed.
    Is there any way i can access WebDynpro application through an URL, so that i can access the same from the external application.
    I have to pass a parameter also in the url from extrenal application for which that data should be displayed.
    Thanks
    Supriya

    You can call a web dynpro application from an external app by using the web dynpro application url.
    Go to WD application in studio and look at the properties tab, you will find the url.
    It should be something like this:
    http://<host>:<port>/webdynpro/dispatcher/<namespace>/<dc name>/<application name>
    MLS

  • How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)

    Hello
    We use SRM Server 5.5 with classic scenario.
    We want to call RFC in R/3 from webdynpro ABAP.
    How can we do that?
    We are developing the web report using webdynpro abap.
    So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
    When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro.  So we call the R/3 RFC to display the PR, PO data.
    But I tired to call the RFC in R/3, We could not call it.
    How to call the RFC from R/3 to SRM, when we use webdynpro abap?
    Thank you,
    Best Regards,
    SH.

    Hi
    <b>Please look at the following threads as well -></b>
    WebDynpro in SRM
    BAPI's /RFC's in SRM
    BAPI to Change Shopping Cart by RFC
    SRM60 and webdynpro
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    SRM60 and webdynpro...
    <b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
    <u>For getting Purchase requistion data, use the function modules -></u>
    META_REQUISITION_CHANGE        Change purchase requisition              
    META_REQUISITION_CREATE        Create Requisition                       
    META_REQUISITION_DELETE        Delete/close purchase requisition        
    META_REQUISITION_GETDETAIL     Display requisition details              
    META_REQUISITION_GETITEMS      Display requisition items                
    META_REQUISITION_GETRELINFO    Get Releasease Info for requisitions
    <u>For getting Purchase order data, use the function modules -></u>
    META_PO_CREATE                 Create purchase order                    
    META_PO_DELETE                 Delete reservation                       
    META_PO_GETDETAIL              Display purchase order details           
    META_PO_GETITEMS               Display purchase order items             
    META_PO_GETRELINFO             Display purchase order release information
    Hope this will definitely help. Do let me know.
    Regards
    - Atul

  • How to call  java program from ABAP

    Hi Experts,
         My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
      Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
    DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
    parameter TYPE string VALUE 'D:java MyFirstProgram'.
    CALL METHOD cl_gui_frontend_services=>execute
    EXPORTING
    application = command
    parameter = parameter
    OPERATION = 'OPEN'
    EXCEPTIONS
    cntl_error = 1
    error_no_gui = 2
    bad_parameter = 3
    file_not_found = 4
    path_not_found = 5
    file_extension_unknown = 6
    error_execute_failed = 7
    OTHERS = 8.
    Thanks.

    This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
    Implement an RFC server in 7.0:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Implement an RFC server in 7.1 or higher:
    http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm

  • How to use webdynpro abap? need separate software? or please help me.. :-)

    How to use webdynpro abap? need any separate software? if no, please help me with Transaction Codes..
    Thanks in Advance
    -Parthi
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Oct 19, 2011 8:18 PM

    I don't think you quite understand how hibernation mode works.
    "The state of a computer is stored into its main memory, which is also called RAM. When a
    computer is powered off, the contents of this memory are irremediably wiped out. Hiberna-
    tion works in the following way: before being powered off, the computer saves all the con-
    tents of the memory to a file on the hard disk drive. On wake up, data stored in this file is
    read out and restored to the memory. Therefore, the RAM contents are the same before
    and after the hibernation process, and the state of the computer is also the same. The
    saved file is named sleepimage, and is located in the /private/var/vm directory. Hi-
    bernation is sometimes also called “software suspend” or “suspend to disk”.
    The default suspension feature of Mac OS X, called sleep works in a different way. When
    entering sleep, every subsystem of the computer is shut down, except the main memory
    which is still powered. This process preserves the contents of the memory, and allows the
    computer to wake up quickly. However, a sleeping computer still consumes a small
    amount of power. Sleep is sometimes also called “hardware suspend” or “suspend to
    RAM”.
    Apple introduced the safe sleep feature in Mac OS X 10.4.3 for the Powerbook HD line of
    laptops. This feature is a variation of the default suspension behavior. The main memory is
    still powered during the sleep, but the contents of the memory are also saved to the disk at
    the beginning of the operation. The saved file will only be used if the laptop runs out of bat-
    tery power while sleeping, in order to restore the original state of the computer.
    This safe sleep feature is what makes hibernation possible in Mac OS X 10.4.3 and above."
    Quoted from *Deep Sleep v. 0.7 documentation*
    Matthieu Beaumel, 10/03/2006

  • Calling WD ABAP from WD Java

    Hi,
    I am trying to access a Web Dynpro for ABAP application(which in turn opens a Adobe form) from a click of button in Web Dynpro for Java application.
    I also need to pass dynamic parameters (which will change values at runtime).
    If I go for calling WD ABAP from URL I can pass the parameters by appending them in the URL, but how to call a URL on a click of WD Java application.
    Can somebody please suggest me ways.
    Thank you.
    Pragya.

    Hi Pragya,
    Did you get a solution for this. I need to do almost the same. I need to call the ABAP Webdynpro URL on Tab Click from Java Webdynpro and display the page within the Tab content Area.
    Is this possible?
    How did you handle your problem. Please advise!!
    Thanks for your time!
    Regards,
    Madhavi

  • How to call WEB Service From SAP

    Hi Friends,
    How to call WEB Service From SAP.
    Thanks in advance,
    Murali Krishna K

    Hi,
    if you mean calling a web service in Web Dynpro ABAP, see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d7/951b42f828df2ce10000000a1550b0/frameset.htm">documentation</a>, if you mean calling a web service in general, this is not the correct forum. This here is the Web Dynpro ABAP forum, for general questions on ABAP, use the ABAP forum.
    Regards, Heidi

  • How to call BI report  from web dynpro

    Hi ,
    How to call  BI report from webdynpro application  and what are the prerequisites for that .
    Please provide an example to work with BI application frame UI element
    Thanks

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • How to call Java API from BSP?

    I have a requirement to call Java API from BSP application.
    I have checked the forum and found that it is possible by using some ABAP codes.
    However there is no pointer on how this is done.
    Can someone explain the details on how to call Java API from BSP is done?
    I found class CL_EJB_JAVA_OBJECT_METHODS to call a method in EJB but can't find function or SAP class to call Java API.
    Actually is there any BSP extention which can used to call Java API?
    Thanks,
    Hendri

    check out these weblogs, it should give you an idea how to go about it.
    /people/ignacio.hernndez/blog/2006/12/04/speech-synthesis-listen-the-application-server-is-talking-to-you
    /people/puru.govind/blog/2006/12/20/let-abap-speak
    Regards
    Raja

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • How to call WD Application from another WD Appliction

    Hi all,
    how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
    pls suggest
    regards
    vishal

    Hi Vishal,
    Just try to Embed the another WD Component into Component Controller first.
    And then Create a View and map it to window as U regularly do,
    then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
    U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing  those values through Plugs.

  • How to clear webdynpro ABAP cache ?

    Hi,
    Please advise me on how to clear webDynPro ABAP Cache data ?
    Scenario as most of you might be knowing:
    1>We retreive data from the the table using query stmt. For ex: Creating an employee
    2>When we want to update/terminate the same employee on same day giving us short dump
    We checked in the backend that employee has been sucessfully onboarded and offboarded/updated without any dump.
    I guess it has something to do with clearing the cache/memory on each operation(create/update/delete)
    So, I got some transaction code:SWFVISU where we can maintain the cache configuration. But I'm not sure whether we can use the same.
    Is there anyway we can avoid the cache issue.
    Thanks
    Praveen

    Hi, Praveen kumar Kadi. can be to you this function will help:IQS1_REFRESH_ALL

  • How to call a subroutine from sap script

    hi friends,
    Can anybody tell me How to call a subroutine from sap script .
    thanks n regards .
    Mahesh

    hi..
    Calling ABAP Subroutines: PERFORM 
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    The system does not execute the PERFORM command within SAPscript replace modules, such as TEXT_SYMBOL_REPLACE or TEXT_INCLUDE_REPLACE. The replace modules can only replace symbol values or resolve include texts, but not interpret SAPscript control commands.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (‘First page’, ‘Next page’, ‘Last page’) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    regards,
    veeresh

Maybe you are looking for

  • How would an Apple fan keep unwanted images out of Photostream in IOS 8?

    So Apple decides that people don't need an uncluttered thumbnail view of all photos stored in their iPhone in IOS 8. And the UI geniuses also decide that the concept of cloud (aka "server side" in 90's terms) storage and local storage is just too muc

  • Install of Report Generation Toolkit without Microsoft Office previously installed.

    After installing "LabVIEW Report Generation Toolkit for Microsoft Office Version 1.1.3" on a computer without Microsoft Office I noticed that the Report Generation VI palette does not include the "Excel & Word" specific VI's, even though I have "Exce

  • End-of-file error message in a template

    I am receiving the following error message as I try to update a template. "There is an error at line 561, column 1 (absolute position 37746)...and then it give the file on my local server. This is the page with the difficulty that uses the template.

  • Call RFC INSIDE THE SMARTFORM

    Hi Experts, i want to know , is it possible to call the RFC in side the smartform. In my requirement, i need some data from ECC system to display in the smartform of the CRM. currently i am trying to call outside the smartform and pass to the same, b

  • 64-bit Twain driver for Canon Canoscan 8800F

    The twain driver for my Canon Canoscan 8800F doesn't show under File-->Import in Photshop Elements 13.  In Photshop Elements 10 this was not a problem. I have searched on the internet and the instructions I found only applies to older version of Phot