Creation of MVIEW with pramary key

Hi,
I need to create a materialized view on below querty with primary key on column (fif_if_id).
But I am not able to create a materialized view with particular column.
If I chnage the synatx to ' with primary key" the view created successfully. But I need to know on which columns the primary key got created.
If it is created on master table. How to know which is master table out of all these tables.
{code}
SELECT
     /*+ rule */
ml_level_type fif_ml,
ifs.if_ml_id fif_ml_id,
ifs.if_id fif_if_id,
ifs.if_type fif_if_type,
ifs.if_min_stock_level fif_min_stock_level,
ifs.if_max_stock_level fif_max_stock_level,
ifs.if_mi_id fif_mi_id,
ifs.if_std_produced_qty fif_if_std_produced_qty,
ifs.if_lotsize fif_if_lotsize,
ifs.if_successor_qty fif_successor_qty,
ifs.if_successor_base_qty fif_successor_base_qty,
ifs.if_successor_uom fif_successor_uom,
ifs.if_if_id fif_if_if_id,
ifs.if_valid_flag fif_valid_flag,
ifs.if_freeze_fence fif_freeze_fence,
ifs.if_freeze_fence_date fif_freeze_fence_date,
ifs.if_freeze_fence_date_old fif_freeze_fence_date_old,
ifs.if_facility_planning_flag fif_facility_planning_flag,
ifs.if_deletion_mark fif_if_deletion_mark,
     ifs.if_allocation_fence_date     fif_allocation_fence_date,
