Multilevel Collections Basics.

I am new to collections in general. It looks like I need a multilevel collection to hold 3 fields (three parts of a phone number). For simplicity, I assumed that I will get only 1 record from the cursor. I think I just don't know the syntax to populate multilevel collection, but may be I'm not even defining it correctly. Thank you.
Below is my simplified example:
DECLARE
CURSOR c_dt (id in number) is
select *
from dev_team;
r_dt c_dt%rowtype;
TYPE t_phone is RECORD
(phone1 dev_team.phone1%type,
phone2 dev_team.phone2%type,
phone3 dev_team.phone3%type);
TYPE t_collect_phone is TABLE OF t_phone
index by pls_integer;
--trying to declare multilevel collection.
collect_phone t_collect_phone;
BEGIN
--let's assume that the cursor always returns a single record.
open c_dt (45740);
fetch c_dt into r_dt;
--trying to populate the multilevel collection.
collect_phone(1) := t_collect_phone ('1','2','3');
END;
--Error Message: "No function t_collect_phone exists in this scope"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

My appologies:
instead of:
collect_phone(1) := t_collect_phone ('1','2','3');
I should have:
collect_phone(1) := t_collect_phone (r_dt.phone1, r_dt.phone2, r_dt.phone2);
That doesn't change anything though. Same error.

