MVC call another controller with other (own) namespace

Hello,
i have a bsp-application (mvc) in our own namespace '/otto/...'. Now i'd like to create a controller, but this controller is in the z-namespace.
I have tried with the method create_controller and the optional attributes application_namespace and application_name, but it didn't worked!?
I have tried also with upper case, lower case, full path,
relative path, but it didn't worked! What is wrong?
Thank you. Lars

OK, sorry, i know this options and i use it, but the  answer is the same:
"500 SAP Internal Server Error
Fehlermeldung: Es ist eine Ausnahme aufgetreten, die nicht abgefangen wurde. ( Abbruchsart: RABAX_STATE )"
i was looking in the 'ST22' there are the following information:
The Error was in the ABAP-Program "CL_BSP_PAGE_BASE==============CP " in           
"CREATE_PAGE". Mainprogram was "SAPMHTTP ".                               
In the sourcecode line 1170 from (Include-)Programs "CL_BSP_PAGE_BASE==============CM01B ".
call method cl_o2_rt_support=>get_class_for_page 
   exporting                                      
     p_namespace      = l_app_nspace              
     p_application    = l_app_name                
     p_page           = l_page_name               
   importing                                      
     p_pageclass      = l_page_class              
     p_pageparams     = l_page_parameters         
     p_html_pool      = l_page_html_pool          
     p_script         = l_page_script_code        
     p_options        = l_page_options            
     p_pagetype       = l_page_type               
   exceptions                                     
     error_occured       = 1                      
     object_not_existing = 2.                     
case sy-subrc.                                   
   when 1.                                        
     raise exception type cx_bsp_einternal.       
   when 2.    
1170!                                   
>  raise exception type cx_bsp_inv_page         
       exporting page = l_page_name url = l_url.  
endcase.

