Data mismatch in AFPO table & 2LIS_04_P_MATNR str. in RSA3

Hi,
I am getting data mismatch in ECC standard table and ECC standard extract structure. Please help me.
I am using 2LIS_04_P_P_MATNR data source (standard extract structure).
I have following data in ECC Table (AFPO - Order Item).
AUFNR (Order Number) --> 4000460
PGMNG (Total planned quantity) --> 0
PSMNG (ORDER QTY) --> 2000
Extract Structure is showing following data.
AUFNR (Order Number) --> 4000460
PGMNG (Total planned quantity) --> 2000 (It should be zero)
PSMNG (ORDER QTY) --> 2000
I have checked with many other order numbers. The extract structure in RSA3 is showing correct values only if PGMNG is non-zero values. If PGMNG is zero, then it is automatically assigning PSMNG value.
Is this common? I want to display correct values for PGMNG from AFPO Table. Why this mismatch between table data and extract data. I have done all required steps refreshing data (deleting setup tables, filling set up tables etc.).
pls suggest. Poinsts will be assigned to every useful answer. Can any one debug in debug mode in RSA3 and let me know your findings.
Thanks in advance.

I have tried all the ways. But did not understand the logic. Can any one pls explain me logic behind it.
thanks,

Similar Messages

  • Data mismatch between TABLE and Std. Extract str. (AFPO & 2LIS_04_P_MATNR)

    Hi,
    I am getting data mismatch in ECC standard table and ECC standard extract structure. Please help me.
    I am using 2LIS_04_P_P_MATNR data source (standard extract structure).
    <b>I have following data in ECC Table (AFPO - Order Item).</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 0
    PSMNG (ORDER QTY) --> 2000
    <b>Extract Structure is showing following data.</b>
    AUFNR (Order Number) --> 4000460
    PGMNG (Total planned quantity)  --> 2000 (It should be zero)
    PSMNG (ORDER QTY) --> 2000
    I have checked with many other order numbers. <b>The extract structure in RSA3 is showing correct values only if PGMNG is non-zero values. If PGMNG is zero, then it is automatically assigning PSMNG value.</b>
    Is this common? I want to display correct values for PGMNG from AFPO Table. Why this mismatch between table data and extract data. I have done  all required steps refreshing data (deleting setup tables, filling set up tables etc.).
    pls suggest. Poinsts will be assigned to every useful answer.
    Thanks in advance.

    Hi Avneet,
    I have a similar problem where in AFPO shows value 1000 in PSMNG field and 1200 in RSA3 for extractor 2LIS_04_P_MATNR.
    I have found that the standard feature of the extractor extracts the data at the time of release of process order. If the process order is changed after the release then the extractor will not picup the chagne.
    Ex: AFPO value 1000 ---BI Value 1000
    Now released in ECC
    AFPO value 1000 ---BI Value 1000
    In ECC value changed to 1500 after the release. BI will not pickup the change.
    Extractor is pulling the data from MCAFPOV table. You can check the values, there it matches with RSA3 values.
    I was just going thru forums for the solution. After i found the solution. I am just updating it.
    Hope it helps you.
    Thaks
    Srikanth

  • Data Mismatch while selecting from External Table

    Hi I am not able create an external table,I am trying to create and test table and able to create but when i selecting the data it showing data mismatch.I tried for an test data but it returned error.I want to load from an excel file saved as test.csv
    CREATE TABLE Per_ext
    CITY VARCHAR2(30),
    STATE VARCHAR2(20),
    ZIP VARCHAR2(10),
    COUNTRY VARCHAR2(30)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dataload
    ACCESS PARAMETERS
    MISSING FIELD VALUES ARE NULL
    LOCATION ('test.csv')
    REJECT LIMIT UNLIMITED;
    test.csv file contents
    city ----------     state---------Zip------------country
    Bombay-----     MH------------34324-------india
    london-------London------1321---------UK
    Pune---------MH------------3224---------india
    Banglore----     Karnataka---11313-------india
    rgds
    soumya

    Hi Justin
    I am getting following error when i trying from toad
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "comma": expecting one of: "badfile, byteordermark, characterset, column, data, delimited, discardfile, exit, fields, fixed, load, logfile, language, nodiscardfile, nobadfile, nologfile, date_cache, processing, readsize, string, skip, territory, variable"
    KUP-01007: at line 1 column 29
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    rgds
    soumya

  • OSI / OTI table data mismatch, OTI being subset of OSI

    Hi,
    We have a custom application where we fetch count and data for all provisioning records assigned to logged in user.
    To fetch details of open provisioning tasks, Oracle recommendation is to use OTI table.
    When we studied current system, we had below findings regarding behavior of OSI and OTI tables -
    1. When request is submitted to OIM, approval process is triggered depending upon approval policy.
    2. this workflow is responsbile for creating approval tasks.
    3. when approval tasks are approved, request in OIM is closed and provisioning task for the system gets created.
    4. OIM database tables which are used to fetch these provisioning tasks are OSI/OTI.
    5. According to Oracle documentation, OTI table is subset of OSI table.
    6. when we checked both these tables, we found that entry in both these tables is not exactly same.
    7. For a particular request, OSI table had OSI_ASSIGN_TYPE as 'Group' and OTI table had OSI_ASSIGN_TYPE as 'User'.
    8. As OTI table has osi_assigned_to_ugp_key value as null, this table cannot be used.
    Iit looks like OTI table does not hold correct data. And OSI table has around 9.6 million records. So when we query OSI table we get correct data but it takes 6min to get the data.
    We are now looking for the issue why there is this mismatch and how can it be solved ?
    Regards,
    Deepika

    Hi Kevin,
    Thanks for these details.
    We would try this query in our environment and see the result.
    But regarding OSI /OTI data mismatch, i understand that OTI contains tasks that are still opened, like Rejected, and Pending. And these tasks are also there in OSI, when we check the record in OSI those tasks are assigned to user while when we see same record those are getting assign type changes.
    Is that intended functionality or is it something wrong here.
    Because of this we cannot get correct data directly from OTI table and have to use OSI(which is hampering performance)
    This is the query that we are using:
    select distinct oti.orc_key, a.usr_login, (select min(inner.oti_create) from oti inner where inner.orc_key = oti.orc_key)
    as oti_create from oti inner join oiu on oti.orc_key = oiu.orc_key inner join usr a on oiu.usr_key = a.usr_key
    inner join osi on oti.sch_key = osi.sch_key where sch_status in ('P', 'R') and obj_key in
    (select obj_key from obj where obj_name in ('DB App', 'K2 App', 'LDAP App', 'SPML App', 'Manual App'))
    and (osi.osi_assign_type = 'Group' and osi.osi_assigned_to_ugp_key in
    (select ugp_key from usg where usr_key = " + Long.toString(Oim.getCurrentUser().getKey()) + "))
    UNION ALL
    select distinct oti.orc_key, a.usr_login, (select min(inner.oti_create) from oti inner where inner.orc_key = oti.orc_key)
    as oti_create from oti inner join oiu on oti.orc_key = oiu.orc_key inner join usr a on oiu.usr_key = a.usr_key
    inner join osi on oti.sch_key = osi.sch_key where sch_status in ('P', 'R') and obj_key in
    (select obj_key from obj where obj_name in ('DB App', 'K2 App', 'LDAP App', 'SPML App', 'Manual App'))
    and (osi.osi_assign_type in ('User', 'Default task assignment') and
    osi.osi_assigned_to_usr_key = " + Long.toString(Oim.getCurrentUser().getKey()) + ")
    order by oti_create
    Regards,
    Deepika

  • How to identify the data mismatch between inventory cube and tables?

    Hi experts,
    i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatch

    Hi
    U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
    Thanx & Regards,
    RaviChandra

  • Delta load from ODS to cube failed - Data mismatch

    Hi all
    We have a scenario where the data flow is like
    R/3 table - >dataSrc -- > pSA - >InfoSrc -> ODS ->Cube.
    The cube has an additional field called "monthly version"
    and since it is a history cube , it is supposed to hold data
    snapshots of the all data in current cube for each month .
    We are facing the problem that the Data for the current month
    is there in the history ODS but not in the cube . In the ODS ->Manage->requests
    tab i can see only 1 red request that too with 0 recs.
    However ,In the cube -> manage-> reconstruction tab , i can see 2 Red request
    with the current month date. Could these red requests be the reason for
    data mismatch in ODS and cube .
    Please guide as to how can i solve this problem .
    thanks all
    annie

    Hi
    Thanks for the reply.
    Load to Cube is Delta and goes daily .
    Load to ODS is a full on daily basis .
    Can you help me how to sort this issue . I have to work directly in production env . so has to be safe and full proof .
    Thanks
    annie

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • Copy data from 4 internal tables

    Hi Experts,
    I need to split a database field into 2 separate fields on the frontend and display it in an alv report.
    For this i used 4 internal tables. first one for regular fields and rest 3 of them for the split fields.
    Now the problem is, if i use 1 loop and insert workarea in it, the second record overwrites the first and if i use 3 internal tables, the looping is improper and it gives me duplicate entries in the report.
    delete adjacent duplicate is also not working.
    i am pasting the code. kindly help.
    thx
    *& Report  YVENDRALVRPTFINAL
    REPORT  YVENDRALVRPTFINAL.
      TYPE-POOLS: SLIS.
        DATA: program LIKE sy-repid.
        DATA: fcat TYPE slis_fieldcat_alv.
        DATA: fieldcat TYPE TABLE OF slis_fieldcat_alv.
        DATA: layout TYPE slis_layout_alv.
        Tables: LFA1,
                LFB1,
                T002T.
    DATA: Begin of itab1 occurs 0,
               LIFNR LIKE LFA1-LIFNR,
               BUKRS LIKE LFB1-BUKRS,
               KTOKK LIKE LFA1-KTOKK,
               ANRED LIKE LFA1-ANRED,
               NAME1 LIKE LFA1-NAME1,
               SORTL LIKE LFA1-SORTL,
             STRAS LIKE LFA1-STRAS, " HOUSE and STREET NUMBER
             STRAS1 LIKE LFA1-STRAS," STREET NUMBER
               PSTLZ LIKE LFA1-PSTLZ,
               ORT01 LIKE LFA1-ORT01,
               REGIO LIKE LFA1-REGIO,
               LAND1 LIKE LFA1-LAND1,
               SPTXT LIKE T002T-SPTXT,
             TELF1 LIKE LFA1-TELF1,
             TELF2 LIKE LFA1-TELF2,
             TELFX LIKE LFA1-TELFX,
             TELTX LIKE LFA1-TELTX,
               SMTP_SRCH LIKE ADR6-SMTP_SRCH,
               STCEG LIKE LFA1-STCEG,
               BRSCH LIKE LFA1-BRSCH,
          END OF itab1.
    DATA: wrkarea1 LIKE LINE OF itab1.
          DATA: Begin of itab2 occurs 0,
               LIFNR LIKE LFA1-LIFNR,
               BUKRS LIKE LFB1-BUKRS,
               KTOKK LIKE LFA1-KTOKK,
               ANRED LIKE LFA1-ANRED,
               NAME1 LIKE LFA1-NAME1,
               SORTL LIKE LFA1-SORTL,
             STRAS LIKE LFA1-STRAS, " HOUSE and STREET NUMBER
             STRAS1 LIKE LFA1-STRAS," STREET NUMBER
               STR LIKE LFA1-STRAS,
               HOU LIKE LFA1-STRAS,
               PSTLZ LIKE LFA1-PSTLZ,
               ORT01 LIKE LFA1-ORT01,
               REGIO LIKE LFA1-REGIO,
               LAND1 LIKE LFA1-LAND1,
               SPTXT LIKE T002T-SPTXT,
              *TELF1 LIKE LFA1-TELF1,
             PHONE  LIKE LFA1-TELF1,
               PHONE_EXT  LIKE LFA1-TELF1,
              *TELFX LIKE LFA1-TELFX,
               FAX LIKE LFA1-TELFX,
               FAX_EXT LIKE LFA1-TELFX,
             * TELTX LIKE LFA1-TELTX,
               SMTP_SRCH LIKE ADR6-SMTP_SRCH,
               STCEG LIKE LFA1-STCEG,
               BRSCH LIKE LFA1-BRSCH,
          END OF itab2.
          DATA: wrkarea2 LIKE LINE OF itab2.
         DATA:    STREET1 TYPE STRING,
                  HOUSE1 TYPE STRING,
                  PHONE1 TYPE STRING,
                  PHONE_EXT1 TYPE STRING,
                  FAX1 TYPE STRING,
                  FAX_EXT1 TYPE STRING.
         DATA:  BEGIN OF ADRDTL,
                HOU TYPE LFA1-STRAS,
                STR TYPE LFA1-STRAS,
                PHONE TYPE LFA1-TELF1,
    *PHONE_EXT  TYPE LFA1-TELF1,
    *FAX TYPE LFA1-TELFX,
    *FAX_EXT  TYPE LFA1-TELFX,
    *END OF ADRDTL.
           DATA: BEGIN OF itabhs occurs 0,
                 HSESTREET LIKE LFA1-STRAS,
                 END OF itabhs.
           DATA: wahs LIKE LINE OF itabhs.
            DATA:  BEGIN OF itabph occurs 0,
                   PHONENPHEXT TYPE LFA1-TELF1,
                   END OF itabph.
            DATA: waph LIKE LINE OF itabhs.
            DATA:  BEGIN OF itabfx occurs 0,
                   FAXNFAXEXT TYPE LFA1-TELFX,
                   END OF itabfx.
            DATA: wafx LIKE LINE OF itabhs.
          DATA: THREE LIKE LINE OF itab2,
                 FOUR LIKE LINE OF itab2.
              DATA:  THREE TYPE  LFA1-STRAS,
              FOUR  TYPE  LFA1-STRAS.
    SELECT-OPTIONS vendor FOR LFA1-LIFNR.
    *parameter vendor type LFA1-LIFNR.
      DATA:  wa LIKE LFA1-STRAS,
             wa1 LIKE LFA1-STRAS,
             wa2 LIKE LFA1-STRAS.
      DATA: BEGIN OF itabhsnew occurs 0,
                 STR LIKE LFA1-STRAS,
                 HOU LIKE LFA1-STRAS,
           END OF itabhsnew.
      DATA: wahsnew LIKE LINE OF itabhsnew.
      DATA: BEGIN OF itabphnew occurs 0,
                 PHONE LIKE LFA1-TELF1,
                 PHONE_EXT LIKE LFA1-TELF1,
           END OF itabphnew.
      DATA: waphnew LIKE LINE OF itabphnew.
      DATA: BEGIN OF itabfxnew occurs 0,
                 FAX LIKE LFA1-TELFX,
                 FAX_EXT LIKE LFA1-TELFX,
           END OF itabfxnew.
      DATA: wafxnew LIKE LINE OF itabfxnew.
    START-OF-SELECTION.
    SELECT LFA1STRAS FROM LFA1 INTO TABLE itabhs where LFA1LIFNR IN vendor.
    LOOP at itabhs into wahs.
    SPLIT wahs AT SPACE INTO STREET1 HOUSE1 .
    MOVE STREET1 TO wahsnew-STR.
    MOVE HOUSE1 TO wahsnew-HOU.
    INSERT wahsnew INTO TABLE itabhsnew.
    ENDLOOP.
    SELECT LFA1TELF1 FROM LFA1 INTO TABLE itabph where LFA1LIFNR IN vendor.
    LOOP at itabph into waph.
    SPLIT waph AT '-' INTO PHONE1 PHONE_EXT1.
    MOVE PHONE1 TO waphnew-PHONE.
    MOVE PHONE_EXT1 TO waphnew-PHONE_EXT.
    INSERT waphnew INTO TABLE itabphnew.
    ENDLOOP.
    SELECT LFA1TELFX FROM LFA1 INTO TABLE itabfx where LFA1LIFNR IN vendor.
    LOOP at itabfx into wafx.
    SPLIT wafx AT '-' INTO FAX1 FAX_EXT1.
    MOVE FAX1 TO wafxnew-FAX.
    MOVE FAX_EXT1 TO wafxnew-FAX_EXT.
    INSERT wafxnew INTO TABLE itabfxnew.
    ENDLOOP.
    *MOVE STREET1 TO ADRDTL-STR.
    *MOVE HOUSE1 TO ADRDTL-HOU.
    *MOVE PHONE1 TO ADRDTL-PHONE.
    *MOVE PHONE_EXT1 TO ADRDTL-PHONE_EXT.
    *MOVE FAX1 TO ADRDTL-FAX.
    *MOVE FAX_EXT1 TO ADRDTL-FAX_EXT.
    SELECT LFA1LIFNR  LFB1BUKRS LFA1KTOKK LFA1ANRED LFA1~NAME1
    LFA1SORTL LFA1PSTLZ LFA1ORT01 LFA1REGIO
    LFA1~LAND1
    T002T~SPTXT
    LFA1TELF1 LFA1TELF2 LFA1TELFX LFA1TELTX
    ADR6~SMTP_SRCH
    LFA1STCEG LFA1BRSCH
    FROM LFA1
    INNER JOIN T002T ON LFA1SPRAS = T002TSPRSL AND T002T~SPRAS = 2
    INNER JOIN LFB1 ON LFA1LIFNR = LFB1LIFNR
    INNER JOIN ADR6 ON LFA1ADRNR = ADR6ADDRNUMBER
    INTO TABLE itab1 WHERE LFB1~LIFNR IN vendor.
    LOOP AT itab1 INTO wrkarea1.
    MOVE-CORRESPONDING wrkarea1 TO wrkarea2.
    *MOVE STREET1 TO wrkarea2-STR.
    *MOVE HOUSE1 TO wrkarea2-HOU.
    *MOVE PHONE1 TO wrkarea2-PHONE.
    *MOVE PHONE_EXT1 TO wrkarea2-PHONE_EXT.
    *MOVE FAX1 TO wrkarea2-FAX.
    *MOVE FAX_EXT1 TO wrkarea2-FAX_EXT.
    *MOVE ADRDTL-STR TO wrkarea2-STR.
    *MOVE ADRDTL-HOU TO wrkarea2-HOU.
    *MOVE ADRDTL-PHONE TO wrkarea2-PHONE.
    *MOVE ADRDTL-PHONE_EXT TO wrkarea2-PHONE_EXT.
    *MOVE ADRDTL-FAX TO wrkarea2-FAX.
    *MOVE ADRDTL-FAX_EXT TO wrkarea2-FAX_EXT.
    *MOVE-CORRESPONDING wahs TO wrkarea2.
    *MOVE-CORRESPONDING waph TO wrkarea2.
    *MOVE-CORRESPONDING wafx TO wrkarea2.
    *MOVE-CORRESPONDING wahsnew TO wrkarea2.
    *MOVE-CORRESPONDING waphnew TO wrkarea2.
    *MOVE-CORRESPONDING wafxnew TO wrkarea2.
    *MOVE itabhsnew TO itab2.
    INSERT wrkarea2 INTO TABLE itab2.
    ENDLOOP.
    LOOP AT itabhsnew INTO wahsnew.
    MOVE-CORRESPONDING wahsnew TO wrkarea2.
    INSERT wrkarea2 INTO TABLE itab2.
    ENDLOOP.
    LOOP AT itabphnew into waphnew.
    MOVE-CORRESPONDING waphnew TO wrkarea2.
    INSERT wrkarea2 INTO TABLE itab2.
    ENDLOOP.
    LOOP AT itabfxnew into wafxnew.
    MOVE-CORRESPONDING wafxnew TO wrkarea2.
    INSERT wrkarea2 INTO TABLE itab2.
    ENDLOOP.
    *loop at itabhsnew.
    *itab2-HOU = itabhsnew-HOU.
    *itab2-str = itabhsnew-str.
    *append itab2.
    *endloop.
    *LOOP AT itabhsnew.
    *itab2-HOU = itabhsnew-HOU.
    *itab2-str = itabhsnew-str.
    *append itab2.
    *ENDLOOP.
    *delete adjacent duplicates FROM itab2 COMPARING HOU STR PHONE PHONE_EXT FAX FAX_EXT.
    *LOOP AT itab2.
    *INSERT wrkarea2 INTO TABLE itab2.
    *endloop.
    *WRITE: THREE.
    *new-line.
    *WRITE: four.
    *new-line.
    *WRITE: five.
    program = SY-REPID.
    *PERFORM SELECT.
    *loop at itab2.
    *write:/    itab2-LIFNR,
              itab2-BUKRS,
              itab2-KTOKK,
              itab2-ANRED,
              itab2-NAME1,
              itab2-SORTL,
              itab2-HOU,
              itab2-STR,
              itab2-PSTLZ,
              itab2-ORT01,
              itab2-REGIO,
              itab2-LAND1,
              itab2-SPTXT,
              itab2-TELF1,
    *itab2-PHONE,
    *itab2-PHONE_EXT,
              itab2-TELF2,
              itab2-TELFX,
    *itab2-FAX,
    *itab2-FAX_EXT,
              itab2-TELTX,
              itab2-SMTP_SRCH,
              itab2-STCEG,
              itab2-BRSCH.
    *endloop.
    PERFORM CATALOG.
    PERFORM LAYOUTMAIN.
    PERFORM DISPLAY.
    LFA1STRAS LFA1STRAS
    *FORM SELECT.
    SELECT LFA1LIFNR  LFB1BUKRS LFA1KTOKK LFA1ANRED LFA1~NAME1
    *LFA1SORTL LFA1PSTLZ LFA1ORT01 LFA1REGIO
    *LFA1LAND1 T002TSPTXT LFA1TELF1 LFA1TELF2 LFA1TELFX LFA1TELTX
    *ADR6SMTP_SRCH LFA1STCEG LFA1~BRSCH
    *FROM LFA1
    *INNER JOIN T002T ON LFA1SPRAS = T002TSPRSL AND T002T~SPRAS = 2
    *INNER JOIN LFB1 ON LFA1LIFNR = LFB1LIFNR
    INNER JOIN ADR6 ON LFA1ADRNR = ADR6ADDRNUMBER
    *INTO TABLE itab1 WHERE LFA1~LIFNR IN vendor.
    *LOOP AT itab2.
    *MOVE itab1 TO itab2.
    *APPEND itab2.
    *MOVE-CORRESPONDING ADRDTL TO itab2.
    *APPEND itab2.
    *MOVE-CORRESPONDING ADRDTL TO itab2.
    *APPEND itab2.
    *ENDLOOP.
    *LOOP AT itab1 INTO wrkarea1.
    *MOVE-CORRESPONDING wrkarea1 TO wrkarea2.
    *ENDLOOP.
    *MOVE-CORRESPONDING adrdtl TO wrkarea2.
    *LOOP AT itab2.
    *INSERT wrkarea2 INTO TABLE itab2.
    *ENDLOOP.
    *ENDFORM.
    FORM CATALOG.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='LIFNR'.
    fcat-seltext_m = 'Vendor Number'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFB1'.
    fcat-fieldname ='BUKRS'.
    fcat-seltext_m = 'Company Code'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='KTOKK'.
    fcat-seltext_m = 'Account Group'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='ANRED'.
    fcat-seltext_m = 'Title'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='NAME1'.
    fcat-seltext_m = 'Name'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='SORTL'.
    fcat-seltext_m = 'Search Term'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='HOU'.
    fcat-seltext_m = 'Street'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='STR'.
    fcat-seltext_m = 'House Number'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='PSTLZ'.
    fcat-seltext_m = 'Postal Code'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='ORT01'.
    fcat-seltext_m = 'City'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='REGIO'.
    fcat-seltext_m = 'Region or State'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='LAND1'.
    fcat-seltext_m = 'Country'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='SPTXT'.
    fcat-seltext_m = 'Language'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='PHONE'.
    fcat-seltext_m = 'Telephone'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='PHONE_EXT'.
    fcat-seltext_m = 'Extension'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='FAX'.
    fcat-seltext_m = 'Fax Number'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='FAX_EXT'.
    fcat-seltext_m = 'Extension'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'ADR6'.
    fcat-fieldname ='SMTP_SRCH'.
    fcat-seltext_m = 'E-Mail'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='STCEG'.
    fcat-seltext_m = 'VAT Registration Number'.
    APPEND fcat TO fieldcat.
    fcat-tabname = 'LFA1'.
    fcat-fieldname ='BRSCH'.
    fcat-seltext_m = 'Industry Type'.
    APPEND fcat TO fieldcat.
    ENDFORM.
    FORM LAYOUTMAIN.
    layout-zebra = 'X'.
    *layout-edit= 'X'.
    *layout-zebra = 'X'.
    *layout-zebra = 'X'.
    ENDFORM.
    FORM DISPLAY.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
        I_CALLBACK_PROGRAM                = 'program'
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      = 'VENDOR DETAILS'
      I_GRID_SETTINGS                   =
        IS_LAYOUT                         = layout
        IT_FIELDCAT                       = fieldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                          = 'X'
       I_SAVE                             = 'A'
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = itab2.
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

    HI,
    " By taking two internal table
    LOOP AT ITAB.
      IT_FINAL-FIELD1 = ITAB-FIELD(10).
      IT_FINAL-FIELD2 = ITAB-FIELD+10(10).
      APPEND IT_FINAL.
      CLEAR IT_FINAL.
    ENDLOOP.
    " By taking one internal table
    LOOP AT ITAB.
      ITAB-FIELD2 = ITAB-FIELD1(10).
      ITAB-FIELD3 = ITAB-FIELD1+10(10).
      MODIFY ITAB INDEX SY_TABIX.
    ENDLOOP.

  • How to download data from an internal table to a text

    Hi All,
    I want to download data  from an internal table to a text file.
    The fields should be pipe(|) separated. I have tried GUI_DOWNLOAD but it is not taking the field separator.
    The sample of the desired data that i require should be this way:-
    13456TR|M|COUP|MATERIAL|KGS
    Thanks in advance.
    Regards
    Satish.

    Hi,
    Try this..
    REPORT  zc1download message-id zc1dwnmsg.
    *& Declaration Section for the Tables *
    TABLES: makt.
    *& Declaration Section for the Internal Tables
    DATA: intab TYPE TABLE OF makt,
          wa_intab LIKE LINE OF intab,
          no_of_rec TYPE i,
          count TYPE i.
    DATA: BEGIN OF f_intab,
            str(255) TYPE c,
          END OF f_intab.
    DATA: t_intab LIKE TABLE OF f_intab,
          w_intab LIKE LINE OF t_intab,
          temp(255) TYPE c.
    FIELD-SYMBOLS: <f> TYPE ANY.
    *& Selection ScreenSection for the file download
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: file TYPE rlgrap-filename MEMORY ID file,
                tab RADIOBUTTON GROUP rad1 DEFAULT 'X',
                others RADIOBUTTON GROUP rad1,
                delimit TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      IF file IS INITIAL. " check to ensure file.
        MESSAGE i001.
        EXIT.
      ENDIF.
      IF others = 'X'.    " check to ensure delimiter.
        IF delimit = ' '.
          MESSAGE i002.
          EXIT.
        ENDIF.
      ENDIF.
      SELECT * FROM makt INTO TABLE intab.
      IF tab = 'X'.       " default delimiter tab is used
          CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            filename                = file
            filetype                = 'DAT'
            mode                    = 'A'
          TABLES
            data_tab                = intab
          EXCEPTIONS
            file_open_error         = 1
            file_write_error        = 2
            invalid_filesize        = 3
            invalid_type            = 4
            no_batch                = 5
            unknown_error           = 6
            invalid_table_width     = 7
            gui_refuse_filetransfer = 8
            customer_error          = 9
            no_authority            = 10
            OTHERS                  = 11.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ELSE.             " If user defind delimiter is to be used
                  Counts the number of fields                *
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE wa_intab TO <f>.
          IF sy-subrc <> 0.
            EXIT.
          ELSE.
            count = count + 1.
          ENDIF.
        ENDDO.
        LOOP AT intab INTO wa_intab.
          DO count TIMES. " Adding the delimiter in required places
            ASSIGN COMPONENT sy-index OF STRUCTURE wa_intab TO <f>.
            CONCATENATE temp delimit <f> INTO temp.
          ENDDO.
          SHIFT temp.
          APPEND temp TO t_intab.
          CLEAR temp.
        ENDLOOP.
        CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            filename                = file
            filetype                = 'ASC'
            mode                    = 'A'
          TABLES
            data_tab                = t_intab
          EXCEPTIONS
            file_open_error         = 1
            file_write_error        = 2
            invalid_filesize        = 3
            invalid_type            = 4
            no_batch                = 5
            unknown_error           = 6
            invalid_table_width     = 7
            gui_refuse_filetransfer = 8
            customer_error          = 9
            no_authority            = 10
            OTHERS                  = 11.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
      WRITE:/ 'The Data has been tranfered to :', file.
    Cheers
    Kathir!~

  • How to check  which column data differs from master table and archive table

    Hi All,
    i have two tables, table a (a1 number,a2 varchar2,a3 varchar2) and table b (b1 number,b2 varchar2,b3 varchar2).
    how to check the data in both the table are same( including all columns).
    data in a.a1 is same as b.b1 and a.a2 is same as b.b2 like that.
    if they not same , i need to know which field differs.
    Kindly Share ur ideas.

    887268 wrote:
    thanks Sven W. ,
    above reply clearly shows what my question is.
    one column must be primary key, based on that key i need to find out which are the fields having different data..
    im strugling with this, i tried the following already, but not able to get.
    select the columns from a MINUS select the columns from b.
    -- from this i can find whether the difference occurred or not.
    but i cant able to get which are the fields value changed.Good. Then you would match the rows using the PK column and need to compare the columns
    Instead of a MINUS + UNION ALL + MINUS we can now use a FULL OUTER JOIN
    It is a little task to write out all column names, but 40 columns can be handled.
    This statement would show you both tables with matching rows on the same line.
    select a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.idNow filter/check for mismatches
    select case when a.col1 != b.col1 then 'COL1 value changed'
                    when a.col2 != b.col2 then 'COL2 value changed'
                    when a.col3 != b.col3 then 'COL3 value changed'
             end as compare_result
            ,a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.id
    /* return only non matching columns */
    where (a.col1,a.col2,a.col3) != (b.col1,b.col2,b.col3) You might need to add nvls to take care of null values. Test this!
    Another way could be to group upon the primary key
    select *
    from (
      select id 
               ,count(distinct col1)-1 cnt_col1
               ,count(distinct col2)-1 cnt_col2
               ,count(distinct col3)-1 cnt_col3
       from
         select 'A' source, a.*
         from a
         UNION ALL
         select 'B' source, b.*
         from b)
       group by ID
    /* only records with differences */
    where 1 in (cnt_col1, cnt_col2, cnt_col3)
    ;The count columns will hold either 1 or 0. If it is 1 then this column has a difference.

  • Data mismatch with ECC FBL5N report and debtor ageing report(BI side)

    Hi,
    I am facing a data mismatch problem with FBl5N(t-code for customer line item report) report in ECC side and Debtor ageing report in BI side.
    The problem is
    1) there are mismatch of data with some customer amounts in both ECC and Bi side.
    2) and also there are customer Nos with amounts in BI Debtor ageing report which are not there in the ECC FBL5N(t-code for customer line item report)
    for the second problem, I checked in the Tables BSID,BSAD in ECC side ,there also these customer Nos are not available.
    One more strange thing is that with the same selectionin report on both ECC and BI reports the data mismatch and The extra customers in Bi reports are changing everyday, i.e. we are getting new set of data mismatch and extra customers Nos in BI Side.
    If anyone  have worked on this type of issue.....kindly help...
    Thanks in advance

    Hi,
    on the one hand it may be delta mechanism of FI_*_4 extractors with the timestamps issue, that your comparision between BI and ECC is at no time up to date.
    FI Extraction
    on the other hand, it may be the delta problem between data targets in your BI-System, in case you load the FI-Data from a DSO to a cube and make a report on the cube. I have this problem at the moment and will watch this thread for more suggestions.

  • 2LIS_04_P_ARBPL - how this extractor fetching data from which all tables??

    Hi
    We have one DataSource 2LIS_04_P_ARBPL and we want to know all the tables of origin.
    Actually the problem is: this datasource is extracting a blank workcenter
    Suppose we have one Process Order 100000 for which this DS is giving us 4 records: out of this 4 records, 1 record is having blank workcenter and that's why we want to know how  this DS 2LIS_04_P_ARBPL is extracting data from the tables.
    I tried to run RSA3 in debug mode but it couldnt help me out much
    Also I ran trace ST05 and tried to find out tables involved,,but this method also failed
    I searched in help.sap.com but again I ended up with disappointment:
    http://help.sap.com/saphelp_nw04/helpdata/en/6c/61117e6c3911d3b6df0000e8359890/content.htm
    As its logistics data source so i used LBWE but at last this mehtod also not worked out.
    Request you all to help me out on this issue.
    Thanks
    Alok

    well if it was such a simple things then our extractor will give only 1 record as AFKO/AFPO table returns only 1 record for the given Process order but here we are getting 4 records.
    u can try in yr system as well. run RSA3 for same DS and pick any Process order . u will definately find more than 1 entry but AFKO/AFPO will give u one entry , especially the header table AFKO

  • Inserting to MS-Access -Data mismatch

    I am trying to insert records in to a MS-Access table. However i got a data mismatch exception and on figuring it out i realized there was a date field and i was populating it with string. hence i converted it in to a date and run the query again, however now, i am neither getting an exception nor is the table getting updated.
    The following is the code snippet where i get the data
    List <org.cuashi.wof.ws.nwis.ValueSingleVariable > ValueList = result.getTimeSeries().getValues().getValue();
    for (org.cuashi.wof.ws.nwis.ValueSingleVariable value : ValueList)
    System.out.format("%20s%10.4f",value.getDateTime().toString(),value.getValue());
    System.out.println();
    System.out.println("obtaining time series data");
    String dateTime = value.getDateTime().toString().replace('T',' ');
    //to convert string in to date
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    java.util.Date dt = sdf.parse(dateTime);
    sdf.applyPattern("yyyy-MM-dd HH:mm:ss");
    java.util.Date dt2 = sdf.parse(dateTime);
    updateTable(siteCode,variableCode,dt2,timvalue,varCode,qualifierCode,qualityControlLevel,conn,rs);
    }catch(Exception e)
    public void updateTable(String siteCode,String variableCode,java.util.Date dt2,double tmvalue,String varCode,String qualifierCode,int qualityControlLevel,Connection con,ResultSet rs)
    try{
    System.out.println("inside update");
    // con.setAutoCommit(false);
    PreparedStatement pstmt = con.prepareStatement("INSERT INTO DataValues(ValueID,DataValue,ValueAccuracy,LocalDateTime,UTCOffset,DateTimeUTC,SiteID,VariableID,OffsetValue,OffsetTypeID,CensorCode,QualifierID,MethodID,SourceID,SampleID,DerivedFromID,QualityControlLevelID) VALUES(?,?,?,?,?,?.?,?,?,?,?,?,?,?,?,?,?)");
    pstmt.setString(1,"1");
    pstmt.setDouble(2,tmvalue);
    pstmt.setInt(3,0);
    pstmt.setDate(4,(java.sql.Date) dt2);
    pstmt.setInt(5,0);
    pstmt.setString(6,"0");
    pstmt.setString(7,siteCode);
    pstmt.setString(8,varCode);
    pstmt.setInt(9,0);
    pstmt.setInt(10,0);
    pstmt.setInt(11,0);
    pstmt.setString(12,qualifierCode);
    pstmt.setInt(13,0);
    pstmt.setInt(14,1);
    pstmt.setInt(15,0);
    pstmt.setInt(16,0);
    pstmt.setInt(17,qualityControlLevel);
    System.out.println("Statement prepared");
    pstmt.execute();
    //commit the transaction
    con.commit();
    pstmt.close();
    }catch(SQLException e)
    System.out.println("The Exception is " +e);
    I found out that after field 4 the control does not go to the remaining fields at all.
    Please let me know what i am missing.

    System.out.format("%20s%10.4f",value.getDateTime().toString(),value.getValue());
    System.out.println();
    System.out.println("obtaining time series data");
    String dateTime = value.getDateTime().toString().replace('T',' ');
    //to convert string in to date
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");I'd recommend that you setLenient(false) on your sdf.
    This pattern is what you've got? Sure?
    java.util.Date dt = sdf.parse(dateTime);
    sdf.applyPattern("yyyy-MM-dd HH:mm:ss");
    java.util.Date dt2 = sdf.parse(dateTime);
    updateTable(siteCode,variableCode,dt2,timvalue,varCode,qualifierCode,qualityControlLevel,conn,rs);
    }catch(Exception e)
    {Empty catch block? Not a smart idea. Print the stack trace.
    public void updateTable(String siteCode,String variableCode,java.util.Date dt2,double tmvalue,String varCode,String qualifierCode,int qualityControlLevel,Connection con,ResultSet rs)
    try{
    System.out.println("inside update");
    // con.setAutoCommit(false);
    PreparedStatement pstmt = con.prepareStatement("INSERT INTO DataValues(ValueID,DataValue,ValueAccuracy,LocalDateTime,UTCOffset,DateTimeUTC,SiteID,VariableID,OffsetValue,OffsetTypeID,CensorCode,QualifierID,MethodID,SourceID,SampleID,DerivedFromID,QualityControlLevelID) VALUES(?,?,?,?,?,?.?,?,?,?,?,?,?,?,?,?,?)");
    pstmt.setString(1,"1");
    pstmt.setDouble(2,tmvalue);
    pstmt.setInt(3,0);
    pstmt.setDate(4,(java.sql.Date) dt2);I'd recommend this:
        pstmt.setDate(4,new java.sql.Date(dt2.getTime()));>
    pstmt.setInt(5,0);
    pstmt.setString(6,"0");
    pstmt.setString(7,siteCode);
    pstmt.setString(8,varCode);
    pstmt.setInt(9,0);
    pstmt.setInt(10,0);
    pstmt.setInt(11,0);
    pstmt.setString(12,qualifierCode);
    pstmt.setInt(13,0);
    pstmt.setInt(14,1);
    pstmt.setInt(15,0);
    pstmt.setInt(16,0);
    pstmt.setInt(17,qualityControlLevel);
    System.out.println("Statement prepared");
    pstmt.execute();
    //commit the transaction
    con.commit();
    pstmt.close();You should be closing your statement and connection in a finally block, in indivdual try/catch blocks.
    Set autoCommit back to true.
    >
    }catch(SQLException e)
    {So you don't roll back if there's an exception? Bad idea.
    System.out.println("The Exception is " +e);
    I found out that after field 4 the control does not go to the remaining fields at all.
    Please let me know what i am missing.Lots of stuff. See above.
    %

  • IDOC failed due to date mismatch

    Hi Experts,
    I am facing a problem in IDOC.
    I IDOC is sent through a one SAP to another system.
    In target system ,It was failed ,the reason being the date mismatch.
    When I check through WE02 ,it was failed becoz a TODATE and FROMDATE got wrong ,i.e it got swapped..
    So is there any way to process this error out IDOC?
    Is it possible to change the dates and then process it manually?
    Pls let me know as its on high priorty.
    Note : BOTH SAP system are Production .
    thanks in advance

    Hi Hemant,
    Please find the following steps to edit IDOC segment after you find the error using WE02.
    The example codes can be found in website
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    STEP 1 - Open document to edit
    CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
    EXPORTING
    document_number = t_docnum
    IMPORTING
    idoc_control = itab_edidc
    TABLES
    idoc_data = itab_edidd
    EXCEPTIONS
    document_foreign_lock = 1
    document_not_exist = 2
    document_not_open = 3
    status_is_unable_for_changing = 4
    OTHERS = 5.
    STEP 2 - Loop at itab_edidd and change data
    LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
    e1edka1 = itab_edidd-sdata.
    IF e1edka1-parvw = 'LF'.
    e1edka1-partn = t_eikto.
    itab_edidd-sdata = e1edka1.
    MODIFY itab_edidd.
    EXIT.
    ENDIF.
    ENDLOOP.
    STEP 3 - Change data segments
    CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
    TABLES
    idoc_changed_data_range = itab_edidd
    EXCEPTIONS
    idoc_not_open = 1
    data_record_not_exist = 2
    OTHERS = 3.
    STEP 3a - Change control record
    CALL FUNCTION 'EDI_CHANGE_CONTROL_RECORD'
    EXPORTING
    idoc_changed_control = itab_edidc
    EXCEPTIONS
    idoc_not_open = 1
    direction_change_not_allowed = 2
    OTHERS = 3.
    STEP 4 - Close Idoc
    Update IDoc status
    CLEAR t_itab_edids40.
    t_itab_edids40-docnum = t_docnum.
    t_itab_edids40-status = '51'.
    t_itab_edids40-repid = sy-repid.
    t_itab_edids40-tabnam = 'EDI_DS'.
    t_itab_edids40-mandt = sy-mandt.
    t_itab_edids40-stamqu = 'SAP'.
    t_itab_edids40-stamid = 'B1'.
    t_itab_edids40-stamno = '999'.
    t_itab_edids40-stapa1 = 'Sold to changed to '.
    t_itab_edids40-stapa2 = t_new_kunnr.
    t_itab_edids40-logdat = sy-datum.
    t_itab_edids40-logtim = sy-uzeit.
    APPEND t_itab_edids40.
    CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
    EXPORTING
    document_number = t_docnum
    do_commit = 'X'
    do_update = 'X'
    write_all_status = 'X'
    TABLES
    status_records = t_itab_edids40
    EXCEPTIONS
    idoc_not_open = 1
    db_error = 2
    OTHERS = 3.
    Other alternative is to use WE19 with reference to the error IDoc number.
    After you change the incorrect segment(s), you can post to the application. 
    As of result, new IDoc will be created.
    You can use FM EDI_DOCUMENT_DELETE to delete the incorrect/errror IDoc number.
    Also you can use WE02 to change the incorrect segment.
    Double click on the incorrect segment to get the detail info. Then go to Data Record (menu) -> Change -> make neccessary changes -> Save.
    Then you can use this program RBDINPUT to reprocess the error IDoc.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Data mismatch error

    hi team
    i have a report, where in my report, Data being mismatch with r/3 data my question is
    1.how we will do reconcellation with r/3 data
    2.what is agregated level
    3.how we will run the statistical setup in lo
    can u explain with step by step how we solve the data mismatch erors eg:company code missing
    thanks in adv
    v.muralikrishna

    Hi
    1.how we will do reconcellation with r/3 data
    Yes we can do for MM we use MB5B, MMBE,Tcodes and also some Tables this is on eexample only and also Related Functional People will need to work to reconcile the data, BW consultanta alone can't do the reconcilization
    2.what is agregated level
    Eg:
    06.2010 -- 10
    06.2010 -- 20
    Aggr Level is
    06.2010 -- 30
    3.how we will run the statistical setup in LO
    LO you can see the below steps
    Follow the steps, these steps are for SD module, but for your datasource, change the Tcode to fill setup tables and replace the SD DataSource with your datasource in the following steps.
    1. First Install the DataSOurce in RSA5 and see it in RSA6 and activate in LBWE.
    Before doing the steps from 2 to 6 lock the ECC System, i.e. no transaction will happen
    2. Then delete the Queues in LBWQ like below
         MCEX11  --> For 2LIS_11_* 
         MCEX12  --> For 2LIS_12_* 
         MCEX13  --> For 2LIS_13_* 
      Be carefull while doing all these deleations in Production Servers
    3. Then delete if any entry is there in RSA7
         Eg:
         2LIS_11_*
         2LIS_12_*
         2LIS_13_*
    At the time of setup table filling no entry will exists in LBWQ in ECC for the following Queues.
         MCEX11  --> For 2LIS_11_* 
         MCEX12  --> For 2LIS_12_* 
         MCEX13  --> For 2LIS_13_* 
    6. Check the job status in SM37 and once finish it then goto RSA3 and then execute it and check.
    7. Then Replicate the DataSource in BW.
    4. Then delete setp tables using LBWG Tocde and select Application Number. i.e. 11, 12 and 13.
    5. Then Load Setup Tables using OLI7BW, OLI8BW and OLI9BW.
       Give Name of run = XYZ, Termination Date = tomorrows date and execute it in background.
       i.e. Program-->Execute in Background.
       2LIS_11_*  Use OLI7BW Tcode to fill the Setup tables
       2LIS_12_*  Use OLI8BW Tcode to fill the Setup tables
       2LIS_13_*  Use OLI9BW Tcode to fill the Setup tables
    8. Install InfoCube/DSO from Business Content or cretae InfoCube/DSO and then Map the ECC DataSOurce Fields and BW          InfoObejcts in Transfer Rules (in BW 3.5) or in Transfermations (in BI 7.0).
    9. Map the InfoObejcts in InfoSource and InfoObejects in InfoCube/DSO in in Update Rules (in BW 3.5) or in Transfermations (in BI 7.0).
    10.Create InfoPackage and Load Init OR Full.
    Thanks
    Reddy

Maybe you are looking for

  • Isuggest that verizon becomes more like sprint...

    isnt it a new day when verizon got all its old customers for being soo good at service....  in this economy youd think big brother V would be more like Sprint...  Customer Service Dial *611 from your cell phone (800) 922-0204 Monday-Sunday 6am-11pm  

  • N8 problem

    Hello Nokia users, I had a problem with my N8, no responds but i could turn it off and on So i have with ovi-suite reinstalld the nokia software, now it works wel, but i can't turn my nokia in Dutch language. Annyone any suggestions?

  • HT204088 How do I cancel a recurring payment?

    How do I cancel my recurring payment for pandora one?

  • Variable in class path of project library

    Hi, When you create a project library in JDeveloper 10.1.3.4. then you must specify the full path to the corresponding jar file, for example c:\subversion\ebab\trunk\web\lib\...\library.jar. Is it possible to define some kind of variable %TRUNK_DIR%

  • How can I reset my security information?

    When I go to the page that I forgot the questions on it gives me an option to send an email to reset my questions but I keep trying to send an email it says email sent and I don't have ANY email in my inbox, please help I really need to reset these q