Skip to Content
author's profile photo Former Member
Former Member

Navigation from transaction launcher

We have developed a bsp application runs through transaction launcher.

URL = «Z_URL» configured as BSP URL «Mapped LogSys» = CRM «Application» = BSP application «Page» = required page

Launch Transactions = «Z_TRAN» set «Definition 1» = Z_URL «Transac. Type»= B «Version»= 0 «Stateful» and «Raise Veto» not marked

Logical Link = «Z_LINK» «Type» = Launch Transaction «Target ID» = EXECLTX «Parameter» = Z_TRAN «Parameter Class» = CL_CRM_UI_LTX_NAVBAR_PARAM

In the BSP application is a button «tobp», which is supposed to go to BP overview. On click the button «tobp» navigate to a page tobp.htm with the code script language="Javascript":

function SAPICdomainrelax(){
   class cl_crm_ic_services definition load.
   class cl_crm_ic_sysprop_constants definition load.
   if not cl_crm_ic_services=>get_system_property(  cl_crm_ic_sysprop_constants=>domain ) is initial.
    document.domain="<%= cl_crm_ic_services=>get_system_property(  cl_crm_ic_sysprop_constants=>domain )%>";
<% else. %>
    var liBehindFirstDot=location.hostname.indexOf(".")+1;
    if (liBehindFirstDot>0)
<% endif.%>

        SAPICdomainrelax( );
        parent.forwardCall( "handler", 'ZCL_TOOVERVIEW', "", "", "", "", "", "", "", "", "");

In the class ZCL_TOOVERVIEW made navigate to BP overview by logical link IC_BP_ACC.

This code works, but not always, sometimes processed class ZCL_TOOVERVIEW occur in the background process and the navigation is not realized.

How can I do to be processed is always in the same process?

Edited by: Zuev Alexander on Sep 8, 2010 10:56 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2010 at 02:45 AM

    problem has not yet been resolved.

    Edited by: Zuev Alexander on Oct 5, 2010 4:40 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 27, 2010 at 11:32 AM

    Not an answer to your question (sorry), but for anyone wondering, this code block can be found in following include:

    <%@include file="../ic_base/ICDomainRelaxing.htm" %>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.