How to call WDA from PCUI link.............

Hi friends,
I want to call a custom WDA from a standard PCUI button. Can someone tell me how to call this.
Once the stndard button in PCUI view is clicked, my WDA has to be displayed.
thanks in advance,
Niraja

Hi,
As said by Thomas, the WDA is just like another HTML page with URL. So what you can do is Put an entry for the button in the action list. Then in application layout  put an entry for the new WDA application(specify it as popup). select the page type as HTML.
This is more PCUI work than a WDA work.
Thanks,
selvakumar M.

Similar Messages

  • Related documents or links on how to call webservices from WDJ

    Hi all
    i need documents & links on how to call webservices from Webdynpro for Java.
    if anybody send the documents on sample scenarios on the same then it is the great help to me...
    Thanks
    Sunil

    Hi Sunil,
    May these links help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/f7/f289c67c759a41b570890c62a03519/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/64/0e0ffd314e44a593ec8b885a753d30/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d2/0357425e060d53e10000000a155106/frameset.htm
    and  the below thread to call weservices in java.
    Re: How to call a web service from Java
    Regards,
    Supraja

  • Calling WDA from Microsoft .

    Hi Every body ,
    I want to call a WDA applcation from from Non- SAP portal .
    I want to call a WDA applcation from microsoft portal .
    Is it possible to call WDA in internet not in intranet .
    Thanks in advance ,
    Sethu

    Hi,
    Same req but,here i have to call the WDA application in the portal log on customization par file.
    com.sap.portalLogon.par --- bottonarea.txt i have a link i want to call the WDA application.
    here the link href="I have the application URL" but here we have to give host and port
    if that transfer to quality agin i have to chage... like that...production.
    Can you please provide me how to call WDA.
    how to get the host and port dynamically.if transport to quality dynamically to fetch that host and port by coding.
    i am thinking that is the way.
    If there is any solution please let me know.
    Thanks
    Ramkumar

  • Calling WDA from BSP

    Hi all,
    Is it possible to call WDA from a BSP via a hyperlink and pass parameters that the WDA would need? How could I go about doing this?

    Hi Alexander,
       You can't pass the information(Context Data) from WDA to BSP directly so you just store the information in some variables or internal tables use the normal user paramenters like EXPORT & IMPORT or SET and GET parameters. Thgoruhg this way only you can communicate the data between these 2 technologies otherwise you need to save the data in some ztable and use the same table in both technoloes.
    you can also use Server Side Cookies.
    Perhaps take a look into this blog from Koen Labie:
    /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
    The blog shows how to pass the data from BSP to WD.
    Transfering data between WD and BSP via Server side Cookies can also be used for your requirement.
    For that you have to set the Data Cookie in the WD and then get the Cookie in the BSP.
    Please keep in mind that if you mix two different technologies you will have to deal with integration. WD and BSP will run in two different sessions at the server. Handling data exchange, login, logoff, data transfer at the server and client, etc can be challenging. You might end up with recreating enterprise portal-like software. So depending on the scope of the project, it might be more advisable to stay within the BSP environment or to reuse the SAP enterprise portal to integrate these two technologies at the client.
    Hope this will help you.
    Cheers,
    Darshna.

  • OrgChart: calling WDA from Details

    Hi guys,
    I have a specific need: call WDA from employee Detail. It should be able also to pass personnel number into WDA like parameter.
    Any idea, how to do that?
    Best regards,
    Sergey Aksenov

    Hi Sergey,
    Do you have any experience of using XSL or customizing VSN solutions? If not this might prove a bit tricky. You should try and use existing examples in the application. Meanwhile, I will try to help.
    2. Create file 'zhr_tmc_employee_profile.xsl' with content:
    <a href="http://myhost:myport/sap/bc/webdynpro/sap/zhr_tmc_employee_profile?PERNR={/cds/data/record/field[@name=PERNR]}&sap-rtl=&sap-accessibility=&sap-wd-configid=ZHR_TMC_EMPLOYEE_PROFILE">Press here</a>
    If this is the only code in the document then the document will not work. Look at other XSL documents in the Templates folder to understand how they work.
    4. Edit PresentationResources.xml in my build (.delta folder, and root folder of build as well). Added this:
    <presentation name="zhr_tmc_employee_profile">
    <file name="MyTemplates\zhr_tmc_employee_profile.xsl">
    Did you add the </presentation> tag after it?
    5. Change 'presentation' tag in my detail xml in folder Detailconfiguration, replace content with 'zhr_tmc_employee_profile'.
    What detail configuration are you using? The change should look something like this:
    <section enable="true" name="647308B3-0C68-4829-50AF-30C5668EDC40">          <fieldsetname>6abf642e58534f80942731270cb37b67</fieldsetname>
         <presentation>zhr_tmc_employee_profile</presentation>
    </section>
    Can you check the cds.log file after you open the details panel? The problem is likely to be the XSL file is not a correct XSL file.
    Best regards,
    Luke

  • How do I go from a link to a specific image in a slideshow?

    I have a two-part question.
    1. How do I go from a link to a specific image in a slideshow? If you take a look at the attached screenshot, here's what I'd like to accomplish. I wan to click on a link like B for examply at the top of the page. It scrolls down the page to ANCHOR "b" where I have a slide show. Once it scrolls down, I would like to have the slideshow to slide over to the image set that matches the link that was clicked. in this case, if i click on B at the top, the slideshow would slide to image set "B".
    2. Each piece of work I want to display has three images. One which is our main image seen inside the black outlined box below. There are however two additional images tied to each piece being shown. What is the best way to set this up? The default way of using the slideshow is limiting.

    Unfortunately I don't have an answer for you as I have the same problem!
    I want to link images on one page to certain slides on another.
    Have you had any luck solving this?
    I've spent hours looking for a solution... I'm very frustrated!!!
    Will post again if I get some answers.
    Best of luck
    David
    David, as of right now there is no way to click a link and have it go to a speficic image inside of a slideshow on another page. It will only show the first image in the slideshow on that other page.
    So, perhaps you could just have the image you want to jump to on the other page, be the first image in the slide show. Make sense?

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

  • How to call RFC from Power Builder

    Hi,
    I am using Power Builder Tools and I want to know how can i call RFC from Power Builder
    Thanks for ur reply

    Hi,
    Although I have not worked with Powerbuilder, I am sure if you have a certain level of proficiency with it, you will be able to code your logic that will call your wrappers written in VB/C/.NET etc. Check out the wonderful weblog by Thomas Jung on integrating ActiveX controls with ABAP Control Framework at https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/995. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Do get back if you have further queries.
    Regards
    Message was edited by: Shehryar Khan

  • Call workbook from web link

    Hello Gurus.
    I wonder if there is an option to call a workbook from a web query.
    I need to open a workbook from a web link or from a web query.
    How can i do this??? i don't have SAP portal
    Thanks in advance.

    learn about BSP from this link
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    create the following BSP application.
    1. go to se80 and choose BSP application from the dropdown and enter a name for hit and hit enter, the system will prompt you to create it, create the same .
    2. add a page to the bsp application with .xls externsion. (wbviewer.xls)
    3. declare the following page attributes
    file_content     TYPE     STRING
    file_xcontent     TYPE     XSTRING
    wa_wbdata     TYPE     RSRWBSTORE
    wbdata     TYPE     RSR_RPEC_BIN_FILE
    wbid     TYPE     RSSGUID25
    for wbid attribute make sure auto checkbox is checked.
    4. clear all the default code from layout section.
    5. in oninitialization event enter the following code.
    refresh wbdata .
    clear: file_content .
    data: temp_string type string .
    select * from rsrwbstore into table wbdata
          where workbookid = wbid.
    if not wbdata[] is initial .
      loop at wbdata into wa_wbdata.
        clear temp_string .
        temp_string = wa_wbdata-clustd .
        concatenate file_content temp_string into file_content .
      endloop.
      clear file_xcontent .
      file_xcontent = file_content .
      call method response->if_http_entity~set_data
        exporting
          data = file_xcontent.
    endif .
    save and activate the page and application.
    now if you call the following url, it will open the work book and the same url can be set in your webtemplate.
    http://<bwhost>.<domain>.com:<port>/sap/bc/bsp/sap/<bspapplicationame>/pagename.xls?wbid=<workbookid>
    Hope this helps.
    Regards
    Raja

  • How to call  URL from BADDI??

    Hi,
    I have a requirement to call URL from BADI, i tried to use 'CALL BROWSER' function module,
    it works when we are working in GUI, but for portal/PCUI it gives sy-subrc = 2 ( Front end Error)
    How to call a pop up page or URL from poral??
    Thanks,
    Manoj
    Edited by: Manoj Lakhanpal on Sep 27, 2010 10:27 AM

    Hi!
    I'm using this code for calling a browser, you might try out as well...
    MOVE 'http://www.sap.com' TO command.
        CONCATENATE 'url.dll,FileProtocolHandler'
                    command
               INTO command
           SEPARATED BY space.
        MOVE 'rundll32' TO lv_application.
        CALL METHOD cl_gui_frontend_services=>execute
           EXPORTING
             APPLICATION            = lv_application
             PARAMETER              = command
           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
    Regards
    Tamá

  • How to call LSMW from a Report program

    Hi,
    I have a requirment of extending vendor master data (Companycode data and Purchasing Organization data ) through Tcode XK02 using LSMW.Also I need to generate an error log file for validating the data from flat file and  must have an export option of the error log file.
    Can you help me how to proceed on this in steps.
    Also pls let me know how to call LSMW transaction through a Report.
    Based on the selection criteria I need to maintain two source structues,one for companycode data and the other for Purchasing Orgnization data for uploading  data thru LSMW.How to do this?
    pls respond ASAP,
    Thanks,
    Nagendra

    Hi,
    create 2 LSMW object (under same project and subproject)..
    one for extended vendor master data for company code data and other for  extended purchase organization data for company code data.
    Now check the radio buttons and based on that populate ur LSMW object.
    Store project
      project = < >.
    Store subproject
      subproj = < >.
    Store object
      object  = '6GSC022_TS3'.
    if r_ccode = 'X'.
    Store object
      object  = < >.
    else.
    Store object
      object  = < >.
    endif.
    Call the function module to display object (LSMW) maintenance screen
      CALL FUNCTION '/SAPDMC/LSM_OBJ_STARTER'
        EXPORTING
          project        = project
          subproj        = subproj
          object         = object
        EXCEPTIONS
          no_such_object = 1
          OTHERS         = 2.
    Generating error log:
    After the checking the field if u think for this u need to generate error message then In the Maintain Field Mapping and Conversion Rules option under the required field write the following code:
    data: v_msgtxt(100) type c.
    message  <msg ID>    <message type>   <message no>
                     with   <var1>  <var2>
                     into v_msgtxt.
    write v_msgtxt.
    Follow the next step in LSMW object till you reach the option  Convert Data.
    After you execute this option you will get the desired message here.
    Regards,
    Joy.

  • How to call methods from within run()

    Seems like this must be a common question, but I cannot for the life of me, find the appropriate topic. So apologies ahead of time if this is a repeat.
    I have code like the following:
    public class MainClass implements Runnable {
    public static void main(String args[]) {
    Thread t = new Thread(new MainClass());
    t.start();
    public void run() {
    if (condition)
    doSomethingIntensive();
    else
    doSomethingElseIntensive();
    System.out.println("I want this to print ONLY AFTER the method call finishes, but I'm printed before either 'Intensive' method call completes.");
    private void doSomethingIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    private void doSomethingElseIntensive() {
    System.out.println("I'm never printed because run() ends before execution gets here.");
    return;
    }Question: how do you call methods from within run() and still have it be sequential execution? It seems that a method call within run() creates a new thread just for the method. BUT, this isn't true, because the Thread.currentThread().getName() names are the same instead run() and the "intensive" methods. So, it's not like I can pause one until the method completes because they're the same thread! (I've tried this.)
    So, moral of the story, is there no breaking down a thread's execution into methods? Does all your thread code have to be within the run() method, even if it's 1000 lines? Seems like this wouldn't be the case, but can't get it to work otherwise.
    Thanks all!!!

    I (think I) understand the basics.. what I'm confused
    about is whether the methods are synced on the class
    type or a class instance?The short answer is; the instance for non-static methods, and the class for static methods, although it would be more accurate to say against the instance of the Class for static methods.
    The locking associated with the "sychronized" keyword is all based around an entity called a "monitor". Whenever a thread wants to enter a synchronized method or block, if it doesn't already "own" the monitor, it will try to take it. If the monitor is owned by another thread, then the current thread will block until the other thread releases the monitor. Once the synchronized block is complete, the monitor is released by the thread that owns it.
    So your question boils down to; where does this monitor come from? Every instance of every Object has a monitor associated with it, and any synchronized method or synchonized block is going to take the monitor associated with the instance. The following:
      synchronized void myMethod() {...is equivalent to:
      void myMethod() {
        synchronized(this) {
      ...Keep in mind, though, that every Class has an instance too. You can call "this.getClass()" to get that instance, or you can get the instance for a specific class, say String, with "String.class". Whenever you declare a static method as synchronized, or put a synchronized block inside a static method, the monitor taken will be the one associated with the instance of the class in which the method was declared. In other words this:
      public class Foo {
        synchronized static void myMethod() {...is equivalent to:
      public class Foo{
        static void myMethod() {
          synchronized(Foo.class) {...The problem here is that the instance of the Foo class is being locked. If we declare a subclass of Foo, and then declare a synchronized static method in the subclass, it will lock on the subclass and not on Foo. This is OK, but you have to be aware of it. If you try to declare a static resource of some sort inside Foo, it's best to make it private instead of protected, because subclasses can't really lock on the parent class (well, at least, not without doing something ugly like "synchronized(Foo.class)", which isn't terribly maintainable).
    Doing something like "synchronized(this.getClass())" is a really bad idea. Each subclass is going to take a different monitor, so you can have as many threads in your synchronized block as you have subclasses, and I can't think of a time I'd want that.
    There's also another, equivalent aproach you can take, if this makes more sense to you:
      static final Object lock = new Object();
      void myMethod() {
        synchronized(lock) {
          // Stuff in here is synchronized against the lock's monitor
      }This will take the monitor of the instance referenced by "lock". Since lock is a static variable, only one thread at a time will be able to get into myMethod(), even if the threads are calling into different instances.

  • How to call BAPI from ABAP Inbound Proxy

    Hi All
    Can some one provide/giude  a sample code on how to call a BAPI from generated Method (Inbound Proxy) and how are the table parameters passed from Proxy to BAPI.
    Thanks
    Ravi/

    Hello Ravi,
    In the proxy before calling the BAPI, construct the table, fill it with the appropiate values by lopping over the proxy request object. Now use this table for calling BAPI
    Cheers,
    Naveen

  • How to call webservice from Java application

    Hi XI gurus
    Pls let me know how to call a webservice from Java application.
    I wanted to build synchronous interface from Java Application to SAP using SAP XI
    For example, i need to create Material master from Java application and the return message from SAP, should be seen in Java application
    Regards
    MD

    Hi,
    If your  JAVA Application is Web based application, you can expose it as Webservice.
    JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
    So we can Use SOAP Adapter or HTTP in XI..
    If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
    If you are dealing with the Webservice and SAP Applications means check this
    Walkthrough - SOAP  XI  RFC/BAPI
    REgards
    Seshagiri

  • Call WDA from ABAP via function module

    Hi WDA experts,
    is there any possibility to call a WDA within a ABAP report AND include it in the process.
    The best would be to call a WDA via a function module - make some inputs on the WDA side - press submit and the function module gives me the data from the webdynpro back to my application.
    I know that I can call a WDA via the function CALL_BROWSER, but in this case the WDA application is fully independent from the report and I am not able to post any data back to the report.
    I also know FM WDY_EXECUTE_IN_PLACE, but in this case I need a HTML container to display the WDA and there it seems that I also never get back any data back to the report.
    Any hints are appreciated.

    Not too hard:
    CALL WDA passing in a KEY on start plug.
    write the data to a shared memory object using the key passed as the
    key to a shared memort object on the submit.
    (see blogs on writing Shared maemory objects in ABAP)
    Then simply exit APP.
    On return read the data from the Shared memory Object.
    The shared memory object lives across the 2 sessions.
    cheers
    Phil.

Maybe you are looking for

  • File to Idoc with error in trfc

    Hello, I have a scenario like File -> XI -> (idoc) R3 The scenario works fine but yesterday I had a problem with the user in the rfc destination(pwd wrong) which is used for the idoc-adapter. In the sxmb_Moni and the RWB the msg. got an success flag/

  • Not able to scale more than 1500 users when using apache (OHS),why ?

    Hi, When scale more than 1500 users, my applications response time degrades.If i use IIS as my webserver I am able to scale more than 3000 users, is there any bottleneck in the oracle apache (OHS) ? OHS Config Timeout = 300 KeepAlive = ON MaxKeepAliv

  • Is this as fast as it gets?

    On the last day of 2012, I bit the bullet and grabbed a big tax write-off by picking up the latest Mac Pro with 32 Gb of RAM. Can I say...I'm a little disappointed? I mean, it's way faster than the iMac I had... ...but it seems to me that a machine o

  • Time Machine hung: a solution!

    I've just found a solution to a persistent Time Machine problem: at first doing incredibly large and time consuming backups (e.g. 16.8 Gb – twice in a row) each time even when there has been no activity, then taking forever Indexing Backup, then gett

  • Spry Navigation Bar

    I'm new to dreamweaver CS5 and have created a new spry navigation bar.  Is there a way to create one generic navigation bar to be used in several different pages so when I have to update the menus, I don't have to change each spry navigation bar for