ifs.misr_id fif_misr_id,
ifs.misr_me_id fif_me_id,
ifs.item_mat_id fif_item_mat_id,
ifs.item_prit_id fif_item_prit_id,
ifs.item_papl_id fif_item_papl_id,
ifs.item_repi_id fif_item_repi_id,
ifs.item_tnr fif_item_tnr,
ifs.item_id fif_item_id,
ifs.btyp_id fif_btyp_id,
ifs.btyp_basic_type fif_basic_type,
sprd_sales_name fif_sprd_sales_name,
bno_id fif_bno_id,
bno_baunumber fif_bno,
bno_deletion_mark fif_bno_deletion_mark,
bno_demand_level_code fif_bno_demand_level_code,
pg_id fif_pg_id,
pl_process_line fif_pl_process_line,
pl_id fif_pl_id,
pcl_process_class fif_pcl_process_class,
pcl_id fif_pcl_id,
pgp_id fif_pgp_id,
DECODE(bs1.bs_id, NULL,DECODE(bs2.bs_id, NULL, bs3.bs_id, bs2.bs_id), bs1.bs_id) fif_bs_id,
DECODE(bs1.bs_business_segment, NULL,
DECODE(bs2.bs_business_segment, NULL, bs3.bs_business_segment, bs2.bs_business_segment), bs1.bs_business_segment) fif_bs_business_segment,
fac_id fif_fac_id,
fac_facility_name fif_fac_name,
fac_facility_type fif_fac_type,
fac_usable_from fif_fac_usable_from,
fac_usable_to fif_fac_usable_to,
fac_loc_id fif_fac_loc_id,
loc_location fif_fac_loc_location,
si1.site_id fif_site_id,
si1.site_site_name fif_site_name,
si2.site_id fif_site_id_fm,
si2.site_site_name fif_site_name_fm,
sc1.sc_id fif_sc_id,
sc1.sc_supply_chain_name fif_sc_name,
sc1.sc_type fif_sc_type,
sc1.sc_eng_id fif_sc_eng_id,
sc2.sc_id fif_sc_id_fm,
sc2.sc_supply_chain_name fif_sc_name_fm,
sc2.sc_type fif_sc_type_fm,
sc2.sc_eng_id fif_sc_eng_id_fm,
pk_id fif_pk_id,
pk_package_name fif_package_name,
eng_ignore_key_wc fif_eng_ignore_key_wc,
dbi_id fif_dbi_id,
bno_rias_user fif_bno_rias_user,
bno_production_arranger fif_bno_production_arranger
, if_merchandise_flag fif_merchandise_flag
FROM
(SELECT
ifsel.*,
misr_id,
misr_me_id,
item_mat_id,
item_prit_id,
item_papl_id,
item_repi_id,
item_tnr,
item_id,
item_sisc_id,
me_pk_id,
decode (if_misr_id, null, nvl(btyp2.btyp_id,0), btyp1.btyp_id) btyp_id,
decode (if_misr_id, null, nvl(btyp2.btyp_basic_type, 'UNDEF.'), btyp1.btyp_basic_type) btyp_basic_type,
decode (if_misr_id, null, nvl(btyp2.btyp_pl_id, 0), btyp1.btyp_pl_id) btyp_pl_id
FROM
basic_types btyp1,
basic_types btyp2,
processed_items,
items,
mi_subroutes,
mi_elements,
item_facilities ifsel
WHERE
ifsel.if_item_id = item_id
AND ifsel.if_misr_id = misr_id(+)
AND item_prit_id = prit_id (+)
AND prit_btyp_id = btyp2.btyp_id (+)
AND misr_me_id = me_id(+)
AND me_btyp_id = btyp1.btyp_id(+)
AND ifsel.if_type <> 'K'
AND
(item_prit_id is not null
OR item_repi_id is not null
OR item_sisc_id is not null)) ifs,
manufacturing_levels,
start_item_scs,
business_segments bs3,
sites si1,
supply_chains sc1,
sites si2,
supply_chains sc2,
engines,
database_instances,
facilities,
locations,
packages,
representative_items,
business_segments bs2,
process_lines,
process_groups,
process_classes,
baunumbers,
product_groups,
business_segments bs1,
sales_products
WHERE
ifs.if_ml_id = ml_id
AND ml_level_type <> 'UNDEF'
AND ifs.item_sisc_id = sisc_id(+)
AND sisc_bs_id = bs3.bs_id(+)
AND ifs.if_site_id = si1.site_id(+)
AND si1.site_sc_id = sc1.sc_id(+)
AND si1.site_site_id = si2.site_id(+)
AND si2.site_sc_id = sc2.sc_id(+)
AND sc2.sc_eng_id = eng_id(+)
AND eng_dbi_id = dbi_id(+)
AND ifs.if_fac_id = fac_id
AND fac_loc_id = loc_id
AND ifs.me_pk_id = pk_id(+)
AND ifs.item_repi_id = repi_id(+)
AND repi_bs_id = bs2.bs_id(+)
AND ifs.btyp_pl_id = pl_id(+)
AND pl_pgp_id = pgp_id (+)
AND pgp_pcl_id = pcl_id (+)
AND ifs.if_bno_id = bno_id(+)
AND bno_pg_id = pg_id(+)
AND pg_bs_id = bs1.bs_id(+)
AND ifs.if_bno_id = sprd_bno_id(+)
AND (bs1.bs_id is not null OR bs2.bs_id is not null OR bs3.bs_id is not null)
AND (bno_baunumber is not null OR ifs.item_tnr is not null)
AND (bno_deletion_mark is null OR ml_level_type = 'VKL');
{code}
Any help really appreciated
Thanks in advance

The primary key created is the same as on the underlying table on which it has been based.
PS: Posting version numbers and DDL is never a bad thing.

