How to save mapping errors in a Table

HI, In a mapping i have a target Table Customer, when some records are rejected i want to save those records in an error table.
How can i do that in Warehouse Builder 10g Release 1 (10.1)
Thanks.

if you are not able to capture the rejected records you could read the target table afterwards and compare it with the source table again.

Similar Messages

  • How to clear Mapping Error Bdocs

    Hi,
    We are getting Mapping error bdcos in SMW01 if there is an error while data is downloading from ECC to CRM. We are fixing the issue by looking at the BDOC error description. We are unable to re-process these error bdocs after fixing the issue as it is not allowing. To fix the issue we are re-processing the corresponding queue in SMQ2 and queues are processing successfully. the problem is these error bdocs are sitting in data base and we want to clear them.
    Can any one please let me know how we can re-process these kind of mapping error bdocs?
    Thanks,
    Rajinikanth

    Hi ,
    Below logic may be useful.
    SELECT bdoc_id
                 bdoc_type
                 bdoc_state
                 snd_date
                 snd_time
                 qname
             INTO TABLE lt_inque
                  FROM smw3_bdoc
                  WHERE bdoc_type IN s_bdoc
                  AND qname IN s_qname
                  AND bdoc_state IN r_err.(r_err = E01,E02.....E09)
    LOOP AT lt_inque INTO ls_inque.
      DATA:lv_bdoc_id TYPE smog_tid.
      CLEAR lv_bdoc_id.
      lv_bdoc_id = ls_inque-bdoc_id.
      CALL METHOD cl_smw_flow=>restart_processing
          EXPORTING
            bdoc_id            = lv_bdoc_id
          EXCEPTIONS
            bdoc_not_found     = 1
            bdoc_locked        = 2
            bdoc_was_processed = 3
            internal_error     = 4
            OTHERS             = 5.   
    ENDLOOP.
    Thank you,
    Gangadhar.S

  • (mapviewer) how to save map as an image

    I open a mapviewer in web page, and load a map.
    I wonder how to save this map as an image?
    thx
    tamsun

    Hey, I was wondering how I could save my graphics as an image,Don't know if you can save Graphics as an Image, but you can draw a JComponents image to an Image. Search the forum using "screenimage" to find my class that does this.

  • ALV: how to save context space for large tables ?

    Dear collegues,
    We are displaying an ALV table that is quite large. Therefore, the corrsponding DDIC structure and the WD context is large. This has an impact on performance and the load size of the program. Now we will enhance the ALV table again.
    Example: for an icon and its explaining tooltip that are displayed in the ALV: there is are context fields required like "SOURCE_FIELDNAME" for the tooltip as well as for for the icon. They need a lot of characters for each tooltip and icon).
    Question: do you have an idea, how to save context space for those ALV fields ?
    Best regards,
    Christian

    >We are displaying an ALV table that is quite large.
    Do you mean quite large as in a large number of columns or as in a large number of rows (or both)?  I assume that the problem is probably more related to a large number of rows.  For very large tables, you should consider using the table instead of the ALV. For very large tables you can even use a technique called context paging to keep only a subset of the data in the context memory at a time.  Here is a recent blog that I created on the topic with demonstrations of different techniques for table sharing, shared memory, and context paging when dealing with large tables in Web Dynpro ABAP:
    Web Dynpro ABAP: How Fast Can You Consume 1 Million Rows?

  • Syndicator how to save  maps to respective remotesystem MDM5.5SP6 & MDM7.1

    Hi,
      In MDM5.5 sp6 In syndicator consider an example that i am using two remotes systems one is ERP and BI and i have created 2 maps
    Ex :ERP_map and BI_map.I want to save ERP_map in ERP remotesystem and Bi_map in BI remotesystem.
    how can i achieve this.what are the properties we have to set.
    how we will achieve same requirement in mdm7.1.
                                                                     Thanks in advance
    regards,
    coti

    Hi Coti.
    You want to create a map for a specific remote system in MDM7.1 right?
    Login to the Syndicator by selecting the MDM Server, Repository, Username and Password (Necessary User Credentials).
    Step1. Once the Syndicator is opened, Select File->New from the main menu to open the new map properties dialog.
    It will show you the type of the file, list of remote systems available, ports, xml schema etc as a drop down.
    Select the respective values and click OK.
    Step2. Now you can perform mapping and once you are done with it, you can click File->Save Map which saves in it to the remote system which is selected in step1.
    Note: Remote system needs to be created in MDM Cosnole prior to the above steps
    Regards
    Bala

  • How to capture mapping error and able to send it..

    Hi Friends,
    We have a requirement, where in, if a mapping fails due to missing required element or improper formation of the source xml message, we need to capture this and need to create an error message, which contains the error description as one of the elemnets and send it to the concerned system back. Basically, it is to let the sending system know that, what went wrong.
    Is there any api available which can capture the mapping error and which could be used under java mapping used for exception handling? Any pointers in this regard would be of utmost helpful.
    Regards,
    Vijay

    Vijay,
    You can throw some exceptions like mentioned in the weblog:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    Once you see this message your support guys should check the message and let the sender system side know about this.
    ---Satish

  • How to save the selected records from Table control in dialog programming

    Hiiiiiiii Every1
    Actually the problem is like this:-
    I have to select some records from table control and then want to save the selected records in DB table.
    Example
    I have some rows having inforamtion bout employees...
    Now what i want is that when i click on 'SAVE' button then these selected rows should be moved into DB table.
    Sachin Dhingra

    see below example, I have added INSERT option after DELETE option.
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA cols LIKE LINE OF flights-cols.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
    TABLES demo_conn.
    SELECT * FROM spfli INTO TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
            ENDIF.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
            ENDLOOP.
          ENDIF.
        WHEN 'INSERT'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              itab1 = itab.
              modify itab1.
            ENDLOOP.
          ENDIF.
          if not itab1 is initial.
            INSERT dbtab FROM TABLE itab1.
          endif.
      ENDCASE.
    ENDMODULE.

  • How to save customised fields in standard table MARA by using MM17

    I have customised fields in MARA table. I want to save the data in database by using Mass transaction MM17. Can any one can give the solution.

    Hi,
       use BADI's for adding the fileds in MM17 and write the code so that they will be saved in the MARA table.
    Regards
    Thabitha.

  • How to save history change data on table

    Hi all
    I'm using Oracle Database 11g
    Data of tables often is changed. I want to save history person changed it.
    Anybody help me!
    Thankyou
    Thiensu2810

    Hi
    you can use
    flashback data archieve
    CREATE FLASHBACK ARCHIVE DEFAULT test_archive1
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    CREATE FLASHBACK ARCHIVE test_archive2
    TABLESPACE example
    QUOTA 1 M
    RETENTION 1 DAY;
    The next statement alters the default flashback data archive to extend the retention period to 1 month:
    ALTER FLASHBACK ARCHIVE test_archive1
    MODIFY RETENTION 1 MONTH;
    The next statement specifies tracking for the oe.customers table. The flashback data archive is not specified, so data will be archived in the default flashback data archive, test_archive1:
    ALTER TABLE oe.customers
    FLASHBACK ARCHIVE;
    The next statement specifies tracking for the oe.orders table. In this case, data will be archived in the specified flashback data archive, test_archive2:
    ALTER TABLE oe.orders
    FLASHBACK ARCHIVE test_archive2;
    The next statement drops test_archive2 flashback data archive:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5009.htm#SQLRF20008
    hope this helps
    Zekeriya

  • How to save byte[] value to Oracle table?...

    ... what would be the data type in table for the column? THanks.

    I was thinking doing toString() to convert it to a String to insert to Oracle table. My question is actually would it to be safe to retrieve it later on to compare with anther byte[]? Thanks.

  • Mapping Errors in BPM

    Hi All,
    How can the mapping errors in BPM be handeld implicitly (without the use of Exception Handling Branch)
    Regards,
    Anurag

    Hi Anurag.
    Handling the mapping exceptions in BPM could be possible using the Alerts.
    Go through this blog for Alert Configuration:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    And also go through this thread:
    alert in BPM
    Hope this helps you.
    Regards,
    Hari.

  • How to implement mapping for a slowly changing dimension

    Hello,
    I don't have any experience with OWB and I need some help.
    I just don't know how to create the ETL process for a slowly changing dimension.
    My scenario is that I have 2 operative systems providing customer information, a staging area and a dwh with a customer dimension with SCD type 2 (created within OWB).
    The oltp data is already transferred to the staging area. But how should the mapping for the dwh table look like? Which operators have to be used?
    I have to check whether the customer record is new or just updated. How can I check every attribute? A new record shall be loaded, an updated record shall be historized (as I configured it in the SCD type 2). I just don't know how the trigger of the SCD is activated. Do I have to try an update on the trigger attribute and then automaticalle a new record is created? But with which operator can I do this? How should the mapping look like? Or is this impossible and do I have to implement this functionality with SQL code only?
    I know how to implement this with SQL code, but my task is to implement this in OWB.
    As you see I did not understand the logic of OWB so far and I hope somebody can help me.
    Greetings,
    Joerg

    Joerg,
    Check the blog below which provides good detail and also check the OWB documentation
    http://www.rittmanmead.com/2006/09/21/working-through-some-scd-2-and-3-examples-using-owb10gr2/
    Thanks,
    Sam.

  • DISPLAYING ERROR MESSAGE FOR TABLE

    How can I dispaly error message for table havong input fields from message pools,so that when I clicks on that message,that should point to that particular field having error
    Thanks
    Fahad

    Hi Fahad,
    From Message pool retrive data using text accessor
    IWDTextAccessor textYesAccessor = wdComponentAPI.getTextAccessor();
    String tempYes = textYesAccessor.getText(IMessageSample.<YES>);
    You can report error message like.
    if(tempYes !=null)
      reportException(String message, boolean cancelNavigation);
    See this link for Webdynpro API..
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
    Regards
    Suresh

  • How can i save the error message?

    In the execution of the integration process, and i get
    the mapping error as follow:
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.IllegalArgumentException: Cannot cast to float. ] in class com.sap.aii.mappingtool.flib3.Stat method sum[com.sap.aii.mappingtool.flib3.Plainer@dddd08]
    <b>Now what i want is to save this message.</b>
    <b>How can i save this message?</b>
    Thank you for your advise and reading

    Hi,
       An exception name is just any string, like, "timeout"
    You usually have a control step, which waits for somethime (say a minute) and then transfers the control to exception handler, who handles the exception.
    <i>but i dont know from where i get the exception?</i>
    It not required for us to know from where the exception is raised as long as you have created an exception handler.
    The integration process, will search for the required exception handler and execute it. Make sure, that the exception handler is in one of the branches of the block.
    Hope this helps.
    Regards,
    Smitha.

  • How map to my particular table to the fact table in obiee 11g...

    Hi friends,
    I did this simple report in obiee 11g(i.e)
    "NATIONALITY COUNT IN DEPARTMENT WISE"
    For that i used the following tables:
    per_all_assignments_f----->fact table
    hr_all_organization_units----->dim table(containing departments)
    per_all_people_f---------------->dim table(containing nationality)
    I made all the mappings in the physical diagram, as also viewed my report in BI answers
    It shows the following results like
    NATIONALITY---------------------------------------------------------------------COUNT(NATIONALITY)
    AUS------------------------------------------------------------------------------------------------24
    AFR------------------------------------------------------------------------------------------------25
    PHQ_VB-------------------------------------------------------------------------------------------40
    SH_VT----------------------------------------------------------------------------------------------4
    The problem is for me it is showing the above results, but the nationality column is of various codes of the country.
    Since i doesnt want the code of the nationalitian to display in the results..i need the meaning of each and every nationality..
    like,
    AUS------------------------Australian
    AFR-------------------------African
    PHQ_VB----------------------Germanian(assigned)
    Since i know that the meaning for the nationalitian is available in "FND_LOOKUP_VALUES"...okay..
    I can import "FND_LOOKUP_VALUES" table to the physical layer...but how i can able to give the mapping to the fact table in my physical diagram...
    In my report the fact table is "per_all_assignments_f"
    As my fact table doesnt contains any matching column corresponding to the dimension table "FND_LOOKUP_VALUES".....
    Then how i can give mappings to the fact column???? for viewing the full meaning of the nationalitian in my report.....Help me friends...
    Regards,
    Harry...

    Hi bifact,
    I followed the step that U asked me to go but im stuck with later.....
    *) I saved the query that i executed in toad with the columns showing country codes and country meaning to the excel sheet...
    This is the query that i executed in toad and copied data s in excel sheet..
    select z.lookup_code, z.meaning
    from per_all_people_f e, per_all_assignments_f f, hr_all_organization_units h, fnd_lookup_values z where
    e.person_id = f.person_id and f.organization_id = h.organization_id and e.business_group_id = f.business_group_id
    and f.business_group_id = h.business_group_id and f.location_id = h.location_id
    AND z.lookup_type(+) = 'NATIONALITY'AND z.lookup_code(+) = e.nationality and sysdate between
    e.effective_start_date and e.effective_end_date and e.nationality is not null
    *) After that i created a system DSN for the excel drive..
    *) After that when i tried to import metadata of the excel data that is saved, it showed me connection failed...
    For importing this excel data
    what connection details i need to give:--------------------
    as well as user name and also password...
    Soon after importing this excel you said that to give key connection only to fnd_lookup_tables(dim) and that excel data..
    if so, again im not giving key connection to my fact table..
    I think again the same error will occur that no logical mapping is not made to fact so again repository is inconsistent...
    Hi bifact sorry to ask you, but can you see the steps that i followed is correct and after that wat more steps i need to proceed..Can you tell me in breif manner...Thanks for your help...
    Regards,
    Harry...

Maybe you are looking for

  • I need to put photos from my iPod to my computer

    My daughter's iPod touch has this very large block of "other" taking up more than 2gb of space of her device. I've exhausted all options and now we can't seem to get it to sync to wifi properly anymore. I want to do a complete reset on her iPod. Rest

  • Interface on asa.

    Hi , I have connected a firewall inside interface to l3 switch. on l3 switch int gi0/1 no switchport ip address 192.168.10.1 255.255.255.0 no shut     on firewall int gi0/1 nameif inside security level 100 ip address 192.168.10.2 255.255.255.0 If i p

  • How do I change a PDF into a word document?

    I have downloaded the adobe assistant which says it should allow me to change pdf into word, but I can't find out how to do this?

  • Issue with SAP adapter

    Hello Experts, I am facing issue while sending multiple items to sales order BAPI. I have tested from the adapter xml seems to be correct but it throws an exception for multiple line item number. Do I need apply any fix? Please help in a critical sit

  • Invisible text in received mail

    For a couple of weeks now, many emails that I receive show only part of the body of the messages received. In many, I need to drag the cursor over the body and the text reappears in those spots, almost as if I'm painting them in. Anybody have an idea