How to import shared components from a different workspace.

I have several workspaces / schemas (one to one relationship) in the same server.
When I try to install components exported from an application in one workspace to an application in another workspace I get an error because of the different workspace.
Source workspace/application = SCAI / 102
Target workspace/application = ACAMPO / 129
The objects in the database are identical in both schemas behind the workspaces.
Is it possible to edit the SQL file to address it to the target workspace?
I cannot see any uncommented entries in the sql referring to the application / workspace or schema name, but these two:
prompt APPLICATION 102 - SCAI
wwv_flow.g_flow_id := 129;
Will it work if i change it to
prompt APPLICATION 129 - ACAMPO
wwv_flow.g_flow_id := 129;
for instance?
Below is the SQL code of two LOVs exported.
Any help will be appreciated. I need to export not two but dozens of components and I don't want do do it manually.
================================
set define off
set verify off
set serveroutput on size 1000000
set feedback off
WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
begin wwv_flow.g_import_in_progress := true; end;
--application/set_environment
prompt APPLICATION 102 - SCAI
-- Application Export:
-- Application: 102
-- Name: SCAI
-- Date and Time: 10:24 Thursday April 26, 2007
-- Exported By: FBARRENA
-- Flashback: 0
-- Export Type: Component Export
-- Manifest
-- LOV: A_ACREDITADOS_900_LOV
-- LOV: A_ACRED_CLIENTES_LOV
-- Manifest End
-- Version: 2.2.1.00.04
-- Import:
-- Using application builder
-- or
-- Using sqlplus as the Oracle user: FLOWS_020200
-- AAAA PPPPP EEEEEE XX XX
-- AA AA PP PP EE XX XX
-- AA AA PP PP EE XX XX
-- AAAAAAAAAA PPPPP EEEE XXXX
-- AA AA PP EE XX XX
-- AA AA PP EE XX XX
-- AA AA PP EEEEEE XX XX
prompt Set Credentials...
begin
-- Assumes you are running the script connected to sqlplus as the owner (parsing schema) of the application or as the product schema.
wwv_flow_api.set_security_group_id(p_security_group_id=>733821679136675);
end;
begin wwv_flow.g_import_in_progress := true; end;
begin
select value into wwv_flow_api.g_nls_numeric_chars from nls_session_parameters where parameter='NLS_NUMERIC_CHARACTERS';
end;
begin execute immediate 'alter session set nls_numeric_characters=''.,''';
end;
begin wwv_flow.g_browser_language := 'en-us'; end;
prompt Check Compatibility...
begin
-- This date identifies the minimum version required to import this file.
wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2006.02.24');
end;
prompt Set Application ID...
begin
-- SET APPLICATION ID
wwv_flow.g_flow_id := 102;
wwv_flow_api.g_id_offset := 0;
null;
end;
-- C O M P O N E N T E X P O R T
-- Requires Application Express 2.2 or greater
begin
wwv_flow_api.g_mode := 'REPLACE';
end;
prompt Component Export: LOV 10548119991618465
prompt ...Shared Lists of values
begin
wwv_flow_api.create_list_of_values (
p_id => 10548119991618465 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'A_ACREDITADOS_900_LOV',
p_lov_query=> 'select ID_ACRED || '' '' ||NOMBRE_ACREDITADO d, ID_ACRED r'||chr(10)||
'from A_ACREDITADOS_V'||chr(10)||
'where (DESHABILITADO IS NULL OR DESHABILITADO <> ''1'') and ID_ACRED like ''900%'''||chr(10)||
'order by NOMBRE_ACREDITADO');
null;
end;
prompt Component Export: LOV 3172519822650040
prompt ...Shared Lists of values
begin
wwv_flow_api.create_list_of_values (
p_id => 3172519822650040 + wwv_flow_api.g_id_offset,
p_flow_id => wwv_flow.g_flow_id,
p_lov_name => 'A_ACRED_CLIENTES_LOV',
p_lov_query=> 'select APELLIDO_PATERNO||'' ''||APELLIDO_MATERNO||'' ''||NOMBRE d, ID_ACRED r'||chr(10)||
'from A_ACREDITADOS where ES_CLIENTE =''1'''||chr(10)||
'order by 1');
null;
end;
COMMIT;

