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>

Similar Messages

  • 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>

  • 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.

  • WF Question: Call Transaction From Business Object Not works

    Hi Frinds
    I need some help
    in Business Object ZBUS2012  I have a method that run a report (ALV)
    in the PO nubmer I have a drill down to me23n with parameter BES (EBELN)
    when I click the PO me23n Opened Empty without the PO Number.
    If i try to run the report not from the BO its woks fine.
    it's opened me23n with the right PO Number.
    What can Be The Problem ?
    Thanks in Advance

    Hi Kobi
    Are you passing the parameter from the business object to the method of you ALV report, if in doubt, please post your method code?  Most likely this is what is wrong.  The correct way to reference the PO number within the method is
    object-key-purchaseorder
    Then test using SWO1 to ensure you method is correct before calling through workflow.
    Regards
    Gareth

  • I updated my mac's OS to Yosemite and now my eye drop tool will NOT work inside premiere pro. Can anyone help me fix this issue?

    The eyedropper tool for selecting colors to key out or to fill text will not work inside premiere pro, this error started when I updated my mac os to yosemite.

    Hi Transportation,
    Does the error occur in OS X 10.9? If not, why not remain at OS X 10.9? Is it necessary to run OS X 10.10?
    The general rule of thumb is that when you are running software that is no longer tested or supported on a new operating system, you have to prepare for anomalies like this. You may want to install a separate bootable hard drive with OS X 10.9 on it so you can continue running that software more reliably.
    Hope that helps,
    Kevin

  • HT1766 # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    http://support.apple.com/kb/HT1848  Did you transfer your purchased item, take a look at the link

  • Telnet session not working in OEL -5

    Telnet session not working in OEL -5
    ==============================
    1. Installed xinetd and telnet-server packages on the box.
    2. Enabled the xinetd service.
    # service xinetd start
    # chkconfig xinetd on
    Telnet still not working. Please help.
    Lily.

    Re-ran the /etc/init.d/xinetd restart command. Telnet cannot connect and this is what I get:
    Unencrypted connection refused. Goodbye.
    Below is the telnet.cfg
    ==================
    # default: on
    # description: The telnet server serves telnet sessions; it uses \
    #     unencrypted username/password pairs for authentication.
    service telnet
         flags          = REUSE
         socket_type     = stream
         wait          = no
         user          = root
         server          = /usr/sbin/in.telnetd
         log_on_failure     += USERID
         disable          = no
    ===================

  • MY FIREFOX NEW TAB NOT WORKING NIETHER WITH + NOR WITH RIGHT CLICKING ON TAB OR DOUBLE CLICK ON TAB

    MY FIREFOX NEW TAB NOT WORKING NIETHER WITH + NOR WITH RIGHT CLICKING ON TAB OR DOUBLE CLICKING ON TAB

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Option of 'Restore Last Session' not working. Is there any option to repair the 'Mozilla Firefox' without loosing History?

    Option of 'Restore Last Session' not working. Is there any option to repair the 'Mozilla Firefox' without loosing History?

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • How the IVI New Session.vi works with the ivi.ini?

    Hi,all
    Does anyone know how the IVI New Session.vi works with the configuration file ivi.ini?
    And when the ivi application running, how the ivi calss driver refers to the right specific instrument drivers without changeing the program?
    Thanks,
    njzhw
    人的生命是有限的,但知识是无限的!
    南京众知维测试技术有限公司

    Which VI or function are you referring to? There is neither an "IVI New Session.vi", nor a corresponding "Ivi_NewSession" function in C.
    The Ivi Class Drivers determine which specific driver to use at run-time, by looking up the resource descriptor (a Logical Name, or Virtual Instrument) and determining the associated Instrument Driver. That configuration information is settable by the user through MAX (Measurement and Automation Explorer).
    --Bankim
    Bankim Tejani
    National Instruments

  • HT203712 I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just

    I have a 2011 tahoe.  My bluetooth functioned properly until I updated my iPhone.  Now the iPhone connects to the Tahoe but when I try to call a number it does not work.  Either it cals the number and has no outgoing or incoming sound or it just says it iis unable to complete the call.

    I would check with the Auto dealer where the vehicle was purchased to check and see when the bluetooth software was last updated on your vehicle. With the vehicle being a 2011 and if the software has not been updated since the dropping of IOS 7 then obviously there will be software incompatibilities.
    Good luck.

  • He menu button of the ipod touch (4th generation) is not working and the service center of ipod is asking us to pay for the fixation of the said item even though it's still on warranty. this is the case number 215866894. And the service center said that t

    he menu button of the ipod touch (4th generation) is not working and the service center of ipod is asking us to pay for the fixation of the said item even though it's still on warranty. this is the case number 215866894. And the service center said that they don't cover that center part of the ipod so they're asking us money before they can fix it. We bought the ipod last december 8, 2010 and we brought it to the service center last april, 2011 here in the philippines. And until now they're not fixing it because they're asking us to pay half the price of the item which is 8,040 pesos..

    As advised, you need to call Apple about this.
    http://support.apple.com/kb/HE57
    No one here works for Apple (no one who will reply, anyway) so there's nothing anyone here can do to help you with this issue.
    Good luck.

  • Middleware - Delta load is not working from CRM to R/3

    Hi Experts,
    Our client is using SAP-R/3 4.7 and CRM 5.0
    Connectivity was established via Middleware and initial load of Customizing objects and Master data( Customer and Material) was finished successfully.
    Now if i create any Customer or Product in R/3 they were replicating to CRM(Delta load), but this delta load is not working in CRM to R/3 direction.
    In CRM Administration console( Transaction code - SMOEAC) R/3 site was maintained and subscribed for Publications - All Business Partners, All Business Transactions and All Business partner Relationships.
    Can anybody help me out that why Delta load is not happening from CRM to R/3 Direction.
    Thanks in advance
    Nadh.

    Hi Nadh,
    for BPs check PIDE settings once agiain, i hope u ve already downloaded all mandatory obects for BP, because u already told that replication from r/3 to crm is ok, so check once again PIDE settings (CRM to R/3),
    for Products u ve to manual upload only
    for Products
    This may be necessary because the data is required in the OLTP System for a number of logistical processes such as procurement, inventory management, billing, financial accounting, controlling.
    cheers
    Ranga

  • Bi publisher with new public session not working. Bug?

    Hello,
    I've got a problem with a bi publisher report I want to open from a url. I have a page 1 which is public, and I want to give the user following url to download the document:
       MYURL/pls/apex/f?p=MYAPP:1::PRINT_REPORT=MYREPORT:::MYVAR:1
    This gives me an empty page.
    When I first generate a new session by just going to page 1:
       MYURL/pls/apex/f?p=MYAPP:1 (which generates MYURL/pls/apex/f?p=MYAPP:1:1855219487679317)
    And then use the original url with the new session, it downloads the document:
       MYURL/pls/apex/f?p=MYAPP:1:1855219487679317:PRINT_REPORT=MYREPORT:::MYVAR:1
    Is this a know problem and is there a workaround?
    Regards, Jan

    Jan,
    This appears to be a bug. As a workaround, you can provide users with a link to a different public page and have that page do a before-header branch to your page 1, specifying the PRINT_REPORT=MYREPORT request value and the session item names/values in the branch definition. For example the link your users could use (to public page 2) might be:
    ..f?p=MYAPP:2
    Scott

  • ABAP prog with Call Transaction  to SU01 will not add roles in a CUA client

    I am modifying a current ABAP program that works in a non-CUA client to hopefully execute in a CUA client.  This program performs a Call Transaction to tcode SU01 and adds roles to an existing user.  I used tcode SHDB to identify the new BDC commands needed for CUA when using tcode SU01.  When executing the program in the CUA client  it does not save the roles to the user.  There is no error message or abnormal termination.
    When I assign the role to the same user that's referenced in my program directly with tcode SU01 it works fine.  Its just when I run the ABAP program the role assigment is not retained.  I opened a Customer Message with SAP and they referenced OSS Note 93802 and said this was a consulting question.  My program is not abending as referenced in Note 93802, it just does not add the role.
    Has anyone been able to get this to work in a CUA client?

    Hi,
    it should be fairly simple to create a new ABAP using the BAPI's related to business object USER. Call BAPI_USER_CREATE1 to create the users, and BAPI_USER_LOCACTGROUPS_ASSIGN to assign roles in a CUA environment. It should go something like this:
    [read file with user data into internal table wt_users]
    [read file with role assignments into internal table wt_roles]
    Loop at wt_users into wa_user.
      [create LOGINDATA, ADDRESS and other structures for user in BAPI below, based on the data in wa_user]
      call 'BAPI_USER_CREATE1'
      exporting
        username                      = [the user name from input file]
      NAME_IN                       =
        logondata                     = [structure for logondata]
        password                      = [initial password value]
      DEFAULTS                      =
        address                       = [address structure created above]
        [etc.]
      if sy-subrc eq 0.
    Assign roles for the user
    clear wt_activitygroups. refresh wt_activitygroups.
    loop at wt_roles into wa_roles where username = wa_user-username.
        [build an internal table, wt_activitygroups, for system/role assignments for the user]
    endloop.
        call BAPI_USER_LOCACTGROUPS_ASSIGN
          exporting
            username                      = [the users name]
          tables
            activitygroups           = wt_activitygroups
            return                       = wt_return.
    Endloop.
    Ideally, you would have two input files: one with the user data (one record per user), and another one containing the data for the BAPI_USER_LOCACTGROUPS_ASSIGN (on the format USERNAME, SYSTEM, ROLENAME); one entry per line. You'd loop at the first table, containing the user data, then create the user, then loop at all entries in the system/role assignment file for the same username, building an internal table of role assignemnts; then call the second BAPI (provided there were any role assignments to assign for that user!)
    Hope this makes sense. It's not rocket science really; you can omit most of the parameters of BAPI_USER_CREATE1, and the second BAPI is even simpler. You could consider validating the input data by checking entries in table USRSYSACT, which contains all valid system/role assignments as seen from the CUA system (this table gets updated every time you do a "text compare" from within SU01.
    Regards,
    Trond

