Asynchronous SUBMIT or CALL WITH creation of NEW SESSION

I'm doing monotonous comparisons between systems, but I do need to see the SAP standard comparison for each. So I have an ALV list that I'd like to double click a line entry that will spawn 3 NEW SESSIONS and I'll automatically populate the parameters.
So, has anyone been able to SUBMIT or CALL WITH THE KEY BEING THAT IT MUST CREATE 3 NEW ASYNCHRONOUS SESSIONS. I'd be grateful if you'd share your experience in this regard. Thank you, Adrian

Hi,
You can try in this way.
Create a new FM and place your code there. Call this FM using addition STARTING NEW TASK. It should work fine.
Check out F1 help on CALL FUNCTION for more details and additions.
Thanks,
Vinod.

Similar Messages

  • DBMS_JOB.SUBMIT ( procedure call with parameter )

    Hello,
    I am trying to call procedure with input parameter using dbms_job.SUBMIT and it gives me the value of p_email must be declared.
    declare
    my_job number;
    p_email varchar2(50) := 'abc';
    my_pro varchar2(100) := 'BEGIN my_pkg.my_proc(' || p_email ||'); END;';
    BEGIN
         DBMS_JOB.SUBMIT(JOB => MY_JOB,WHAT => my_pro);
    END;     
    if anybody knows how to solve please let me know ASAP.
    TIA

    SQL> set serveroutput on;
    SQL> declare
      2    my_job number;
      3    p_email varchar2(50) := 'abc';
      4    my_pro varchar2(100) := 'BEGIN my_pkg.my_proc(' || p_email ||'); END;'
      5  BEGIN
      6   dbms_output.put_line(my_pro);
      7  END;
      8  /
    BEGIN my_pkg.my_proc(abc); END;
    PL/SQL procedure successfully completed.i think i should also be enclosed in single quote. see this example below.
    SQL> declare
      2    my_job number;
      3    p_email varchar2(50) := 'abc';
      4    my_pro varchar2(100) := 'BEGIN my_pkg.my_proc(' ||''''|| p_email||'''' ||'); END;';
      5  BEGIN
      6   dbms_output.put_line(my_pro);
      7  END;
      8  /
    BEGIN my_pkg.my_proc('abc'); END;
    PL/SQL procedure successfully completed.
    SQL>
    your job would look like:declare
      my_job number;
      p_email varchar2(50) := 'abc';
      my_pro varchar2(100) := 'BEGIN my_pkg.my_proc(' ||''''|| p_email||'''' ||'); END;';
    BEGIN
       DBMS_JOB.SUBMIT(JOB => MY_JOB,WHAT => my_pro);
    END;

  • Issue with Creation of new entity and adding it to collection

    Hi Experts,
    LR_ENTITY_ACCT(Account details) is the parent node and that is populated using the query builder.
    From there, I am trying to get realtion of notes section 'BuilNotesRel'). If it is not present, I am creating a new entity of that relation through parent node, setting attributes and saving it. I have written the following code. While debugging, I can see the new entity created under parent LR_ENTITY_ACCT and set property is also working. But afer execution, if I check in genil_bol_browser transaction, there is no new entity created under BuilNotesRel. Please help.
    data:  LR_ENTITY_ACCT          TYPE REF TO CL_CRM_BOL_ENTITY,
               LR_COL_NOTES            TYPE REF TO IF_BOL_BO_COL,
                  LR_ENTITY_NOTES         TYPE REF TO CL_CRM_BOL_ENTITY.
            IF LR_ENTITY_ACCT IS BOUND.
              LR_COL_NOTES ?= LR_ENTITY_ACCT->GET_RELATED_ENTITIES( IV_RELATION_NAME = 'BuilNotesRel' ).
    IF  LR_COL_NOTES->SIZE( ) = 0.
        LR_ENTITY_ACCT->create_related_entity( iv_relation_name = 'BuilNotesRel').
        LR_CORE_3 = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
                LR_CORE_3->MODIFY( ).
            LR_COL_NOTES ?= LR_ENTITY_ACCT->GET_RELATED_ENTITIES( IV_RELATION_NAME = 'BuilNotesRel' ).
              LR_ENTITY_NOTES ?= LR_COL_NOTES->GET_FIRST( ).
                  LR_ENTITY_NOTES->SET_PROPERTY( IV_ATTR_NAME = 'TEXT_ID'
                                               IV_VALUE     =  'ZCOM').
                LR_ENTITY_NOTES->SET_PROPERTY( IV_ATTR_NAME = 'TDLINE'
                                               IV_VALUE     =  LS_ACCOUNT_DETAILS-NOTES ).
    LR_CORE_3 = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
                LR_CORE_3->MODIFY( ).
    endif.
    endif.
    Thanks,
    Ramya

    Hi Sumit,
    I have used a structure for notes which is of TYPE crmt_bupa_il_notes.
    ls_notes                TYPE crmt_bupa_il_notes.
    Then I create the entity, get properties, set the properties and do a core modify.
    LR_ENTITY_NOTES = LR_ENTITY_ACCT->create_related_entity( 'BuilNotesRel' ).
         LR_ENTITY_NOTES->get_properties( IMPORTING es_attributes = ls_notes ).
        ls_notes-task = 'M'.
        ls_notes-text_id = 'ZCOM'.
        ls_notes-langu = 'EN'.
        ls_notes-languiso = 'EN'.
        ls_notes-tdformat = '*'.
        ls_notes-tdline = LS_ACCOUNT_DETAILS-NOTES.
          LR_ENTITY_NOTES->set_properties( EXPORTING is_attributes = ls_notes ).
          LR_CORE_3 = CL_CRM_BOL_CORE=>GET_INSTANCE( ).
                LR_CORE_3->MODIFY( ).
    Thanks,
    Ramya

  • Call transaction in new session not working inside CRM Interaction Center

    Hi Experts,
    I have developed a report which contains a screen with push button. When user clicks on button a  transaction (FPL9) is being called and opened in new session or window. But when the report is being called in CRM Interaction Center using transaction launcher and button is clicked no new session or new window is being opened. Our requirement is FPL9 transaction will be opened in new session / window inside Interaction Center also.
    Please help me how to open a new session or window  in interaction center on push botton click.
    Thanks in advance.
    Regards,
    Arnab

    Hi Anil..
    This is the Solution for ur Requirement.   try this program and change as per ur need.
    REPORT  ZSEL_CALL_TCODE.
    data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
    DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
    SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
    LOOP AT IT_KNA1 .
      WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
      HIDE IT_KNA1-KUNNR .
    ENDLOOP.
    CLEAR IT_KNA1-KUNNR.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN 1.
    IF IT_KNA1-KUNNR IS NOT INITIAL.
    REFRESH IT_SPA.
    IT_SPA-PARID = 'KUN'.
    IT_SPA-PARVAL = IT_KNA1-KUNNR.
    APPEND IT_SPA.
      CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
        EXPORTING
          TCODE                         = 'XD02'
         SKIP_SCREEN                   = ' '
        MODE_VAL                      = 'A'
        UPDATE_VAL                    = 'A'
      IMPORTING
        SUBRC                         =
       TABLES
        USING_TAB                     =
         SPAGPA_TAB                    = IT_SPA
        MESS_TAB                      =
      EXCEPTIONS
        CALL_TRANSACTION_DENIED       = 1
        TCODE_INVALID                 = 2
        OTHERS                        = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENDIF.
    ENDCASE.
    <b>Reward if Helpful.</b>

  • Call transaction in new session (but only one)

    Dear all,
    as a hotspot functionality I would like to open a new transaction in a new session. For that reason, I use the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK.
    However I would like to restrict the new tasks in a way that only one session is used (no matter how often the user clicks the hotspot. Kind of like the ABAP Help in the workbench.
    I checked the class CL_IMC_MODE to see if it could work as a new internal session but the new mode dumped when I pressed the back button and according to the dump Statements that closes the internal mode unexpectedly like LEAVE are not allowed. Since I call standard transactions (like VA03) I can hardly prevent that. Did I miss something or do you have any other idea how I could solve my problem?
    Thank you for any input.
    Christian

    Hi Christian,
    Here is a sample code that takes in a sales order number, displays the document number as hotspot and when the user clicks on the hotspot, it opens a new window for displaying the order. No matter how many times the user clicks on the hotspot, it will only display one window for VA03. I hope this solves your problem.
    REPORT ztest.
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: ls_vbak LIKE vbak.
    DATA: BEGIN OF i_rfc_spagpa OCCURS 0.
            INCLUDE STRUCTURE rfc_spagpa.
    DATA: END OF i_rfc_spagpa.
    DATA: v_mode LIKE sy-index.
    START-OF-SELECTION.
      SELECT SINGLE * FROM vbak
                      INTO ls_vbak
                     WHERE vbeln = p_vbeln.
      IF sy-subrc <> 0.
    *-- error.
      ENDIF.
      WRITE:/ ls_vbak-vbeln HOTSPOT,
              ls_vbak-vkorg.
    AT LINE-SELECTION.
      CASE sy-ucomm.
        WHEN 'PICK'.
    *-- Delete the previous session and then call VA03 in a new session
          CALL FUNCTION 'TH_DELETE_MODE'
               EXPORTING
                    mode = v_mode.
          CLEAR: i_rfc_spagpa, i_rfc_spagpa[].
          i_rfc_spagpa-parid = 'AUN'.
          i_rfc_spagpa-parval = p_vbeln.
          APPEND i_rfc_spagpa.
          CLEAR i_rfc_spagpa.
          CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'
            EXPORTING
              tcode                         = 'VA03'
              skip_screen                   = 'X'
              mode_val                      = 'A'
              update_val                    = 'A'
    *       IMPORTING
    *         SUBRC                         =
           TABLES
    *         USING_TAB                     =
              spagpa_tab                    = i_rfc_spagpa
    *         MESS_TAB                      =
            EXCEPTIONS
              call_transaction_denied       = 1
              tcode_invalid                 = 2
              OTHERS                        = 3 .
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.

  • Caller Program name after SUBMIT or Call Tran (SAP-Query drill as ex)

    Hi ,  there is real simple situation
    I have SAP Query and do Drill Down to my Report or  Transaction.
    So I have two questions but as I believe they are equal:
    1) How I can get Caller SAP Query name from my Report ?
    2) How can we get  Caller Program name after SUBMIT or CALL TRANSACTION operator (in new started report for example )?

    Hi,
    there is a system variable sy-cprog ...check if u can use it...
    else from the caller prog move its name to SAP memory and retrive it in called prog..
    in caller prog
    data caller_prog type SYCPROG.
    move sy-repid to caller_prog.
    set parameter id 'ZCPROG' field caller_prog.
    submit <called_prog> and return.
    in called prog
    data caller_prog type SYCPROG.
    get parameter id 'ZCPROG' field caller_prog.
    write caller_prog.
    write / sy-repid.
    Cheers,
    jose.

  • Call transaction in new session with the value at hotspot

    Hi all,
    As a hotspot functionality I would like to open a new transaction in a new session with the value at hotspot. For that reason, I am using the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK.
    This FM is not working because Parameter ID is not Maintained for the field (Hotspoted). So no value is passing to new transaction.
    Please suggest any other way to implement this.
    Thanks

    Hi Anil..
    This is the Solution for ur Requirement.   try this program and change as per ur need.
    REPORT  ZSEL_CALL_TCODE.
    data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
    DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
    SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
    LOOP AT IT_KNA1 .
      WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
      HIDE IT_KNA1-KUNNR .
    ENDLOOP.
    CLEAR IT_KNA1-KUNNR.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN 1.
    IF IT_KNA1-KUNNR IS NOT INITIAL.
    REFRESH IT_SPA.
    IT_SPA-PARID = 'KUN'.
    IT_SPA-PARVAL = IT_KNA1-KUNNR.
    APPEND IT_SPA.
      CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
        EXPORTING
          TCODE                         = 'XD02'
         SKIP_SCREEN                   = ' '
        MODE_VAL                      = 'A'
        UPDATE_VAL                    = 'A'
      IMPORTING
        SUBRC                         =
       TABLES
        USING_TAB                     =
         SPAGPA_TAB                    = IT_SPA
        MESS_TAB                      =
      EXCEPTIONS
        CALL_TRANSACTION_DENIED       = 1
        TCODE_INVALID                 = 2
        OTHERS                        = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENDIF.
    ENDCASE.
    <b>Reward if Helpful.</b>

  • Issue with ALV sceen called using BDC in new task and in background mode

    Hi Gurus,
    Need your expert advice. I am trying to call one transaction (IS AUTO - VELO) which has ALVs on screen. VELO is being called through BDC in NEW TASK in background. So, the new session is a Dialog session and SY-BATCH is initial here.
    In two different scenarios, I am getting error at two different places:
    a) As I can't call ALV directly, I am using docking container. This is giving issue during 'CREATE OBJECT' -> CONSTRUCTOR for cl_gui_alv_grid ->   if offline( ) is initial. (AS SY-BATCH is initial) -> call method me->set_registered_events_internal exporting events = lt_events. -> call method get_registered_events importing events = lt_events. -> IF H_CONTROL IS INITIAL.     RAISE CNTL_ERROR.   ENDIF.
    b) Call to OLE_FLUSH_CALL is happening, which is resulting into dump.
    I tried to search SDN and google, but couldn't find the solution. Thanks for your help :).
    Regards,
    Alok

    I'm not sure what is eating up your system resources, but .wmv files
    are considered to be a delivery format, and are not ideal for editing.
    I have never tried to edit screen capture video from any source, but you might consider
    upgrading to Expression Encoder 4 Pro (with codecs)... at least it includes H.264.
    Expression Encoder 4 Pro

  • I have an agreement form created in word doc. i want to hire some one experience with formscentral to recreate the form and user be able to complete the agreement, sign it electronically (using echosign) then click submit. i will be alert of new response.

    i have an agreement form created in word doc. i want to hire some one experience with formscentral to recreate the form and user be able to complete the agreement, sign it electronically (using echosign) then click submit. i will be alert of new response. can someone connect me to where i can talk to someone can provide this service. i have sample of agreement form

    Hi c3 cyber club,
    Unfortunately FormCentral and Echosign are two different services and forms created in Forms central can only be submitted via and to Forms Central.
    We cannot have the form filled in using FormCentral and get it signed using Echosign.
    However, you can use Echosign directly and you can get most of the functionality.
    Thanks,
    Vikrantt Singh

  • This bundle is invalid - New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software

    Does anyone can help me on this issue from Apple Developer?
    This bundle is invalid - New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software
    Is there a new Flash CC - Adobe AIR SDK to solve this?
    Best

    Looks like there's some hope:
    Re: App Store must be built with Xcode 5.1.1 or later !

  • IPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    iPod updates 2 touch with the new software, and from the update they are not connected with Time phase. They appear calling but never they enter the calls. I make calls with other users and if one connects but in these two not from the update

    I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
    I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
    One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
    If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
    I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
    As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
    DU needs to be reading the packages on the HD, not the (now out of date) install disc.
    The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
    http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set).

  • How can I video call with some one who doesnt have an iPhone?? I have the new iPhone 4s

    How can I video call with someone who doesnt have and iPhone???? I have the new iPhone 4s

    Hi get the app called Fring which allows you to do it as long as they have fring too

  • [svn] 3127: Updating asdoc to replace the avmplus call with new set of java files.

    Revision: 3127
    Author: [email protected]
    Date: 2008-09-05 14:16:53 -0700 (Fri, 05 Sep 2008)
    Log Message:
    Updating asdoc to replace the avmplus call with new set of java files.
    Removing all files related to asdochelper.
    QA: Yes, also please test on non windows platform.
    Doc:
    Tests: checkintests, asdoc
    Reviewed by: Pete Farland
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/ASDoc_Config_Base.xml
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/modules/compiler/build.xml
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsClass.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocHelper.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/QualifiedNameInfo.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/SortComparator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
    Removed Paths:
    flex/sdk/trunk/asdoc/templates/asDocHelper
    flex/sdk/trunk/asdoc/templates/asDocHelper.linux
    flex/sdk/trunk/modules/compiler/asdoc/

    I had a generic record class that has a HashMap to hold the data fields (...)
    method called createRecord() for each record type which would populate the HashMap with the correct data fieldsI'm not sure I understand: are the contents of this field map the same between two records of the same type? Then yes, you don't need to clone the map per record instance.
    one thing that needs fixing is the fact that each time the createRecord() method is called I'm creating a new fieldMap to define the dataFields in the record class.Probably, but that will only get you a little bigger files; you won't gain an order of magnitude on the size of files. The problem for huge files is that as soon as their content is bigger than the available memory, you'll run into problems. A more radical approach if you need to address huge files is to process the records on the fly, and not load all records in memory. Of course not all algorithms or business logic can afford that...
    I know I could rewrite the code and create a class for each record type and declare the fieldMap static but I was wondering if anyone had any better suggestions The Record instance could receive and keep a reference to its RecordType instance, and ask the RecordType instance the DataType for a field's name. That way the RecordType encapsulates the map, and there's less risk that a clumsy other class modifies the static map.
    before I go rewriting a load of code.A load of code?!? Even with the idea of the static map, you only have to edit the enum type (well more accurately, each RecordType enumerated constant's createRecord() method).

  • TS4079 Siri used to work fine when making mobile calls in Ecuador until yesterday, when the administration of Ecuador added an aditional number in all mobile numbers existing in Ecuador. Since then Siri is unable to make any mobile calls with any new numb

    Siri used to work fine when making mobile calls in Ecuador until yesterday, when the administration of Ecuador added an aditional number in all mobile numbers existing in Ecuador. Since then Siri is unable to make any mobile calls with any new number.Help
    I`ve tried restarting, rebooting, nothing works.
    The interesting thing is that SIRI can call to previous mobile numbers (without the new digit) obviously not connecting , and, can call to any other numbers as an office or home number. So the problem is the new digit in the mobile number

    Ecuador has added an extra digit to mobile phone numbers but apple wont accept 10 digit phone numbers so we cant use facetime or apple IM or verify our new phone numbers. ( and Siri won't work either!) I have contacted apple support online but can't request a call back as the apple system says our new phone numbers are invalid. I am going to phone them tomorrow and you should complain too at http://www.apple.com/support/contact/.  . The more people that bring this to their attention the faster it will get fixed

  • I have one problem with my iphone 4s i c"ant  make facetime calls with other iphons. olso when i make calls on the facetime icon is question sign! can any oane hellp me! wath my be the problem because it is all new iphone!

    i have one problem with my iphone 4s i c"ant  make facetime calls with other iphons. olso when i make calls on the facetime icon is question sign! can any oane hellp me! wath my be the problem because it is all new iphone!

    First question where ae you located?  If you're in the Middle East or UAE, factime has been restricted by the government.
    If your not from there look here:
    http://support.apple.com/kb/TS3367

Maybe you are looking for