Querying Cubes on Update Rules?

I have an update rule that currently queries an ODS to get the value of a key figure and then apply that key figure to the cube the update rule is intended for.
Basically, this is the select statement I use in the routine:
select defect_quantity from table_a
  where notification = notification
    and notif_item = notif_item.
Since the ODS is a flat table, this works fine.  However, I am having trouble figuring out how to write this same query against a cube. 
Is there a way to query a cube with ABAP in an update rule?  Any info or link to how to do this would be appreciated.
Thanks,
Brent

Hi,
There is simple example:
**> You must fill G_T_RANGE table with selection conditions for
**> InfoCube data. In this case char 0VERSION = '1' and
**> 0CALYEAR = '2005'. 
  CLEAR G_S_RANGE.
  G_S_RANGE-CHANM    = '0VERSION'.
  G_S_RANGE-SIGN     = 'I'.
  G_S_RANGE-COMPOP   = 'EQ'.
  G_S_RANGE-LOW      = '1'.
  APPEND G_S_RANGE TO G_T_RANGE.
  G_S_RANGE-CHANM    = '0CALYEAR'.
  G_S_RANGE-SIGN     = 'I'.
  G_S_RANGE-COMPOP   = 'EQ'.
  G_S_RANGE-LOW      = '2005'.
  APPEND G_S_RANGE TO G_T_RANGE.
**> You should also provide information for which combination
**> of characteristic you need value
  CLEAR G_S_SFC.
  G_S_SFC-CHANM    = '0VERSION'.
  G_S_SFC-CHAALIAS = '0VERSION'.
  G_S_SFC-ORDERBY  = 0.
  INSERT G_S_SFC INTO TABLE G_TH_SFC.
  G_S_SFC-CHANM    = '0PROFIT_CTR'.
  G_S_SFC-CHAALIAS = '0PROFIT_CTR'.
  G_S_SFC-ORDERBY  = 0.
  INSERT G_S_SFC INTO TABLE G_TH_SFC.
  G_S_SFC-CHANM    = '0CALYEAR'.
  G_S_SFC-CHAALIAS = '0CALYEAR'.
  G_S_SFC-ORDERBY  = 0.
  INSERT G_S_SFC INTO TABLE G_TH_SFC.
**> And finaly which keyfigure should be aggregated
  CLEAR G_S_SFK.
  G_S_SFK-KYFNM    = '0AMOUNT'.
  G_S_SFK-KYFALIAS = '0AMOUNT'.
  G_S_SFK-AGGR     = 'SUM'.
  INSERT G_S_SFK INTO TABLE G_TH_SFK.
**> I_INFOPROV - InfoProvider name. In this case InfoCube name
**> I_TH_SFC - table with selected chars
**> I_TH_SFK - table with selected keyfs
**> I_T_RANGE - table selection conditions
**> I_PACKAGESIZE - number of records in one function call
**> You should call this function as many times as parameter
**> E_END_OF_DATA will receive 'X' which means that last data
**> packet has been read
**> G_T_DATA - table with aggregated data from InfoCube
  CALL FUNCTION 'RSDRI_INFOPROV_READ'
    EXPORTING
      I_INFOPROV                   = 'ZINFOCUBE'
      I_TH_SFC                     = G_TH_SFC
      I_TH_SFK                     = G_TH_SFK
      I_T_RANGE                    = G_T_RANGE
      I_PACKAGESIZE                = 10000
      I_ROLLUP_ONLY                = ''
    IMPORTING
      E_T_DATA                     = G_T_DATA
      E_END_OF_DATA                = END_OF_DATA
    CHANGING
      C_FIRST_CALL                 = G_FIRST_CALL
    EXCEPTIONS
      OTHERS                       = 1.
Krzys