Maybe you are looking for

  • Query ALARM not working

    Hi everyone I've created a query and set it as an alarm for specific users it is active and it has not being poping up the message on the Messages7alert Overview form of their sessions I was wondering if there is any limitation for the messages Servi

  • Missing Episodes in iTunes Music Store

    I've been doing this show for some time now, and I've been trying to figure this out for awhile, and so far nothing has helped. Here's the URL for the feed: http://www.paperbagradio.com/rss.xml I've pinged it and it hasn't helped, and it's been recie

  • Data visibility in JTable columns

    I am unable to see the "full" cell data in a JTable. When I click on the cell, the cursor lets me move left and right inside the cell. And that's the only way to see the full data inside the cell. Is there some way to set the minimum width of a cell

  • Hierarchical alv doesn't expand

    Hello  experts i written a hierarchical alv it run fines at output it doesn't expand please help me to find out the problem. REPORT  ZCR_HERARCHIAL_LIST_DISPLAY. TABLES :VBAK,VBAP. TYPE-POOLS:SLIS. DATA : BEGIN OF IT_VBAK OCCURS 0,        VBELN LIKE

  • Firewall blocks web sharing

    2 computers, laptop with Snow Leopard, large web site in ~/Sites/htdocs, with .shtml files and an SSI file to add text common to all .shtml files. I'd like to see this on the desktop computer as it appears to others , but Firewall blocks web sharing