Francisco,
No, it won't work. The internal IDs of application components are all different between the two applications.
The objects in the database are identical in both schemas behind the workspaces.
This problem is not related to database objects like tables, etc.
Scott

Similar Messages

  • Error while trying to import Software components from SLD.

    Hi Gurus,
    Need Help.
    When we are trying to import Software components from SLD we are getting following error. Could not read list of software component versions from SLD. In Description  i am getting following two points.
    1. Could not read list of software component versions from SLD (COULD_NOT_READ_SWCV)
    2. User credentials are invalid or user is denied access
    We have tried following
    1. LCRSAPRFC and SAPSLDAPI are working fine.
    2  SLDAPICUST is ok
    3. In nwa connections are available for LCRSAPRFC and SAPSLDAPI.
    Request you to let us know how to resolve this issue.
    Thanks in advance.

    Hello ,
    Can you check below roles assigned to the user id?
    SAP_SLD_CONFIGURATOR
    SAP_SLD_DEVELOPER
    SAP_SLD_ORGANIZER
    Thanks

  • How to import a function from JS to a JSP

    how to import a function from a JS to a JSP?

    You cannot. You need to distinguish that those are two completely different languages. Javascript is a client side language which is only executed on the client and JSP is a server side language which is executed on the server before it arrives to the client. You can invoke each other indirectly, but you cannot use them simultaneously.

  • How can I transfer songs from two different itunes?

    I want to transfer songs from my brother's itunes library to my shuffle, but when I plug it in his computer, a message saying that his library is not linked to my library (or something to that extent) and whether I would like to replace the songs. If I click yes, all my existing songs are replaced with HIS songs. If I click on NO, the Shuffle icon does not appear at all and I cannot transfer any of his songs to my shuffle. How can I transfer songs from two different computers into my shuffle without replacing any of my existing music?
    Shuffle   Windows XP  
      Windows XP  

    You'll have to setup your iPod to manual instead of automatic update (I'm not sure, though, if it works with the Shuffle as well).
    Alexander.

  • HT4061 How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases?

    How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases? I want my music to match on both ipad and computer.

    Purchases are forever tied to the AppleID they were bought with. There is currently no way to consolidate AppleIDs. Sorry.

  • For some reason is all my music gone from iTunes, but I do still have the songs on my iPod Touch... So my problem is that I don't know how to import my files from iPod Touch back to iTunes.

    Hey all
    I should export my music to another program, because I do also have this MP4, which needs some files. Well, I did that and it seems like Windows Media Player couldn't open the files, but then I go back to iTunes and I see all my files are gone. Nothing is left, and now I can't syncronize files to my iPod Touch without deleting all the existing files. So now the only thing I want to know, if it's possible, is how to import music (not from Apple Store) from my iPod Touch to iTunes?

    You can use one of the third-party programs discussed here to transfer non-iTunes purchased music to a computer.
    new PC: Apple Support Communities

  • HT204053 My ipad stores my documents on iCloud. How can I find them from a different computer, as I used to do by using a memory stick on my old PC etc ?

    My ipad stores my documents in iCloud. How can I find them from a different computer?  I used to use a memory stick and could work on my documents on any computer and want to have a replacement system using documents created on my ipad - I can't use a memory stick with it.

    How do you know that they are on iCloud, the iPad can (and does) save locally. If they are on iCloud they will be accessible via the application that created them (Pages, Numbers etc) and can be reached from any computer with iCloud access by logging to iCloud.com. But you did that and stated that they are not there, so what makes you think that they are?

  • HT204074 How do I download apps from a different one of my apple id's?

    How do I download apps from a different one of my apple id's? Would I change apple ID's on IPad that I want download app on? Do you lose music, apps when you switch from one apple ID to another?

    Sign out of the store, and sign back in with the other ID.  Nothing gets lost.

  • How to import a logo from flat file to SAP in SMARTFORM.

    how to import a logo from flat file to SAP in SMARTFORM. i need to know whether TIFF format is used and also the full steps.
    Thanks,

    Hi,
    You can not directly use a logo from a file into a Smart form. First you will have to upload it to SAP. This has to be done only once. Once it is imported into SAP then you can use it in smart form. To import a logo to SAP, goto SE78. Open the tree under GRAPHICS. Select the file type and click on the Import (first button on the toolbar, just before delete button). Select the logo file and give it some appropriate name along with description. Select appropriate type of the image and click Continue. Your logo will be uploaded into SAP from a file. Now in your smartform, Create a Graphic Node, give the name of the logo along with other properties. In this way you can import a logo from a flat file into SAP and consequently in a smart form.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • How do I calculate days from two different dates?

    Hi all,
    How do I calculate days from two different dates?
    my requirement is to pass the number of days to target field from two dates.
    Current date :  14/04/2010
    Standard date: 01/01/1957 is the standard = day 0
    Is it possible in graphical mapping with out  udf?
    Plz help me on this I have donu2019t have much knowledge on JAVA.
    Thanks

    Hi Yadav,
    Probably this is not the correct forum for XI / PI .
    You can post the same to...
    Process Integration (PI) & SOA Middleware
    Hope this helps.
    Regards
    Raj

  • How do I calculate days from two different dates in XI/PI?

    Hi all,
    How do I calculate days from two different dates in XI/PI?
    my requirement is to pass the number of days to target field from two dates.
    Current date : 14/04/2010
    Standard date: 01/01/1957 is the standard = day 0
    Is it possible in graphical mapping with out udf?
    Plz help me on this I have donu2019t have much knowledge on JAVA.
    Thanks

    Hi Yadav,
    Probably this is not the correct forum for XI / PI .
    You can post the same to...
    Process Integration (PI) & SOA Middleware
    Hope this helps.
    Regards
    Raj

  • How can I use music from two different iTunes accounts?

    how can I use music from two different iTunes accounts?

    If you mean iTunes Store accounts, there's really nothing for you to do. Just add the tracks to the iTunes library and play them. Music purchased prior to late-2009 will been to be authorized, though. Pull down Store > Authorize... and type the credentials of the Apple ID used to buy the tracks.
    If you mean something else, please describe in more detail.

  • How to import Essbase app from 7.1 to 11.1.2.1?

    Hi,
    I need for migration my environment from Essbase 7.1 to 11.1.2.1.
    How to import Essbase app from 7.1 to 11.1.2.1?

    To import Essbase Application:
    Copy .Otl from source to destination to copy outline
    Re: how to import an .otl file in essbase
    Copy .csc, .rul etc.. as well
    for data: export and import from EAS.
    Cheers..!!!

  • How to import payroll result from 3rd party system to SAP

    Hi Experts,
    May i know how to import payroll result from legacy system / 3rd party payroll system into SAP.
    i need to import the payroll result from Jan - April (from 3rd party payroll system) and system go live on May. I using payroll malaysia.
    Thanks.

    check this link
    http://help.sap.com/saphelp_40b/helpdata/en/91/80e9087834d111a4620060b03c3b0e/content.htm

  • How to import select photos from Iphoto into Adobe Elements

    How to import select photos from Iphoto into Adobe Elements

    If you wish to import in Elements Organizer here is the guide to help you out with all you need to use iPhoto and Organizer. http://helpx.adobe.com/elements-organizer/using/import-media-iphoto-library-mac.html
    If you wish to set PSE Editor as your editor for iPhoto images then here is the help link to guide you for the same - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-iphoto-mac-os.html
    Hope it helps.
    Thanks,
    Garry

Maybe you are looking for