Similar Messages

  • Script to collect basic information about a database

    Hi,
    I recently started working at a new place, with lots of Oracle Databases.
    I have need for a nice script for collecting basic information about this databases. A few years ago I found some scripts at Metalink for this, but now I can´t find any....
    Anyone who could point out where to find this?
    Best Regards //Björn

    You can use Statspack. You have the most important information and you have an overview of how the database performes.
    Bye, Aron

  • Multilevel collection

    i have a table that contain 3 columns such as
    name productid product .
    i have the following data
    john 123 table
    john 345 sofa
    john 678 chair
    lee 123 table
    lee 456 bed
    rod 745 bed
    and so on
    i want to store this in a multilevel pl/sql table using bulk collect and search by string so that if i pass "john" and " table" as a parameter to my procedure
    i should get
    123 table
    if you have a better solution than using pl/sql table, i will also welcome it. thanks

    no i cannot do that because the problem is that the input is dynamically taking from another table and validation is done using one single query. i need to put the table content into some kind of pl/sql object so i can look up the values.
    how can i do that

  • Creating data at multilevel collection

    Dear Experts,
    Objective: Want to store Table of Orderstatus_Type in a collection.
    Herewith i have explain the my objects
    Create or Replace Type Orderstatus_Type as Objects
         Status Varchar2(50),
         Statusdate Timestamp
    Create or Replace Type Morderstatus_type is table of Orderstatus_type;
    Previous type are created under a schema. While running the my below function I am getting error
    Create Or Replace Function Ord_Test Return Morderstatus_Type Is
    Cursor c1 is SELECT O.ORDER_ID,O.REF_ORDER_ID,OA1.VALUE DELIVERY_DATE,OA2.VALUE INSPECTION_DATE, S.EPS_STATUS,SV.EPS_STATUS_VALUE,OS.STATUS_CHANGE_DATE      
    FROM  EPS_ORDER O,EPS_ORDER_STATUS OS,EPS_ORDER_STATUS_LU LU, EPS_STATUS S,EPS_STATUS_VALUE SV,
          (SELECT * FROM EPS_ORDER_ATTRIBUTES WHERE KEY = 'DELIVERY_DATE')   OA1,
          (SELECT * FROM EPS_ORDER_ATTRIBUTES WHERE KEY = 'INSPECTION_DATE') OA2 --,CLIENT_ORDER_STATUS_SUB SS
    WHERE O.ORDER_ID = OS.ORDER_ID AND OS.EPS_STATUS_ID = S.EPS_STATUS_ID AND OS.EPS_STATUS_VALUE_ID = SV.EPS_STATUS_VALUE_ID
    AND LU.EPS_STATUS_ID = S.EPS_STATUS_ID AND LU.EPS_STATUS_VALUE_ID = SV.EPS_STATUS_VALUE_ID
    AND O.ORDER_ID = OA1.ORDER_ID(+) AND O.ORDER_ID = OA2.ORDER_ID(+)
    --AND SS.EPS_STATUS_ID = S.EPS_STATUS_ID AND SS.EPS_STATUS_VALUE_ID = SV.EPS_STATUS_VALUE_ID AND SS.SUBSCRIBE_FLAG = 1
    And O.Order_Id = 588
    ORDER BY O.ORDER_ID;
    Vmord_stat Morderstatus_Type := Morderstatus_Type();
    Begin   
         For I In C1 Loop
             Vmord_Stat.Extend;
              VMord_Stat(i) := Orderstatus_Type(I.Eps_Status,I.Status_Change_Date);                                            
         End Loop;      
         Return(Vmord_Stat);
    End;
    Error:
    FUNCTION Ord_Test compiled
    Warning: execution completed with warning
    17/22          PLS-00382: expression is of wrong type
    17/11          PL/SQL: Statement ignored
    Kindly help me to resolve this.
    Thanks in advance
    Kanish

    Hi,
    Below are some examples how to work with your types in PL/SQL.
    declare
    a Orderstatus_Type;
    b MOrderstatus_type := MOrderstatus_type();
    c Order_Type;
    begin
      a := Orderstatus_Type('aa',null);
      b := MOrderstatus_type(a);
    DBMS_OUTPUT.PUT_LINE('b.last = ' || b.last);
    DBMS_OUTPUT.PUT_LINE(null);
      b.extend;
    DBMS_OUTPUT.PUT_LINE('b.last = ' || b.last);
    DBMS_OUTPUT.PUT_LINE(null);
      b(b.last) := Orderstatus_Type('bb',null);
    DBMS_OUTPUT.PUT_LINE('b(1).Status : ' ||b(1).Status );
    DBMS_OUTPUT.PUT_LINE('b(2).Status : ' ||b(2).Status );
    DBMS_OUTPUT.PUT_LINE(null);
      c := Order_Type(1,100, date '2013-01-01', date '2013-02-02',b);
    DBMS_OUTPUT.PUT_LINE('c.Statustype(1).status : ' ||c.Statustype(1).Status );
    DBMS_OUTPUT.PUT_LINE('c.Statustype(2).status : ' ||c.Statustype(2).Status );
    DBMS_OUTPUT.PUT_LINE(null);
      b.extend;
      b(3) := Orderstatus_Type('cc',null);
    DBMS_OUTPUT.PUT_LINE('b(1).Status : ' ||b(1).Status );
    DBMS_OUTPUT.PUT_LINE('b(2).Status : ' ||b(2).Status );
    DBMS_OUTPUT.PUT_LINE('b(3).Status : ' ||b(3).Status );
    DBMS_OUTPUT.PUT_LINE(null);
      c.Statustype.extend;
      c.Statustype(3) := Orderstatus_Type('DD',null);
    DBMS_OUTPUT.PUT_LINE('c.Statustype(1).status : ' ||c.Statustype(1).Status );
    DBMS_OUTPUT.PUT_LINE('c.Statustype(2).status : ' ||c.Statustype(2).Status );
    DBMS_OUTPUT.PUT_LINE('c.Statustype(3).status : ' ||c.Statustype(3).Status );
    DBMS_OUTPUT.PUT_LINE(null);
      for x in c.Statustype.first .. c.Statustype.last loop
        DBMS_OUTPUT.PUT_LINE('c.Statustype(' || x || ').status : ' ||c.Statustype(x).Status );
      end loop;
    end;
    b.last = 1
    b.last = 2
    b(1).Status : aa
    b(2).Status : bb
    c.Statustype(1).status : aa
    c.Statustype(2).status : bb
    b(1).Status : aa
    b(2).Status : bb
    b(3).Status : cc
    c.Statustype(1).status : aa
    c.Statustype(2).status : bb
    c.Statustype(3).status : DD
    c.Statustype(1).status : aa
    c.Statustype(2).status : bb
    c.Statustype(3).status : DD
    Please look at the PL/SQL manual at:
    PL/SQL Collections and Records
    Regards,
    Peter

  • Report in which collect statement .

    report in which collect statement  is used and also its purpose.

    COLLECT
    Basic form
    COLLECT [wa INTO] itab.
    Addition
    ... SORTED BY f
    Effect
    COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
    If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
    If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields.
    If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
    If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab .
    After COLLECT , the system field SY-TABIX contains the index of the - existing or new - table entry with default key fields which match those of the entry to be processed.
    Notes
    COLLECT can create unique or compressed datasets and should be used precisely for this purpose. If uniqueness or compression are unimportant, or two values with identical default key field values could not possibly occur in your particular task, you should use APPEND instead. However, for a unique or compressed dataset which is also efficient, COLLECT is the statement to use.
    If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing this can you guarantee that
    the internal table will actually be unique or compressed, as described above and
    COLLECT will run very efficiently.
    If you use COLLECT with an explicitly specified work area, it must be compatible with the line type of the internal table.
    Example
    Compressed sales figures for each company
    DATA: BEGIN OF COMPANIES OCCURS 10,
    NAME(20),
    SALES TYPE I,
    END OF COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 10.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Tiger'. COMPANIES-SALES = 20.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 30.
    COLLECT COMPANIES.
    The table COMPANIES now has the following appearance:
    NAME SALES
    Duck 40
    Tiger 20
    Addition
    ... SORTED BY f
    Effect
    COLLECT ... SORTED BY f is obsolete and should no longer be used. Use APPEND ... SORTED BY f which has the same meaning.
    Note
    Performance
    The cost of a COLLECT in terms of performance increases with the width of the default key needed in the search for table entries and the number of numeric fields with values which have to be added up, if an entry is found in the internal table to match the default key fields.
    If no such entry is found, the cost is reduced to that required to append a new entry to the end of the table.
    A COLLECT statement used on a table which is 100 bytes wide and has a key which is 60 bytes wide and seven numeric fields is about approx. 50 msn (standardized microseconds).
    Note
    Runtime errors
    COLLECT_OVERFLOW : Overflow in integer field when calculating totals.
    COLLECT_OVERFLOW_TYPE_P : Overflow in type P field when calculating totals.

  • Difference in Customer account statement and collections

    Kindly clarify my doubts about customer account steatement and Collections. basically whats the difference in the two and what are the standard T_codes for these two.
    thanks
    anya

    HI ANYA
    T-code:  F.27
    Definition
    An account statement and open item list are two types of correspondence. They differ with respect to the information they contain and the way it is displayed. Unlike an open item list, an account statement displays all items in a specified period along with the balance carried forward. The open item list merely displays the open items for a certain key date.
    Type of correspondence that your company sends to its customers.
    The system includes a SAPscript form that you can use for customer account statements for the Philippines, form F140_CUS_STAT_P1. You can modify this template to meet your company's requirements. To do so, from the SAP Easy Access screen, choose Tools ® Form printout ® SAPscript ® Form.
    Structure
    The following information is displayed in the template for the customer account statement:
    Account balance at the start of the selected period
    Open item list as of the key date, including the total
    It is sorted by transactions with or without special G/L indicators, currency, posting date, and document number.
    Account balance at the end of the selected period
    Cleared item list between selected key dates
    It is sorted by currency, posting date, and cleared item document number.
    Withholding tax list between selected key dates
    It is sorted by withholding tax type, posting date, and document number.
    Aging in 0, 30, 60, 90, and 120 days
    Integration
    You can print the customer account statement.
    Note the following restrictions regarding customer statements:
    You cannot create statements for one-time customers.
    In the case of customer head offices with local branches, customer statements contain the address of the head office and not that of the branch.
    The account statement can be created for your customers or vendors is an extract from the customer account which enables him to check the items there or is merely for information purposes. The account statement displays the balance carried forward, all items in the chosen period and the closing balance of the account.
    The open items list is a special form of account statement. It is also sent to the customer for verification or information purposes. Occasionally, the list is also used as a reminder letter. The open items up to the chosen key date are displayed in this list.
    Both letters contain the document number or reference document number, the document date, the document type, the currency and the amount for every item as well as the balance of the open items at the key date. The account statement may also contain the clearing document number. If branches were included in the letter of a head office, their addresses are listed at the end of the letter.
    The layout of the letter is determined via a form. Depending on the form used, the letter may also contain, for example, the days in arrears per item at the key date or other information. The form must be defined and stored in the system.
    Printing Customer Account Statements
    Use
    Printing of customer account statements is based on correspondence type SAPP3. Correspondence type SAPP3 is preconfigured to run the RFKORDP3 print program, which is delivered with report variant SAP&SAPP3. You can modify SAP&SAPP3 to meet your company's needs. For example, you can change the aging period and the number of the aging column.
    To modify or define a new report variant for the RFKORDP3 print program, in Customizing for Financial Accounting, choose Financial Accounting Global Settings -- Correspondence -- Assign Programs for Correspondence Types. Select correspondence type SAPP3 and choose Environment -- Maintain variants.
    Procedure
    Printing Individual Account Statements:
    Request correspondence type SAPP3 . To do so, from the SAP Easy Access screen, choose Accounting -- Financial Accounting --Accounts Receivable --Account -- Correspondence --Request.
    Issue the correspondence request by choosing Accounting -- Financial Accounting -- Accounts Receivable -- Periodic processing -- Print correspondence -- As per request.
    Print the customer account statement from the spool file by choosing System -- Own spool requests. Select your spool request and choose print.
    COLLECTIONS
    Collection is the settlement of receivables due, in particular, bills of exchange.
    Collection Account
    Definition
    A G/L account that the system uses to record checks receivable that you have presented to banks for collection. It denotes that a check has been sent to a bank and is awaiting clearing
    Reward if useful to u
    narendran vajravelu

  • Hi i have some problem with collect statement.

    hi when i am using collect statement and whn ever any field is modified it is getting doubled and showing doubled value. may i knoe what would be problem.

    Hai Kumar
    Go through the following Collect Syntax
    COLLECT
    Basic form
    COLLECT [wa INTO] itab.
    Addition
    ... SORTED BY f
    Effect
    COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
    If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
    If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields.
    If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
    If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab .
    After COLLECT , the system field SY-TABIX contains the index of the - existing or new - table entry with default key fields which match those of the entry to be processed.
    Notes
    COLLECT can create unique or compressed datasets and should be used precisely for this purpose. If uniqueness or compression are unimportant, or two values with identical default key field values could not possibly occur in your particular task, you should use APPEND instead. However, for a unique or compressed dataset which is also efficient, COLLECT is the statement to use.
    If you process a table with COLLECT , you should also use COLLECT to fill it. Only by doing this can you guarantee that
    the internal table will actually be unique or compressed, as described above and
    COLLECT will run very efficiently.
    If you use COLLECT with an explicitly specified work area, it must be compatible with the line type of the internal table.
    Example
    Compressed sales figures for each company
    DATA: BEGIN OF COMPANIES OCCURS 10,
            NAME(20),
            SALES TYPE I,
          END   OF COMPANIES.
    COMPANIES-NAME = 'Duck'.  COMPANIES-SALES = 10.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Tiger'. COMPANIES-SALES = 20.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Duck'.  COMPANIES-SALES = 30.
    COLLECT COMPANIES.
    The table COMPANIES now has the following appearance:
    NAME SALES
    Duck 40
    Tiger 20
    Addition
    ... SORTED BY f
    Effect
    COLLECT ... SORTED BY f is obsolete and should no longer be used. Use APPEND ... SORTED BY f which has the same meaning.
    Note
    Performance
    The cost of a COLLECT in terms of performance increases with the width of the default key needed in the search for table entries and the number of numeric fields with values which have to be added up, if an entry is found in the internal table to match the default key fields.
    If no such entry is found, the cost is reduced to that required to append a new entry to the end of the table.
    A COLLECT statement used on a table which is 100 bytes wide and has a key which is 60 bytes wide and seven numeric fields is about approx. 50 msn (standardized microseconds).
    Note
    Runtime errors
    COLLECT_OVERFLOW : Overflow in integer field when calculating totals.
    COLLECT_OVERFLOW_TYPE_P : Overflow in type P field when calculating totals.
    Thanks & regards
    Sreenivasulu P

  • Interactive Report and the mysterious invalid number

    Hello,
    I have an application that is ready, or so I thought, to be sent to a client to update an existing application. One page in the application has an interactive report that is based on a table in the parsing schema that is joined to the apex_collections view. The report works without issue in my dev environment as well as in the client's test environment. But when a colleague tested the updated app in a different test environment, the report errors out with an ORA-01722: invalid number error.
    Needless to say I'm now hesitant about the update to production because I can't find the cause of the issue on my colleague's machine and would hate for this to happen in production. In trying to find the issue in on my colleague's machine, I first tried removing all of the columns (save the id) from the report to see if it was being generated there, no change. Then I started removing the joins and when the join to the apex_collections view was removed the error disappeared. The join was written as:
    SELECT *
    FROM table tbl
    JOIN apex_collections col
       ON tbl.id = col.c001
    WHERE col.collection_name = 'MY_COLLECTION';I know that the underlying tables for the apex_collections view store columns c001 .. c050 as VARCHAR2(4000) so I was relying on implicit data conversion to apply the join. Perhaps this is where the error is coming from but that would mean that "extra" rows are being returned as all of the c001 values returned in the session (from dev toolbar) are also valid numbers. As I said before, the problem is only occurring in 1 of 3 apex instances so I tested it in a 4th, and again, there was NO problem. I then realized that my query is potentially dangerous if c001 is used to hold something other than a number in the current session, which is NOT the case in any of the instances, but I tried updating the report to the following to see if it would help:
    SELECT *
    FROM table tbl
    JOIN (
       SELECT TO_NUMBER(c001) AS c001
       FROM apex_collections col
       WHERE collection_name = 'MY_COLLECTION'
    ) apex_col
       ON apex_col.c001 = tbl.idThat query worked as expected in the dev environment and will be used as the query going forward. However, it failed to fix the problem in the "problem" instance. This seems to be a local issue but I'd like to know for sure. All of the systems are configured as follows:
    1. Dev - Oracle 10g R2 XE - ApEx 3.1.2 - Works
    2. Test1 - Oracle 10g R2 EE - ApEx 3.1.2 - Works
    3. Test2 (colleague) - Oracle 10g R2 XE - ApEx 3.1.2 - Fails
    4. Test3 (my localhost) - Oracle 10g R2 XE - ApEx 3.1.2 - Works
    5. Prod - Oracle 10g R2 EE - ApEx 3.1.2 - ???
    Any ideas?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

    Dan,
    I'm always suspicious of problems that disappear without knowing why - usually they reappear the very moment that an end-user starts using the app :D
    You didn't show how you are populating the collection in your original posting, so I'm not clear on exactly what the data would show. What I was thinking was, knowing that collections are all varchar2's, that something like TO_CHAR() had been used in the SQL statement that created the collection.
    I don't think that trimming the data would have any effect. If the problem does happen again, I would suggest creating a report based on the collection (basically doing a data dump onto a page) and then see exactly what is in there. If any number contains a comma (or other characters such as currency symbols), then you have to use a number format string to get back to the actual raw number.
    Andy

  • Using skip logic to show sections of the form a set number of times

    Hi
    I have form which i need all to fill out basic information and a section which asks for furtehr information if a certain condition is true. what i'm looking ofr is this section of the form to be shown again as long as a condition is true or for x numbe rof times.
    the form collects basic information about event companies and information about one event, i have a question which asks howmany events per year do you run. if this is more than one or set to true section part of the form would need to be shown again for x number of times to collect the information about thos events also.
    If not is there any workaround i could implemnet using skip logic to acheieve an efective solution?
    thanks

    Yeah that is the work around. This post explains how:
    http://forums.adobe.com/thread/1142978?tstart=0
    Its a little tedious to setup up but it should work.
    Randy

  • Trying to understand iterators

    Hello again world.
    I written this little program to try and get an understanding of iterators. I chose to use a Vector object arbitrarily.import  java.util.*;
    public  class  ForumEx  extends  Vector
          public  ForumEx()
                Double  number = new  Double(12.34);
                Calendar  today = new  GregorianCalendar();
                Date  date = today.getTime();
                add("Why a duck, why a no chicken?");
                add(number);
                add(date);
                Iterator  list = iterator();
                while (list.hasNext())
                   System.out.println(list.next());
          public  static  void  main(String[]  params)
             new  ForumEx();
    }1. From where is the iterator() method being inherited? The Vector API indicates the inheritance is coming from both the abstract class AbstractList and the List interface, which in turn, seem to inherit from a choice of either the AbstractCollection class, the Collection interface, or again, the List interface. I'm confused by the whole thing.
    2. Since all the aggregate data structures I've examined so far have a mechanism to access their elements - a subscript notation or some type of index and either a size or length member, of what use are iterators in the first place?
    Can anyone make this all clear?
    Thank you one and all.
    Ciao for now.

    1. From where is the iterator() method being
    inherited?Iterator is an interface which specifies 3 methods (you find it described in the Java API documentation). Collections basically pass an object of a private class implementing the Iterator interface when asked for an iterator. The structure looks something like this,
    public class SomeCollection {
       private class Iter implements Iterator {
          // implements the Iterator interface adapted to this SomeCollection object
       public Iterator getIterator() {
          return new Iter(); // object of inner class implementing Iterator is returned
    2. Since all the aggregate data structures I've
    examined so far have a mechanism to access their
    elements - a subscript notation or some type of index
    and either a size or length member, of
    what use are iterators in the first place?Iterator basically is a design pattern describe in the "Gang of four" book. As has been said it's a general way to iterate through collections.

  • Max number of items exceeded?

    I am trying to develop a questionaire like application. Most of the logic is stored inside pl/sql functions (that is retrieving the previous or next question with possible answers and answer-types, like, eg. radiogroup, select-list, textarea, ...) while all of the questions and respective possible answers are kept inside a collection. In processing the answers after submit I store given answers inside the same collection, basically by nullifying all possibly previously given answers for the current question and then looping through eg, g_f01.count to refill. The entire application remains on the same page, showing eg., in one 'frame', one or two questions with say 7 checkboxes and two textareas.
    Everything seems to work fine, I can go forward and backward and will find new questions or ones that already have been answerd, but!!...
    after the 50st item (answer), that is after I reached the 50st radiogroup, checkbox or textarea, new checkboxes or radiogroups even though shown the resulting values will not be stored inside the collection anymore.
    generating the page i use:
    htp.prn(apex_item.radiogroup(p_idx => 1, p_value => c2.a_id, p_selected_value => c2.qa_id, p_attributes => 'id="P2_QUEST_' || i || '"'));
    and in processing correspondingly ...
    FOR i IN 1 .. apex_application.g_f01.COUNT
    LOOP
    FOR c2 IN
    (SELECT seq_id,
    c001 q_id,
    c002 a_id,
    c012 qa_id
    FROM apex_collections
    WHERE c001 = to_char(p_q_id)
    AND collection_name = 'ANSWERS'
    AND c002 = apex_application.g_f01(i))
    LOOP
    apex_collection.update_member_attribute(p_collection_name =>
    'ANSWERS', p_seq => c2.seq_id, p_attr_number => '12',
    p_attr_value => c2.a_id);
    END LOOP;
    END LOOP;
    to me I only use f01 ... f04 say, ... Is it possible that I still hit the max of 50 page-items?
    Regards
    j.

    max number of items exceeded?

  • FS-CD Installation

    Hello Gurus,
    Could you please let me know if we need to install FSPM to activate FSCD?
    Thanks and Regards,
    Prasad

    Hi, FSCD forms an integrated interface to the SAP General Ledger and SAP Controlling (FICO).  FSCD is a sub-ledger developed for an Insurance organization with a large customer base and a correspondingly high volume of documents to post. Installation of PM is not a pre requisite for installing FSCD.
    Depending upon the EPH you can activate the Business Function Set in transaction SFW5
    You need to be careful as only reversible business functions can be deactivate hence for this reason activate only the required business functions.
    For e.g. in EPH 6 for ECC 6.0, to use the functions of the alternative collecting broker
    I will go to transaction SFW5 - switch on the business function SAP for Insurance: Collections/Disbursements 4B INS_FSCD_CI_4B.
    In SPRO Customizing, I shall chose Contract Accounts Receivable and Payable -> Program Enhancements -> Prepared Enhancements -> Activate Alternative Collecting Broker.
    Then proceed to make settings for broker assignments in Customizing under: Contract Accounts Receivable and Payable -> Broker Collections -> Basic Settings -> Activation of Basic Functions
    Hence after activation, the fields in the line items are available , which is, the system automatically creates the fields and database indexes.
    Alternately check out transactions like INSOCREATE - Create Insurance Object, CAA1 - Create CA, BP - Business Partner etc and check out the tables like  DIMAIOB, DIMAIOBPAR, VVSCPOS etc see if it works. And for connectivity with other SAP / Non SAP applications you can use transaction SM59.
    Thanks,
    Sagar

  • How to get Router configurations in java

    I want to develop a simple Jjava Swing application that will connect to my router in order to collect basic informations about it's state.
    Is it possible ?
    Can anyone HELP me?

    I want to acsses this router throught SNMP using java.
    I heard that three type that control Router OS.No, you heard four.
    I want to control it using telnetNo you don't. You said it yourself: you want to access this router through SNMP. Good choice. So what you want is a Java implementation of SNMP. Try Google.

  • How to post invoice through idoc?

    how to send invoice to customers through idoc? what is the message type and idoc type for invoice? please explain me step by step in sending and receiving invoice through idoc?
    regards,
    pavan reddy

    Hello Pavan
    You need to maintain the partner profile (transaction WE20) for the customer to whom you want to send invoices.
    Example: customer no. 1000
    1) Create new entry for partner type KU (= customer)
    2) Maintain outbound parameters: parter role = PY (payer), message type = INVOIC
    3) Maintain details for outbound: port (e.g. send to SAP-XI), transfer immediately (or collect), basic type = INVOIC02
    4) Maintain message control, e.g. V3 / ZRDE / SD09
    Open an invoice for customer 1000 and go to message output. Create a new message output ZRDE / Medium = 6 (EDI) / PY / 1000.
    This message can be sent either immediately or via a schedules job.
    However, if the sent invoice arrives at your customer depends on whether your customer is able to receive IDocs or is using an EDI subsystem. In this case the IDoc needs to be converted into an EDI message (e.g. EDIFACT or ANSI.X12).
    Regards
      Uwe

  • [SOLVED] texlive2k8 -- how to install omega into $HOME?

    Hi folks!
    Because the omega-collection is declared obsolete and therefor no more provided in texlive2008. That's bad, because I used it with tl2k7, and though I appreciate xelatex and cjklatex, I still need lambda very badly. So I want to have it installed it now in $HOME for several reasons:
    * I could probably install it systemwide as root somehow, but I'd like to avoid conflicts with pacman...
    * ...as omega shouldn't be overidden by systemwide tl-package-updates
    * I want to have one specific user make use of it
    * I can 'take it with me' (like the whole $HOME-dir) then so that I mustn't isntall it again, just to copy and rehash it (somehow) after setting up a new linux- or tl-system.
    -- And yes, I haven't any experience yet on how to install external latex-packages, so hence omega is a "collection" makes it even more difficult for me~
    The destination dirs should be ~/.mytexmf (bec. I'd like to have it hidden) and ~/.texlive/*. Therefore I edited /usr/share/texmf/web2c/texmf.cnf like this:
    % TEXMFHOME = ~/texmf % default
    TEXMFHOME = ~/.mytexmf
    TEXMFVAR = ~/.texlive/texmf-var
    TEXMFCONFIG = ~/.texlive/texmf-config
    TEXMF = {$TEXMFCONFIG,$TEXMFVAR,!!$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
    TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST,!!$TEXMFDOC,$TEXMFHOME}
    (I don't know really the meaning of adding !! and if it's necessary here; I read somewhere, that !! makes a directory 'ls-R'-able, but then users tend to forget to update it also and that's why that should be avoided.)
    The first problems arise here, because a $ texhash still returns
    texhash: /usr/share/texmf: directory not writable. Skipping...
    texhash: /usr/share/texmf-config: directory not writable. Skipping...
    texhash: /usr/share/texmf-dist: directory not writable. Skipping...
    texhash: /usr/share/texmf-doc: directory not writable. Skipping...
    texhash: /usr/share/texmf-var: directory not writable. Skipping...
    texhash: Done.
    though the my paths are correct and even the exports included into ~/.bash_profile:
    $ kpsewhich --var-value=TEXMFCONFIG ((aka kpsexpand '$TEXMFCONFIG'...))
    home/myuser/.texlive/texmf-config
    $ kpsewhich --var-value=TEXMFVAR
    /home/myuser/.texlive/texmf-var
    $ kpsewhich --var-value=TEXMFHOME
    home/myuser/.mytexmf
    Next point: The easiest way would be to run tlmgr for instaling the omega-collection, but either it is (still) not existing within the Arch-TL-installation (couldn't figure out that here or find it in AUR) -- or I'm just to stupid to find and to launch it; I also couldn't run it from a mounted texlive2008.iso yet -- but if, how would the iso's-tlmgr know about my installed texlive-system? Nevertheless tlmgr probably wouldn't find the necessary files (though there's some data with 'omega') on the tl2k8-iso, it could install it properly from an external place.
    Then I mounted my old tl2k7.iso and went to the mountpoint for executing $ sh install-pkg.sh --collection=omega, with similar errors:
    /bin/tar: texmf-dist/fonts/afm/public/omega/omseco.afm: cannot execute open: file or directory not found
    /bin/tar: texmf-dist/fonts/afm/public/omega/omsecob.afm: cannot execute open: file or directory not found
    /bin/tar: texmf-dist/fonts/afm/public/omega/omsecobi.afm: cannot execute open: file or directory not found
    /bin/tar: texmf/lists/omega: cannot execute open: file or directory not found
    /bin/tar: texmf/tpm/bin-omega.tpm: cannot execute open: file or directory not found
    /bin/tar: texmf/web2c/omega.pool: cannot execute open: not authorized
    /bin/tar: exited because of preceeding errors.
    install-pkg.sh: line 213: /usr/share/texmf-config/tex/generic/config/language.dat: not authorized
    mktexlsr: /usr/share/texmf: directory not writable. Skipping...
    mktexlsr: /usr/share/texmf-dist: directory not writable. Skipping...
    mktexlsr: Done.
    updmap: config file `updmap.cfg' not found.
    PLEASE RUN texconfig or texconfig-sys to make new formats.
    (texconfig --rehash/texhash [as user or root] didnt't make any difference.)
    I also tar-ed omega
    $ sh install-pkg.sh --package=omega --archive=/home/myuser/.mytexmf/_tl-omega_rc/omega-sty.tar
    and extracted it into the appropriate directories within ~/.texlive and ~/.mytexmf and made symbolic links into /usr/bin for lambda and omega. But again 'of course' texhash (as user or root) didn't show any effect~
    I hope everthing is understandable.
    So how can I install omega/lambda in $HOME via install-scipt or tlmgr (if it exists and I can get it to run)?
    Any hints? -- Thanks very much in advance!
    Last edited by nexus7 (2009-01-11 19:35:58)

    nexus7 wrote:Next point: The easiest way would probably be to run tlmgr for instaling the omega-collection, but either it is (still) not existing within the Arch-TL-installation (couldn't figure out that here or find it in AUR)
    Well, tlmgr is of course on the mounted iso TL2k8 (just mixed s.th. up~), but it does not start:
    # /mnt/bin/i386-linux/tlmgr
    Can't locate TeXLive/TLPOBJ.pm in @INC (@INC contains: //tlpkg /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at /mnt/bin/i386-linux/tlmgr line 33.
    BEGIN failed--compilation aborted at /mnt/bin/i386-linux/tlmgr line 33.
    where line 33 is this:
    use TeXLive::TLPOBJ;
    and I don't know what to do here~
    And neither works installing from the mounted TL2k7-iso, even when I try to install omega/lambda into my main texmf:
    # sh install-pkg.sh --collection=omega
    (ignoring dependency on collection collection-basic)
    cat: language.*.dat: file or directory not found.
    mktexlsr: Updating /usr/share/texmf/ls-R...
    mktexlsr: Updating /usr/share/texmf-dist/ls-R...
    mktexlsr: Done.
    updmap: config file `updmap.cfg' not found.
    PLEASE RUN texconfig or texconfig-sys to make new formats.
    texconfig-sys makes no change. But this is funny because there are several 'updmap.cfg's:
    # locate updmap.cfg
    /home/myuser/.mytexmf/home/myuser/.texlive/texmf-config/web2c/updmap.cfg
    /usr/share/man/man5/updmap.cfg.5
    /usr/share/texmf/web2c/updmap.cfg
    /usr/share/texmf-config/web2c/updmap.cfg
    (and I wonder why this directories and files indeed exist~:
    /home/myuser/.mytexmf/home/myuser/.texlive/texmf-config/web2c/updmap.cfg
    I ran mktexlsr in my specific directories in HOME again though i don't know if this is really necessary, with the same result: these directories are not recognized, only those in /usr/share...
    Tried then
    # fmtutil --byfmt lambda
    # fmtutil --byfmt omega
    but with no output.
    Edits from my /usr/share/texmf/web2c/texmf.cnf:
    TEXMFMAIN = /usr/share/texmf
    TEXMFDIST = /usr/share/texmf-dist
    TEXMFLOCAL = /usr/local/share/texmf
    TEXMFSYSVAR = /usr/share/texmf-var
    TEXMFSYSCONFIG = /usr/share/texmf-config
    % TEXMFHOME = ~/texmf % default
    TEXMFHOME = ~/.mytexmf
    TEXMFVAR = ~/.texlive/texmf-var
    %TEXMFCONFIG = ~/.texlive/texmf-config
    TEXMFCONFIG = /usr/share/texmf-config
    TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
    SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXMFLOCAL;$TEXMFDIST
    VARTEXFONTS = $TEXMFVAR/fonts
    TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST,!!$TEXMFDOC,$TEXMFHOME}
    WEB2C = $TEXMF/web2c
    TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}//
    % These defunct engines are not provided for Arch Linux:
    % -- deleted %% at these lines for enabling omega/lambda-functionality:
    TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}//
    TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}//
    TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
    TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
    Excerpt of ~/.bash_profile:
    export TEXMFHOME='home/myuser/.mytexmf'
    export TEXMFVAR='/home/myuser/.texlive/texmf-var'
    export TEXMFCONFIG='/home/myuser/.texlive/texmf-config'
    Ugh, this is strenuous~

Maybe you are looking for

  • Getting the values from Servlet to Flex

    Hi EveryOne, i have a doubt ,i can send the parameters from flex to a servlet application ,and i can use these parameters there, so now can i get the values that are created in servlet to flex? response content in servlet is set to Xml not Html, any

  • Why do duplicate albums appear on my iPod Classic screen when there are no duplicates in my iTunes Library?

    Why do duplicate albums appear on my i{Pod Classic screen when there are no duplicates in my iTunes Library?

  • Oracle taking more memory ?

    hi i have oracle running on solaris, sga set to 3 gb but below command showing multiple process for PRDLIVE and taking more memory than 3GB in total, .... occasionally i see oracle shutting down due to out of memory issue ... ps -eo pid,pmem,vsz,rss,

  • Query on object-relational data takes forever

    hello all i have a problem with a query performance... it seems like whenever i call a specific object function, the query executes very very slow. The results though are correct. let me explain what i do... I have some relational tables, and i recre

  • How do you edit the Pagination tag?

    Hi BCers, I'm trying to modify the appearance of the pagination, and I'm having trouble. I've inserted the tag {tag_pagination} In the produced code, the HTML is: ...(which is my code, with my coded CSS classes) Then: ---BC's CODE--  I'd like to elim