Help:  Error when using LSMW (Recording Object Type)

Dear all,
   I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows:
I have recorded the transaction MM01 and the source structure and data mapping.When dealing
with "Specify Files",the error comes out with message
--> "File Name 'Converted Data':Max.45 Characters:Remaining saved". 
and the subsequent steps cannot be maintained due to the error.

Alex,
The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv  as   Project_Subproject_Object.lsmw.conv
System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
Just rename the file such that it is with in the 45 charcter limit....you will be fine
Hope this helps
Vinodh Balakrishnan

Similar Messages

  • Wrong views Selected when using LSMW + Recording

    Hi,
    I use LSMW + Recording method to extend warehouse management view, and it works fine in the DEV system, but when the LSME projrct was imported into QA system, the system selected wrong views at the begining when running this LSMW object, the WM 1 and WM 2 view should be selected, but in QA system, instead, only Accounting view is selected, what's the reason? Kindly please advise.
    Thanks.

    The reason is the dynamic on the view selection.
    Depending on the already maintained other views (like sales and purchasing and storage location) the position of WM 1+2 changes.
    Instead of recording MM01 you should record MMZ1 as this has a static place for WM views.
    But even better is to use report RLMG0020.

  • [Help] Error when using Form Builder

    When using Form Builder to create a new form from TEMPLATE.fmb, there is an error like this:
    FRM-18108:Failed to load the following objects:
    Source Module:APPSTAND
    Source object:STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source object:STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source object:STANDARD_CALENDAR
    Then, I found an file incuding the error message in the directory where I placed the TEMPLATE.fmb and APPSTAND.fmb.
    Here is the main point:
    FRM-30064: Unable to parse statement select timezone_code,name
    ,to_char(trunc(gmt_offset),'S09') || ':' || to_char(abs(gmt_offset - trunc(gmt_offset))
    *60,'FM900') offset
    ,decode(daylight_savings_flag,'Y','*',null) dst_flag
    from fnd_timezones_vl
    where enabled_flag = 'Y'
    order by gmt_offset.
    ORA-00942: table or view does not exist
    Record Group TIMEZONES
    Form: STANDARD_OBJECTS
    FRM-30085: Unable to adjust form for output.
    How can I fix this error?
    Thanks a lot,
    Mike Cui
    PS: I have intalled the Oracle EBS VIS, and the OS is WinXP(ZHS).

    You have to connect with a database user who has right to select on the table.

  • Response format error when using the ASCII object to communicate with a Dart ASPII motor controller.

    I can't seem to get Lookout to work using a COMM RS232 connection to our Dart controller. When using a term program, i'll send the command RV1,0,6 and get the response 1000,0005. I set up the ASCII object in Lookout with the following:
    SEND=Pb5
    RequestFormat="%s"
    ResponseFormat="%s" (and many other combinations)
    RQV1.TXT=TextEntry1
    for TextEntry1 I enter RV1,0,6 and I always get that dang response format error!
    Any suggestions? Obvious goofs?

    What's the Expression you're inserting to read back the response? If you're using just RSV1, you'll get the error. Try RSV1.txt.
    For troubleshooting purposes, delete all RSV expressions and the ResponseFormat connection and insert just an Expresssion on ASCII1.Response (where ASCII1 is your Object). This will give you the raw ASCII frame coming in. Then you can start formatting this raw response with appropriate ResponseFormat and RSVs.
    Hope this helps,
    Khalid

  • IDOC error when using LSMW+XIF to load business partner data

    Hi experts,
        i have configured the LSMW using idoc type 'CRMXIF_PARTNER_SAVE01', but it gives somes errors like below (LSMW_BP456 is the BP no)
    E  Partner LSMW_BP456 (4A01EE5D47261621E10000000A0A0ACB ): the following err
    W Partner data processed with key PartnerGUID 4A01EE5D47261621E10000000A0A0
    W Partner data processed with key PartnerID LSMW_BP456
    E No update is defined for BP role 000000
    E Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN
    E Error status 'A ' calling validation service
    In fact i have loaded product succesfully using this interface, so i am sure the basic setting is done for XIF interface.
    And i found the error messages come when executing below code in fm 'CRMXIF_PARTNER_SAVE' in debug mode. I am not very familiar with BDOC and it seems that the error occured when processing bdoc.
    call MW flow service synchronous (error handled by caller)*
      IF lv_callmode = 'S' OR lv_callmode IS INITIAL.
        CALL METHOD cl_smw_mflow=>validate
    Any advice ? thanks

    Hi,
    I have looked into the issue. If you are trying to create the BP with general role 000000, i think it might not be possible via LSMW.
    The error message is correct, because role 000000 is indeed not relevant for update because if you can see in the customising Tx BUSD, 'FLAG - Do not update' will be active. This is the reason why you are getting the error message of 'No update is defined for the role 000000'.
    When you insert a partner in role "000000 General Business Partner",the error message "BP role cannot be updated" will be returned. This error message is very specific for this issue. You can create BP in different roles apart from the general role.
    Indeed if you try to change the 'Do not update' flag to inactive state and process the LSMW project you will be able to create the BP but it is strictly not recommended.
    This role is a technical role which exists for the creation of BP, and immediately you will fall back to other roles available for the partner.
    So i feel you need to change the role before you create BP with this role via LSMW.
    I hope this helps.
    Regards,
    Venkat

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • Error when attempting to IMPORT object "TS_CHECK".

    When using in BI SAP NetWeaver 2004s (700 - SP 15) the transaction ST04old -> Detail analysis menu -> Summary report
    The following short dump occurs:
    Runtime Errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    Date and Time          19.11.2008 15:14:08
    Short text
    Error when attempting to IMPORT object "TS_CHECK".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLSTD4" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
    not caught in
    procedure "DB02_ORA_FILL_TS_CHECK__CRITOB" "(FUNCTION)", nor was it propagated
    by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When importing the object "TS_CHECK", the component no. 4 in the
    dataset has a different type from the corresponding component
    of the target object in the program "SAPLSTD4".
    The data type is "I" in the dataset, but "N" in the program.
    Missing RAISING Clause in Interface
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     1
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Trigger Location of Exception
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     51
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Source Code Extract
    Line
    SourceCde
    21
    DATA: BEGIN OF TD110.
    22
    INCLUDE STRUCTURE TD110_STRU.
    23
    DATA: END OF TD110.
    24
    25
    CURR_TIME = SY-UZEIT.
    26
    CURR_DATE = SY-DATUM.
    27
    28
    CALL FUNCTION 'GET_DB_ORA_RELEASE'
    29
    IMPORTING
    30
    ORACLE_RELEASE = ORA_REL.
    31
    32
    IF FLAG_REFRESH = 'y'.  FLAG_REFRESH = 'Y'. ENDIF.
    33
    flag_refresh = 'Y': Es soll in jedem Fall auf die DB zugegriffen werd.
    34
    35
    CLEAR TS_CHECK. REFRESH TS_CHECK.
    36
    CLEAR CRITOBJ. REFRESH CRITOBJ.
    37
    CLEAR NR_CRIT_OBJ.
    38
    39
    IF FLAG_REFRESH <> 'Y'.
    40
    41
    Suche zunächst im Arbeitsspeicher !
    42
    CLEAR TS_CHECK_CACHE. READ TABLE TS_CHECK_CACHE.
    43
    IF NOT ( TS_CHECK_CACHE IS INITIAL ) .
    44
    TS_CHECK[] = TS_CHECK_CACHE[].
    45
    CRITOBJ[] = CRITOBJ_CACHE[].
    46
    OK_1 = 'Y'.
    47
    48
    Suche danach in 'MONI' !
    49
    ELSE.
    50
    PERFORM PREPARE_MONIKEY USING 2.
    >>>>>
    IMPORT TS_CHECK CRITOBJ FROM DATABASE MONI(DB) ID MONIKEY.
    52
    53
    IF SY-SUBRC = 0.
    54
    OK_1 = 'Y'.
    55
    TS_CHECK_CACHE[] = TS_CHECK[].
    56
    CRITOBJ_CACHE[] = CRITOBJ[].
    57
    ENDIF.
    58
    ENDIF.
    59
    60
    'Same procedure' für datetime:
    61
    IF NOT ( TD110_CACHE IS INITIAL ).
    62
    DATETIME-MONI_DATE = TD110_CACHE-DATUM.
    63
    DATETIME-MONI_TIME = TD110_CACHE-UZEIT.
    64
    ELSE.
    65
    PERFORM PREPARE_MONIKEY USING 3.
    66
    IMPORT TD110 FROM DATABASE MONI(DB) ID MONIKEY.
    67
    IF SY-SUBRC = 0.
    68
    DATETIME-MONI_DATE = TD110-DATUM.
    69
    DATETIME-MONI_TIME = TD110-UZEIT.
    70
    TD110_CACHE = TD110.
    Only related SDN post is following, but solved by changing permissions for saposcol.
    Only related SAP Note is SAP Note Number 597743 "DB02: Poor entries for critical objects list", but not applicable for current SAP version.
    For me strange is that this issue occurs on the development system, but not on the acceptance and production system.
    Thanks in advance for any assistance.
    KR
    Gidion

    Received the solution from SAP Active Global Support:
    This error occurs due a corruption in the table MONI.
    For solving this issue you need to clean the records of this table via the following path :
    1. Call transaction ST03
    2. With GOTO -> Performance database -> Content of database
    3. Push button Delete data group
    4. Enter ID DB
    5. Continue
    6. Confirm the delete
    If you wish to backup the data before deleting the entry please follow the steps in the note 1000275 "DB02: history data backup procedure".
    Regards,
    Gidion

  • Runtime Error when activating Comp Records

    When trying to activate IT 0759 records in Comp to update Basic Pay, some employees received a Runtime Error. It states, "The exception CX_HRPA_VIOLATED_POSTCONDITION was raised, but it was not caught anywhere along the call hierarchy."
    It says it was not caught in 'HR_ECM_INSERT_INFOTYPE' function.
    Has anyone else seen this problem? It didn't happen for all employees.
    Thanks!

    Hi guys,
    Another reason for locked SPO's is:
    The terrible attribute-change-run (ACR). When you try to activate  a locked SPO, you only get a message like this:
    Runtime Lock: Activity ACTIVATE_SPO, Object DATATARGET ZZZ
    Unable to lock the semantically partitioned object
    Error when activating Semantically Partitioned Object ZZZ
    NO DTP request is running, so you can take all the day trying to find the error.
    So  in my case, there was an incomplete ACR (cancelled with error - red).
    It's like a curse. It is not easy to find the relation between ACR an SPO activation process (SAP error message is not useful to identify the reason)
    Finally, keep in mind:
    Check any DTP request running or cancelled that affect your SPO model and
    Check if you have an ACR (running or cancelled). This can lock your SPO object
    regards!

  • Error When Using Class :(

    Hey,
    Class:
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Main extends MovieClip
            public var enemyA:Array = [];
            public var birdA:Array = [];
            public var rowNum:int = 2;
            private var gap:int = 100;
            private var obj_no = 2;
            public var enemy1:mychar = new mychar();
            public var TheBird:BirdChar = new BirdChar();
            public function Main()
                // constructor code
                createEnemyF();
                createBirdF();
                this.addEventListener(Event.ENTER_FRAME,loopF);
            public function createEnemyF()
                for (var i:int = 0; i < rowNum; i++)
                    for (var j:int = 0; j < obj_no; j++)
                        enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
                        enemy1.y = - i * (gap + enemy1.height) - 30.65;
                        enemyA.push(enemy1);
                        addChild(enemy1);
            public function createBirdF() {
                TheBird.x = 270.95;
                TheBird.y = 350.95;
                birdA.push(TheBird);
                addChild(TheBird);
            public function loopF(event:Event) {
                updateEnemyPositionsF();
                updateBirdPositionsF();
                hitTestF();
            public function updateEnemyPositionsF() {
                enemy1.y +=  2;
            public function updateBirdPositionsF() {
                TheBird.x = mouseX;
            public function hitTestF() {
                if(TheBird.hitTestObject(enemy1))
                    gotoAndPlay(5);
                    trace('The Bird Hit Enemy 1');
    This conflicts and causes this error:
    1046: Type was not found or was not a compile-time constant: MouseEvent
    ^ ^ Code repeats to all of my event listeners
    Thanks for your time.

    Thanks, i thought it might be this because of previous problems but i seen i already had : import flash.events.Event; so i thought that would be OK!
    Second Error:
    1180: Call to an undefined method Timer.
    I think this is the same sort of thing but what to import to fix this?
    So far these are my imports:
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
    Thanks for helping.
    Date: Thu, 3 Nov 2011 05:36:22 -0600
    From: [email protected]
    To: [email protected]
    Subject: Error When Using Class
        Re: Error When Using Class
        created by markerline in Flash Pro - General - View the full discussion
    Looks like you imported events.Event but not events.MouseEvent (or some similar syntax) basically you must import MouseEvents separately from other Events.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4005227#4005227
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4005227#4005227. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Flash Pro - General by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Weblogic 9.2 error when using spring framework and taglibs.

    I am getting the following error when using spring binding for a command form class.
    Class ExCommandForm
    private String firmCode;
    public String getFirmCode ()
    public void setFirmCode ()
    In my jsp I have the following
    <spring:bind path="exCommandForm.firmCode">
    <input name="<c:out value="${status.expression}"/>" type="text" value="<c:out value="${status.value}"/>" >
    </spring:bind>
    Ps. exCommandForm is the commandForm declaration in my SiimpleFormController.
    When I deploy the application to weblogic 9.2 I get the following error :
    <Apr 26, 2007 4:34:44 PM BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.int
    ernal.WebAppServletContext@1f601c6 - appName: 'BDRui', name: 'BDRui', context-pa
    th: '/BDRui'] Root cause of ServletException.
    java.lang.ClassCastException: javax.servlet.jsp.jstl.core.LoopTagSupport$1Status
    at jsp_servlet._web_45_inf._jsp.__tradesearch._jspService(__tradesearch.
    java:1075)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:283)
    Ps. Deploying application on Tomcat 5.23 works.
    Can anyone help on this ?
    cheers in advance.
    More Info - Using Weblogic 9.2 on UNIX, servlet 2.4, jstl 1.1
    regards
    Edited by kings_citi at 04/26/2007 9:03 AM
    Edited by kings_citi at 04/26/2007 10:35 AM
    Edited by kings_citi at 04/26/2007 10:36 AM

    The problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
    Regards,
    tom
    Edited by: TomB on Sep 17, 2010 2:33 PM

  • Error when using filter on date column in interactive report

    Hi,
    I'm getting the following error when using the filter on a date column. None of the criteria in the filter list work. All give me the same error but when I use the filter on a column feature (in the search bar) and use ">" and "<" those work.
    Can someone please help me????
    " Settledate is in the last 2 years
    ORA-30175: invalid type given for an argument ORA-02063: preceding line from MAINDATA "

    I have a similar problem . I have an interactive report based on resultset stored in a collection; since all the columns of a collection are of string datatype, I convert the columns to appropriate datatypes before its returned to the user; everything works as desired except when I try to filter on a data column , I get a ORA-01858: a non-numeric character was found where a numeric was expected .
    I turned on debug mode and am copying the output here , column c009 which is aliased to 'C' is the one that I am trying to apply the filter on
    select
    ROWID as apxws_row_pk,
    "C001",
    "C002",
    "C003",
    "C004",
    "C005",
    "C006",
    "C007",
    "C008",
    "CHECKOUTTIMESTAMP",
    "C010",
    "C011",
    "TO_NUMBER(C012)",
    "TO_NUMBER(C013)",
    "TO_NUMBER(C014)",
    "C015",
    "C016",
    "C017",
    "TO_NUMBER(C018)",
    "C",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    Select c001,c002,c003,c004,c005,c006,c007,c008,to_date(c009,'dd-MON-yy HH24.MI') checkouttimestamp,
    cast(to_date(c009,'dd-MON-yy HH24.MI') as timestamp) c,
    --TO_TIMESTAMP(c009,'dd-MON-yy HH24.MI') c1 ,
    trunc(to_date(c009,'dd-MON-yy HH24.MI')) checkoutdate,
    c010,c011,to_number(c012),to_number(c013), to_number(c014),c015,c016,c017,to_number(c018) from apex_collections where collection_name = 'IR_BOOKSALES'
    ) r
    where ("C" between systimestamp - ((1/24) :APXWS_EXPR_1) and systimestamp)*
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    0.04: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="1"
    0.04: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="2000"
    ORA-01858: a non-numeric character was found where a numeric was expected
    I have tried to convert c009 to date, timestamp and timestamp with time zone datatypes ; they all return the same error ,but all 3 datatypes work fine with systimestamp when I run them in sqlplus. Any help would be appreciated.

  • Error when attempting to IMPORT object TLINE

    Hi Experts,
    I am trying to read a standard text in my webdynpro abap application using FM READ_TEXT but I keep getting this error Error when attempting to IMPORT object "TLINE". It was working fine before we recently migrated to a unicode enviornment.
    This is where its crashing
    FORM read_textlines
    if rt_header-tdtexttype is initial.              "SAPscript format
      import tline to rt_lines   
    from database stxl(tx)
    Thanks in advance.

    Found my answer. I had a data type conflict when  using FM read_text.

  • Implementing First In First Out Behaviour Using PL/SQL object types

    Hi Friends,
    I have a Integer Array of type Varray, I want to implement first in first out behaviour using Pl/SQL object type.Please provide me some idea that i can proceed. If you can provide me any sample code or any documentation,i will be very much thankful to you.Eagerly waiting for your reply.
    Thanks

    basically i have to implement a queue using pl/sql object types to traverse a tree as we can implement stack (LIFO).
    I can give an example of Stack implementation...
    CREATE or replace TYPE IntArray AS VARRAY(50) OF INTEGER;
    CREATE or replace TYPE IntStack_O AS OBJECT (
    maximalSize INTEGER
    ,top INTEGER
    ,position IntArray
    ,MEMBER PROCEDURE initialize
    ,MEMBER FUNCTION full RETURN BOOLEAN
    ,MEMBER FUNCTION empty RETURN BOOLEAN
    ,MEMBER FUNCTION getAnzahl RETURN INTEGER
    ,MEMBER PROCEDURE push (n IN INTEGER)
    ,MEMBER PROCEDURE pop (n OUT INTEGER)
    CREATE or replace TYPE body IntStack_O AS
    MEMBER PROCEDURE initialize IS
    BEGIN
    top := 0;
    -- Call Constructor und set element 1 to NULL
    position := IntArray(NULL);
    maximalSize := position.LIMIT; -- Get Varray Size
    position.EXTEND(maximalSize -1, 1); -- copy elements 1 in 2..50
    END initialize;
    MEMBER FUNCTION full RETURN BOOLEAN IS
    BEGIN
    RETURN (top = maximalSize); — Return TRUE when Stack is full
    END full;
    MEMBER FUNCTION empty RETURN BOOLEAN IS
    BEGIN
    RETURN (top = 0); — Return TRUE when Stack is empty
    END empty;
    MEMBER FUNCTION getAnzahl RETURN integer IS
    BEGIN
    RETURN top;
    END;
    MEMBER PROCEDURE push (n IN INTEGER) IS
    BEGIN
    IF NOT full
    THEN
    top := top + 1; — Push Integer onto the stack
    position(top) := n;
    ELSE
    –Stack ist voll!
    RAISE_APPLICATION_ERROR(-20101, ‘Error! Stack overflow. ‘
    ||’limit for stacksize reached.’);
    END IF;
    END push;
    MEMBER PROCEDURE pop (n OUT INTEGER) IS
    BEGIN
    IF NOT empty
    THEN
    n := position(top);
    top := top -1; — take top element from stack
    ELSE
    –Stack ist leer!
    RAISE_APPLICATION_ERROR(-20102, ‘Error! Stack underflow. ‘
    ||’stack is empty.’);
    END IF;
    END pop;
    END;
    Now if i run this..i will be getting the following output...
    DECLARE
    stack intstack_o := intstack_o(NULL,NULL,NULL);
    a INTEGER;
    BEGIN
    stack.initialize;
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1111);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1112);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.push(1113);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    stack.pop(a);
    dbms_output.put_line('Anzahl: ' || stack.getAnzahl);
    dbms_output.put_line(a);
    END;
    Output...
    Anzahl: 0
    Anzahl: 1
    Anzahl: 2
    Anzahl: 3
    Anzahl: 2
    1113
    Anzahl: 1
    1112
    Anzahl: 0
    1111
    Above is the Stack (Last In First Out) Implementations of integer array.Now my Requirement is Queue(First In First Out) Implementation of Integer array.

  • Short dump error when using count(*)

    Hi Experts
    I am getting a short dump error when selecting the records >= current date - 30 see the coding and comment please correct the coding I want to know the ztable records it is important for command interface.
    I have 1402345 records available after deleting the records but as the memory is not enough it is giving short dump error
    select count(*) from ZINT_TABLE
    select count(*) from ZINT_MSGS
       select * from zint_data
                 nto table izint_d2 . "PACKAGE SIZE 20000
       where STATUS = 'OK' AND CREATED_ON >= w_date1.          " VALUE
    endselect.**
    report z_eslp_command_records.
    data: cnt type i.
    data: cnt2 type i.
    data: cnt3 type i.
    data: cnt4 type i.
    DATA:
         w_date1 like sy-datum .
    DATA:
         w_date2 like sy-datum.
    data: izint_msgs type table of zint_msgs.
    data: izint_data type table of zint_data.
    data: izint_m2 type table of zint_msgs.
    data: izint_d2 type table of zint_data.
    INITIALIZATION.
    w_date1 = sy-datum -  30.
    w_date2 = sy-datum -  30.
    select * from zint_data
                 into table izint_data PACKAGE SIZE 3000
                 where STATUS = 'OK' AND CREATED_ON <= w_date1.   " ZERO
    endselect.
    select * from zint_msgs
                 into table izint_msgs  PACKAGE SIZE 3000
                  where  CREATED_ON <= w_date2.              " ZERO
    endselect.
      select * from zint_data
                 into table izint_d2 PACKAGE SIZE 20000
       where STATUS = 'OK' AND CREATED_ON >= w_date1.          " VALUE
    endselect.
    select * from zint_msgs
                 into table izint_m2 PACKAGE SIZE 20000
      where CREATED_ON >= w_date2.                            " VALUE
      endselect.
    select * from zint_data
                into table izint_data2
    where STATUS = 'OK' AND CREATED_ON >= CONVERT(CHAR(8), GETDATE() - 30, 112)).
    ENDSELECT.
      select * from zint_msgs
                into table izint_msgs2
    where CREATED_ON >= CONVERT(CHAR(8), GETDATE() - 30, 112)).
    ENDSELECT.
    sort izint_data by created_on ascending.
    sort izint_msgs by created_on ascending.
    sort izint_d2 by created_on ascending.
    sort izint_m2 by created_on ascending.
    describe table izint_data lines cnt.
    describe table izint_msgs lines cnt2.
    describe table izint_d2 lines cnt3.
    describe table izint_m2 lines cnt4.
    write:/ ' Note: THE RECORDS COUNTED SHOULD SHOW ZERO ELSE THE SCRIPT FAILED TO RUN' color 3.
    skip.
    write:/ '1. Records counted in ZINT_DATA   <=current date - 30                   :' color 2,                        cnt color 4.
    write:/ '2. Records available in ZINT_DATA >=current date - 30                   'color 4,                   cnt3 color 4 .
    skip.
    write:/ '2. Records counted in ZINT_MSGS   <=current date - 30                   :' color 2                 ,                      cnt2 color 4.
    write:/ '4. Records available in ZINT_MSGS >=current date - 30                   'color 4  ,            cnt4 color 4 .
    TOP-OF-PAGE.
    WRITE:/55(60) ' WAGNERS INVESTMENT LIMITED  '.
    WRITE:/50(40) ' Command Interface Data' CENTERED .
      WRITE:/50(40) '----
    ' CENTERED .
      FORMAT INTENSIFIED ON.
      SKIP.
      "FORMAT COLOR COL_HEADING.
      ULINE.
      FORMAT COLOR 1.
    END-OF-PAGE.

    Answer

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

Maybe you are looking for