How to call external application (transaction launcher) from event method

Hi all
Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
Best regards
Arne Thage / MarchIT / Denmark

hi,
check class CL_CRM_UI_LTX_NAVBAR_PARAM.
call method : CREATE_PARAMETER_OBJECT with parameters
IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
I think it should work but have never done myself.
Best Regards
Pankaj Kumar

Similar Messages

  • How to call external Perl routines from Pl/SQL - Urgent

    Available software in the Test Environment:
    1. Sun Unix 2.8
    2. Oracle 8.1.7 ( 8i)
    3. Perl 5
    Iam trying to call/execute perl scripts from PL/SQL using the DEMO_RDBMS.mk. I am able to call C scripts from PL/SQL, but actually want to call Perl scripts.
    The steps followed for for C are -
    1. Create and compile a simple C program to execute a unix command (eg., touch a file).
    2. Make a shared library of the above compiled program (object), i.e., load the compiled object module into a dynamic load library.
    3. Declare the above library in Oracle using SQL*Plus.
    4. Define a PL/SQL function or procedure to call the external routine.
    5. Test the external routine.
    The above steps run good for a C program, but step 2 fails when run for a Perl script.
    When I tried to use the following command for step 2 -
    make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_callback \
    SHARED_LIBNAME=cmd_lib.so \
    OBJS=tst_cmd.pl
    got the following error -
    ld: fatal: file tst_cmd.pl: unknown file type.
    ld: fatal: File processing errors. No output written t cmd_lib.so
    *** Error code 1
    This gives me an indication that demo_rdbms.mk does not understand/interpret Perl scripts. Going through the demo_rdbms.mk suggests the same.
    My questions is - How do we call external Perl scripts/routines from PL/SQL ??
    Do I have to get a different version of "demo_rdbms.mk" ?
    PS: The perl scripts used above (tst_cmd.pl) is error free and works as intended in the unix environment.

    Iam trying to call/execute perl scripts from PL/SQL using the DEMO_RDBMS.mk. I am able to call C scripts from PL/SQL, but actually want to call Perl scripts. Well, C is a "compiler" language and Perl is interpreted. In a sense, C is not "scripts".
    When I tried to use the following command for step 2 -
    make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk extproc_callback \
    SHARED_LIBNAME=cmd_lib.so \
    OBJS=tst_cmd.pl
    got the following error -
    ld: fatal: file tst_cmd.pl: unknown file type.
    ld: fatal: File processing errors. No output written t cmd_lib.soI guess this compiles an extproc "stub" with your object file, generating an external procedure. So the object file really needs to be an object file :-)
    My questions is - How do we call external Perl scripts/routines from PL/SQL ??I'd guess you need an embedded Perl interpreter in the external procedure.
    Not much help though I'm afraid :-/
    Cheers
    Fredrik

  • How to call external files from java?

    How to call external files in java. For example how to call a *.pdf file to open in its default editor(say Acrobat), or a *.html file to open in the default browser or a *.txt file in a notepad etc..,
    In my program i have *.chm (Compiled Windows HTML Help) help file. how to open it in its default editor it?

    Jayarathina_Madharasan wrote:
    no one answered my questionHi what wrong did i do...basically insulted all the volunteers here who took the time to consider your question and try to offer you help. Other than that, you did nothing wrong.
    From JavaRanch :
    And even if an answer doesn't solve your problem, even if it should totally miss the point - the best thing to do to motivate others to continue trying to help you is showing respect and gratitude for the investment of time that was put into dealing with your issue.
    Edited by: Encephalopathic on Apr 14, 2008 10:01 AM

  • How do I tell which hard drive an application is launching from?

    Hello.  I am first time user of the support communities here.  I have searched the forums prior to posting, but haven't been able to find an answer.
    I have a 2011 model Mac Mini (purchased 12/2011) running OSX Lion.  A couple weeks ago, I started getting a pop-up error telling me that I was running out of startup disk space.  I did a check through "about this Mac"  / disc utility and found that I was indeed very low on space on my stock 500GB HDD.  This machine see light use, but serves as primary storage (wirelessly backed-up through Time Machine to a NAS (1TB WD MyBook World Edition) attached to my AirPort Extreme, for photos (iPhoto) and music and digital copies of movies associated to iTunes, along with back-ups (through iTunes) for 4 iPhones and an iPad for our family.
    Anyway, I searched online and found that since this model had eliminated the optical drive, I could add a second hard drive.  For this application, I valued space over blazing performance, so I opted for a Seagate 1TB SSHD (hybrid drive) to add to my existing 500GB drive.  I was able to install the second drive just fine following these instructions and the following YouTube video as a guide.  I erased / initialized the second drive through disk utility so it was mounted / usable.  I needed to set the drive with available space as my startup disk, so I then installed OSX Lion (recovery USB key) on the second drive (volume "untitled") and followed the migration steps to copy all of my settings, applications, documents, etc from the stock drive (volume Macintosh HD) to the new one.  That all went fine.
    I seem to have the same data on both drives according to the usage shown on About this Mac > Storage.  The drives are in OSX Extended (Journaled) mode.  My question is that I want to free up appx 498GB of space, if possible, by removing the duplicate data from the original 500GB stock (no longer "startup" drive).  Is there a downside to doing that?  Is there a way to determine which drive my applications are launching from to make sure I don't have applications reading from one drive and writing to the other, or something.  When I clicked "about" in a couple of sample applications to check, I can't tell... It starts the location context with /users/Matt.........iTunes.app  for example.   I can't tell which drive it's actually launching from  / accessing right now when I open it.
    Appreciate any insight.
    Thanks,
    Matt

    Some applications absolutely must be in the main Applications folder.  Others can be put pretty much anywhere but they will use preferences stored in the user's directory on whatever drive that is, and use Application Support on the boot drive.  I think it would be wise to keep applications on the main drive and store only data on your other drive.  However, I do occasionally end up with applications on two drives, or multiple copies of a few applications so I can process two files at the same time.  Some applications tolerate being renamed and if you need/want two copies then you can perhaps label them as to the drive on which they are located.

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

  • How to call the Application configuration in run time.

    hi guru,
    i have created two  Application configuraton   and it working fine.
    my question how to call the application configuration in run time.
    Example :
    Based on the user i want to change the Application Configuration.like Super user and Normal user.
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    Please try out this way-
    Have a look at this table -
    WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
    after you are done with the configuration--
    Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
    Please refer to these links -
    different default layouts for different CONFIG_IDs
    Get WDCONFIGURATIONID
    Regards
    Lekha

  • Pass Parameters to an external appl when launched from web dynpro ABAP .

    I want to Pass Paramaters to an external application when launced from Web dynpro ABAP . I have successfully launched an .exe file ( Notepad / eViewHSEditor ) from Web dynpro using the logic from Standard WD_TEST_APPL_ACFEXECUTE component  But I am unable to Pass paramters to the .exe file .
    example :-  I would like to pass parameters  text1 text2 in the arugement list and I expect it opens an untitled notepad and in the file it will have parameters text1 text2 . But it is behaving in a different way . Below are the detailed steps of what I have done .
    The steps that I followed :-
    1)  Right now I have created the white list Configuration for Notepad.exe
    2) I have created 1 and 2 postions both of type string and permission Legal .
    3) The Paramter Value is * for both 1 and 2 .
    4) I activated the whitelist and it generated an .XML file
    5)
              application = 'C:
    WINDOWS
    system32
    notepad.exe'.
              argument = 'text1 text2' .
              co_element :- I am reading the element from the conrtext .
          co_element = wd_context->get_lead_selection( ).
          co_element_stru-attribute_name = 'ERROR'.
          co_element_stru-element = co_element.
          wd_this->acf_method_handler->if_wd_acfexecute~execute( application =  application
                                                                 argumentlist = argument
                                                                 errorinformation = co_element_stru ).
    when i execute  the application , it is trying to launch a notepad with file  'text1  text2.txt'  and it doesn't have one , it is asking do you want to create .  If You yes, it will open notepad with name 'text1 text2.txt' . If you Pass abcd in the arugement list , if the file with name abcd.txt exists , it opens the notepad with that file name .

    You try to open notepad from your PC with the same command, you will the same result.
    start->run->notepad "test1 test2". You get the popup saying that "test1 test2" file is not existing. You can google it to find a way to pass the text while opening notepad and try to fit that in your WebDynpro argument. I doubt if it is possible though.

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • Call External Applications usine OLE

    Hi Experts,
        I have a requirement to call External Application in ABAP.
    For Ex:- you might have seen Word document being called in the SAP Screens for the documentation or in the Text Editor using OLE.  similarly I need to call an external application like calculator in the SAP Screen. 
    Can you one give inputs regarding this.

    Hi KesDev,
    If it so that you want a calculator on the SAP screen then there is function module available in SAP.
    In SE37 search for * CALCULATOR * you might be able to find one, since i am not on the system right now that's why i am not able to give you the exact name.
    This is the Function Module,
      DATA:  amount_out TYPE ptrv_fname,
             amount_in  TYPE ptrv_fname.
      CALL FUNCTION 'FITRV_CALCULATOR'
        EXPORTING
          input_value          = amount_in
          currency             = ztable-waerk
          start_column         = '120'
          start_row            = '2'
        IMPORTING
          output_value         = amount_out
        EXCEPTIONS
          invalid_input        = 1
          calculation_canceled = 2
          OTHERS               = 3.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar
    Edited by: Abhijit Borkar on Feb 8, 2010 10:37 AM

  • How to call the application that submitted with the ipod touch 5?? is a ninja

    how to call the application that submitted with the ipod touch 5?? is a ninja

    You should not discuss beta software here at all.
    This is a developer only question and should be posted in the developer forum

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • How to call a Bapi or RFC from a custom logon module

    Can you provide an example of how to call a bapi or rfc from a custom logon module? (used to authenticate in portal)

    Hello all,
    Is it possible to use SAP JRA instead?
    We have a Connector deployed on the WebAS 6.40. From an EJB (Webservice) it is possible to lookup the connector, but if i try to lookup the connector from a custom LoginModule, i get the following error:
    Path to object does not exist at java:comp, the whole lookup name is java:comp/env/eis/SAPJRA_CRMDC.#
    The whole lookup in LoginModule looks
    try
                   initialcontext    = new InitialContext();
                   connectionFactory = (ConnectionFactory) initialcontext.lookup("java:comp/env/eis/SAPJRA_CRM");
              } catch (Exception ex)
                   location.errorT(ex.getMessage());
    Regards Oliver

  • How to call two RFC in a single JAVA method.

    Dear all,
    I just want to know that how to call two RFC in a single java method which is defined in CRM implementation file. I'm using NWDS as the customization IDE & working on ISA 7.0.

    Hi Sunil,
    In the Backend Implementation class, in any method you can call multiple RFCs.
    It will be the same way as you do for the single RFC call.
    Following syntax is for your reference.
    Get the JCO connection
    JCoConnection  connection = getDefaultJCoConnection();
    JCO.Function func = connection.getJCoFunction("ZXXXXXXX");
    set the import parameters
    Execute it.
    connection.execute(func);
    get the data from export / table parameters
    Now call the second RFC
    func = connection.getJCoFunction("ZYYYYYYYYYY");
    set the import parameters
    Execute it.
    get the data from export / table parameters
    close the connection
    Hope this will help you.
    -Chandra.
    Edited by: Chandra Sekhar Seeli on Jan 13, 2011 2:04 PM

  • How to call pragma autonomus_transation in repeated triggering event

    How to call pragma autonomus_transation in repeated triggering event
    eg :
    create or replace trigger trg_1
    after insert on aa
    for each row
    declare
    PRAGMA AUTONOMOUS_TRANSACTION;
    begin
    insert into aa values(10);
    end;
    insert into aa values(20); ..... can u help me pl

    Welcome to the forum.
    How to call pragma autonomus_transation in repeated triggering event You don't, unless you want to corrupt your data.
    Read:
    http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551198119097816936
    http://www.oracle-base.com/articles/9i/MutatingTableExceptions.php
    http://www.oracle-base.com/articles/misc/AutonomousTransactions.php

  • 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

