Mulitple errors in a record, how to find?

Hello BW Experts,
Scenario:
I have a record with char zcustnum and amount zbal infobjects.
Amount error reported:
if i have error both in zcustnum and zbal. it is only reporting error in zbal in the log
if i correct the error in the zbal. It is then showing the error for zcustnum
req:
the failed load should report both the errors zbal and zcustnum at the same time.
any suggestions appreciated.
Thanks,
BWer

Hi,
You could use start routine in the update rule to check both fields in one go and write messages to the monitor.
Cheers,
/RB

Similar Messages

  • Error in *.tmp file  how to find the real source

    -- FM 8, structured --
    So ... cautiously (but enthusiastically) exploring the delights of DITA, I've taken an existing unstructured book and exploded the content into DITA topics in an XLM editor; even, made a ditamap to hold all the topics together in the right order and at the right level.
    No protest from the editor, which validates on the fly; but when I run the FrameMaker utility to generate a .book from the .ditamap, I get the fairly readable messages that follow:
    XML Parser Messages (Document instance)
    Error at file c:\docume~1\grundt~1.bru\locals~1\Temp\FMT3C9.tmp, line 2312, char 191, Message: The value for attribute 'id' must be names or name tokens.
    Error at line 2312, char 191, Message: The value for attribute 'id' must be names or name tokens.
    My question: looks as though there's an id somewhere in my 112 dita files that FM isn't happy with. Is there an easy way to find out which file is causing the problem?
    Thanks in advance if you can save me from scrutinising (at most) 112 files and looking et every id =8-}
    N

    ymmd, but with a modicum of ingenuity I got there!
    1. start utility to generate .book from .ditamap
    2. observe error in XML Parser log and leave log open
    3. track down and open the .tmp file
    4. read guilty line in .tmp file
    And voilà - I hadn't paid enough attention to the editor's discreet warning, and there was a section without an id. I corrected the dita file, ran the utility again and generated a .book without any errors.

  • Finding the master user records , how to find the active users

    Hi friends,
      i want  master user information, which table consists master user information and also which table consists active users ,
    like address ADRC is the master table like that for users which is the master table .
    can any one help me urgently.

    Hi,
    check the below tables
    USR01                          User master record (runtime data)
    USR02                          Logon Data (Kernel-Side Use)
    USR03                          User address data
    USR04                          User master authorizations
    USR05                          User Master Parameter ID
    USR06                          Additional Data per User
    Edited by: Velangini Showry Maria Kumar Bandanadham on Apr 24, 2008 3:31 PM

  • How to find the bdc error

    i did one bdc program, it's running correctly but data not upload. so how to lanalyze  the error.

    Dear
    you can find error with following link
    How to find errors from BDC log
    Regards

  • How to find the particular record in 1000's of workflow jobs are running

    Hi,
    In a data manager -> in workflow tab>IF a record is in CHECK-OUT MODE there are 1000's of jobs are running in that workflow tab. Can anyone tell me how to find that particular record in that workflow jobs.
    Can anyone show me the difference in getting a record in 5.5 and 7.1

    Hello COTI
    Unfortunatly, SAP MDM doesn't have good ability for  WF search.
    All WF clarify by it's status (unlaunched, avialable, Received, complited, error  etc.)
    For each WF SAP MDM assing unique Job ID and this id will be shown in Job ID field in Data Manager WF Tab.
    You can change WF list order by all WF fields like as Job ID, Step, User, Start etc. and try to find your's WF.
    You can use Java API - this is one of the best solution for WF management and WF mass upload  (for example)
    Regards
    Kanstantsin Chernichenka

  • How to find a record in PSA

    hi all,
    tell me the steps how to find a record in PSA.suppose there are >20 data packages..how can i find out that specific record from those datapackages with out knowing datapackage..
    thanks,
    jack

    Hi Jack,
    It so happens that when data is pulled into the PSA there will be no specific order. Hence it is impossible to know which record is present in which data package.
    But if you want to know how many error records are there and what are those there are always options of selecting all the packets and display only erraneous records.
    Regards,
    Pramod

  • How to find count of records based on batch wise.

    Hi All,
    We are working on OWB10gr2. I would like share one requirement. Any one can suggest me how to do it and which is the best way to get accurate information.
    We have 2 schemas’ like nia_src and nia_tgt. currently we are moving data from nia_src to nia_tgt for that reason we implemented some mappings based on requirement. In my source schema (nia_src) having 100 tables with data and similar structure replicated in target schema (nia_tgt).
    In source schema every table having one date field for which record is inserted and based on that field we can find how may records are inserted on particular table ,particular time.
    Same like target also maintaining date fields for tracking purposes.
    We have done some mappings and scheduled also. Every day we are into the target with incremental data. All are working fine not any issues.
    I wanted to know how many records inserted, updated, merged for particular batch
    How can we find?
    Can we find exact information in OWB_REP_OWNER schema on WB_RT_AUDIT?.
    For tracking purposes I need to find those values how many records are available in
    Source table and how many records are populated to the target schema?
    How to find schedule batch count of records table wise for batch wise?
    Please suggest me any one on this.
    thanks and regards,
    venkat.

    RE: based on pre operator can we find count of records. if yes how to do it.
    No, you cannot tell from the pre- operator how many records will be inserted or updated into a mapping. How could you? The mapping hasn't run yet!
    At best (if you have simple mappings with single targets) you could come up with a strategy to have the pre-mapping procedure aware of it's package name, then select from user_source for that package body until you find that first cursor used for the row-based processing, copy the cursor into a local variable, and then execute immediate select count(*) from that cursor definition. But still, all that would get you is the number of rows selected - not inserted / updated / errored etc.
    A post-mapping procedure that is aware of the package name will, however, run prior to package exit so that the package spec is still in memory so you can access the public variables in the package spec. We do that in our standard post-mapping procedure
    CREATE OR REPLACE procedure erscntrl_finalize_prc(
                           p_process_id     in  number,
                           p_process_name   in  varchar2)
    as
          l_numread      number         := 0;
          l_numInserted  number         := 0;
          l_numUpdated   number         := 0;
          l_numMerged    number         := 0;
          l_owb_audit_id number         := 0;
          l_owb_status   number         := 0;
          sqlStmt        varchar2(2000) :=
                               'begin '||
                               '  :1 := '||p_process_name||'.get_selected; '||
                               '  :2 := '||p_process_name||'.get_inserted; '||
                               '  :3 := '||p_process_name||'.get_updated; '||
                               '  :4 := '||p_process_name||'.get_merged; '||
                               '  :5 := '||p_process_name||'.get_audit_id; '||
                               '  :6 := '||p_process_name||'.get_status; '||
                               ' end;';
    begin
          -- we use dynamic SQL to return required audit field values.
          --  This allows us to alter which values we need at a later date
          --  without impacting the deployed mappings.
        execute immediate sqlStmt
        using   out l_numread,   out l_numInserted,  out l_numUpdated,
                out l_numMerged, out l_owb_audit_id, out l_owb_status;
      -- then execute our own logging package.
       owb_mapping_log_pkg.finalize(
                           p_process_id,
                           p_process_name,
                           l_numread,
                           l_numInserted,
                           l_numUpdated,
                           l_numMerged,
                           l_owb_audit_id,
                           l_owb_status
    end;
    /However, even in this case bear in mind that if you run the mapping in set-base mode, all Oracle returns is the number merged which does not give values for the inserted and updated counts. If you really need those values you need to either a) run in row-based mode or row-based-target-only, or come up with some custom queries. For example, in your pre-mapping do a select count(*) from your_target_table, then run the mapping, then get the number merged, then do another select count(*) from your_target_table. With these values and basic math you could tell the number inserted by the growth in the table, and the rest of the number merged must have been updates.
    That being said, if you are playing with dimensions as large as most of the ones I am - there is no bloody way that you want to do two select count(*) statements on each run without a really, really good reason.....
    Cheers,
    Mike

  • How to find out the column causing the error while doing update or insert

    I'm getting the below error when attempt to update or insert a long string that is more than its defined length in the DB2. For example in table the column length is defined as 50, however from UI the data for that column is more than 50 chars.
    {color:#ff0000}**Caused by: com.ibm.db2.jcc.b.SqlException: DB2 SQL error: SQLCODE: -302, SQLSTAT**
    **E: 22001, SQLERRMC: null**
    **at com.ibm.db2.jcc.b.hh.b(hh.java:1369)**
    **at com.ibm.db2.jcc.b.hh.c(hh.java:1356)**{color}
    The above issue can be fixed by setting maxlength in the UI itself. However in my case, there is a backend program trying to insert or update load of records. If the exact column name causing the error is known, it will be helpful to load the data properly in the next attempt.
    I have worked around it using SQLWarning and DataTruncation, but couldn't find the solution yet.
    Any help on this issue will be really appreciated.

    Medraf wrote:
    what is validator? Is it like validation.xml in struts? Are you suggesting like defining set of validation rules in the xml and apply the same for each record before doing any update or insert in DB? If so, then I could implement this validation logic in my backend code, however it may take more time to complete the batch prcoess.
    How you implement doesn't matter.
    However given a schema generating code for such validation is trivially simple at least for field types and sizes. Relationships are harder but those can be handled via custom rules.
    Alternatively I'm looking for some kind of API in JDBC or Hibernate which gives the detailed sql exception message containing the error info like the column name and the reason for failure while update or insert. If not possible, then validation logic needs to be implemented.Having seen something similar in Oracle years ago I seriously doubt that you are going find it magically appearing in JDBC/hibernate. There might be warning on the SQLException (see the java docs for SQLException) but I wouldn't count on it. Other than that the only possibility is making some sort of call in db2 itself that tells you the error. Only problem with that is it might require the context which might not be available once you see the error (presuming, especially for performance, that you are using batch processing.)
    As a start figure out how to find out using only db2 (docs and/or db2 forums.)

  • How to find exact error column name

    hi all ,
    My requirement is as follows .
    I am trying to add a record into temp_emp table inside plsql block ,after executing it i am getting ORA-01438: value larger than specified precision allowed for this column error .I want to find for which column the error is coming .
    In the below example i clearly know that deptno column precision is 2 and i am inserting bigger value that is why i am getting error .
    let us consider a scenario where i am trying to insert 40 colunm values into table and one column is causing the problem , how to find that column alone .
    SELECT * FROM V$VERSION
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0    Production
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    CREATE  TABLE
    temp_emp
      empno  NUMBER(4),
    ename VARCHAR2(15),
    job  VARCHAR2(10),
    deptno NUMBER(2)
    DECLARE
       v_empno    NUMBER (4);
       v_ename    VARCHAR2 (15);
       v_job      VARCHAR2 (10);
       v_deptno   NUMBER (2);
    BEGIN
       INSERT INTO temp_emp
                   (empno, ename, job, deptno
            VALUES (1234, 'ABC', 'CLERK', 1000
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line (   SQLCODE
                                || DBMS_UTILITY.format_error_backtrace
                                || SQLERRM
    END;
    /finally I want column name in the error message .
    Thanks,
    P Prakash

    Oracle does not provide the column information in the error message and I don't know of any way to do so outside of developing something convoluted. For example:
    SQL> DECLARE
      2     te_row temp_emp%ROWTYPE;
      3  BEGIN
      4
      5     te_row.empno  := 1234;
      6     te_row.ename  := 'ABC';
      7     te_row.job    := 'CLERK';
      8     te_row.deptno := 1000;
      9
    10     INSERT INTO temp_emp
    11          VALUES te_row;
    12  END;
    13  /
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: number precision too large
    ORA-06512: at line 8Also, that EXCEPTION block has a bug in it (no RAISE or RAISE_APPLICATION_ERROR).
    Edited by: Centinul on May 3, 2012 8:23 AM

  • How to find flatfile errors while uploading data

    hi all,
    i hava a question...  when i am uploading large amount of data (ex:1 lac records) in that 100 records are error records .. how to find the error records in flatfile before uploading.
    regards shree.

    Hi,
    The only way to find out errors is to open the file from abap read through each record and validate it.
    However , my approach would be to read through each record, validate it, if valid process it otherwise collect it in another auxilary internal table and then in the end log the errors for later processing.
    regards,
    Advait

  • How to find the number of records per months  in cube

    Hi,
      how to find the number of records per months for my all cubes?
      Can i use the ListCube transaction to find totl number f records per cube monthwise ?
    Jimmy

    Hi,
    Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
    1.Copy the code into your Z<programname> from Se38.
    2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
    3.Save program.
    4.Schedule the program in background as required
    5.Create cube with infoobjects to hold no of records and Infoprovider name
    6.Load this cube based on event after the program job is done.
    Hence you can report on this cube to see no of records in  CUBE or ODS in your box.
    Please find the code below.
    Cheers,
    Kavitha Kamesh.
    types: begin of itabs ,
          tabname type dd02l-tabname,
          end of itabs.
    data: itab type itabs occurs 0 with header line.
    data: counter type i.
    data: begin of itab1 occurs 0,
    tabname type dd02l-tabname,
    counter type i,
    end of itab1.
    DATA: ITABTABNAME TYPE STRING.
    DATA: LENGTH TYPE I.
    DATA: OBJECT(30).
    data: str(6) type c.
    select  tabname from dd02l into table itab where ( tabname LIKE  '/BIC/F%' or tabname LIKE  '/BIC/A%00' )
    and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
    loop at itab.
      select count(*) from (itab-tabname) into counter.
      str = itab-tabname.
      if str = '/BIC/F'.
    LENGTH  = STRLEN( ITAB-TABNAME ).
      SHIFT  itab-tabname BY 6 PLACES LEFT.
    ELSEIf  str = '/BIC/A'.
      SHIFT  itab-tabname BY 6 PLACES LEFT.
      LENGTH  = STRLEN( ITAB-TABNAME ).
    LENGTH = LENGTH - 2.
    endif.
      itab1-tabname = itab-tabname(LENGTH).
      append itab1.
      itab1-counter = counter.
      clear itab-tabname.
      clear:  COUNTER.
    endloop.
    *********** itab1
    loop at itab1.
    write:/ itab1-tabname, itab1-counter.
    endloop.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                    =
        FILENAME                        = 'c:records.xls'
        FILETYPE                        = 'ASC'
    *   APPEND                          = ' '
        WRITE_FIELD_SEPARATOR           = ','
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      TABLES
        DATA_TAB                        = itab1
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to find the number of records in ods?

    how to find the number of records in ods?
    Pls suggest the solution apart going to the table of ods and seeing the number of records.
    Is there any program or function module to see the number of records in ods?
    For eg: SAP_INFOCUBE_DESIGNS is a program which gives the detail (number of records) of infocube.

    Hi,
    I was looking at this and found the following tables that may be of help.
    One of these tables will include a summary of the record count of all the tables in your system based on the last time each table had it's database statistics calculated:
    DBSTATTADA
    DBSTATTDB2
    DBSTATTDB4
    DBSTATTDB6
    DBSTATTINF
    DBSTATTMSS
    DBSTATTORA
    We run on an Oracle database so the table record counts can be taken from DBSTATTORA. Type in AZ in table selection field in SE16 to restrict the output to ODS (or DSO) tables only.
    The record count is at the time indicated in the timestamp field. Obviously this is not real time but should not be too out of date - if it is you may be having performance issues and should get your DBA / Basis to run a full refresh of DB stats.
    Hope this helps, alhtough not real time the table should give you a decent indication of the size of all your ODS objects (or any other table for that matter!)

  • How to find total number of records in a BDoc?

    Dear all,
    I have replicated about BP 1088 records from ISU into CRM system with block size 100. Technically on SMW01, for each successfully processed BDoc, there will be 100 records (corresponds to 100 block size). But due to some failed BDocs, not all "successfully" BDocs will have 100 records each, some may have only 1 record inside...or 30...or 88 for example. So, may i know how to find or is there a report i can look into to find the total number of records clearly shown for each of the successfully processed green status BDocs???
    Please help and points will be rewards!!
    Thank You
    Best Regards,
    CK

    I am just showing this to show how to get the rowcount along with the cursor, if the program has so much gap of between verifying the count(*) and opening the cursor.
    Justin actually covered this, he said, oracle has to spend some resources to build this functionality. As it is not most often required, it does not makes much sence to see it as a built-in feature. However, if we must see the rowcount when we open the cursor, here is a way, but it is little bit expensive.
    SQL> create table emp_crap as select * from emp where 1 = 2;
    Table created.
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from (select rownum rn, e.ename from emp_crap e) order by 1 desc)
      6     loop
      7        if v_cnt = 0 then
      8           v_cnt := rec.rn;
      9        end if;
    10     end loop;
    11     if v_cnt = 0 then
    12        raise zero_rows;
    13     end if;
    14   exception
    15    when zero_rows then
    16      dbms_output.put_line('No rows');
    17   end;
    18  /
    No rows
    PL/SQL procedure successfully completed.
    -- Now, let us use the table, which has the data
    SQL> declare
      2   v_cnt     number := 0;
      3   zero_rows         exception;
      4  begin
      5    for rec in (select * from
      6          (select rownum rn, e.ename from emp e)
      7          order by 1 desc)
      8     loop
      9        if v_cnt = 0 then
    10           v_cnt := rec.rn;
    11           dbms_output.put_line(v_cnt);
    12        end if;
    13     end loop;
    14     if v_cnt = 0 then
    15        raise zero_rows;
    16     end if;
    17   exception
    18    when zero_rows then
    19      dbms_output.put_line('No rows');
    20   end;
    21  /
    14
    PL/SQL procedure successfully completed.Thx,
    Sri

  • How to find total no of records in DSO

    How to find the total no of records in a DSO?

    Hi,
    To check the num of entries in DSO,
    in DSO the data always comes from Active data table(Since DSO has 3 tables-> New data,Active data, Change log tables)
    just right click on DSO and go to manage DSO, then select "Active data table"  tab and go to Contents.. There u can see the data which you loaded in to DSO... So there u can get num of entries..
    Or
    go to TCODE : SE11 and give ur Active DATA table name.. and click display....
    then press ctrlshiftF5 to see the contents of tha table....
    Thanks And Regars
    MAnjunath P

  • How to find total no of record in cube

    Hi Experts,
    How to find total no of records in a cube.
    Thanks in Advance.

    Hi
    If you want total number of records in a CUBE then you have to check in both F Table and E table.
    Go to LISTSCHEMA tcode in your system, give your CUBE name and execute.
    You will fine two table E and F table
    goto SE16 -->give the table name and click on number of entries.You will get number of records.
    Check the below thread
    No of records in /size of Info cube
    Regards,
    Venkatesh

Maybe you are looking for

  • Can I see the Ethernet signal connected to my PC on RJ-45 connector (electric form)?

    Hi, I start working on a project that needs me to know the electric characterisitics of an Ethernet signal in a specific network, and it is illegal to connect any device directly to the network (except for PC). So I was thinking can I use Labview to

  • How to create a java.util.Date object from a date String?

    How do I convert a String representation of a date in for the format dow mon dd hh:mm:ss zzz yyyy (e.g. "Mon Aug 27 17:12:59 EDT 2001") into a Date object? This you might note is the output of the Date classes toString() method. I don't want to have

  • Compatibility of OMWB and Oracle Database Express Edition

    Hi, I have been searching all over but can't find information on migrating MS SQL 2000 databases to Oracle Database Express. When I perform the migration, all seems to go well, but then only the tablespaces are visible in Oracle Database Express Edit

  • LIBRFC 64-bit binary version check

    Hi,     Why <b>'strings librfccm.<dll extension>| grep LIBRFC'</b> or <b>'what  librfccm.<dll extension>| grep LIBRFC'</b> dosen't give result for 64-bit library?     Is there any other way to find the version of 64-bit LIBRFC? Thanks, Nagarjuna.

  • Flags keep coming back

    I am using an Exchange account in Mail, and recently (since yesterday) I notice that mails that were flagged and that I un-flagged keep getting their flags back. This happens on my work computer with the Exchange account, I access the same mailbox fr