FORALL with Multi-level VARRAYs

Hello all,
I was wondering if the FORALL statement supports something like this:
FORALL i in 1 .. nt1.LAST
INSERT INTO t1 VALUES (nt1(i)(i), nt1(i)(i+1));
where nt1 is a multi-level varray defined as:
TYPE t1 IS VARRAY(10) OF VARCHAR2(32767);
TYPE nt1 IS VARRAY(3) OF t1;
Any help would be greatly appreciated as I don't want to put the insert statement into a regular for loop. Thanks.
- Kenny R.

Is it acceptable approach ?
SQL> create TYPE t1 IS VARRAY(10) OF VARCHAR2(32);
  2  /
&nbsp
Type created.
&nbsp
SQL> create TYPE nt1 IS VARRAY(3) OF t1;
  2  /
&nbsp
Type created.
&nbsp
SQL> create table tab2col (col1 varchar2(3), col2 varchar2(3));
&nbsp
Table created.
&nbsp
SQL> declare
  2   a nt1 := nt1(t1('a','b','c'), t1('7','8','9','10','11'), t1('a1','a2','a3','a4','a5'));
  3 
  4   type m1 is table of varchar2(32);
  5 
  6   c1 m1 := m1();
  7   c2 m1 := m1();
  8 
  9  begin
10 
11   c1.extend(a.count);
12   c2.extend(a.count);
13 
14   for i in a.first..a.last loop
15    c1(i) := a(i)(i);
16    c2(i) := a(i)(i+1);
17   end loop;
18 
19   forall i in a.first..a.last
20     insert into tab2col (col1,col2)
21     values(c1(i),c2(i));
22 
23  end;
24  /
&nbsp
PL/SQL procedure successfully completed.
&nbspRgds.

