Trigger T-Code Synchronously from WD4A

Hi All,
I have a requirment in which I have to trigger a transaction code from WD4A view synchronously.
After the transaction code is opened in another window the WD4A component should continue to listen if the transaction code window is closed.
e.g.. when a confirmation pop-up window is displayed in WD4A the control is gained by the pop-up window and user cannot perform any action on the parent or main window. And when the pop-up closes the parent window gets to know this. The parent view is again rendered.
In a similar way i have to trigger a transaction from WD4A.
The parent View/Window should be inactive till the transactional window is open and the parent window/view should listen when the transaction window is closed.
Please let me know how this can be done.
Can this be achieved by transactional i-View or any other method.
Regards,
Sameer.

Hi Sameer,
Thomas is right  - I think always right :-).
However you might want to consider not holding both sessions (WDA and GUI) open.
You have not supplied enough detail but this concept may work.
1. You could launch a GUI (HTML or Windows) from your WDA.
If you want to do the Windows version, then you can attach a shortcut file to the frontend (ie like a PDF or pic file). Depending on SSO, Windows File Types (.sap), browser setting etc you can get the Windows GUI to open on the transaction you want. We have done this.
2. Then close the WDA window after opening the transaction (Exit Plug).
3. On closing the transaction, trigger the WDA again (maybe an exit on save or a wrapper for the transaction).
Saying all that, without further info, you might be needing to pass parameters into the WDA to manage the flow.
In addition; if searching etc was used up front, you may be needing to save these off before calling the transaction, then using them on the way back.
All this depends on how keen you are to manage this.
Personally, I would stick with Thomas's answer.
JS