Similar Messages

  • In SQLScript, how to use EXEC to call another procedure with parameters in procedure?

    Hi experts,
    In SQLScript, How to use EXEC to call another procedure with input and output parameters in procedure?thanks very much

    Hi Sagar,
    thank you! I generate another procedure with an input parameter and an output parameter in a procedure. Then i need to call the generated procedure using EXEC. Here is my code:
    create procedure ftest1(out sum_num bigint)
    as
    begin
    declare fa_output bigint;
    declare v_sql_drop varchar(200);
    declare v_sql varchar(500);
    declare cursor c_cursor1 for select num from TABLE1;
    --v_sql_drop := 'drop procedure fe';
    --exec v_sql_drop;
    v_sql := 'create procedure fe(in i_num bigint,out o_num bigint) as begin';
    v_sql := :v_sql || ' o_num := :i_num * 2 + :i_num * :i_num;';
    v_sql := :v_sql || ' end';
    exec v_sql;
    open c_cursor1;
    for c_item as c_cursor1 do
    exec 'call fe(c_item.num,o_num=>fa_output)';
    if sum_num is null then
    sum_num := fa_output;
    else
    sum_num := :sum_num + fa_output;
    end if;
    end for;
    close c_cursor1;
    end;
    The underline code is using exec to call the generated procedure. But this method cannot work. Any suggestion? thanks again!

  • How do I rename the iphoto library on one computer before importing it to another location with other iphoto libraries?

    How do I rename the iphoto library on one computer before importing it to another location with other iphoto libraries?

    How do I rename the iphoto library on one computer before importing it to another location with other iphoto libraries?
    Quit iPhoto.
    Select the Library in the Finder, click the name,  and edit the name like for any file.

  • I want to use an iPad of another person with my own Apple ID but I want also delete all the old apps of the another person

    I want to use an iPad of my mum with my own Apple ID which I have but I want also delete all the old apps of my mums

    Look at this link.
    Giving your former iPad to a spouse or family member: the quick guide
    http://www.tuaw.com/2012/03/17/giving-your-former-ipad-to-a-spouse-or-family-mem ber-the-quick/
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/ts4515
    Buying or Selling a Used iPhone or iPad Running iOS 7? Read This First!
    http://www.makeuseof.com/tag/buying-or-selling-a-used-iphone-running-ios-7-read- this-first/
     Cheers, Tom

  • Call another form with a button click (Oracle 10g)

    I have two forms. (One called Main Form and 2nd Called Notification summary)
    I want to call Main Form from notification summary. I have a unique column which is both in Main form and notification summary.
    I want to pass that unique column from notification summary to main form so that specific detail open in main form.
    Please suggest solution.
    Edited by: 871590 on Jul 11, 2011 4:29 PM

    Starting with a question: why do you need an own (main) form, if you need to call that form in another context, it's fine. If you will use this functionality only once, consider a second canvas (content or stacked, whatever fits better) or a second window within your form (notification).
    If its only on value you need to pass use a data parameter or a global variable; the first would be preferable to me.
    If there are more values in your column you may use global record group or (preferable to me) some kind of "temporary" table. It may be a global temporary table as provided by the oracle db or you are doing this with a normal permanent table. For the latter you will have slight higher amount of programming for organisational purposes.

  • Call View controller with some URL parameter

    Hi
    I have a 3rd party system which need to send some data to my CRM system.
    One approch which is being suggested is by sending data by URL parameter.
    I have made a new component for this and have provided the 3rd party with its URL .
    The issue with calling a view controller URL along with some specific URL parameters is that i am not able to access its parameters.when i call method GET_PAGE_URL from the DOINIT method of the controller it does not provide me with the parameter list .
    How can i access these URL parameters ?
    Regards
    Ajitabh

    HI,
    have a look at component CRM_UI_FRAME. In the page default.htm they extract URL parameters.
    You have got the REQUEST variable in your view controller as well.
    cheers Carsten

  • Calling another servlet in other server

    Hi - a quick newbie question -
    I need to call a servlet sitting on another server via http.
    I'm thinking of doing following..
    URL url = new URL("http",HOSTNAME_,PORT_, "/sp/xmlBuilderRates?" + urlParams );
    HttpURLConnection uc = (HttpURLConnection) url.openConnection();
    // now how would I pass back output stream? to the original response object?
    uc.getOutputStream();
    Thanks

    I was looking to find a way to somehow relay child's servlet's output to current response object's output - streaming
    Maybe something like
    URL url = new URL("http","nyfddapp02",8889,"/sp/xmlReport?" + urlParams );
    BufferedReader in = new BufferedReader( new InputStreamReader( url.openStream()));
    String line;
    while( ( line = in.readLine()) != null )
    out.println( line );
    out.flush();

  • Calling another program with in a program

    Hi experts,
            i want to call a program (second) from the first program. The problem is that the first program is called during the update task. so i think we cant use the submit statement.
    Thnak you in advance.
    Arul
    Edited by: arul m on May 6, 2009 12:36 PM

    Hello,
    Try this FM
    TH_IN_UPDATE_TASK
    check this
    http://help.sap.com/saphelp_nw04/helpdata/EN/fa/f23c15330411d5992100508b6b8b11/content.htm

  • How to call a controller from a different BSP application?

    I have searched for the documentation, I have found literature that says it is possible but I am struggling with the syntax. I am in BSP 'MVC1' and upon a condition I would like to call the main controller of BSP 'MVC2'. What will be the syntax?
    Thanks
    Mani

    Hi,
    this might help:
    MVC call another controller with other (own) namespace
    grtz
    Koen

  • How to call a transaction with a variant

    Hi all
    I created a bdc program after updating it should call another transaction with predefined variant that that transaction program is of type module pool.
    can anyone tell me the syntax how to call a transaction with a variant.

    Hi
    goto Tcode SHD0
    enter the Tcode for which Tran Variant has to be created(dialog Tcode)
    enter Trans variant to be created
    press create button
    it will go through all the screens of that Tcode and save
    and modify the fields as per requirement
    we can create Transaction Variants Using SHD0 Transaction.
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).
    Regards
    Anji

  • How to call a form with dabble clicking on a record with one time where

    Hi All,
    How to call a form with dabble clicking on a record with one time where clause. I mean when i dabble click on the current record i want to call another form with details of the
    record with onetime where clause. Can anyone help me in this regard.
    Now i am calling a form with parameter with onetime where but this should avoid.
    Thanks in advance
    Arif

    Hello,
    I mistakenly mark it as solved. There is a problem remain. when i placed the code below it do not execute with the where condition. I mean the condition to execute is not work.
    All records executes. Please correct my code--
    Here the WHEN-BUTTON-PRESSED-trigger on the Edit-Button:
    :GLOBAL.MODE:='EDIT';
    :GLOBAL.REQ_ID:=:PROBLEM_REQUEST.REQ_ID;
    CALL_FORM('REQUEST_ID_PARAM',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY);And also, WHEN-NEW-FORM-INSTANCE-trigger of REQUEST_ID_PARAM:
    DEFAULT_VALUE(NULL, 'GLOBAL.MODE');
    DEFAULT_VALUE(NULL, 'GLOBAL.REQ_ID');
    IF :GLOBAL.MODE='EDIT' THEN
    GO_BLOCK('PROBLEM_REQUEST');
    EXECUTE_QUERY;
    SET_BLOCK_PROPERTY('PROBLEM_REQUEST', INSERT_ALLOWED, PROPERTY_FALSE);
    END IF;Arif

  • Move Command Groups in own namespace

    Hello all,
    I created a new folder in portal content for objects which I should copy (so these objects cannot overwrite in upgrades). My problem is now that I want to move my duplicated command groups into this namespace and I find no way to do this...
    I know that must be very simple but I do not get the hang of it...
    Kind regards and thank you very much for suggestions.
    Susa

    Hi Susann,
    there are two different sights for "own Content".
    1. U can create an own folder in the PCD where to store own iviews, worksets, sites, ect.
    2. For e.g. implementing Collaboration u have to copy command groups to your own namespace. But this doesn´t mean to copy the to the created folder. (Thats not possible). It´s meant like that: Create a ducplicate of the command group and name the duplicate command group with your "own namespace".
    helpful?
    Greetingz
    Lars

  • Can i edit my game center account to stop sharing friends and games from another apple id that associated with my own new apple id.how to reset it without losing my apple id and i can stiil use it?

    Can i edit my game center account to stop sharing friends and games from another apple id that associated with my own new apple id.how to reset it without losing my apple id and i can stiil use it? Because i've made lot of paid purchases using this apple id. In my game center account i have so many games data that i'd never installed.i wanna  stop sharing  friends and games with this xxx apple id in my old ipad version ios 4.2. and i can still keep using this apple id in my new ipad 3rd gen version ios 6 without sharing game and friends with this xxx apple id? and how to remove the games data that i never downloaded in my ipad but still registered at my game center account.i wanna keep using this apple id coz so many fav application i've purchased from this id. the answer as soon as possible if there is some one can help me to solve it.thank u for reading my question and very big thanks for anyone who  can give me a helpful answer.                 

    Why do you ask in the iWeb forum?

  • After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!

    After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!
    iTunes is a mess! It couldn't find it's own libraries and I was forced to create a new one. Now I don't know where my music is or if any's missing.

    columbus new boy wrote:
    How crap is that?
    It's not crap at all.
    It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
    There has to be a solution.
    Why not simply make a playlist with the songs you want on the iPhone?
    and maintain a current backup of your computer.

  • Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update.  EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off.

    Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update. EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off. never had this trouble with my 3...I don't even want to talk to anyone on this phone! Is the sensor bad? That is what the AT&t rep suggested.

    Restore as new... if the problem still continues then there is a hardware issue.
    If it stops after a restore as new, then the issue is with the backup the device is currently setup with.