Maybe you are looking for

  • Memory usage problem on AIX 7.1

    Hi, We are running Oracle 11GR2 EE on AIX 7.1 and keep getting alerts on the pgchecks (memory paging). The alerts are coming from another system monitoring tool (Hobbit), but our sys admins are telling us it is because we are overallocating memory. I

  • How to remove the edit icon in interactive report?

    Hi All, I am using the Customer Tracker 1.1 sample and I would like to remove the edit icon on the Customers list. (Instead I would like the Customer name to be the link itself). However, nothing I do on the reports properties seems to have any effec

  • Why do lines show up after converting Word doc?

    Acrobat X Pro After converting a regular Word doc, which doesn't 'appear' to contain lines around the paragraghs, contains lines in the PDF. I believe I have chosen the highest quality in the convert settings, and cannot figure out why I'm getting th

  • Balance sheet in XBRL format.

    Hi,    I want to present balance sheet in XBRL format is it possble to do in ECC 5.0  ?? If yes then please  suggest the steps for it. Plesase help me !! ASAP Thanks in advance !! Moderator message: relation to ABAP development unclear, please do mor

  • I have enabled dictation but when I press fn twice 3 dots appear and wiggle then disappear.  Do not see 'Microphone'

    I have enabled dictation but when I press fn twice 3 dots appear and wiggle then disappear.  Do not see 'Microphone'