Similar Messages

  • Set JArray values with invalid key value: "LastUpdatedTime" on new alert rule creation

    Hey all!
    I'm trying to create a new alert rule using version 0.9.11 of the Monitoring Library and am getting this error on alertsClient.rules.CreateOrUpdate:
    "Set JArray values with invalid key value: "LastUpdatedTime". Array position index expected."
    That's interesting because LastUpdatedTime is a DateTime object, and whether I set it or I don't, if I set a breakpoint, it does set itself correctly, but the API appears to be expecting a JSON hash?
    I've tested alertsClient and I'm able to get existing alerts (also metrics with metrics client), so I don't believe it's an access issue.
    Any ideas?
    The full code I'm using for the test (borrowed virtually verbatim from the Cloud Cover video
    here): 
    Rule newRule = new Rule
        Name = "CPU Over 90%",
        Id = Guid.NewGuid().ToString(),
        Description = "CPU Has been over 90% for 5 minutes",
        IsEnabled = true,
        LastUpdatedTime = DateTime.Now,
        Condition = new ThresholdRuleCondition
            Operator = Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.ConditionOperator.GreaterThan,
            Threshold = 90,
            WindowSize = TimeSpan.FromMinutes(5),
            DataSource = new RuleMetricDataSource
                MetricName = "Percentage CPU",
                ResourceId = "",
                MetricNamespace = ResourceIdBuilder.BuildCloudServiceResourceId(<cloudservicename>, <deploymentname>)
    RuleAction action = new RuleEmailAction
        SendToServiceOwners = true,
    newRule.Actions.Add(action);
    OperationResponse alertResponse = alertsClient.Rules.CreateOrUpdate(new
    RuleCreateOrUpdateParameters { Rule = newRule });
    Console.WriteLine("Create alert rule response: " + alertResponse.StatusCode);

    Hi Greg,
    Thanks for your post!
    Error "JArray" has been fixed in the latest nugget package.
    Refer to:
    http://www.nuget.org/packages/Microsoft.WindowsAzure.Management.Monitoring/
    Hope this helps!
    Regards,
    Sadiqh

  • Creation  of PO with reference only

    Dear Fiends,
    Can anyone explain,how can we make creation of PO with Reference to PR mandatory for Certain documents types of PO.
    Regards
    SAPMM

    Hi,
    Copy the field selection key NBF(Define screen lay out at document level in spro>Matmgmt>Purchasing>Purch.order>)
    In new field selection key go to reference data item and make mandatory to PR
    Define some PO document type and link this New field selection key at "define document types"
    Regards,
    Sattuj

  • Creation of lot with 04 type

    Dear Gurus,
    Can we control the creation of Inspection lot with the control key in routing for a production Order.
    Our requirment is system should create a inspction lot when a particular key is defined in routing.
    Please tell the step by step config
    regards
    Aadi

    Can we control the creation of Inspection lot with the control key in routing for a production Order.
    Dear Creation of inspection lot is depends on Inspection type 04  and it's settings for a production order which we assign in MM QM view but we can control with control key when exactly we want to create a lot whether at production order confirmation time or at the time of header material GR time.
    Our requirment is system should create a inspction lot when a particular key is defined in routing.
    If you activated 04 inspection type and post to quality inspection tick activated in MM QM view and  it is a Auto GR and mile stone confirmation key is assigned in routing last operation when you confirm the production order it will post the header material to QI check in MMBE and create a lot check in QA32.
    If it is not a auto GR control key which is assigned in last operation then at the time GR for production order through MB31 or MIGO it will generate inspection lot based on 04 inspection type and 101 movement type settings.
    Cheers
    KK

  • Change master with release key

    Hello,
    When change master is created with release key, changes to material master is not possible.
    However changes to BOM are possible. If someone wants to make changes possible for material master with release key then how one can do that?
    Thanks in advance,
    jagruti

    Dear,
    You can create a change master using t-code CC01 and you can maintain and you can maintain the revision level in the objects. Then using this change master you can change the material master . Then automatically the system will create a new revision level.
    Using T code CC11 - Create Revision Level ,we can maintain the revision levels.
    One more way of doing this is ,using MM02 T code,after going into Basic 1
    view,just below the material field,you can find the creation button for revision level
    You can come to CC02 T code enter the change number set the Release key values as 01.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Fast refresh snapshots with primary key deferrable

    Oracle version 8.1.7 standard
    I've created this sample schema:
    Tables:
    create table a_customer
    (c_id integer primary key deferrable,
    zip integer
    create table a_orders
    (o_id integer primary key deferrable,
    c_id integer,
    constraint o_c foreign key (c_id)
    references a_customer(c_id)
    create index c_ind on a_orders(c_id);
    create table a_order_line
    (ol_id integer primary key deferrable,
    o_id integer,
    constraint ol_o foreign key(o_id)
    references a_orders(o_id)
    Snapshot logs:
    create snapshot log on a_customer with primary key (zip);
    create snapshot log on a_orders with primary key (c_id);
    create snapshot log on a_order_line with primary key (o_id);
    When I create the snapshot from another instance:
    create snapshot orders_snap refresh fast as
    select * from a_orders@dblink o where exists
    (select c_id from a_customer@dblink c where
    o.c_id = c.c_id and zip = 19555);
    It return me the error ORA-12015.
    If I recreate the primary keys without "deferrable" option, the snapshot is created succesfully.
    Is it a bug of the Oracle version used?

    Why will someone update the PK of a table. This itself violates the basic design of any application. A PK on a customer ID or a social security no of a person will never get updated in a life time of a user. In case a new number needs to be issued then the correct sequence is to delete the existing record and create new one rather then updating the existing record.
    So you jsut need to check the logic with deleting the PK and then refreshing the Mviews. Please do not update the PK that will itself be a flaw in application design as far my experience is concerend with the PK.
    Amar

  • How Can I install Framemaker 10 silently with serial key and license updater?

    How Can I install Framemaker 10 silently with serial key and license updater? Is there any tool to create MSI for this?
    I tried with using http://download.macromedia.com/pub/developer/creativesuite/AAMEE/win32/ApplicationManagerE nterprise_1_all.exe and its not supporting.
    I am looking for any customization tool for Framemaker 10 from Adobe or else silent install with serial and license updater

    After creating "application.xml.override" from above link
    First after installing manually Adobe Framemaker 10,Copy "pcd.db" to your source folder from "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\" once you run "LicenseUpdater.exe"
    1) For install create batch file "install.bat" and copy below command
    @echo off
    REM =====Install script=====
    set Current=%~dp0
    "%Current%Set-up.exe" --mode=silent --deploymentFile="%Current%\deploy\AdobeFrameMaker10_en_US.install.xml" --overrideFile="%Current%\deploy\application.xml.override" --acton=install
    COPY /Y "%Current%pcd.db" "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\pcd.db"
    Exit 0
    2) For Uninstall
    * download Adobeairinstaller from Adobe - Adobe AIR to uninstall adobe AIR silently and copy this exe in source folder
    Create batch file to uninstall Framemaker 10 "Uninstall.bat" and copy below command to Uninstall
    @echo off
    REM =====Uninstall script=====
    set Current=%~dp0
    REM Uninstalling "Adobe Framemaker 10"
    "%Current%Set-up.exe" --mode=silent --deploymentFile="%Current%\deploy\AdobeFrameMaker10_en_US.remove.xml" --overrideFile="%Current%\deploy\application.xml.override" --acton=uninstall
    DEL /F /Q "%ProgramFiles(x86)%\Common Files\Adobe\Adobe PCD\pcd.db"
    REM Uninstalling Adobe community help
    msiexec /x {E2B04924-29F3-F49D-71E9-B90EFEDE282C} /qn
    REM Uninstalling Adobe PDF creation Add-On 9
    msiexec /x {AC76D478-1033-0000-3478-000000000004} /qn
    REM Uninstalling Adobe AIR
    "%Current%AdobeAIRInstaller.exe" -uninstall
    Exit 0
    I think this will help....

  • How do I turn on long press keyboard to write the same character many times with one keystroke only? I can only write 1 letter at a time with each key press. To write "aaaaa" I need to press 5 times the A key. I didn't use to do this.

    I know this has something to do with INSERT key in Windows I guess. But suddenly I was using Mac OS X Lion and a keyboard sign appeared in the top bar, and the keyboard didnt work as it usually does. I mean, I wanted the long press key to write multiple caracters of course. Please help!

    It's now a hidden option that can be turned on with a terminal command.  The easiest way to do this is to download TinkerTool from this site:
    http://www.bresink.com/osx/0TinkerTool/download.php5
    Then go to Tinkertool > General tab > Select "support key repeat".
    Logoff and login again.
    Regards,
    Captfred

  • Issue in Data from DSO to DSO Target with different Key

    Hello All,
    I am having Issue in Data from DSO to DSO Target with different Key
    Source DSO has Employee + Wage + Post numner as key and Target has Employee + Wage Type as key.
    DSO semantic grouping works like Group By clause in sql, is my understanding right ?
    Also if someone can explain this with a small example, it would be great.
    Many Thanks
    Krishna

    Dear, as explained earlier your issue has nothing to do with semantic grouping .
    Semantic grouping is only usefull when you have written a routine in the transformation for calculations and in error handling .
    Please go through this blog which explains very clearly the use of semantic grouping .
    http://scn.sap.com/community/data-warehousing/netweaver-bw/blog/2013/06/16/semantic-groups-in-dtp
    Now coming to your above question
    DSO 1
    Employee WageTyp Amount
    100          aa          200
    200          aa          200
    100          bb          400
    100          cc          300
    If we have semantic group as Employee .   If we have Employee as key of the target DSO and update type as summation .
    then target DSO will have
    Emp                Amount
    100                 700
    200                 200
    In this case Wage type will be the last record arriving from the data package . If the record 100  cc  300 is arrivng last then wage type will be cc .
    2) Case 2
    DSO 1
    Employee WageTyp Amount
    100          aa          200
    200          aa          200
    100          bb          400
    100          aa          300
    if we do Semantic grouping with Emp and Wage Type   If we have Employee and wage type as key of the target DSO and update type as summation .
    then target DSO will have
    Emp     Wage      Amount
    100          aa          500
    200          aa          200
    100          bb          400
    Hope this helps .

  • Crystal Report with Compound Key

    Hi,
    I have Characteristic with Compound Key in SAP BW 7.0. This Characteristic use to store the Purchase Order Item Line. The Compound Key is the Purchase Order Document.
    So I will have the following fields created for this Characteristic:
    Compound Key (Purchase Order Document) 5600001982, Purchase Order Item Line 10
    I created a Query for this Characteristic and I have the following as result:
    10 ...
    20 ...
    30 ...
    All works fine.
    Now I created the Crystal Report from this Query. When I display this Characteristic in Crystal Report, I have the following:
    5600001982/10
    5600001982/20
    5600001982/30
    Is this a bug or Crystal not support the Compound Key?
    Please advise, thank you.

    Hello,
    Did you get this resolved.
    Were you able to display characteristics in Crystal without the compounding characteristic.
    Thanks.

  • Crystal Report and InfoObject with Compound Key

    Hi,
    I have Characteristic with Compound Key in SAP BW 7.0. This Characteristic use to store the Purchase Order Item Line. The Compound Key is the Purchase Order Document.
    So I will have the following fields created for this Characteristic:
    Compound Key (Purchase Order Document) 5600001982, Purchase Order Item Line 10
    I created a Query for this Characteristic and I have the following as result:
    10 ...
    20 ...
    30 ...
    All works fine.
    Now I created the Crystal Report from this Query. When I display this Characteristic in Crystal Report, I have the following:
    5600001982/10
    5600001982/20
    5600001982/30
    Is this a bug or Crystal not support the Compound Key?
    Please advise, thank you.

    a

  • BEX - Get Open Items with a key Date

    Hi Gurus,
    Im working with the Cube and ODS for AR Line items (0FIAR_C03- 0FIAR_O03) and i need to create a report that shows the Open items by Customer with a Key Date.
    I did the query that shows all the open items by customer, and i want to know where can i put the filter to input a key date, and only shows the open items until that date.
    Thanks in advanced, i really appreciate your help

    Hi Marcos,
    When you have created the Restricted keyfigures for Open Items, You have to add the date characteristic on which you are looking open item and add the variable there.Here you have to use a variable of type Interval and select the operator "<" the date of the Variable.If you go through, there are standard variable for keydate, which you can use directly.
    Hope you got the idea
    Regards
    Happy Tony

  • How to change the presets in pop-up menus (CS6 or CR 7, example Photo Filter) with arrow keys?

    How to change the presets in pop-up menus (CS6 or CR 7, example Photo Filter) with arrow keys an see at the same time the changes on the photo?
    It worked under Windows, now I use OS 10.8 and have to apply a preset with a click or Return button but after that the pop-up menu close so I have to open it once again to change a preset. Please help. Thank you!

    The filter panel is a shortcut for the content panel and it only effects the content of that window. So if you have a folder it will only see this as a folder and not with its content. (a Stack behaves about the same, being different in only counting the first file in the filter panel criteria but not what is in the stack itself)
    You have a view work arounds, first is use menu view / show items from subfolders (this can take some time especially if you have not used caching before on this content) and this builds visible thumbs for all content and that can be used for filtering.
    Or use the find command (Edit / find) and inhere specify the source and fill in the criteria include subfolders and this will give you the correct result.
    When you create a smart collection the find command also pops up given you the same opportunity to get the results in a collection, but since a collection is only a bunch of aliases referring to the originals you might be a bit careful with editing and deleting.

  • I need help with Creating Key Pairs

    Hello,
    I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
    the class is :
    import java.io.*;
    import java.math.BigInteger;
    import java.security.*;
    import java.security.spec.*;
    import java.security.interfaces.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import au.net.aba.crypto.provider.ABAProvider;
    class CreateKeyPairs {
    private static KeyPair keyPair;
    private static KeyPairGenerator pairGenerator;
    private static PrivateKey privateKey;
    private static PublicKey publicKey;
    public static void main(String[] args) throws Exception {
    if (args.length != 2) {
    System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
    return;
    createKeys();
    saveKey(args[0],publicKey);
    saveKey(args[1],privateKey);
    private static void createKeys() throws Exception {
    Security.addProvider(new ABAProvider());
    pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
    pairGenerator.initialize(1024, new SecureRandom());
    keyPair = pairGenerator.generateKeyPair();
    privateKey = keyPair.getPrivate();
    publicKey = keyPair.getPublic();
    private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    the public key is:
    �� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�|  xpt Javaur [Ljava.lang.String;��V��{G  xp   q ~ ur [B���T�  xp   ��ccR}o���[!#I����lo������
    ����^"`8�|���Z>������&
    d ����"B��
    ^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
    How i can generated the key pairs in base 64 or binary????
    Thanxs for help me
    Luis Navarro Nu�ez
    Santiago.
    Chile.
    South America.

    I don't use ABA but BouncyCastle
    this could help you :
    try
    java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
    java.security.KeyPair kp = kg.generateKeyPair();
    java.security.Key pub = kp.getPublic();
    java.security.Key pri = kp.getPrivate();
    System.out.println("pub: " + pub);
    System.out.println("pri: " + pri);
    byte[] pub_e = pub.getEncoded();
    byte[] pri_e = pri.getEncoded();
    java.io.PrintWriter o;
    java.io.DataInputStream i;
    java.io.File f;
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
    o.println(new sun.misc.BASE64Encoder().encode(pub_e));
    o.close();
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
    o.println(new sun.misc.BASE64Encoder().encode(pri_e));
    o.close();
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
    StringBuffer keyBase64 = new StringBuffer();
    String line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
    keyBase64 = new StringBuffer();
    line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
    java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
    System.out.println("pub: " + pubKey);
    java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
    System.out.println("pri: " + priKey);
    catch(Exception e)
    e.printStackTrace ();
    }

  • Maintenance View for custom table with foreign key relationship

    Hi Folks,
         I have created a custom table with foreign key relationship with other check tables. I want to create a maintenance view / tablemaintenance generator. What all things I need to take care for the foreign keys related fields while creating the maintenance view / tablemaintenance generator.
    Regards,
      santosh

    Hi,
    You do not have to do anything explicitely for the foreign key relationships in the table maintainance generator.
    Create the table maintainance generator via SE11 and it will take care of all teh foreign key checks by itself.
    Regards,
    Ankur Parab

Maybe you are looking for