Similar Messages

  • Cubes  without Update Rules

    Please can i know why is it that a cube can contain data but has no update rules?
    Pls give me a hint. thanks.
    regards,
    Pascal
    Message was edited by: Pascal Gabin

    Hi!
    If the infocube is transational, you should find an option when doing administration on it (right-click on rsa1, infoproviders) than enables it to be loaded like a normal cube(with update rules) or to be planned (BPS input);
    Otherwise, the cube is a normal one; and the implementation is incomplete or someone wanted to kept the cube from being further uploaded!
    Go figure!
    Also you can check in the request log, if you have a log, it was made via upadate rules. If it was made by BPS, the system will not identify Infosource or Datasource on the request!

  • Purchasing cube designing, update rule mapping for 0calday

    Hi All,
       Iam designing cube for Purchasing module in BW. Iam having doubt in mapping for 0calday in update rules, is it with document date or scheduline date. I have searched in SAP cube 0PUR_C01, it is mapped with 0SCHED_DATE( schedule line date). How the difference comes when we choose document date and schedule line date.
      FYI, we are using only schedule line data source, which is giving relevant information.
    Thanks,
    Ram

    Hi Ram,
    Please note:
    0SCHED_DATE: The schedule line date is the day on which the scheduled quantity of the material is to be delivered.
    0DOC_DATE: The date on which document has been craeted.
    Use the first one for purchasing.
    Thanks...
    Shambhu

  • Error when activating update rule after transporting to QA

    Hi,
    When we transport Info cubes and update rules along with Process chains. There are the following errors in Transport request(XXXXXXXX).
    1. Error when activating update rule 22HSFD3ZMALU46LS0R8PRF2MW
    IC=ZSDPCXY2 IS=2LIS_11_VAITM error when checking the update rules
    2. Error when activating update rule 7NT4WIDPDCN2ERFDRXIGH95PM
    IC=ZSDPCXY2 IS=2LIS_12_VCHDR error when checking the update rules
    and etc.
    Then we activated and saved all the erroneous update rules in another tranport request(YYYYYYYY) and again we transported alongwith the previous transport request(XXXXXXXX).
    The last request(YYYYYYYY)was successfully tranported and still there are same errors in TR(XXXXXXXX).
    Quick answers will be highly appreciated.
    Regards,
    Vijay

    Hi Vijay,
    Next time you would have transport only (YYYYYYYY). Transport Request (XXXXXXX) was not required to be moved.
    Normally Update Rule gets deactivated in QA when any changes to the CUbe/ODS are moved.
    Thus either you can transport transport request for only active update rule to QA or activate your UR directly in QA system in case you have authorization to do that.
    Regards,
    Rohini

  • Error while activating the update rules related to Inventory

    Hi,
    In standard Cube 0ic_c03, I am including a field 0MAT_DOC that is available in the transfer rules of 2lis_03_bx. And when I include that info object in the cube my update rules are getting deactivated.
    When I try to activate the update rules, I am getting the following error message:
    1. InfoSource 2LIS_03_BX is only set up for the initial run for non-cumulatives.
    2. IC=0IC_C03 IS=2LIS_03_BX error when checking the update rules.
    Requesting you to please guide me on how do I go about solving this issue.
    Thanks & Regards.

    Hi Ganesh,
    For implementation of inventory in the BW side, first you need to carry out following steps sequentially:
    1. MCNB: Filling set up tables for initial entry of stock balances from 2lis_03_BX
    2. OLI1BW:Filling set up tables for stock movements from 2lis_03_BF.
    3. OLIZBW:Filling set up tables for inventory revaluations from 2lis_03_UM
    Check the Business content cube 0IC_C03.
    Also check the document how to inventory management.
    For report install the business content report for the cube 0IC_C03 and check it.
    check this link for inventory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Regards
    Pcrao.

  • Transporting Update Rules

    Hi,
    I am transporting update rules for a Cube.
    The InfoSource has been generated from a DSO and created update rules to the above said Cube.
    In the transports I am getting the below error.
    Start of the after-import method RS_UPDR_AFTER_IMPORT for object type(s) UPDR (Activation Mode)     
    Update rules 46H2HBH6BRHP9R29L0XREHQP3 read in version M                                            
    Update rules 46HK9D48LBRIH89ZBZVTZERTZ read in version M                                            
    Error when activating update rule 46H2HBH6BRHP9R29L0XREHQP3                                         
    Activation of the update rules for ZICUBE01 8ZDSO1                                              
    IC=ZICUBE01  IS=8ZDSO1 error when checking the update rules                                       
    Error when activating update rule 46HK9D48LBRIH89ZBZVTZERTZ                                         
    Activation of the update rules for ZICUBE04 8ZDSO04                                               
    IC=ZICUBE04  IS=8ZDSO04 error when checking the update rules                                       
    The InfoCube(It is already there in Q apd P) has been locked in a different user transport as he added a field to it and not yet transported.
    Is this the problem?
    Thans in advance..
    Message was edited by:
            Indira SR

    Hi indira,
    make neccessary changes to the request if u created earlier i.e u can delete the original request or change the discrption to "Dont delete" and release it, if u unable to delete each task in that particular request.
    Second step is activate all the infosources and cubes and Update rules.
    Then create transport request individually i.e One for IS and One IC and another for Update rules..It would be easier to trace in case of any error.
    Release the requests 4m DEV, and important thing is import these requests in Q or P in hierachiel manner i.e
    1. IS
    2. IC
    and the Update rules request.

  • Problem with routine and it's infoobject (update rules)

    In Metadata Repository my comm structure doesn't have an infoobject that is there in Adm. Workbench. That infoobject was included in a routine in update rules for other infoobject that was removed from the cube. In Metadata Repository the routine is still present in update rules, but not in Adm. Workbench. That makes me unable to remove it from the comm structure and of course delete the object.
    How can I remove this routine? How can I make changes in Metadata?
    BD - TRules - URules - Cube
    A(numc) - A(numc) - B[routine converting A(numc to date)] - B

    Jerry,
    I had two objects:
    ZDWIP_AUX is in comm structure and datasources
    ZDWIP_REM is in Cube and Update Rules (the routine mentioned ZDWIP_AUX)
    I deleted ZDWIP_REM from the cube and from catalogue.
    Automatically removed in update rules.
    ZDWIP_AUX is unmovable from comm structure and can't be deleted because it says that is in use by a routine that I can't see.
    By recreating IObject do you mean, recreate all the scenario and remove in a different, like first the clean the recreated routine?!

  • Updates rules inactive after add KF

    Hi experts,
    we have to add aditional key figures to a infocube that is already in Q and P systems (with data).
    Now we are not being able to transport the update rules to those systems.
    Correct me if i'm wrong but if you add aditional characteristic's or key figures you don't need to delete data in the infoproviders in the ohter systems.
    we have already try to transport:
    cube and then update rules;
    all together cube and update rules
    in both cases it fails.
    thanks in advance for any sugestion

    Varadarajan, our database is in SQL the spaces requirements that you refer are the same for this scenario? The fact table for this infop is 43G in Q system and our database have enough space.
    am i making this analysis ok including the Db space?
    Praveen the update rules are not datamart's.
    The transport ends with a 8 code and for each update rule inlcude gives the message:
    Update rules 2237DNCKOFJ13SFIK2PT581MQ read in version M
    Error when activating update rule 2237DNCKOFJ13SFIK2PT581MQ
    Sadeesh, all necessary objects are in the destiny system and no modifications were made at infosource/data source level.
    Thank you all for the answers.

  • Update Rule Timestamp to mutiple data targets show serial processing

    All,
       I just noticed something very strange.  One of our ODS has two infocubes as data targets.  What I observed is that even though there are mutiple work processes spawned to process multiple data packets to the cubes the update rule is processed serially within each of them to the targets.
    In turn I am saying that within EACH data packet updates data to the different targets serially.  Is it true or is there any RSADMIN paremeter for this to make it go parallel?
    Source
    |
    |Packet 1Update Rule ACube AUpdate Rule B--Cube B
    |    
    |Packet 2Update Rule ACube AUpdate Rule B--Cube B
    |
    |Packet 3Update Rule ACube AUpdate Rule B--Cube B
    |
    |
    |....
    Thanks

    Assuming that it does it (and there is no way around)..
    It is not really that much of inefficiency. You have a fixed amount of resources (CPU, DBMS, memory) which is flexibly distributed at two levels already (work processes, data packets in parallel); introducing a third level might make it complex without bringing much benefits.

  • Cube has correct value that cucl. by update rule but Query value wrong

    I need to calculate number of working days.I created a KF and wrote a update rule to calculate number of working days. However cube has correct number of working days. In Bex, I am getting wrong answer. 
    How can I define a KF?
    currently In infoobj, Aggregation - SUM, Exc. AGGR - Firstvalue, Agg.ref.char - 0calmonth with Cumulative val
    Is that any wrong with this defn for KF?
    Do I need to create a char with this KF?
    Thanks,
    SKM

    It all depends on how data is stored in your cube.
    The Exception Aggregation( Exc. AGGR - Firstvalue, Agg.ref.char - 0calmonth ) which you have defined,would do the following :
    If you have loaded No of Working days /Month
    01.2006, 20
    02.2006,22
    03.2006,23
    And if you happen to create a report and either have a Higher Charact than 0CALMONTH or dont have 0CALMONTH, then it will display the FirstValue for the No of working days
    for eg. if i have CALYEAR /No of working days in my report, this would be the display
    2006, 20

  • How to find all the cubes update rules transfer rules ,programms ,ds,ect

    HI SDN
    Is there any tables for finding update rules,cubes,multiproviders in the system.
    can any body tells me the tables for the objects all the objects
    thx

    Hi Rubane,
    These the tables which gives relevant info,
    Here are few of those -
    Thought it may be of some use if we make a list of useful BW tables
    for instance
    v_rszglobv = variables
    /bic/f (cubename) is the fact table of a content cube
    /bic/D (cubename) P is the package dimension of a content cube
    /bic/D(cubename) U is the unit dimension of a content cube
    /bic/D(cubename) T is the time dimension of a content cube
    /bic/D(cubename) I is the userdefined dimension of a content cube
    /bic/m (object name) master data of object
    /bic/t (object name) text data of object
    /bic/H (object name) hierarchy data of object
    you can replace the BIC with BI0 for business content object and cubes
    RSDIOBJ - index of all InfoObjects
    RSSELDONE - Monitor: Selections for executed request
    RSREQDONE - Monitor: Saving of the QM entries, state of the uploads, all info about the upload via request number, field: RNR
    ODS Table names
    1.New data: /BIC/A (ODS NAME)40
    2.Active data: /BIC/A (ODS NAME)00
    3.Change log: /BIC/B ( NUMBERS)
    RSRREPDIR which is the table containing all your reports.
    RSTSODS - table that contain relation between "ODS Name" and PSA Table.
    TBDLS - Logical system customization, when you run TA: BDLS
    EDP21 - Partner Profile, when you run TA: WE20
    RSBASIDOC - Assignment of source systems to BIW systems incl. IDoc type
    In V_COMPDIR_COMPIC you can also see all your reports. The advantage is that you can see the name/text of the query, not only the technical id.
    RSDCUBEIOBJ Objects per InfoCube (where-used list)
    RSDODSOATRNAV InfoObject in ODS (navigational attributes)
    RSDODSOIOBJ InfoObject in ODS
    RSDIOBJT InfoObject texts
    RSDIOBJ Directory of all InfoObjects
    RSDKYF Key figures
    RSDBCHATR Master data attributes
    RSBBSQUERYDIR BW: Directory of the Query Sender
    RSBBSQUERY BW: Query Receiver
    RSBBSQUERYT BW: Texts for Query Receiver
    TQOP Compare Operators for View Maintenance Query
    TQOPT Compare operators for view maintenance query (texts)
    TQLOT Logical operators for view maintenance query (texts)
    ROMSDIOBJ BIW: Assignment of master data attributes to InfoObjects
    RODCHA BIW: InfoObjects / characteristics
    RODIOBJCMP BIW: InfoObjects / compounding
    RODKYF BIW: Key figures
    ROAPPLT BIW: Name of the application components
    RSUICDONE BIW: Selection table for user-selection update ICs
    RODTIM BIW: Time characteristics
    RODUNI BIW: Units
    RSIST InfoSource texts
    RSIS InfoSource (transaction data)
    RSISOSMAP Mapping Between InfoSources and OLTP Sources
    RSOSFIELDMAP Mapping Between OLTP Source Fields and InfoObjects
    RSUPDDAT Update rules key figures
    RSUPDKEY Update rule: Key per key figure
    RSUPDROUT Update rules - ABAP routine - check table
    RSRWBINDEXT Titles of binary objects (Excel workbooks) in InfoCatalog
    RSRWORKBOOK 'Where-used list' for reports in workbooks
    RSDDIME Dimensions directory
    RSDDIMEIOBJ InfoObjects per dimension (where-used list)
    RSDDIMET Dimension Texts
    RSZCOMPDIR Directory of reporting components
    RSZELTATTR Attribute selection per dimension element
    RSZELTDIR Directory of the reporting component elements
    RSZELTTXT Texts of reporting component elements
    RSZELTXREF Directory of query element references
    RSZGLOBV Global Variables in Reporting
    RSDCUBET Texts for the InfoCubes
    SMEN_BUFFC-Table for Storing Favorites.
    tables which hold the list of BEx Queries, Web Reports, and Workbooks,
    RSRREPDIR
    RSZCALC
    RSZCEL
    RSZCHANGES
    RSZCOMPDIR
    RSZCOMPIC
    RSRWORKBOOK
    RSZCOMPDIR - Directory of reporting components
    RSZELTDIR - Reporting Component Details
    RSBCT_NAVKEY_T  
    RSBCT_NAVKEYDET 
    check it in the following table
    RSDDAGGL
    RSDDAGGLF
    RSDDAGGRDIR
    RSDDAGGRDIR_M
    RSAABAP - Routines
    Thanks,
    Sudhakar.

  • Error while copying Update rules from One Cube to other

    I am getting the following error message while I was trying to copy an existing update rule from an existing InfoCube to a New InfoCube. Has anyone experienced this before? Please let me know how to resolve this.
    Formula 3ZKQ....... (Object version M) could not be read.
    The new and original cubes are custom cubes.
    Thanks!

    Hi Vinod,
    Check the update rules for the original cube. Are they active? It appears that they contain a formula...check this too.
    Hope this helps...

  • Error in Update rules while defining CKF at cube level

    Hi,
    I am willing to create a Calculated Key figure at CUBE level using formula function
    <b>Unit Cube: Item Cube / Units</b>
    <b>Definitation</b>
    Item Cube - Total Cube for line
    Units   - Actual destination quantity in alternative unit
    <b>Units</b>
    The Unit for ‘Item Cube’ is Volume unit and
    The Unit for ‘Units’ is Alternative Unit of Measure for Stock keeping Unit
    When i tried to create CKF at Cube level in update rules using formula it is displaying me an error that no unit is available in source system for the CKF Unit Cube
    How can I proceed on this
    Thanks

    Hi
    Have you transferred the global settings from the context menu of source system where all the units from the source is replicated to BW system
    Regards
    N Ganesh

  • How to access basic cube data as part of update rule routine?

    Dear colleagues:
    I am developing a routine as part of the update rule to define a characteristic value to feed an infocube. However, I need to peek up a data that is available on another infoprovider, in this case a basic cube.
    So far, I have done that by peeking up data form ODS as part of the update routine, but this is the first time I need to peek up a data from a basic cube.
    <b>Does that works the same way as ODS?</b>
    Best regards
    Waldemar

    Hi Krzysztof Konitz:
    I have posted an inquire about getting that from the PSA. By mistake I have posted that once before your reply and another after that. Then I red you reply.
    However, you replay solved the problem.
    Best regards
    Waldemar

  • Update rule from one Cube to another

    Hello Gurus!
    Here is the situation :-
    We have a IC ZCube1. This cube contains order data at schedule line level. It contians an IO  for each Hold Status (in all 10 ) . IO has value 'X' if it is active else blank. 1 order line item can have multiple holds.
    We need a aging report that should show how long particular line is on a Hold .
    Date of change of hold status is not in the cube ZCube1, it is in another ODS. We have created new cube(ZCube2) that will have Orderitem, Line#, DOC#...etc(as key field) and an IO for Hold status (here we have only one IO to hold all status code) and data of change of hold status (we will populate it from ODS ) .
    We have create start routine in ZCube2 that filter out order lines with no active Hold status. Also in this start routine we have logic to create 1 row for each hold status and store it in internal table(ITAB1). 
    Problem :
    Not able to understand how to proceed in update rule to insert multiple rows from  ITAB1 into ZCube2.
    We can  copy ITAB1  to ITAB2 and read it with Key fields. After this we have ITAB2 with multiple Hold status codes with same order item.
    Problem here is how do I assing multiple rows from ITAB2 in update rule to get multiple line item in ZCube2.
    Any thought or input to above said will be very helpful.
    Thanks,
    Murtuza.

    Hi Srinivas,
    I did some change , till earlier post I was trying to figure out how to Move source DP values to internal table.
    Eventually what I need is to Break each order line from source pacakge which contians multiple holds on same line into 1 orderline with only 1 hold status .
    e.g for a orderline if there are 3 hold Source DP will return 1 row . After I execute below code is start routine Source DP will have 3 order line everything same but hold status . I have done changes to the code in previous post and I am able to achieve what I need , but not sure this is efficient way to do ...
    Please advice .
    LOOP AT SOURCE_PACKAGE  ASSIGNING <SOURCE_FIELDS>.
    MOVE-CORRESPONDING <SOURCE_FIELDS> TO wa_ITAB_DP.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATDM EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATFH EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATCC EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATSC EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATSP EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATFA EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATFV EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
          IF <SOURCE_FIELDS>-/BIC/ZCSTATNF EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
         ENDIF.
         IF <SOURCE_FIELDS>-/BIC/ZCSTATPV EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = 'X'.
            wa_ITAB_DP-/BIC/ZCSTATIP = ''.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
        IF <SOURCE_FIELDS>-/BIC/ZCSTATIP EQ 'X'.
            wa_ITAB_DP-/BIC/ZCSTATDM = ''.
            wa_ITAB_DP-/BIC/ZCSTATFH = ''.
            wa_ITAB_DP-/BIC/ZCSTATCC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSC = ''.
            wa_ITAB_DP-/BIC/ZCSTATSP = ''.
            wa_ITAB_DP-/BIC/ZCSTATFA = ''.
            wa_ITAB_DP-/BIC/ZCSTATFV = ''.
            wa_ITAB_DP-/BIC/ZCSTATNF = ''.
            wa_ITAB_DP-/BIC/ZCSTATPV = ''.
            wa_ITAB_DP-/BIC/ZCSTATIP = 'X'.
            APPEND wa_ITAB_DP to ITAB_DP.
          ENDIF.
         CLEAR  wa_ITAB_DP.
    ENDLOOP.
    SOURCE_PACKAGE[] = ITAB_DP[] .

Maybe you are looking for

  • How to Modify multiple users at the same time.

    Hi All, I oversee a lab with 8 24" imacs running 10.4. Each machine has the same set of guest user accounts. The machines are not connected by a actual server, although I can dump files to a common folder. My problem is every time I want to make syst

  • Scheduling a report to FILE LOCATION

    Hello All, One of the user is trying to schedule a report to the below file location. However the report only keeps running without any error message  and does not complete . dbg.ads.db.com\nyc-ibops-g\xxx_xxxxxxx_xxx_xx_and_x_xx_and_xxx\GSI_GRP\xxxx

  • Mine is ipod touch 1st generation..its very hard to find the accessories, where can i find it?

    mine is ipod touch 1st generation..its very hard to find the accessories, where can i find it? and some application couldnt work, for example: nike+

  • How to disable openGL in after effects cs6?

    I have posted a previous discussion, but I don't know why, no one is answering me and it's really annoying. Please, please, please, I can't wait anymore, tell me how to disable openGL in after effects cs6 windows 7 SP1 64 bit, ati radeon 5570, 6 Go r

  • Why can't I restore my ipod touch?

    My ipod is still on the screen that shows the ipod needs to connect toitunes when i connect it to restore it won't connect to itunes