Similar Messages

  • How to trigger updateMarker for TextEditor from code

    I'm making my own marker. But when I change document programmatically, I couldn't trigger updateMarker. So markers're indexs don't change.Markers has not showed correctly. How to trigger updateMarker for TextEditor from code?

    Hi Viren,
    Glad that your problem is resolved.
    Help.Sap.com is the best reference: http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Also check the "How-To" docs in https://www.sdn.sap.com/irj/sdn/developerareas/bi
    Bye
    Dinesh

  • Labview code to trigger and scan spectra from HR4000 spectrometer?

    has anyone used labview code to trigger and scan spectra from HR4000 spectrometer? When I use one of the device drivers (Spectral Acquisition.vi), i miss lots of trigger when I run it for more than 100 iterations?
    I was wandering if anyone is working with it or had in the past and if you could share your insight.
    Thanks

    Inconsistent times are one thing, overall slowing down is another, although they may have common source. I guess it is the XY plot in your case. Do you have it AutoScaled? If so, try turning autoscaling of both axes off.
    Secondly, I don't quite understand the reason for the inner loop with number of iterations = constant 1. What happens if you remove the loop? I understand you want to change the number of iterations in future, but let's test the simplest things first. Removal will require indexing the Wavelength array explicitly with an apropriate block. By the way, it is customary that you EITHER define the number of iterations of a FOR loop by connecting the N input OR by indexing of an input array - NEVER both at the same time. Maybe, changing the multiple XY plot into a single XY plot won't be necessary, maybe it will, try for yourself.
    Thirdly, I suggest you try enclosing the XY plot block alone in a case structure (say, in its TRUE window) and set the true condition to occur at some fraction of the total iterations, not every cycle. You do this using the index "i" of the main iteration loop, calculate modulo something (e.g. 10) and test if it is true or false. This way you update the XY plot every 10th iteration only and by choosing different modulo divider you can test, if the plot's display is or isn't the beast slowing things down.
    Finally, I suspect it is not necessary to use a Local Variable of the seconds 2 indicator. How about simply wiring the output of your To-double block to the input of the subtraction block? That should let you remove seconds 2 local variable with no harm done.
    Daniel

  • Create Trigger to insert records from one table to another

    I created the below trigger to move data from one table to another after records have been inserted from another table to that table. What I need done is that each time records have been inserted into TEST_TBL, one of these actions codes should be implimented: U-update, N-insert, D-delete and inserted into TEST_TBL1. But each time I run the script, I get bunch of errors. Please see the script below: - Your help will be appreciated.
    create or replace
    trigger POWER_tr
    after update or insert or delete ON test_tbl
    for each row
    begin
    if updating then
    insert into test_tbl1
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, action_code, date_added
    VALUES
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, 'U', sysdate);
    ELSif INSERTING then
    insert insert into test_tbl1
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, action_code, date_added
    VALUES
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, 'N', sysdate);
    ELSIF deleting then
    insert into test_tbl1
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, action_code, date_added
    VALUES
    (idx, mke, ctl, ori, nam, sex, rac, pob, dob, hgt, 'D', sysdate);
    END IF;
    END POWER_tr;
    Thank you,
    Albert Zaza
    Edited by: azaza on Mar 1, 2009 4:14 PM

    Hello
    At the end of trigger show errors / and post what errors are you getting exactly?
    Here is a simple example for your reference, this will save old values in history table; you can replace it with new values if that's what do you want.
    CREATE OR REPLACE TRIGGER TRG_DU
       AFTER DELETE OR UPDATE
       ON EMPLOYEE    REFERENCING NEW AS New OLD AS Old
       FOR EACH ROW
    DECLARE
    BEGIN
       IF UPDATING
       THEN
          INSERT INTO employee_hist
            VALUES   ('UPDATE',
                      :OLD.empid,
                      :OLD.name,
                      :OLD.deptid);
       ELSIF DELETING
       THEN
          INSERT INTO employee_hist
            VALUES   ('UPDATE',
                      :OLD.empid,
                      :OLD.name,
                      :OLD.deptid);
       END IF;
    EXCEPTION
       WHEN OTHERS
       THEN
          -- Consider logging the error and then re-raise
          RAISE;
    END TRG_DU;
    /Regards
    Edited by: OrionNet on Mar 1, 2009 7:27 PM

  • Which FM will trigger when we logoff from SAP?

    Hi All,
             Can u Tell me which Function module will trigger when we logoff from SAP screen ....pls its Urgent..
    Thanks&Regards.
    Bharat .
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 11:36 AM

    Hi,
      Actually that FM is useful for conform the user selection whether it is YES or No.Acording to that we will write the code for the user selection.Actually i want to Logoff from SAP screens when i click yes button on the popup screen.So please tell me the FM for logoff from SAP.I want to know the actual FM for LOGOFF sap.Please let me know asap.
    Regards,
    Bharat.

  • How to specifiy the provider to be Oracle.ManagedDataAccess.Client when creating a dynamic connection string with EF Code First from Database?

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

  • Is there a way to remove a code snippet  from the library of my snippets in Edge Animate CC2014?

    Is there a way to remove a code snippet  from the library of my snippets in Edge Animate CC2014?

    When you click on "My Snippets", it will list down all saved user snippets, which you can right-click and click on "delete" to delete it.

  • SSRS Report Manager error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

    Hi All,
    I am getting error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"
    in one of my Test Environment when trying to run the SSRS 2012 report from report manager.
    Any clue why it is happening.
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Hi All,
    Upon investigation found that there was no space (0 Byte is available) in E drive where underlying SQL DB is residing. 
    Once I cleared the space, report started working and above error was not displaying. 
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • An Error Occurred During Report Processing - Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12019

    When I run the report on production I got the following error message:
    Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the
    request on the server. The status code returned from the server was: 12019
    It hasn’t happen on Dev and Test before.                           
    I googled, The error is described as:
    12019 ERROR_INTERNET_INCORRECT_HANDLE_STATE
    The requested operation cannot be carried out because the
    handle supplied is not in the correct state.
    But I cannot find the solution for that. 
    Has it happend to you before? How to solve that?      

    Same behaviour here, Sharepoint 2013 with SSRS in integrated mode
    Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status
    code returned from the server was: 12019

  • Sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0

    sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0 We got this response(In firebug console) when we try to click on link (after leave webpage for 3 minuts ideal) which is AJAX based. Please reply ASAP because its urgent.

    Hi SP,
    Please check if the following web config appSettins value settings from SSRS server could fix the issue (Note, back up your original web config file before any modification).
    http://stackoverflow.com/questions/10911610/ssrs-webpage-error-status-code-500
    http://srinivasbn.blogspot.in/2013/09/syswebformspagerequestmanagerservererro.html
    http://connect.microsoft.com/SQLServer/feedback/details/782155/ssrs-2012-failed-with-win32-error-0x03e3
    If you have more questions about the SSRS error logs related to this issue, you can post in the SSRS forum for a better assistance with more experts.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to erase photos in my iPad synchronized from my pc ?

    how to erase photos in my iPad synchronized from my pc ?

    Go back to the PC and unselect the albums/photos you don't want.
    Read this...
    http://support.apple.com/kb/HT4236

  • How to determine the error code, returned from LDAP server

    I use the next code for connect to LDAP server:
            try{
                ctx = new InitialLdapContext(env, null);
                 //if connection successfull ...
            } catch (NamingException){
                 //if error occured ...
            }Is it possible to determine the numeric error code, returned from server?

    I was just working on using openldap, binding to it and checking for expired passwords and locked accounts and it looks like that an AuthenticationException is thrown in these circumstances and the ctx is null so it is not possible process connection response controls. But you can look at operation attributes if you have password policy enabled and you are looking for these type of errors

  • How do i get a Base code (Material) from a description through BOM?

    Hi,
    the right base code(material) for the production order '68647' is 100827 descriotion 'PIPE BASIC' .
    my requirement is i have an production order and relevent plant, how do i get a basecode ?
    from my previous finding i read that All BOMs will have are associated with the description.
    Targeting this description will always return the right base code for the order.
    but i did not get any idea out of it.
    Please tell me how do i get a Base code (Material) from a description through BOM?
    Thanks in advance.
    Edited by: gulab zehra on Sep 22, 2009 9:17 AM

    Hi Keven,
    I had a look at the example "programmaticbuild2.vi" that you can find at this link:
    in this application the error that eventually comes out from the "BuildTargetBuildSpecification.vi" is written in the error_log.txt through a case structure.
    You can change the code inside the Error case if you want to handle the error in a different way. For example you could connect the error wire to a General Error Handler, that displays a message if an error occurs, or you could light up a led that inform you the error has occurred.
    Best regards,
    Serena M.

  • How to create an Undefined Code Combination from API? (Urgent)

    Hi All,
    I used the following API to create the code combinations in a Inventory custom form.
    SELECT CHART_OF_ACCOUNTS_ID INTO :PARAMETER.CHART_OF_ACCOUNTS_ID
    FROM ORG_ORGANIZATION_DEFINITIONS
    WHERE ORGANIZATION_ID = :PARAMETER.ORG_ID;
    FND_KEY_FLEX.DEFINE(
    BLOCK => 'XX_MRN_TRX_HEADERS',
    FIELD => 'TO_ACCOUNT',
    CODE => 'GL#',
    APPL_SHORT_NAME =>'SQLGL',
    NUM => ':PARAMETER.CHART_OF_ACCOUNTS_ID',
    ID => 'TO_ACCOUNT_ID',
    VRULE => '\\nSUMMARY_FLAG\\nI\\nAPPL=SQLGL;NAME=GL_NO_PARENT_SEGMENT_ALLOWED\\nN\\0GL_GLOBAL\\nDETAIL_POSTING_ALLOWED\\nE\\nAPPL=INV;NAME=INV_VRULE_POSTING
    nN',
    REQUIRED => 'N',
    DINSERT => 'Y',
    VALIDATE => 'FULL',
    USEDBFLDS => 'N');
    This creates the correct ccid if the combination is already available in GL (gl_code_combinations_kfv), But when its a new combination it returns '-1'.
    How can I create an Undefined Code Combination from API in custom forms?
    If any one one can help me on this it'll be a great help.
    Thanks

    Solved by Using FND_FLEX_EXT.GET_COMBINATION_ID.
    Thanks

  • Will any of DDL command trigger a data flush from the data buffer to disk?

    Will any of DDL command trigger a data flush from the data buffer to disk?---No.164

    I mean if I issue the DDL commands Such as DROP, TRUNCAE, CREATE, Can these commands trigger a data flush action?

