Problem in delta crm/bw

Hello ,
Iam trying to extract delta data from crm to bw, I sucessfully initialized the delta but when i go for delta its not picking up delta records, its creating entry in bw delta queue rsa7 and bwa7 but not creating any entry in qrfc monitor and i activated all datasources in bwa5, Is any other step am i missing for delta . can anyone pl tell me the configuration steps for delta and same time pl let me know how delta data flows.
Thanks & Regards
Anil Kumar

Hi Anil,
This problem would be due to BW ADAPTER not generated in the CRM.
Hence, generate the BW Adapter in the CRM by the following steps:
1.Log on to CRM.
2. Tcode - GNRWB.
3. From the Generator Drop down select BWADP: BW Adapter
4.Select BUS_TRANS_MSG under Repository Object Name
5. Select all the Generators :
    BWA_DELTA3, BWA_FILL, BWA_QUEUE & BWA_REL_CHECK.
Now log on BW and do re-init. After this you should not have any issues with delta.
Please let me know if you require any further clarification also please updat if this has resolved your issue.
Best Regards,
Nikhil Raj

Similar Messages

  • Problem with delta load urgent!!

    Hi,
    I have a problem with delta load
    We have an IP, which loads data from R/3 system daily, its a delta load to the ODS and it updates to the cube with the selection on Company Codes and 0FISCPER
    we are in 3.5 system
    For a couple of company codes A & B, the init was done for the period 07.2010 to 12.2099 and after tht the deltas are loaded from 07.2010 till 12.2099 and there's no pblm with tht
    Now, there was some updation in R/3 system and the data was maintained for the company codes in A& B for the FISCPER 001.2010 to 006.2010, for which init wasnt maintained...
    now how shall we need to load the init in this case? dnt ask me how the postings was done in R/3, but my pblm is purely related to the loading data in BW from R/3, as its very imp for the customer to see the data from 01.2010 to 12.2010 in reports, but the data was only available in reports from 07.2010 onwards
    do i need to create another IP and maintain the init for 01.2010 to 06.2010? so tht this selection will automatically appear in the ODS delta loading infopackage
    pls throw ur inputs ASAP
    thank you

    Hi Prince,
    No need to maintain any Init for this data, It will be enough if you can load the data from jan 2010 to jun 2010 into your Info Cube.
    Follow the below steps:
    1)create full load IP for this data source.
    2) give the selection as A and B company codes and 0FISCPER as 001.2010 to 006.2010
    3) in menu bar, click on scheduler --> select full repair request
    4) In the next screen check the check box and save
    5) Now execute the IP, it will the data with out disturbing your daily delta.
    follow the same procedure to load data till to your Info Cube.
    Please revert if you have any questions
    Regards,
    Venkatesh

  • Problem in delta changes from ECC to CRM for Customers created in CRM systm

    Dear all,
    I am replicating customers between CRM and ECC and vice versa. The Delta changes are replicating from CRM to ECC system, but not happening from ECC to CRM system.
    I have created some customers in CRM system and changed some address data, those changes are perfectly updating in back end ECC system.
    But when I make some changes for the same customer from ECC system, those changes are not updating back in the CRM system.
    I could not get the problem where exactly is coming. I request your expertise to help me in resolving this issue. I believe all middleware and pide settings are correct.
    Your suggestions are highly appreciated.
    Best regards
    Raghu ram

    Hi Shanthala,
    Thank you very much for your prompt response, I have checked Customer_main adapter object in R3AC1, no filter has been found there.
    and in R3 table TBE31, I could not find entry for CRS_CUSTOMER_COLLECT_DATA for APPLK = BC-MID.
    As well in CRMRFCPAR table I could see X assigned to field named with 'In Queue Flag', but I could not find DISCARDDAT for CRM (User) settings.
    Kinldy help me to resolve the issue.
    Your suggestions will be highly appreciated.
    Best regards
    Raghu ram

  • Delta Mechanism CRM to BW - Problem with delta update

    Hi BW Gurus
    Delta update from CRM - BW 3.X is not pulling all the newly added records and records which were saved with error, warning in CRM to BW
    Can any one suggest me an approch to fix this issue
    please let me know if you need more info
    Thanks in Advance,
    Shilpi

    Hi Shilpi
    Did you manage to find a solution for this problem? If so, could you please let me know how you solved it.
    I am also having a problem with datasource 0CRM_SALES_ACT_1 - when I do a full load, it works, but when I try to do a Delta load, it does not bring across any data. In transaction RSA7 on the CRM source system, the entry looks like this:
    Green: Delta is recorded     0CRM_SALES_ACT_1     BWQCLNT320     0
    Regards
    Rayan

  • Problem with delta on Business Partner on CRM

    Hi all!!
    I´m trying to send delta from Business Partners on CRM. I have activated the change pointers for the message type BUS1006, object BUPA_BUP and for table BUT000 on transaction BD52.
    When I create a new Business Partner an entry must be inserted on BDCPV view and is not, however When I modify a Business Partner, its corresponding entry is inserted on view.
    I have seen for other message types this doesn´t occur.
    Can somebody help me, please???
    Thanks in advance and regards.

    Hi, Ralf
    Thanks ! It worked ! I had to repair the function module. I assigned the points
    Edited by: Frédéric GAUTHIER on Jan 29, 2010 11:12 AM

  • Problem in delta load with Z field

    Hello Experts,
    We have CRM 5.0 system and as per the requirement we have
    added ZFIELD to BUT000 table. This field is added to BUT000 via EEWB – Easy
    Enhancement Workbench. This field is also BW enabled.
    BW enabled means – this field is used / available to BW
    extractor for further analysis.
    We update this ZFIELD with custom program – FM BUPA_CENTRAL_CI_CHANGE.
    When full load is done – data flows to BW correctly, ZFIELD
    values are reflecting correctly. But when we are doing delta load it is not
    working.
    If we use BP t-code delta works perfectly. So issue from BW
    side is ruled out. The FM BUPA_CENTRAL_CI_CHANGE is not triggering the change
    record for this BP. But then I don’t see any other FM / BAPI to use so that
    change record is also created.
    Could you please provide any pointers or any checks to
    overcome this problem?
    Thanks in advance.

    Hi Ashtankar,
    When you are changing the attributes(say ZFIELD) and save the transaction in BP, Is this updating the CHDAT(Change date) in BUT000?
    If the change date is being applied, then Delta shouldnt be a problem - if you are using datasource 0BPARTNER_ATTR.
    In order to check if the delta is being captured or not, you could use TCODE RSA7. Also, this brings the Doubt when you say Full load works while delta doesnt, try Re-initializing the datasource from BW after Datasource replication - because there have been some changes effective in Source system which the BW system/Delta queue might take into consideration.
    Regards,
    Thejas K

  • Problems with Delta Extraction for 0CRM_OPPT_H (no data found)

    Hi,
    I've some problems with the Delta Extraction of the Infosource 0crm_oppt_h (CRM Opportunities Header). After initialization I get no delta data from the CRM system.
    What I already did:
    Activated 0crm_oppt_h Data Source (checked functionality with rsa3)
    Started Info Package (Init) on BW side (worked fine)
    Checked the status of the Data Source on the CRM system using BWA7 ("initial upload" is unmarked; "delta active" is marked and what makes me worry is that the column "Queue exists" in <i>unmarked</i>...)
    If I change anything (like Phase, Expected Sales Vol.) in the opportunity, the Delta Extraction get no changes.
    Could You help me out, please?
    Best regards,
    Markus Svec

    hi Markus,
    try to check oss note 788172
    Release Status Released for Customer
    Released on 23.03.2005
    Priority Correction with high priority
    Category Program error
    Symptom
    No data exists in delta extraction from the CRM server to the BW system for business transactions, if parallel processing is applied as per note 639072. But Data is extracted if parallel processing is switched off.ie. when BWA_NUMBER_OFF_PROCESSES is set to 1,there is data during delta. This applies to the following DataSources:
    0BBP_TD_CONTR_1
    0CRM_COMPLAINTS_I
    0CRM_LEAD_ATTR
    0CRM_LEAD_H
    0CRM_LEAD_I
    0CRM_OPPT_ATTR
    0CRM_OPPT_H
    0CRM_OPP T_I
    0CRM_QUOTATION_I
    0CRM_QUOTA_ORDER_I
    0CRM_SALES_ACT_1
    0CRM_SALES_CONTR_I
    0CRM_SALES_ORDER_I
    0CRM_SRV_CODES
    0 CRM_SRV_CONFIRM_H
    0CRM_SRV_CONFIRM_I
    0CRM_SRV_CONTRACT_H
    0CRM_SRV_PROCESS_H
    0CRM_SRV_PROCESS_I
    Other terms
    DataSources, BWA, initial extraction, delta init, parallel processing, no data in delta.
    Reason and Prerequisites
    There is an update on the generated delta table which causes data corruption in running delta initializations as the changed delta sets will be deleted with every further update on documents. An open cursor statement is there without fetch data in SMOX3_GET_DATA.
    Solution
    The problem is solved with the attached corrections.After applying the corrections a new initialization of the affected datasources is necessary.

  • 0CRM_SALES_ACT_1 - Problems on Delta with several Inits

    Hello Friends,
    I try to load Deltas for 0CRM_SALES_ACT_1 from CRM System. Due to the amount of data I had to split Init-Loads by month.
    So 1st Init Load loads 01.01.0001 - 31.12.2003
    2nd Init loads 01.01.2004 - 31.12.2004
    3rd Init loads 01.01.2005-31.01.2005
    and from 2005 on there are monthly inits.
    Now I scheduled Delta loads - but there are always 0 Data coming. In CRM System the queue is filling up - close to 1 million Data sets.
    It seems 0CRM_SALES_ACT_1 can´t work when Inits are devided into several Infopackages - but I can´t load all of them in just one InfoPackage due to system sizes.
    Do you have an idea where the problem ist?
    Your help is really appreciated!
    Angelika

    hi Angelika,
    in crm, delta activated with BWA5 ?
    also BWA7 if necessary.
    oss 692195-FAQ: Sales Analytics and CRM-BW data ...
    hope thish helps.

  • Delta  reocrds are not getting extracted . Problem with delta Quaue

    Hello friends .
    Could you please help me in this scenario ?
    It’s related to delta load from application 12 ,  - 2LIS_12_VCITM.
    Some how data is not getting transferred from LBWQ to RSA7 . There are more than 200000 entries in LBWQ , but the job is not able to transfer any entries to RSA7.
    For rest other application , data is going correctly .
    The job status showing is correct , like XXXXX LUW are transferred … there is no error in Job log , it technically correct .
    I have found one notes , in SAP service market place , but still it doesn’t match with my job status . My job status is NOTESID  ..where as per the notes it should WKEDPI*** ( something like this ) .
    I have taken below steps to solve this problem but still it doesn’t work .
    1.     Removed job from schedule ( the job for LBWQ to RSA7 ) and Executed the job manually .
    2.     Executed Program RMSBW12.
    3.     Deleted the Delta Q from RSA for application 12 and regenerated the same once again by running the infopackage , early delta initialization with out data transfer , . Once Delta Q is generated , run the job once again .
    I hope , I tried with all correct way ..but still I could not able to transfer the data .
    But with all above steps , still data is not transferred . Daily infopackage is running as per the schedule , and bringing only 0 record . If it still doesn’t work then I have to do Re-initilization .  and this is big cost for us . as we have to lock the sys for users and so on .
    Could you please give me some tips , that how can I transferr the data from LBWQ to delta Q ( RSA7) . If it works then definitely , I will save my lot of time .
    Please suggest me , how can I proceed . Please save me from this situation.
    Many many thanks in advance.
    Regards,

    Hi Akshay,
    Go to SMQ1 and check MCEX12 Queue. If your delta records are piling up in SMQ1 and not being transfered to RSA7, you need to check your back gound job control option once again.
    The back ground collector job will collect the recrords from SMQ1 and push to RSA7.
    Try to execute RMBWV312 program in SE38 and manully push all the recrods to RSA7. Once all the records are available in RSA7 you will find the MCEX12 queue will be cleared in SMQ1.
    Cheers
    Praveen

  • Problem in connecting CRM to SAP R/3  plz help

    Hi friends,
      I am ravi. I am facing problem making connection between CRM to SAP R/3.
    In my pc i installed ECC 5.0 version and CRM 4.0 in Windows 2003 OS.
    He installed CRM server in Virtual Mechine of OS, and ECC 5.0 in normal mode.
    I am starting two servers simultaniously while starting VM and i am working with both
    but i am not able to maintain connection I tried but failed. he installed login pad in
    normal OS. What  have to maintain to make connection between these.
    Please  help me.
    Thank u,
    with regards,
    Ravi

    Hi,
       I used the following Steps to do the process..
    1. Created a logical system in R/3 and CRm Server.
    2. Created a RFC destination in both server.
    3. Assigned an RFC user.
       What is the next step I need to proceed. I struk up with the following steps.
    1. Transaction EWFC0( Configure Action Box)..Created the transaction group (J1f), Created the transaction J1FM.J1F is the namespace for my ADD-ON in R/3.Selected BOR.Given logical system.It asks for the object type and method.
    My doubt is,
    What object type to be selected or Do we need to create the object type for customer specific transaction...if so where?
    After assignening what are the steps I have to do.
    Please help me.
    Thanks
    Mani

  • Data upload problem in delta update from 1st ODS to 2nd ODS

    Dear Friends,
    I am loading data from one ODS to another. The update mode was full upload. Sometime back an error occurred in activation of the first ODS. The error was: Full updates already available in ODS ,Cannot update init./delta. So currently daily records are pulled but not added i.e. transferred recs = 4000 but added recs = 0.
    When I looked for a solution in SDN I found that using program RSSM_SET_REPAIR_FULL_FLAG for 2nd ODS will reset all full uploads to Repair Full Request which I have already done for 2nd ODS. Then initialize once and pull delta.
    But problem is that I cannot set update mode to delta as I am pulling some 80,000 records in 2nd ODS from 1st ODS with around 14 lacs records daily based on some data-selection filters in infopkg. But do not see any parameters for data-selction in delta mode.
    Please suggest.
    Regards,
    Amit Srivastava

    Dear Sirs,
    Due to this error in activation in 2nd ODS daily data upload is failing in 1st ODS.
    To correct this I converted all full upload requests in 2nd ODS to Repair full requests.
    But now when I scheduled the infopkg today with full upload again data was transferred but not added.
    I know I cannot have init./ delta so what possibly can now be done in this scenario. Please help.
    Regards,
    Amit Srivastava

  • Problem in delta management for custom fields added in standard Table

    Hi developers,
    we have a problem, when a sales order is modified in a field custom, added in tables (VBAP-VBAK), the delta BW doesn't recognize the modifications. The data type of these fields haven't the flag (Change document) setted in
    view Definition.
    If this flag is setted, Can the delta BW recognize the modifications of the custom fields?
    Best regards
    Domenico

    You cannot get delta by just appending fields to extract structure & writing the user exit coding as this user exit code is run by the extractor after the X- and Y- tables are compared to create the before & after images.
    You have to do this procedure by enhancing  LIS comm structures like MCVBAP (for example).
    Please refer to OSS note 576886 for complete details.
    Kumar Gudiseva.

  • Problem in Delta Extraction

    Hi Firends,
    I created a DS out of a  Function module. The source table is a Z table with following data
    MANDT MATNR                WERKS  STLNR    ANDAT      AEDAT      AENAM        VALUE
    100   000000000000000184   1500   00001500 18.08.2006 15.08.2006 SANDEEP      0000002500
    100   000000000000000364   KOPL   00001825 19.08.2006 17.08.2006 SASI         0000003500
    100   AUDCOMAT12           1111   00001980 22.12.2006 22.12.2006 DEVELOPER    0000005600
    100   AUDCOMAT12           1500   00001500 15.08.2006 15.08.2006 DEVELOPER    0000001600
    My FM is as follows:-
    FUNCTION ZSAN_BIW_MAST1.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZSAN_MAST OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    Example: DataSource for table SFLIGHT
      TABLES: ZSAN_MAST.
    Auxiliary Selection criteria structure
      DATA: L_S_SELECT TYPE SRSC_S_SELECT.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    cursor
              S_CURSOR TYPE CURSOR.
    Select ranges
      RANGES: L_R_MATNR  FOR ZSAN_MAST-MATNR,
              L_R_AEDAT  FOR ZSAN_MAST-AEDAT.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE I_DSOURCE.
          WHEN 'ZSAN_DS_MAST'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_DSOURCE   "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
        APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF S_COUNTER_DATAPAKID = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'MATNR'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_MATNR.
            APPEND L_R_MATNR.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AEDAT'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_AEDAT.
            APPEND L_R_AEDAT.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT (S_S_IF-T_FIELDS) FROM ZSAN_MAST
                                   WHERE  AEDAT  gt L_R_AEDAT-LOW.
        ENDIF.                             "First data package ?
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE E_T_DATA
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR S_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.
    i did the initializiation with out data transfer and it pulled one record as expected.
    But when i do a delta update it dosent pull any record from the table inspite of having ---" AEDAT  gt L_R_AEDAT-LOW. " in my code.
    As per me it should have pulled 2 records from my ZTable, the 2nd and 3rd record, but it dosen't
    I made the delta on AEDAT field and the
    'Date of Last change' in Generic Delta is - '16.08.2006'.
    Can any one suggest what the problem could be ?
    Thanks
    Regards,
    Dutta

    Without knowing everything, here is an example of what I have done. This FM extracts MARC changes on specific fields.
    FUNCTION ZBSV_BW_EXTRACT_MARC_CNGS.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     REFERENCE(I_INITFLAG) LIKE  RSAAPI_IF-INITFLAG OPTIONAL
    *"     REFERENCE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     REFERENCE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR OPTIONAL
    *"  TABLES
    *"      I_T_SELECT STRUCTURE  RSSELECT OPTIONAL
    *"      I_T_FIELDS STRUCTURE  RSFIELDSEL OPTIONAL
    *"      E_T_DATA STRUCTURE  CDRED OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    FM: ZBSV_BW_EXTRACT_MARC_CNGS
    Author: Steve Wilson
    Dev. Class: ZZBW
    Date: 11/29/2005
    Description:
    This FM is used to collect relevant MARC Changes
    This BIW FM uses an SAP Standard FM to collect Change documents.
    There are only 4 fields we care about checking changes on currently.
    Mod date  Programmer    Reference   Description
    06SEP05   Steve W.      CA2K930787  Initial Development ip: 2877190
                   DATA DECLARATION                                      *
      RANGES:  R_DATUM FOR SYST-DATUM.   "Change date
      REFRESH: S_DATUM.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
       S_COUNTER_DATAPAKID LIKE SY-TABIX,
       START_IDX LIKE SY-TABIX,
       END_IDX LIKE SY-TABIX.
                  BEGIN OF PROCESSING                                    *
      IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
      ELSE.
    First data package
        IF S_COUNTER_DATAPAKID = 0.
        get changed date selection
          LOOP AT I_T_SELECT WHERE FIELDNM EQ 'UDATE'.
            R_DATUM-SIGN = I_T_SELECT-SIGN.
            R_DATUM-OPTION = I_T_SELECT-OPTION.
            R_DATUM-LOW = I_T_SELECT-LOW.
            R_DATUM-HIGH = I_T_SELECT-HIGH.
            IF R_DATUM-HIGH EQ SPACE.
             R_DATUM-HIGH = '99991231'.
            ENDIF.
            APPEND R_DATUM.
            EXIT. "Only want 1 record, ignore others
          ENDLOOP.
          CALL FUNCTION 'CHANGEDOCUMENT_READ'
            EXPORTING
              ARCHIVE_HANDLE                   = 0
            CHANGENUMBER                     = ' '
              DATE_OF_CHANGE                   = R_DATUM-LOW
              OBJECTCLASS                      = 'MATERIAL'
            OBJECTID                         = ' '
            TABLEKEY                         = ' '
              TABLENAME                        = 'MARC'
              TIME_OF_CHANGE                   = '000000'
            USERNAME                         = ' '
            LOCAL_TIME                       = ' '
              DATE_UNTIL                       = R_DATUM-HIGH
              TIME_UNTIL                       = '235959'
            TABLES
              EDITPOS                          = ITAB_CDRED
           EXCEPTIONS
             NO_POSITION_FOUND                = 1
             WRONG_ACCESS_TO_ARCHIVE          = 2
             TIME_ZONE_CONVERSION_ERROR       = 3
             OTHERS                           = 4.
          IF SY-SUBRC <> 0.
           RAISE NO_MORE_DATA.
          ELSE.
           LOOP AT ITAB_CDRED. "Keep fields
            IF ITAB_CDRED-FNAME+0(5) NE 'DISPO' AND
               ITAB_CDRED-FNAME+0(5) NE 'EISBE' AND
               ITAB_CDRED-FNAME+0(5) NE 'BSTRF' AND
               ITAB_CDRED-FNAME+0(5) NE 'SHZET'.
              DELETE ITAB_CDRED.
            ENDIF.
           ENDLOOP.
          LOOP AT ITAB_CDRED. "Keep Factories
            IF ITAB_CDRED-TABKEY+21(4) NE 'LX01' AND
              ITAB_CDRED-TABKEY+21(4) NE 'LX09' AND
              ITAB_CDRED-TABKEY+21(4) NE 'ZX01' AND
              ITAB_CDRED-TABKEY+21(4) NE 'CE01' AND
              ITAB_CDRED-TABKEY+21(4) NE 'CC01'.
             DELETE ITAB_CDRED.
            ENDIF.
          ENDLOOP.
          ENDIF.
          DESCRIBE TABLE ITAB_CDRED LINES COUNTER.
          APPEND LINES OF ITAB_CDRED FROM 1 TO I_MAXSIZE TO E_T_DATA .
          END_IDX = I_MAXSIZE.
          S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
        ELSE.
          IF END_IDX GE COUNTER.
            RAISE NO_MORE_DATA.
          ENDIF.
          START_IDX = END_IDX + 1.
          END_IDX = ( START_IDX + I_MAXSIZE ) - 1.
          APPEND LINES OF ITAB_CDRED FROM START_IDX TO END_IDX
                                                        TO E_T_DATA.
          S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
        ENDIF.
      ENDIF.

  • Problem in delta generic

    Hi developers,
    I have create a data source with delta generic but I have any problems. I have insert in delta specific field LAEDA table MCHA (Date of last change)and the radio button on Time Stamp. When I effectued the load of data the record modified are correct while the news records create in R/3 who have in the field LAEDA value(00.00.0000) are not load in delta procedure.
    Have you some information for help me?
    Thanks Domenico

    Domenico,
    You would have to create the FM. When extracting with FM, there are two objects that need to be created - a FM and a structure. The structure is nothing but the extract structure.
    Extract Structure: Include all the fields that you want to extract plus an additional field for timestamp.
    FM: Copy the FM RSAX_BIW_GET_DATA_SIMPLE and create your own FM.
    I did aime time back and don't exactly remeber if when the FM is called, is hte timestamp passed to the FM or is the timestamp restrictions applied after the FM has done its work. Should be the former logically.
    If it is the former, then in L_S_SELECT, you would get the timestamp range for which the data has to be read.
    if it is the later, then in the FM, populate the timestamp field that you added extra with the changed on timestamp. If that is blank then populate the created timestamp.
    Hope this is clear.
    Cheers
    Aneesh

  • Generic delta has problem with delts pointer time stamp

    Hi All,
    We have generic delta data source with Delte pointer as Time stamp. We have not used any safety limits. We are loading the data to DSO and using Additive delta. But the problem is when delta flag is set, there might be a case where some records still being inserted to table with lower time stamp. These records are not being fetched in next delta.
    We are planning to keep a safety upper limit of 5 min so that those records can not be missed. But we have a doubt as it is a Additive delta duplicate records will be loaded. If we make the delta to 'new status to changed records', it is going to work?? Any other things we have to check when we make this changes??
    Thanks
    Haaris

    Hi
    If you had selected additive delta then you can load data to DSo with addition mode only. No overwrite possible.
    If you want to select new or changed status then you can load to DSO with overwrite mode only.
    Additive or changed delta depends on your requirement because if you want to add data to the DSO then you can go ahead with additive otherwise you have to use DSO with overwrite mode only.
    You can either give safety upper limit or lower limit but if you give safety lower limit then you can only load data to DSO with overwrite mode because there could be some duplicate records.
    Hope it clarifies.
    Regards
    Sadeesh

Maybe you are looking for

  • Backing up my iTunes music to an external hard drive

    Hi, Rather than continue to backup my music to CD's, I'm going to purchase an external hard drive soon. What I'd like to do is use the external HD as an archive for restore purposes. My goal is to have two copies of my music, one copy on my iBook and

  • IPad 2 digital av adapter

    Does amazon or someone else  offer a good quality digital av adapter with charger that is less expensive than the one from apple? I want to be able to hook by ipad up to my large screen tv through the HDMI port to view my photos.

  • How connect iPhone to TV (Philips) via USB?

    How connect iPhone to TV (Philips) via USB, because TV does't recognize iPhone.

  • Briefing Book as target for iBot

    Hello Gurus, Is it somehow possible to deliver scheduled report/dashboard content to the briefing book? iBots by default do not have option to designate BB as a destination. May be there is some workaround using Actions or scripting? Thanks in advanc

  • Recording and Replaying Ejb Calls

    Hi All, Recently i have developed an application for jboss AS which record Ejb outgoing invocations from a J2EE Client Application in XML form using AspectJ instrumentation. In Jboss case the recorded invocations are Dynamic Proxies with their handle