Similar Messages

  • URGENT HELP PLS :  Issue with Multi Level Master Detail block

    This is an issue someone else had posted in this forum few years back but there was no solution mentioned, I have run into this same issue , The problem is as explained below.
    Any help on this is appreciated.
    Scenario:
    There are 3 Blocks in the form : A (Master Block)
    : B (Detail of A )
    : C (Detail of B )
    There is master detail relation created between A and B and B and C. So initially when we query for a record in Master A, it shows all records properly in B and C.
    Now if i navigate to the first record of B , and then second record of B , records corresponding to that record shows up properly in C block.
    Till now everything works fine.
    Issue 1:
    But in case after querying initially on Master Block A,If I go directly to the second record of B block, it clears the whole B block and C block.
    Issue 2:
    Same thing happens if I am on C block ( corresponding to second record of B block) and then navigate to first record in B block , it again clears the whole B block and C block.
    Please Help !!
    Thanks !

    Thanks Xem for Your reply , I tried those settings but it did not help..here is the original link that to the thread that talks about the same problem ,
    Issue with Multi Level Master Detail block
    The last update to this was the following :
    "I figured out that this is happening because Block Status is set to 'Changed' and this is causing it to clear out the blocks.
    But cant figure out why the status is setting to 'Changed' "
    Any Help from the form Gurus on this form in this matter is truely appreicated !!
    Thanks,
    Zid.

  • App Model with Multi-Level Subdomains

    Hello,
    I understand that subdomains should not be used when setting up the App model to prevent unauthorized access of cookies, etc. Does this also apply to multi-level subdomains?
    Our SharePoint looks like the following:
    WebApp1.SharePoint.MyCompany.com
    MySites.SharePoint.MyCompany.com
    So, in essence our root domain is "SharePoint.MyCompany.com". Everything we build is a subdomain to that.
    Would it be safe and in accordance with best practice, then, to do:
    Apps.SharePointApps.MyCompany.com
    That is a URL that is separate from the SharePoint subdomains, even though it is itself a subdomain of MyCompany.com. The TechNet guidance states: "For example, if the SharePoint sites are at Contoso.com, do not use Apps.Contoso.com. Instead use a unique
    name such as Contoso-Apps.com."
    Our SharePoint sites are at xxxxx.SharePoint.MyCompany.com, so is xxxxx.SharePointApps.MyCompany.com sufficient; or, do we still need to do the equivalent of xxxxx.MyCompanyApps.com?
    Thank you,
    Joseph Irvine

    Hi,
    I suggest you create a new top level domain name to end up with app URLs like [app].company-apps.com. 
    More information is here:
    Understanding and Configuring App URLs in SharePoint 2013
    http://blog.brianfarnhill.com/2013/06/Understanding-and-Configuring-App-URLs-in-SharePoint-2013
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Forall with multi dml statements

    hi
    I am trying to write a procedure for learning purpose, but it gives error message.
    Normally we use for loops, it is slow but for loop is a block and you can execute many select and dml statements inside for loop.
    I want to achieve this with bulk collect and for all but I can not. Can you help me?
    /* Formatted on 2009/07/28 07:34 (Formatter Plus v4.8.8) */
    CREATE OR REPLACE PROCEDURE bulk_collect_query
    IS
    TYPE employee_tt IS TABLE OF employees.employee_id%TYPE
    INDEX BY BINARY_INTEGER;
    TYPE salary_tt IS TABLE OF employees.salary%TYPE
    INDEX BY BINARY_INTEGER;
    TYPE hire_date_tt IS TABLE OF employees.hire_date%TYPE
    INDEX BY BINARY_INTEGER;
    hire_datet hire_date_tt;
    employeet employee_tt;
    salariet salary_tt;
    BEGIN
    DBMS_OUTPUT.put_line ('Before Bulk Collect: ' || SYSTIMESTAMP);
    SELECT employee_id, salary, hire_date
    BULK COLLECT INTO employeet, salariet, hire_datet
    FROM employees;
    DBMS_OUTPUT.put_line ('After Bulk Collect: ' || SYSTIMESTAMP);
    FORALL indx IN employeet.FIRST .. employeet.LAST
    begin
    INSERT INTO t_emp_history
    (employee_id, salary, hire_date
    VALUES (employeet (indx), salariet (indx), hire_datet (indx)
    INSERT INTO t_emp_history
    (employee_id, salary, hire_date
    VALUES (employeet (indx), salariet (indx), hire_datet (indx)
    end;
    DBMS_OUTPUT.put_line ('After FORALL: ' || SYSTIMESTAMP);
    COMMIT;
    END;
    /

    /* Formatted on 2009/07/28 07:34 (Formatter Plus v4.8.8) */
    CREATE OR REPLACE PROCEDURE bulk_collect_query
    IS
    type v_datareturn IS record(
    employee_id employees.employee_id%TYPE,
    salary employees.salary%TYPE,
    hire_date employees.hire_date%TYPE
    TYPE employee_tt IS TABLE OF v_datareturn
    INDEX BY BINARY_INTEGER;
    employeet employee_tt;
    CURSOR c IS
    SELECT employee_id, salary, hire_date
    FROM employees;
    BEGIN
    DBMS_OUTPUT.put_line ('Before Bulk Collect: ' || SYSTIMESTAMP);
    OPEN c;
    FETCH c BULK COLLECT INTO employeet;
        FORALL i IN 1..employeet.COUNT
        INSERT INTO t_emp_history VALUES employeet(i);
        CLOSE c;
    DBMS_OUTPUT.put_line ('After Bulk Collect: ' || SYSTIMESTAMP);
    COMMIT;
    END;
    /Untested one.....
    Ravi Kumar

  • Purchase Requisition release WF with multi-level release strategy

    Since it has been "a while" from my WF course and i lack experience with WF's (this is supposed to be the 1st one i implement, finally)...
    The problem I'm facing is really in planning phase of sketching up how my scenario should look like. I have to create couple of WFs for a project that involve purchase requisitions and purchase orders.
    The problem i'm trying to solve is logic concerning release strategy steps for this documents. They are set-up and well-deffined in customizing, but there are couple ofrelease steps for particular strategy.
    Scenario:
    1. someone creates a purchase requisition (event for BUS2009 is triggered, and workitem appears for release of Purch. Req. in their workplace)
    2. initiator of workflow executes his workitem and selects one of the release codes (this workitem is now complete) - i'd like for new workitem to appear in supervisors inbox automatically...
    3. now i need supervisor of initiator to release same purch. requisition with another release code (how to do it?)
    4. supervisor of supervisor (mentioned in step 3.) needs has the authorisation for final release with final release code.
    5. now the initiator from step 1. has to be notified that requisition has been released by overall head of department.
    Org structure i created looks like this:
    ORG. UNIT. Level 0 for Purch. Req. (with Head CEO of Plant as final approver)
    ORG.Unit.  Level 1 for Purch. Req. (with Head of level 1)
    ORG.Unit.  Level 2 for Purch. Req. (with Head of level 2 and Clerks 2a,b,c)
    So these guys (Clerk) 2a,b,c create Purch.Req. They or their Head of level 2 releases their requisitions with his release code Z1,
    Head of level 1 should recieve workitem in his inbox to be able to release it with his release code Z2.
    Director of the plant should recieve workitem for final release Z3, after Head 2 did his release with Z2, and then guys 2a,b,c should get notifications that their PR's are released.
    I managed to get the SAP's standard for Purch. Req. Release working but it's just not enough...
    Please advise me, guide me, if u have any idea, how could this be done, because i'm loosing a lot of time here, just searching and not seeing it. The problem is that we don't have any WF experienced guys that could help, so i'm kinda' stuck.
    Could standard be used here at all?
    Is it possible that the same task (for example. TS00007986 - Release requisition) appears more than once in the sam WF with different agent asignments?
    I dont have an idea how this scenario should be built in WF builder.
    BTW, i'll have 12-15 plants, does that mean 15 different WFs and Org Units?
    Help WF gurus.
    Thank you in advance,
    BaX

    Its' a while since I last time worked with PRs, but I'll give a try...
    This part is a bit confusing:
    >1. someone creates a purchase requisition (event for BUS2009 is triggered, and >workitem appears for release of Purch. Req. in their workplace)
    >2. initiator of workflow executes his workitem and selects one of the release >codes (this workitem is now complete) - i'd like for new workitem to appear in >supervisors inbox automatically...
    >3. now i need supervisor of initiator to release same purch. requisition with >another release code (how to do it?)
    Why do you want that the initiator (the creator of the PR) needs to go the business workplace and release the PR (or select the release code). Isn't this an unncessary step? Shouldn't it worked like this:
    1. Someone creates a PR
    2. PR "gets" a release code automatically with some logic defined in customization
    3. PR release work item apears in the supervisor's  workplace
    4. Initiator gets the mail
    If I recall correctly, the standard solution works like this, or has quite similar approach.
    Whatever way you decide to build your workflow, you won't most probably need a workflow for each plant, but you'll need several org units. But this all really depens on how you decide to do it...

  • Attribute Dimension and association with multi level base members

    I am trying to associate attribute dimension members with base members that can be at different levels (level 0 or level 1 or level 2 ).
    First question - Is that possible ? Second how do I do that.
    I am building the dimensions(base and attribute) members first and then trying to associate.
    I get the following error message :
    Base member (xxxxxxx) association level does not match base dimension association level
    The base dimension looks like
    Supplier
    |-----Supplier Group
    |---------Supplier ID (Associate this member to an attrbiute dimension)
    |---------------Invoice Number
    Sometimes the Supplier ID may not have a Supplier Group or an Invoice Number (hence it can be a level 0 or directly under the dimension name - Gen2)
    The Attrbute Dimension looks like
    Supplier Value
    |---High
    |---Medium
    |---Low
    Edited by: 816875 on 30-Nov-2010 07:01

    First to clarify, base mambers by definition would all be level 0 members, but to your question, attributres can only be associated to a single level within a dimension. your problem is sometimes the supplier is level 0 and other times level 1. This can't be done.

  • Need help with multi-level categorization

    Hi,
    We have the following scenario:
    A complaint has a subject profile with two catalogs:
    1. Problem - 60 problem codes
    2. Solution - 30 solution codes
    Each catalog has code groups and codes assigned as above.
    In GUI we can address this using the catalogs, code groups and codes under "Analysis" tab at complaint header / item level. However, we want to switch over to categorization schema in CRM 7.0 Webclient UI.
    I tried creating a categorization schema in Web UI. However, if I understand correct, for each of the 90 codes (60 + 30 mentioned above) I need to a add category id under the root schema id and assign a subject code under the general data of the category (while maintaining the category hierarchy). Is this true? I really cannot do it since I have already created the catalogs with the mentioned number of codes under the relevant code groups. Isn't it a duplication of effort? Whats the whole point of creating subject profiles / catalogs / code groups / codes if it has to be redone in webclient's categorization schema? Moreover, every time I add a problem code (say number of codes become 61 from 60), do I need to change the schema and release it again?
    I believe there would be a simpler way to do it.
    My exact requirement is:
    1. I want to use only the first two drop downs of the categorization view in complaints component
    2. First drop down to have all the problem codes (60 of them)
    3. The second drop down to have all solution codes (30 of them).
    Request the gurus to provide the exact steps to achieve this (_details in terms of exact steps will be appreciated and suitably rewarded_). Please note that the customizing in terms subjects, catalogs, code groups, codes etc is already in place.
    Regards,
    DP

    Hello DP,
    we have in sum 4 categorie-fields in the service request.
    And we did it like you explained it. First customizing of code / codegroups, etc.
    Afterwards you have to create the categorization schema in WebUI.
    And yes, everytime we add a code we need to change the categorization schema as well.
    We maintain categorization schema in WebUI only in TCR and we use the RFC-Import for the QCR and PCR system.
    You are right this is a duplication of effort. In our case it is needed because we use the SLA determintation based on catogorization and we have multilevel categories, which means depend from catagory A we have different entries in category B.
    If you just need two dropdown boxes idependently from each other i would suggest to create to customer own fields with z-table behind. That´s much less effort if you often add or delete codes.
    Best regards
    Manfred

  • Multi level parent child relationship and datacontrol

    I have an existing application with multi-level parent child tables. For example three of the tables in the applications are related as Table 1 ( parent of Table 2) ---> Table 2 ( parent of Table 3 ) --> Table 3. When i create ADF Business components using these tables i see only the nesting between the parent and its immediate child tables. How can i create a nested data control for Table 3 to Table 2 to Table 1?. We have a usecase where we need to access data from the child table to parent to parent in the reverse order. Currently there is no direct relationship defined between Table 1 and Table 3.
    Any thoughts?
    thanks
    Seetharaman

    Hi,
    double click the Application Module to open the AM editor. Select the data Model category. On the right hand side you see what is selected for use in an application, on the left hand side is what you have available as View Object. To create T1-->T2-->T3, you
    - Select T1 and move it to the right
    - Select T2 under T1 on the left and move it to the right under T1
    - Select T3 under T2 on the left and move it under T2 in T1 on the right
    Frank

  • OAM multi-level authentication with an OIF SP

    As background, we have 16 Shibboleth IdPs in a federation and users need to access a couple of applications that are protected by OAM (10.1.4.3) using OIF (11g) as the SP. We have a requirement to force re-authentication for a set of URLs protected by OAM. So, if a user accesses application, let's call it LOW, and then attempts to access application called HIGH, we need to reauthenticate the user at the IdP. In OAM, this is the classic use case for multi-level authentication, I think.
    Since OIF acts as a gateway, all of the applications "behind" OIF/OAM use the same authentication scheme in OAM, so I can't use OAM's multi-level authentication as we are configured now. I was told by an OIF person at OracleWorld that a possible approach would be to configure a custom authentication engine in OIF that is basically a copy of the OAM authentication engine and set that up at a different authentication level in OAM. However, looking through the documentation, it looks like the authentication engines are only used when OIF is used as an IdP. Perhaps the person meant that I need to set up a custom SP Integration Module? Or am I misunderstanding the role of the auth engine?
    The OAM SP Integration Module lets me specify Authentication Schemes and Authentication Scheme Levels. We currently are set up to use OIF-unspecified with a level of 1. Since we want to re-authenticate, however, we really want to use the same authentication scheme but at a different authentication level. Is there a way to achieve that? Can I set up a second OAM SP Integration Module with a different policy domain and set the OIF-unspecified authentication scheme to level 2 on that one? How would I go about doing that -- as a custom SP engine?
    Has anyone done anything similar or found a way to force reauthentication using the same authenticator for some applications behind an OIF SP but not others?
    Thanks for any help you can provide.
    --Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Thanks for the reply.
    “In fact there is not one use case. There are 5 use cases for which we need to provide Second Level of Authentication functionality. And that also with the flexibility of switching this on/off.
    Now as per my understanding we should achieve this through the following flow :
    Store one extra attribute in OID per user per service. And that attribute will store the enable/disable information for that particular service and for that particular user.
    Now ObAuthentication Scheme class of Access Manager API needs to be used for enabling or disabling the Level 2 authentication scheme as per that attribute.
    Is this flow possible.”
    Cheers,
    Sunny

  • Configured material(Material Variants) with VC multi-level configuration

    Hi experts,
    I have a question about VC, VC can be a multi-level configuration, and it can be configuration level by level in sales order, this configurable material replace by a configured material(Material Variants ) . however I can only config the first level in Material Variants(MM02 MRP3; the configrable material is a multi-level)! how to solve it?
    If we can not multi level config the VC materil in the configured material, how can it replace the configurable material in sales order?
    Thanks
    lance

    Hi Lance,
    You can do straight away also without user exit .
    There is feature called Variant Matching in Variant configuration. If you can go throgh this and do the step by step configuration and in configuration profile setting you have to set Variant matching Indicator , then Make the Exclusion characterstics ,
    With all the steps , Once the Configurable material is configured in Sales order if it finds the variant matched with the existing variant in the system , then Config Material will be replaced by Material Variant as a line item in the sales order.
    Thanks
    Ankaiah

  • Issue with PO release (multi level approval)

    Hi,
    Need help regarding PO release. I am working with 4 level  approval process.
    Information:
    it is sequential release as I can see in workflow log, a new workflow gets generated for next level only after previous level executes the workitem.
    Facing following issue at 2nd Level :
    Level 2 releases item and it goes to Level 3, but workitem doesn’t disappear from inbox.Once Level 3 releases item, an acceptance mail goes to Level 2. But along with the mail, updated workitem (i.e. showing release by 3rd level) also appears in inbox of Level2. Now two work items appear in Level2 Inbox.
    In Workflow Log, this is how its behaving:
    WORKFLOW STARTED-->
    1st WF appears in WF log.
    Level 1 releases WI ->
    2nd workflow appears in WF log +
    1st workflow with (in process status)
    Level 2 releases WI ->
    3rd WF appears +
    2nd workflow with (in process status) +
    1st workflow with (in process status)
    Level 3 releases WI ->
    3rd WF appears +
    2nd workflow with (in process status) +
    1st workflow with (in process status)
    ISSUE: As soon as Level 3 sends back acceptance to Level 2, updated WI item appears( i.e. with latest release status which in this case is: released by level1, Level2 and Level3) along with the mail.
    Level 4 releases WI ->
    4th WF appears +
    3rd WF appears (in process status) +
    2nd workflow with (in process status) +
    1st workflow with (STATUS COMPLETED)
    ISSUE: As soon as Level 4 sends back acceptance to Level 2, updated WI item appears( i.e. with latest release status which in this case is: released by level1, Level2, Level3 and Level 4) along with the mail.
    Result:
    PO gets released.
    In workflow log 2nd, 3rd and 4th workflow appear with IN PROCESS STATUS. All of them show process stopped at LEVEL2.

    Hi Kjetil,
    Release strategy is being used. Configuration for release strategy is given as following.
    RGroup Rcode   Workflow     Agent
    Z6          R1         1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Z6          R1             1                Blank
    Release is sequential.
    For column 'Agent' mentioning position or User is not really useful because we are getting agents through Z table. Reason is: current org structure supports 1 position with multiple users from same department. In our scenario we need to find initiators department then find relevant approval levels for that departemnt. So I cannot mention any position in 'Agent' Column as release code will be locked against one position and one departetment.
    Agents picked through Z table. Table has fields  Agent/ UserID , level, department.
    Logic to pick agents( Object and method created ): 
      When workflow starts, it finds department of the initiator.
      For that department-> find approval levels available(L1, L2,  L3).
      For these levels -> Find Agent mentioned for that level.
      Onece Agents are found for all levels -> Pass them to WF  container.
      In task activity, These agents are passed back to the rule and  the task comes to know which agent it should go to.
    Result : Four workflows start in sequence. When last level releases, only 1st workflow shows COMPLETED status. Rest three hang at level 2. If I see Me29N , release for that item is shown completed. To me it seems triggering of only first workflow is enough for release. Is there any way I can avoid trigerring of other three workflows?
    Edited by: User112 User112 on Jan 25, 2008 6:30 AM
    Edited by: User112 User112 on Jan 25, 2008 6:31 AM

  • Can we use SNP PDS in Multi level ATP ?

    Hi All,
    We do CTM planning with existing SNP PDS In APO and now we want to explore to use the Multi level ATP functionality for GATP.  I know, MATP can create the ATP trees if the stock is not available and these can be converted into PPDS order.
    My question is, can we use SNP PDS for this purpose?
    Thanks,
    Abhilasha

    Hi Abhilasha,
    There is no such specific mention anywhere in the literature that you cannot use SNP PDS for MATP. The only downside to using SNP PDS is that SNP PDS are meant for mid to long term planning and the activities/operations in SNP PDS are usually not in detail i.e only important activities or bottle neck components are usually used which will not always facilitate detailed scheduling.
    On the other hand MATP creates ATP tree structures by plan exlosion(which can be SNP/PDS) and saves the requirements groups(component requirements of header level) with dates/qts and source of supply. It uses PPDS component to convert these ATP tree structures into PPDS planned orders depending on the conversion horizon/requirements dates. It does that by reading the source of supply, requirements dates and quantities from ATP tree structure and by plan explosion.
    When MATP planned orders are created you should no longer plan them with automatic planning run as that will cause re-explosion of the plan and might cause incorrect down stream requirements if you had had substitutions at component leve during MATP check. In planned orders, you have an option of changing the allowed sources of supply (in source of supply section). But for orders created by MATP, you will not be allowed to change the source of supply field from SNP PDS to PPDS PDS in the planned order because it will re-explode the plan. So you can decide for yourself if you can use SNP PDS as source of supply for PPDS planned orders.
    Hope that answers your question.
    Regards,
    Mohan

  • How to create a multi-level configuration sales order?

    Hi,
        My client use configurable material to sell computers. And the production mode is MTO. One sales order item correspond with a production order
        Now my client also sell array which consist of two computers, two storage, one UPS power etc. That means I must realize multi-level configuration. First, choose the computer type. Second, based on the choosed computer in first step, choose the cpu, disk and so on. And then based on the sales order item, there must be several production order related to the same sales order item.
        Now I have semi-finished product B1,B2--computer. Class type is 300. Many characteristics is allocated to the class. B type material has the BOM which consist of cpu,disk etc.
        Then I created the finished product A--array. Class type is 300. Allocated characteristics is the B1,B2. A has the BOM which consist of B1,B2 etc.
        When I create sales order, I can only config the first level,choose computers for A, can not choose cpu,disk for computers.
        So, how can I find a solution for this scenario?
        Thanks in advance.

    Thanks, Waza
    1.  Does the Sales order BOM explode in the sales order?
    No. Just one top item would be ok for my client.
    2. Why do thy want this in the sales order?  They can explode the BOM in the production order, do they then need pricing at the component level?
    They do not need pricing at the component level. Exploding the BOM in the production order is acceptable. But how can I config the configurable material in components of production order?
    I tried collective order, but the second level of configurable material can not generate production order. I just make use of special procurement 52 in MRP2 of top finished product. Is there something I missed?
    Thanks again.

  • Multi level attribute form LDAP

    multi level attribute form LDAP
    I am trying to write an custom mapping to use to retrieve a value from a multialued field in LDAP (nsRole). Has anyone done this before?
    Rigth now all my mappings are 1:1. However the goal is to get a 1 : M and parse thru it till i get the desied value (1:1)

    Darwin Hammons - Assurant 
    2:44pm, May 17 
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Anthony Erickson
    2:52pm, May 18  
    Hi Darwin,
    We're about to embark on a piece of work with newScale which would be similar to this to support our Multilingual catalogue.  I'll provide any updates I'm able. 
    Thanks,
    Ant 
    Darwin Hammons - Assurant 
    3:25pm, May 18 
    Great, Thanks Anthony ! I hope our bringing up this topic will spark a bit of interest. The Custom Java Mapping  / Directory integration is documented more with RC 9.1. It will be good to hear more about your project and use of Java mappings with LDAP Directories. 

  • How to create multi level reports?

    The report I have created contains 25 columns and is to wide. I would like to create a multi level report in the fashion of below:
    Col 1 Col 2 Col 3
    Row1 Row1 Row1
    Row2 Row2 Row2
    Col 5 Col 6 Col 7
    Row1 Row1 Row1
    Row2 Row2 Row2
    I am assuming this needs to be done by modifying html in a template.
    I have cut up a normal report to try and illistrate what I am thinking.
    http://i71.photobucket.com/albums/i124/breinhar/multirow.jpg
    I greatly appreciate the help. Thanks.

    Hi,
    OK - I've put together a horizontal scrolling report template for a Theme 12/Standard report: [http://apex.oracle.com/pls/otn/f?p=33642:198]
    To create this, you need to:
    1 - Through Shared Components, Templates - create a new Report Template based on a copy of the existing Standard report template.
    2 - When you have your new template, edit it.
    3 - In the template's "Before Rows" setting, replace what's there with the following:
    <style type="text/css">
    #table1 th {white-space: nowrap}
    #table1 td {white-space: nowrap}
    #table2 th {white-space: nowrap}
    #table2 td {white-space: nowrap}
    </style>
    <table cellpadding="0" cellspacing="0" summary="" style="padding:0px; border-collapse:collapse;">#TOP_PAGINATION#
    <tr><td>
      <tr>
        <td style="vertical-align:top; background-color:#EFEFEF; padding:0px; border:1px solid darkgray;">
          <div id="d1" style="background-color:white; margin:0px; border:0px; padding:0px;">
          </div>
        </td>
        <td style="vertical-align:top; padding:0px; border:1px solid darkgray;">
          <div id="d2" style="overflow-X:scroll; margin:0px; border:0px; padding:0px; border-right:1px solid darkgray;">
    <table cellpadding="0" border="0" cellspacing="0" summary="" class="t12Standard" id="table2">4 - In the template's "After Rows" setting, replace what's there with the following:
          </div>
        </td>
      </tr>
    </table><div class="t12bottom">#EXTERNAL_LINK##CSV_LINK#</div></td></tr>#PAGINATION#</table>
    <script type="text/javascript">
    var d1 = document.getElementById("d1");
    var t2 = document.getElementById("table2");
    var t1 = t2.cloneNode(false);
    t1.style.width = "100%";
    t1.id = "table1";
    d1.appendChild(t1);
    var t2Rows = t2.rows;
    var k;
    var r;
    var c;
    for (k = 0; k < t2Rows.length; k++)
    r = document.createElement("TR");
    t1.appendChild(r);
    c = t2Rows[k].cells[0].cloneNode(true);
    r.appendChild(c);
    t2Rows[k].deleteCell(0);
    d1.innerHTML += "";
    </script>5 - On your report's Report Attributes, change the template used for the report from "Standard" to your new one
    6 - Also on the report's Report Attributes, set "Enable Partial Page Refresh" to No - this is required as we need the javascript in the template to be run whenever pagination happens and Partial Page Refresh does not seem to allow us the means to trigger javascript
    7 - Finally, on the report region's Region Footer, add in:
    <style type="text/css">
    #d1 {width:75px;}
    #d2 {width:500px;}
    </style>#d1 refers to the width of the frozen column and #d2 is the width of the rest of the report - you can adjust these figures as required.
    The template contains two DIV tags - d1 and d2. Initially, d1 is empty and d2 contains the report. The javascript moves the first cell in each row from d2 to d1. The styles then add the scrolling functionality.
    Andy

Maybe you are looking for

  • How can I get back an itunes gift code redeemed by the same gifting account?

    I gifted an aplication that I already owned to mi mail so I could resend it as needed to someone else. I tried right clicking in the redeem button to get the code but instead it opened itunes and automaticaly started downloading the app even wen I al

  • How to create Asynchronous request and delayed response Provider ABCS

    Hi All, I am using Jdveloper 11.1.1.5 and AIA FP 3.0 Whenver I am creating Asynchronous Provider ABCS through Service constructor, it asks for the wsdl in Callback tab. Would someone please help me in : *1.* What wsdl we should provide in Callback ta

  • Shipment Cost settlement to multiple vendors

    Hi team, When we are calculating shipment cost, with reference to outbound shipments, we have to get the multiple vendors like freight cost settlement to one vendor and insurance will be to the other vendor. How do we need to map this requirement? We

  • Sending Dunning letters by email

    Hi colleagues, I am trying to send a dunning letter by email selecting the letter I want to send in the dunning wizard and, although SBO ask me  if I want attach the file, there is not any file attached when the mail is received. Does anybody know if

  • Olympus E-510 Support

    Adobe: I have had my Olympus E-510 for over 2 months now, and I am getting weary of waiting for you to support this model with your Camera Raw.