Maybe you are looking for

  • Material creation

    Hi all,     I want to create retail material Generic(MM41) with any method, preferably bapi. material should be assigned internally. I tried with 'BAPI_MATERIAL_MAINTAINDATA_RT'. but this bapi require material no is mandatory. Plz suggest solution if

  • Is parallel development possible?

    Hi, Is parallel development possible using Policy Studio? Assume that there is a team of 5 developers working on multiple policies at the same time and perform deployments at frequent intervals - is this scenario possible? Asking this as me and my te

  • How to click on linkbuttons in the rows of a data grid

    I'm trying to write automation test cases for a flex application using Flex Selenium. The flex selenium API provides only 2 click events: click(String objectId) and click(String objectId, String optionalButtonLabel) There are no click events for rows

  • Unicast cluster - heartbeat message failure messages

    Using unicast messaging mode and i see following messages ####<Jul 9, 2010 12:46:56 AM PDT> <Info> <Cluster> <anaeur30> <WL10MP2-ServiceSTServer6> <[ACTIVE] ExecuteThread: '45' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>

  • SQL Re-Write....Using Exists?

    Hi Gurus, I need some help to tune the below query please. I am running it since morning and it is taking very long to return data, so i was wondering if there is a better way to write the query? Basically, I just have to get the count of Policies in