Maybe you are looking for

  • Exporting to PDF file

    Hey. I got a problem with printing a file created with Pages on my iPad. As my HP printer is not supported by Airprint, I wanted to send the file as a PDF to my MacBook (OS X Lion) and then print it there. When I opened the PDF with Preview I unfortu

  • Need profit center in edit mode

    Hi Gurus, When I am doing J1IH, when values are entered to BED, ECS, HSEcs for additional excise, we can determine the GL accounts for these fields. But here I cannot see the profit center. After posting the document and displaying the accounting doc

  • In Settings/iTunes

    In Settings/iTunes & App Stores under Automatic Dowloads of the iPhone 5, the Music, Apps & Books buttons won't stay 'On'. They automatically slide right back to 'Off'.

  • Why does time machine say my wireless hard drive doesn't have enough space when it clearly does?

    I have a 2 TB western digital hard drive connected via USB to my airport extreme (Y2012) that i've been using the past 2 years to connect to wirelessly. The hard drive has 2 partitions, ~1 TB each. 1 partition for backing up, the other for storing me

  • PdfExportPresets.add - name becomes default "Adobe PDF Presets 1" - bug?

    Hi, I am not really a programmer and completely new to scripting. I just want to create a very simple script that I can use with a panel created with Adobe Configurator. I'm trying to load new joboptionsfiles (.joboptions / PDF Export Preset) via a s