Error Stack Table

Hello Experts,
In SE16, when i am trying to see the contents of an error stack table, it is saying that: "this table does not exist yet in the library". But i thought whenever we create a DTP, the error stack and the corresponding table gets generated automatically. Then how is it possible that the error stack table is missing??
Please explain.
Thanks a lot.
Regards,
LM.

Hi
You are not able to display the error stack table in SE16 because the table was created by the system without a unique index, because the tables created directly in the database and have no unique index
Check the links
http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a716d505211d189550000e829fbbd/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a716d505211d189550000e829fbbd/frameset.htm
Hope this clarifies that why you were able to see the table in DB02
Regards
Shilpa

Similar Messages

  • How to delete the error stack in process chain?

    Hi all,
    we just want to do the following:
    - we are loading in FULL daily to our datatarget (data is versionized by 0calday)
    - we want to use the error-stack in order to analyze wrong data
    --> but we now encounter the problem that, if data has once been added to the error stack and has not been handled yet, all data from the next daily load will be sorted out as records with this key do already exist in the error-stack. But that's exactly what we want to avoid.
    with other words: how can we delete the records in the error stack by a report by e.g. using this in a process chain?
    Thanks in advance,
    Best regards,
    bivision
    Edited by: bivision2009 on Jul 6, 2010 12:25 PM

    Dbl click that DTP.... From menu... Extras -> Setting for Error Stack
    Here U can see error stack table name /BIC/B0001234000.
    Using SE38, create simple program "Delete from /BIC/B0001234000"
    In the process chain, add process type "ABAP Program" to add above deletion statement.

  • Error Stack Monitoring.

    Hi
    In my BI system, i am using lot of DSOs and required to use error stack for most of them. What i know that each DSO has its own error stack table, but daily i can't check all the requests or error stack tables.
    I am looking for 1 centralized Error Stack table that should tell me that this DSOs have data in error stack, and then i could look individually. Could u pls guide me is there any centralized error stack table or any other way i could monitor all error stacks at one place....
    Thank You!

    Yes i got it. Thanks
    This is /message/4687379#4687379 [original link is broken]

  • Printing java layer error stack in a custom module!--Experts, please reply!

    Hi to all OAF experts,
    We are in a process of making a fully customized module, which is integrated with OM and other modules, and takes the place of Quoting module. There is beasically a custom module which takes the place Quoting module in Apps in Order to cash cycle. Now in the final page of this module where we submit the quote, we need to through the entire Java layer error stack, similar to what is done in stanadard quoting module. There they use AOLMessageManager class for this purpose. But since quoting module is in JTT/JTF framework and our custom module is in OAF , we were looking for alternatives.
    I was going through oaf doc and i found a class called OAExceptionUtils, which contains a method called processAOLJErrorStack(ErrorStack)
    As per the documentation it says --"Returns an OAException representing the error stack populated by the Oracle Applications user session context AppsContext. ", that is exactly what we need. But , when i use this method, i get error stack as null! Any idea y this is happening? Any alternative how to get this done!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Mani,
    What is the source (technology source) of the error?
    This is OAF.In a way we have developed entire quoting module from scrath .I believe you would be embedding the Quoting (JTF) pages on to your custom OAF pages. This is similar to how it is implemented in the Standard Sales module.
    We are using same quoting APis to create quote. Our code only goes in JTF tech only while entering in and of configurator.Is your requirement to read the java error stack (JTF Code) from the standard quoting application (embedded in your custom OAF Page) in your Custom page's controller (OAF Code)?
    Yes, we can create quotes from quoting as well as from our custom table,the only difference is that if you create aquote from quoting, it does not updates our custom tables. We want to throw the same java error which quoting throws, while submitting a code in our oaf controller. It throws even Order management error messages!Any idea how we can go about this..!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Working with the Portal Error Stack in PL/SQL

    Hi,
    In brief, this is a question about the persistence of errors on the stack, as they appear to disappear without warning. Any help would be appreciated, if you'd like background, read on.
    I'm writing PL/SQL web applications and as ever one of the required tasks is user validation.
    I have a form on a page which submits directly to a stored procedure. If the validation within the proc is ok, the value(s) get inserted into a DB table and the user gets directed to another Portal page. If there is a user input error then the code reloads the original page (via redirect) with the necessary errors displayed.
    I used to use the Session storage to hold any error messages and then check to see if any errors existed at the point of page redirection, and this worked fine.
    Now that I figure that I should do the job properly and use Portals' error stack, everything falls over!
    It would seem that between moving from one page to another any values held in the stack are lost, yet I know they are definitely getting put there in the first place as I can view them, as long as I don't redirect the Portal page.
    Any ideas??
    Thanks in advance.
    Dan

    1.) Create a hidden item on your page.
    2.) In your Page Rendering PL/SQL Process add logic which assigns 'EDIT' or 'NO_EDIT' to the hidden item.
    3.) Create a "Message" HTML region which conditionally displays based of the value of your hidden item being 'NO_EDIT'.
    4.) Make your edit field conditionally Read Only based on the value of your hidden item being 'NO_EDIT'.
    There may be an easier way but I got this to work
    Mike

  • BPM Scenario :  " Error accessing table SXMS_AS_STATUS method: INSERT"

    Hi all,
    Webservice --> XI -->BW .
    BPM has been used to send to send the response back.
    BPM :
    start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoR/3)->Send(Send Response) ---> stop.
    We are getting the error as " The error is <SAP:Stack>Error accessing table SXMS_AS_STATUS method: INSERT</SAP:Stack>
    There are some messages that Webservice sent and XI received them but this error occured during some process in XI. and this is causing some discrepancy in the data sent and received.
    Any idea what might be the problem ? Is there anything which I need to change in the parameters to rectify this error?
    -Deepthi.

    Hi
    Just check this note , can get some clue
    SAP-Note 1124049
    Regards
    Abhishek

  • Jdev3.2,BC4J, ERROR STACK OVER FLOW

    HI
    I created a BC4J project based on 10 tables. when testing the module an error stack overflow is thrown when trying to open some views. these same views are accessed successfully when the BC4J project is created whith less tables or with only these tables.
    can some one help me to avoid such error
    every advice is appreciated.
    Ghassen
    null

    I encountered a stack overflow when trying to access a CLOB data type.
    I removed that rowset definition and the problem went away.
    JDBC is the work around.

  • Missing some error messages from the error stack

    Hi all,
    We use some PL/SQL code to load data in to the database.
    One value was to large for a column.
    I got the errors below, but there are some messages missing from the alert file and from the trace file.
    Error messages:
    ORA-06502: PL/SQL: numeric or value error
    ORA-01401: inserted value too large for column
    That's it, noting else. I can't see anything else in the alert log either.
    No trace files either.
    Can someone please explain to me why am i missing the rest of the error stack, like the column name where the issue occurs?
    Thanks.

    Peter,
    No your code won't work the same in 10g as it would in 9i and earlier. The -1401 exception is not secretly catching -12899 now. So that means it could be an upgrade issue: you'd have to manually change the code when upgrading to 10.
    Here is a little test on 10.2.0.1:
    SQL> create table t
      2  ( id number(2)
      3  , name varchar2(2)
      4  )
      5  /
    Tabel is aangemaakt.
    SQL> declare
      2    my_exception exception;
      3    pragma exception_init(my_exception,-1401);
      4  begin
      5    insert into t values (99,'AAA');
      6  exception
      7  when my_exception then
      8    dbms_output.put_line('my error message');
      9  end;
    10  /
    declare
    FOUT in regel 1:
    .ORA-12899: waarde te groot voor kolom "RWIJK"."T"."NAME" (huidige waarde: 3, maximumwaarde: 2)
    ORA-06512: in regel 5Regards,
    Rob.

  • No Records in Error Stack

    Hi,
    I've created a Standard DSO on top of a flatfile datasource.
    I have few records in flatfile with special charcters like @, ~ etc.
    When I activate the data in DSO, activation fails with invalid SID message. Request turns red and no data are written to either Active table or to Error Stack.
    Below are DTP settings:
    1. Extraction Mode : FULL
    2. Error Handling:     Valid Records Update, Reporting Possible (Request Green)
    3. Maximum number of Errors in Pack: 999
    4. No Further Processing without Master Data
    Why no records are written to Error Stack...though error messages are written to application log? Do I need to perform some configuration for activating error stack?
    Please let me know.
    Regards,
    Vikrant.

    Here are the steps to take to resolve this issue for the long-term (not just a quick fix):
    1) Make sure that you have the string ALL_CAPITAL in RSKC. This should be the only thing in the column...nothing else.
    2) Implement the corrections of [OSS Note 1075403|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1075403].
    3) Test your activation again.
    4) If it still fails with the same issue, change the value in RSKC to ALL_CAPITAL_PLUS_HEX. Again, this should be the only value.
    Edited by: Dennis Scoville on Aug 4, 2009 1:28 PM

  • Delete & Automate deletion of Error Stack

    HI Experts,
    is there a way to automate the deletion of the errorstack?
    i.e. in process chain?
    another question is: is the table of the error stack a PSA table?
    thanks,
    BR,
    Younes

    Hi Younes,
    In the below way also u can find the PSA Table names...
    PSA Table dynamically forms, there will be no fixed name. for every data target the PSA differs...so
    goto SE11.... in the TABLE : B00*.and search(cause PSA name forms starting with B00)...it opens a screen in which you select new search button,,,
    in the pop up options...enter search term as B00*
    in the below row give.... your info cube name...
    means you are searching psa name based on your infocube(or any data target)...then note down the name....in the same way do it for all PSA's.
    then goto SE14...here basically you can delete any table... give the PSA table name, and execute, in the next screen...select radio buttons..
    . Delete table
    and click. Delete and Adjust database table.
    Then the PSA table will be deleted...
    please choose the easiest of all theose i have sent.
    hope this helps you,
    Regards,
    Ranjith

  • Error DTP and error stack

    Hi all,
    I have a question about the error handling in other companies.
    In our subsidiary we look each day on each error stack to find wrong entries,
    Correct them and start manually the error dtp.
    1. How do you handle this problem?
    2. Is there a report to look for the error stack?
    3. Is there a possibility to inform a user via email when there are entries in the stack?
    Thank you and regards
    Dirk

    Hi Dirk,
    SAP offers the Report RSD_ANALYZE_ERRORLOG to have a closer look on your errorstacks but don't be to  optimistic about it. I implemented a DB-View on the underlying Tables RSBERRORLOG, RSBKREQUEST and RSBKDTP_H. On top put an generic extractor and you can use it as a DatSource for any InfoProvider with normal Bex Queries. After that you can publish it via email in the normal way.
    Regards Michael

  • Code for sending records to error stack

    Hi All,
    Requirement: Record satisfying the condition should be sent to error stack and rest should be proceeded further.
    Following is the code written by me to send data to error stack.
    Data gets appended to Monitor but it is not reaching the error stack.
    IF <SOURCE_FIELDS>-FINISHDATE LT wa_cal-VJAHR OR
        <SOURCE_FIELDS>-FINISHDATE GT wa_cal-BJAHR.
          monitor_rec-msgid = 'ZBW'.
          monitor_rec-msgty = 'E'.
          monitor_rec-recno = <SOURCE_FIELDS>-FINISHDATE.
          monitor_rec-skipped = 'X'.
          Append monitor_rec TO MONITOR.
          DELETE TABLE SOURCE_PACKAGE FROM <SOURCE_FIELDS>.
    ENDIF.
    Can you please tell me if the above procedure is fine or needs to be changed?

    Hi Ramesh,
    To me it seems that the code you have written is incorrect. In the 5th line of code you have written:
    monitor_rec-recno = <SOURCE_FIELDS>-FINISHDATE.
    Here you should remember that RECNO & FINISHDATE are of different data types, so may be you can try changing this line of your code to : monitor_rec-recno = <SOURCE_FIELDS>-Record
    U can try this & let me know its working or not, coz i think rest of the code is pretty fine,
    Hope it helps.
    Ragerds,
    Raj

  • Error while comitting a transaction in oSB. The following is the error stack

    Error while comitting a transaction in OSB. The following is the error stack
    <Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
            java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
            java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
            at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • Error Stack in Expert Routine, Infos about Object Log

    Hi all,
    currently I try to find some information about using the error stack in combination with an expert routine. So far I know that I have to use the Object Log, which is already in place in my code for monitor messages.
    LOOP AT itab_input INTO wa_input.
    IF sy-subrc <> 0.
            CLEAR msg.
            msg-msgid = 'MY_CLASS'.
            msg-msgty = 'E'.
            msg-msgno = '002'.
            msg-msgv1 = v1.
            msg-msgv2 = v2.
            msg-msgv3 = v3.
            APPEND msg TO t_msg.
            " ??? Write wa_input to error stack???
            CONTINUE.
          ENDIF.
    ENDLOOP.
    Does somebody know how I could append wa_input to the error stack? Or does somebody have a good documentation about Object log?
    Thanks a lot!
    Nita

    Good Morning,
    thanks a lot for your input. I tried to implement this function, but I do not know where I could get the Segment Id from.
    Do you know what i_use_crosstab is used for? I think i_with_message should be set to 'X' if I want to write wa_input-record it to the error stack.
    CALL METHOD log->verify_record
              EXPORTING
                i_use_crosstab  = ''
                i_segid         = lv_segid
                i_record        = wa_input-record
                i_with_message  = 'X'
              RECEIVING
                r_skip          = lv_skip
              EXCEPTIONS
                too_many_errors = 1
                not_in_crosstab = 2
                OTHERS          = 3.
    From semantic point of view the coding should do following:
    - To avoid a second loop in my expert routine it should only check the current src record. If this is wrong, which I already determine in my coding, it should write the record in the error stack. If it is correct, it should check whether there are already records with the same semantic key in the error stack and if yes, add it also to it.
    - I assume that I have to delete this record manually from my src. package than.
    Cheers
    Nita

  • Sql loader 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", ....

    Hello all,
    I am getting error while running below sql loader command...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_INTERFACE_ID expression "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')",
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID)
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120
    Log file:
    Table "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "to_char('select VENDOR_INTERFACE_ID from AP_SUPPLIERS_INT where CUSTOMER_NUM=:CUSTOMER_NUM')"
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me what could be an issue...
    Is there any other way to pass function in sql loader..
    Thanks and Regards
    Muthukumar

    I created function like below...... retrun value as number
    create or replace function VDR_INF_F(V_NUM number)
    return number is
    VDR_INF_id AP_SUPPLIERS_INT.VENDOR_INTERFACE_ID%type;
    begin
    select VENDOR_INTERFACE_ID
    into VDR_INF_id
    from AP_SUPPLIERS_INT
    where CUSTOMER_NUM = V_NUM;
    return VDR_INF_id;
    end;
    And attached that into loader program...
    load data
    infile *
    into TABLE AP_SUPPLIER_SITES_INT
    REPLACE
    fields terminated by ","
    OPTIONALLY ENCLOSED BY '"'
    VENDOR_SITE_INTERFACE_ID "to_char(ap_supplier_sites_int_s.NEXTVAL)",
    LAST_UPDATE_DATE "SYSDATE",
    LAST_UPDATED_BY,
    VENDOR_SITE_CODE,
    CREATION_DATE "SYSDATE",
    CREATED_BY,
    PURCHASING_SITE_FLAG,
    PAY_SITE_FLAG,
    ADDRESS_LINE1,
    ADDRESS_LINE2,
    ADDRESS_LINE3,
    CITY,
    STATE,
    ZIP,
    COUNTRY,
    PHONE,
    FAX,
    PAYMENT_METHOD_LOOKUP_CODE,
    TERMS_ID,
    CREATE_DEBIT_MEMO_FLAG,
    HOLD_UNMATCHED_INVOICES_FLAG,
    EMAIL_ADDRESS,
    MATCH_OPTION,
    EXCLUDE_FREIGHT_FROM_DISCOUNT,
    INVOICE_CURRENCY_CODE,
    PAYMENT_CURRENCY_CODE,
    COUNTRY_OF_ORIGIN_CODE,
    FREIGHT_TERMS_LOOKUP_CODE,
    PAY_GROUP_LOOKUP_CODE,
    PAY_DATE_BASIS_LOOKUP_CODE,
    ALWAYS_TAKE_DISC_FLAG,
    ORG_ID,
    VENDOR_INTERFACE_ID expression "VDR_INF_F(':CUSTOMER_NUM')"
    begindata
    1005,,SYSDATE,1132,Test MA Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_2,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1005,,SYSDATE,1132,Test MA Site_3,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1005
    1006,,SYSDATE,1132,Test1 M Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1006
    1007,,SYSDATE,1132,Test1 B Site_1,SYSDATE,1132,Y,Y,No#907 62nd Street ,10th Sector,KK Nagar,Chennai,TamilNadu,600078,IN,+91 44 33333333,044 40404040,CHECK,10000,Y,N,[email protected],R,Y,INR,INR,IN,TBD,STANDARD,DISCOUNT,Y,120,1007
    Even now sql loader giving same error..
    like below.....
    able "AP"."AP_SUPPLIER_SITES_INT", loaded from every logical record.
    Insert option in effect for this table: REPLACE
    Column Name Position Len Term Encl Datatype
    VENDOR_SITE_INTERFACE_ID FIRST * , O(") CHARACTER
    SQL string for column : "to_char(ap_supplier_sites_int_s.NEXTVAL)"
    LAST_UPDATE_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    LAST_UPDATED_BY NEXT * , O(") CHARACTER
    VENDOR_SITE_CODE NEXT * , O(") CHARACTER
    CREATION_DATE NEXT * , O(") CHARACTER
    SQL string for column : "SYSDATE"
    CREATED_BY NEXT * , O(") CHARACTER
    PURCHASING_SITE_FLAG NEXT * , O(") CHARACTER
    PAY_SITE_FLAG NEXT * , O(") CHARACTER
    ADDRESS_LINE1 NEXT * , O(") CHARACTER
    ADDRESS_LINE2 NEXT * , O(") CHARACTER
    ADDRESS_LINE3 NEXT * , O(") CHARACTER
    CITY NEXT * , O(") CHARACTER
    STATE NEXT * , O(") CHARACTER
    ZIP NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    PHONE NEXT * , O(") CHARACTER
    FAX NEXT * , O(") CHARACTER
    PAYMENT_METHOD_LOOKUP_CODE NEXT * , O(") CHARACTER
    TERMS_ID NEXT * , O(") CHARACTER
    CREATE_DEBIT_MEMO_FLAG NEXT * , O(") CHARACTER
    HOLD_UNMATCHED_INVOICES_FLAG NEXT * , O(") CHARACTER
    EMAIL_ADDRESS NEXT * , O(") CHARACTER
    MATCH_OPTION NEXT * , O(") CHARACTER
    EXCLUDE_FREIGHT_FROM_DISCOUNT NEXT * , O(") CHARACTER
    INVOICE_CURRENCY_CODE NEXT * , O(") CHARACTER
    PAYMENT_CURRENCY_CODE NEXT * , O(") CHARACTER
    COUNTRY_OF_ORIGIN_CODE NEXT * , O(") CHARACTER
    FREIGHT_TERMS_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_GROUP_LOOKUP_CODE NEXT * , O(") CHARACTER
    PAY_DATE_BASIS_LOOKUP_CODE NEXT * , O(") CHARACTER
    ALWAYS_TAKE_DISC_FLAG NEXT * , O(") CHARACTER
    ORG_ID NEXT * , O(") CHARACTER
    VENDOR_INTERFACE_ID EXPRESSION
    SQL string for column : "VDR_INF_F(':CUSTOMER_NUM')"
    value used for ROWS parameter changed from 64 to 31
    Record 1: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 4: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Record 5: Rejected - Error on table "AP"."AP_SUPPLIER_SITES_INT", column VENDOR_INTERFACE_ID.
    ORA-01722: invalid number
    Please guide me, how to clear this issue?
    Thanks and Regards,
    Muthu

Maybe you are looking for

  • How do I convince itunes that ipad is NOT synchronized to a different library?

    When I attach my ipad2 to my PC, itunes (latest version installed) always says that the ipad is synchronized to another library, and do I want to  ..... This is the only computer the ipad has ever been connected to!  I'm tired of having music/picture

  • Facing a problem from printing in SAP

    Hi All in SP02 when i am doing printing, i am not able to  view the format option in some of the specific output device type how to get back my format option. please advise. Thanks & Regards K.Gunasekar Edited by: guna sekar on Nov 25, 2008 4:41 AM

  • Edge Web Fonts in DreamWeaver CS4

    Can anyone please confirm whether CS4 can work with Edge Web Fonts? I have followed the DreamWeaver official tutorial, plus two others I found on YouTube, to the letter, but my text still seems to be in Comic Sans, which is not the font I copied. if

  • Update, creating a spot with windows

    hello, sorry for my english, I'm french but I go through google. I can not find my answer on the internet. as the title says, I want the windows task scheduler execute the search update with adobe reader and flash too! I select the program, but what

  • Cannot backup to iCloud

    Hello, I cannot backup via WIFI (phone is locked, connected to WIFI & plugged in) to iCloud even when there is 4.8GB storage available.  Plus I only asked to back up Contacts & Calendars. Thanks for any help available.