CMOD exit_rsap_saplr_001 for transactional data ABAP CODE

Hi please confirm that you want to convey that i can write the actual code in CMOD exit_rsap_saplr_001 for transactional data?? if i put 20 data sources enhancement code in there is'nt that too bulky and will cause the failing all extractor if one code is wrong if you still suggest that i can go ahead with 20 similar codes as below . please see my code below which i have used for all 20 datasources with little modification
if you can recommend some changes in code to improve performance would be great
case i_datasource.
WHEN '0CUSTOMER_ATTR'.
loop at i_t_data into l_s_BIW_KNA1_S.
l_tabix = sy-tabix.
clear i_knvp.
select single * from KNVP into i_knvp where KUNNR = l_s_BIW_KNA1_S-KUNNR.
if sy-subrc = 0.
l_s_BIW_KNA1_S-ZZPARFN = i_knvp-PARVW.
l_s_BIW_KNA1_S-ZZCUSNOBP = i_knvp-KUNN2.
modify i_t_data from l_s_BIW_KNA1_S index l_tabix.
endif.
endloop.
endcase.
Thanks
Poonam

Check this simple code for Z...include into the FM EXIT_SAPLRSAP_001 where zcomp is new field added into the datasource 8zsales2.
data : l_s_/BIC/CE8ZSALES2 like /BIC/CE8ZSALES2,
l_tabix like sy-tabix.
case i_datasource.
when '8ZSALES2'.
loop at c_T_DATA into l_s_/BIC/CE8ZSALES2.
l_tabix = sy-tabix.
fill the new field
select comp_code from /BI0/MCOMP_CODE into l_s_/BIC/CE8ZSALES2-zcomp
where comp_code = '1000'.
if sy-subrc = 0.
*l_s_ZFIAA_IS001_TXT50 = ANLA_TXT50.
modify c_t_data from l_s_/BIC/CE8ZSALES2 index l_tabix.
endif.
endselect.
endloop.
endcase.
Edited by: Rohan Kumar on Jan 16, 2008 8:21 AM

Similar Messages

  • Enhance BW Extractor - Transactional data ABAP CODING ERROR

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    actually
    coding doesnt give any error
    but in output in rsa3 i dont see any data
    it worked fine wit the same code for master data datasource in exit...2
    now same code different parameters doesnt work in exit..1 for transactional data.

  • Data Type field read only in Data source for transaction data (PC_FILE)

    Hi folks,
    I need to change Data Type for some of the fields in "Field" tab in data source for transactional data. It became read only after I activate the data source. Need help in making it editable. All fields now have Data type=CHAR.
    Thanks

    Nevermind folks. I got it.

  • ALE Configuration for Transactional Data (Purchase Order)

    Dear Experts,
    I want to configure ALE for Purchase Orders(Transactional Data).
    For that:
    I have done neccessary Condition  Records at NACE with necessary Output Type Configuration. Configured Port and Partner Profile with Message Types: ORDERS and ORDECHG (as Outbound Parametrs) .Assigned those Message Types against defined Sender and the Receiver at Customer Distribution Model . Configured Port and Partner Profile at the Receiver System also.
    Now I have 2 queries.
    i) Is this much of ALE configuration is enough for Transactional Data for communication between 2 systems or I have to do something more?
    ii) For Master Data we configure Change Pointer(we can see field assignments against Change Document Object at BD52 for Master Data Messaage Types) . Is it necessary to configure Change Pointer for Transactional Data or it will autometically handled by the system(field assignments cannot be seen against Change Document Objects at BD52 for Transactional Data Messaage Types)?
    Regards
    Arnab

    Hi kumar,
    what Alexander  said is absolutely correct .
    from your second question no master data distribution configuration is required for the transactional data distribution.  
    let us know once if you face any problems.
    ~linagnna

  • Problem in data sources for transaction data through flat file

    Hello Friends,
    While creating the data sources for transaction data through flat file, I am getting the following error "Error 'The argument '1519,05' cannot be interpreted as anumber' while assigning character to application structure" Message no. RSDS016
    If any one come across this issue, please provide me the solution.
    Thanks in Advance.
    Regards
    Ravi

    Hallo,
    just for information.
    I had the same problem.
    Have changed the field type from CURR to DEC and have set external instead of internal.
    Then, the import with flatfile worked fine.
    Thank you.

  • Issue with CIF Integration model for Transaction data

    Hi Gurus,
    I have activated the Integration model for PO & PReqs by location wise and i assumed that transaction data is online and we need not to re activate for any new Product / location combination got created in system.
    But the issue is that every time a new material got created, we need to deactivate and activate the integration model for Transaction data to get the transaction data into APO.
    Is there any way to avoid the following exercise as it is taking very long time for activation.
    Please guide me as it is very urgent.
    Thanks for help in advance...
    Thanks & Regards,
    Jagadeesh

    I assume 1,60,000 location products are spread around different locations.
    Rather than one Integration Model it is better to have multiple Integration Models.
    For example: one for each region like North America, one for Europe, one for Asia (assuming you have countries spread across the world). Or create Intgeration Model by Country.
    This way you reduce the number of Products in an Integration Model.
    It is very important to have manageable set of Integration Models. Let me give an example - you have some problem hence the single Material Master Integration Model is down (inactive). At that time any PP or PDS transfer will not have the Header or COmponent products transferred to APO (in effect PDS/PPM cannot be transferred). If you are creating or converting Planned Orders they will not transfer to R/3 (as Header product is not part of active intgeration model).
    But if you have country spefic or region specific Integration Model - only that country is affected not all.
    In fact you should have other integration model (like PDS/PPM, Procurement Relationships, Planned / Production Orders, Sales Orders, Stocks) in same manner i.e. either Country(s) specific or group of countries by region. The risk of models getting inactive or taking too much time to activate after regeneration easily outweighs management of more number of Integration Models (compared to one Global integration model per object).
    Hope this gives you some direction.
    Somnath

  • Idoc Serialization for Transactional data

    Hi All,
    1. Please let me know if you have done IDOC serialization for Transactional data.
    If so please let me know the steps.
    2. How do we use serialiazation using object types. If you have done this please let me know the steps for this too.
    Thanks for your help.
    Srikanth.

    Hi Srikanth,
    Follow the steps below to set up serialization using object types:
    1.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Determine Supported Business Objects (transaction BD105). Enter all the business object types relevant for serialization.
    2.       In the SAP menu choose ® IDoc Interface/ALE ® Development ® BAPI ® Serialization ® Serialization Using Business Objects ® Assign Message Type to a Business Object (transaction BD104). Assign the message types relevant for serialization to each business object type.
    3.       In Customizing (IMG) activate the serialized distribution in both the sending and receiving systems:
    ALE Implementation Guide (transaction SALE)
    Modeling and Implementing Business Processes
    Master Data Distribution
    Serialization for Sending and Receiving Data 
    Serialization Using Business Objects
    Execute activities Activate Outbound Business Objects and Activate Inbound Business Objects. Set the Serialization flag for the required business object types.
    If you want to do serialization by message type then
    1. go to BD44 and create a serialization group and assign messages and the serial number to each.
    2. Run the program RBDSER01.
    Award points if useful,
    Aleem.

  • Modeling "Status" for transaction data in a cube

    Hello all,
    I saw this thread created sometime ago about putting status in a cube.
    How to model Status filed
    I would like model a status of transactions within a cube. One suggestion was to just create a CHAR characteristic of a certain length (I assume this would be in the E and F fact tables and not with the master data at all).
    To me, this would mean that if the status changed, a whole new row would have to be loaded - and the old row removed? Would one use some kind of selective deletinon?
    It seems that a navigational attribute would be best placed in the E/F fact tables.
    Best Regards,
    Casey

    @kkc - thanks for the reply but I already knew about the E and F fact tables - I just did not know that compression takes care of the status field
    @Wond - Above you said "Yes it will be a whole new record will be sitting in the cube, once the status changes the cube will have three records when doing compression the two will wipe out itself and you will remain with one."
    So how does it decide which record stays around? By the loading date? Also, is there any good documentation out there that would say this?
    Thanks a lot!
    PS - I also found this thread but it speaks of the ODS and using 0RECODMODE (it does not say how to set this with the new  BI 7.0 and the "Transformations"/"Data Transfer Processes")
    Modeling "Status" for transaction data in a cube
    Edited by: Casey Harris on Feb 29, 2008 11:28 AM

  • Create new survey data for opportunity using abap code

    Hello to all,
    I have one requirement.
    create survey data for given opportunity ID using abap code. or copy survey data from one opportunity to another opportunity using abap.
    any ideas..
    many thanks
    Babu

    Hello Babu,
    You can do this through the CRM_ORDER_MAINTAIN FM, this is the generic FM to edit any transaction in CRM.
    The FM contains an internal table IT_SURVEY that must be filled. Actually, this table will only contain a reference to the (completed) survey, it doesn't store the data of the survey itself.
    For some example coding, take a look at the SrvTSurvey.do controller. If you want to see what data is stored in the IT_SURVEY table, create a transaction and attach a completed survey to it (you can easily do it in the standard views of the webclient) and take a look at the survey structure in the CRM_ORDER_READ FM/Report.
    Let me know if you need more guidance,
    Reward points if useful,
    Regards,
    Joost

  • Function Module Call Via CMOD Logic for Master Data Enhancement

    Hi Friends Please help me to resolve this, would really be very kind of all of you.
    Requirement. I want to Enhance the field ZFACTREG from VIBDBE table in my datasource 0busentity_attr extract structure l_s_REIS_BUSENTITY_ATTR, I want to create the logic in CMOD exit_saplrsap_002 to call my function module for enhancement of master data. Please help me Step by Step
    Thanks
    Poonam Roy
    <b>Step #1</b>
    I put this code which gives me error in CMOD like this
    ERROR : Das formale Argument 'OTHERS' muss am Schluss der Ausnahmeliste stehen.
    ABAP Code#1 IN exit_saplrsap_002     
    DATA: l_d_fmname(30) TYPE c.
    CONCATENATE 'Z_DS_' i_datasource(25) INTO l_d_fmname.
    TRY.
    CALL FUNCTION l_d_fmname
    EXPORTING
    I_DATASOURCE = I_DATASOURCE
    I_UPDMODE = I_UPDMODE
    TABLES
    I_T_SELECT = I_T_SELECT
    I_T_FIELDS = I_T_FIELDS
    I_T_DATA = I_T_DATA
    C_T_MESSAGES = C_T_MESSAGES
    EXCEPTIONS
    RSAP_CUSTOMER_EXIT_ERROR = 1
    OTHERS = 2
    IF FOUND.
    IF SY-SUBRC <> 0.
    RASIE RSAP_CUSTOMER_EXIT_ERROR.
    END IF
    CATCH CX_SY_DYN_CALL_ILLEGAL_FUNC.
    ENDTRY.
    <b>Step#2</b>
    I simple created the Function module Z_DS_BUSINESS
    and put the code in source code  which gives me error . what should i put in other tabs like"Import", Export", Tables" i kept blank
    ABAP CODE give me error : The Dictionary structure or table "FIELD-SYMBOLS" is either not active. i have to remove include in the FM. WHY SO??
    FUNCTION Z_DS_BUSINENSS
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_DATASOURCE) TYPE  RSAOT_OLTPSOURCE
    *"             VALUE(I_CHABASNM) TYPE  SBIWA_S_INTERFACE-CHABASNM
    *"             VALUE(I_UPDMODE) TYPE  SBIWA_S_INTERFACE-UPDMODE
    *"       TABLES
    *"              I_T_SELECT TYPE  SBIWA_T_SELECT
    *"              I_T_FIELDS TYPE  SBIWA_T_FIELDS
    *"              I_T_DATA
    *"              C_T_MESSAGES STRUCTURE  BALMI OPTIONAL
    *"       EXCEPTIONS
    *"              RSAP_CUSTOMER_EXIT_ERROR
    INCLUDE ZXRSAU02.
      WRITE: / 'INSIDE THE Z_DS_MEASUREMENTS PROGRAM'.
    TABLES: REIS_BUSENTITY_ATTR,
            VIBDBE,
    field-symbols:.<fs_REIS_BUSENTITY_ATTR> like REIS_BUSENTITY_ATTR.
    DATA: BEGIN OF i_c_t_data OCCURS 0.
              include structure REIS_BUSENTITY_ATTR.
    DATA END OF i_c_t_data.
    DATA: i_c_t_data_copy like i_c_t_data OCCURS 0 WITH HEADER LINE,
          begin of i_vibdbe occurs 0,
          INTRENO like vibdbe-INTRENO,
          ZFACTREG like vibdbe-ZFACTREG,
                  end of i_vibdbe.
    i_c_t_data_copy[] = i_c_t_data[] = c_t_data[].
    sort i_c_t_data_copy by vibdbe.
    Select  INTRENO
            into table i_VIBDBE from VIBDBE
            for all entries in i_c_t_data_copy
            where  INTRENO = i_c_t_data_copy- INTRENO.
    if sy-subrc = 0.
      sort i_VIBDBE by INTRENO.
      loop at i_c_t_data assigning <fs_REIS_BUSENTITY_ATTR>.
        clear: i_VIBDBE.
        read table i_VIBDBE with key INTRENO = <fs_REIS_BUSENTITY_ATTR>-INTRENO
        BINARY SEARCH
        transporting ZFACTREG .
        if sy-subrc = 0.
          <fs_REIS_BUSENTITY_ATTR>-ZZFACTORY = i_vibebe-ZFACTREG
        endif.
    null

    (I leave office until Monday morning, Europe time)
    in include from customer-exit ZXRSAU01, etc.
    CASE I_DATASOURCE.
    WHEN '0CUSTOMER_ATTR'.
       PERFORM 0customer_attr changing i_t_data...
    ENDCASE.
    In each perform, doing what you wrote ; select (needed fields) from complementary-database-table into an internal table with a for all entries. sort the table. LOOP and MODIFY on i_t_data.
    In some case i had to insert lines of i_t_data to an internal table of DS_structure when entering subroutine and back at exit. (on 4.6C PI 2003 if i remember)
    Some optimization done when reading small tables (T001 society and the same, these are filled once and not for each packet of data.
    Your idea of creating different FM is of interest, but the cost of passing i_t_data between two programs (two function groups) may overcome the gain of performance. In a job only one DataSource is processed so only one routine is actually called.
    Regards.

  • How to call Attributes in the routine for transaction data

    Dear Pros,
    I have a condition that i have an additional Info object to be filled with a value such as
    i have plant and material in the transaction data,
    Distributional channal --> attribute of 0plant
    Zmatentry --> attribute of 0material.
    I WANT TO CALL DIST CHANNAL & ZMATENTRY IN RSDS TRANSFORMATION AND USE TO FILL ZCOMPINCH
    code is similar to
    if SOURCE_FIELDS-DISTR_CHAN eq '01'.
    Zcompinch = fill with comp code
      RESULT = SOURCE_FIELDS-COMP_CODE.
    or Zcompinch = fill with Zmatentry from attribute of 0material
      ELSE.
      RESULT = SOURCE_FIELDS-/BIC/ZMATENTRY.
      ENDIF.
    THANK YOU

    Hi,
    DATA: BEGIN OF t_batch OCCURS 0,
         material LIKE /BIC/AZIC_O0600-material,
         plant LIKE /BIC/AZIC_O0600-plant,
         stor_loc LIKE /BIC/AZIC_O0600-stor_loc,
         batch LIKE /BIC/AZIC_O0600-batch.
          END OF t_batch.
    SELECT MATERIAL PLANT STOR_LOC BATCH FROM /BIC/AZIC_O0600 INTO t_batch for all entries in DATA_PACKAGE
    WHERE
    material = DATA_PACKAGE-material  and
    plant    = DATA_PACKAGE-PLANT     and
    stor_loc = DATA_PACKAGE-stor_loc.
    ABORT = 0.
    "This code is at field level routine.
    SORT t_batch by material batch stor_loc.
    Read table t_btach with key material = COMM_STRUCTURE-material
                                plant    = COMM_STRUCTURE-plant   
                                stor_loc = COMM_STRUCTURE-stor_loc.
    "In the above code I'm reading the data from t_btach table, t_btach is already filled based on DataPackage at Start Routine level.
    "In my case it is working fine, so try it take ABAPer help.
    If sy-subrc = 0.
      RESULT = t_batch-PLANT.
    else.
      RESULT = ''.
    endif.
    ENDIF.
    ENDLOOP.
    Thanks
    Reddy

  • How to call a transaction from ABAP code

    Hi everybody,
    How do I run a transaction from my ABAP code?
    For example, through my ABAP code, I want to call the ME24 transaction (Maintain Purchase Order).
    Thanks for the help,
    Roy

    CALL TRANSACTION
    Syntax
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    Extras:
    1. ... AND SKIP FIRST SCREEN
    2. ... USING bdc_tab [bdc_options]
    Effect
    The statement CALL TRANSACTION calls the transaction whose transaction code is contained in data object ta. The data object ta must be of character type and must contain the transaction code in uppercase letters. If the transaction specified in ta cannot be found, an untreatable exception is triggered. The additions suppress the display of the initial screen and allow you to execute the transaction using a batch input session.
    At CALL TRANSACTION the calling program and its data is kept, and after exiting the called transaction, processing is resumed in the calling program after the call.
    When the transaction is called, the ABAP program linked with the transaction code is loaded in a new internal session. The session of the calling program is kept. The called program runs in an SAP LUW of its own.
    If the called transaction is a dialog transaction, after loading the ABAP program the event LOAD-OF-PROGRAM is triggered and the dynpro defined as initial dynpro of the transaction is called. The initial dynpro is the first dynpro of a dynpro sequence. The transaction is finished when the dynpro sequence is ended by encountering the next dynpro with dynpro number 0 or when the program is exited with the LEAVE PROGRAM statement.
    If the called transaction is an OO transaction (as of release 6.10), when loading all programs except class pools the event LOAD-OF-PROGRAM is triggered and then the method linked with the transaction code is called. If the method is an instance method, implicitly an object of the corresponding class is generated and referenced by the runtime environment. The transaction is finished when the method is finished or when the program is exited using the LEAVE PROGRAM statement.
    After the end of the transaction call, program execution of the calling program resumes after the CALL TRANSACTION statement.
    Note
    At the statement CALL TRANSACTION, the authorization of the current user to execute the called transaction is not checked automatically. If the calling program does not execute a check, the called program must check the authorization. To do this, the called program must call function module AUTHORITY_CHECK_TCODE.
    Addition 1
    ... AND SKIP FIRST SCREEN
    Effect
    This addition suppresses the display of a screen of the initial dynpro of a called dialog transaction. The addition AND SKIP FIRST SCREEN suppresses the first screen under these prerequisites:
    For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number.
    All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters
    If these prerequisites are met, that screen of the dynpro is displayed that is specified in the Screen Painter as the next dynpro of the initial dynpro.
    Example
    If the static next dynpro of the initial dynpro of the called dialog transaction FLIGHT_TA is not the initial dynpro itself, its screen is suppressed, because its input fields are filled using the SPA/GPA parameters CAR and CON.
    DATA: carrid TYPE spfli-carrid,
          connid TYPE spfli-connid.
    SET PARAMETER ID: 'CAR' FIELD carrid,
                      'CON' FIELD connid.
    CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.
    Addition 2
    ... USING bdc_tab [bdc_options]
    Effect
    Use this addition to pass an internal table bdc_tab of row type BDCDATA from the ABAP Dictionary to a dialog transaction. The additions bdc_options control the batch input processing. When a transaction with addition USING is called, the system field sy-binpt is set to value "X" in the called program - while this transaction is running, no other transaction can be called with this addition.
    The internal table bdc_tab is the program-internal representation of a batch input session and must be filled accordingly. The structure BDCDATA has the components shown in the table below.
    Component Description
    PROGRAM Name of the program of the called transaction
    DYNPRO Number of the dynpro to be processed
    DYNBEGIN Flag for the beginning of a new dynpro (possible values are "X" and " ")
    FNAM Name of a dynpro field to be filled or batch input control statement, for example, to position the cursor
    FVAL Value to be passed to the dynpro field or to the control statement
    Using the internal table bdc_tab, you can provide any number of screens of the called transaction with input and user actions.
    System Fields
    sy-subrc Description
    0 The batch input processing of the called transaction was successful.
    < 1000 Error in the called transaction. If within the transaction a message was sent, you can receive it using the addition MESSAGES.
    1001 Error in batch input processing.
    Note
    Outside of ABAP Objects you can specify the additions AND SKIP FIRST SCREEN and USING together. However, this does not make sense, because the addition AND SKIP FIRST SCREEN is desigend only to fill the mandatory input fields using SPA/GPA parameters, while the batch input table specified with USING controls the entire transaction flow including the display of the screens.
    Example
    Call of the Class Builder (transaction SE24) and display of class CL_SPFLI_PERSISTENT. The internal table bdcdata_tab contains the input for the batch input processing of the first dynpro (1000) of the transaction. Using structure opt, the batch input processing is set to suppress the first screen and to display the next screen in the standard size.
    DATA class_name(30) TYPE c VALUE 'CL_SPFLI_PERSISTENT'.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLSEOD'.
    bdcdata_wa-dynpro   = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'SEOCLASS-CLSNAME'.
    bdcdata_wa-fval = class_name.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = '=CIDI'.
    APPEND bdcdata_wa TO bdcdata_tab.
    opt-dismode = 'E'.
    opt-defsize = 'X'.
    CALL TRANSACTION 'SE24' USING bdcdata_tab OPTIONS FROM opt.

  • Data is not available for Transaction Data Source 3EC_CS_1A,

    0ECCS_C01 Transaction Data, Consolidation Technical Name: 0EC_CS_1
    Based on DataSource: 3EC_CS1A
    Thanks
    Bhima
    Message was edited by: Bhima Chandra Sekhar Guntla

    Hi Bhima,
    I have been working on this 3ES_CS_1A datasource for a while, still can't get it going even with the fiscal period input as instructed from  your method below, I am wondering if I have missed anything else that are required as input. After entering the specific fiscal format then the "Errors occurred during the extraction
    " error screen is prompted.
    We are implementing BW 7.0, currently on SP09 with BI 7.0 content installed, I have generated all the datasources 3EC_CS_1, 3EC_CS_1A and R via T-Code "FCIWCU00 - Generate DataSources ".
    Any help would be highly appreciated.
    Cheers.

  • RDA for Transactional Data Changes (But needs to load as Master Data to IO)

    Hi,
        I would like to use RDA to load Data changes into IO (Not for DSO).
    I tried using this, i can able to load data into PSA. But, from PSA to IO, No datapackage is getting transfered. i.e. Transfered records = 0.
    We considered several options i.e. remote cubes etc. We need to implement RDA.
    Note: I have gone through the Documentation on RDA. Which SAP mentioned, RDA won't support for Master Data if we have aggregates. We don't have any Aggregates build on my cubes.
    Thanks in advacne!!!
    Nagesh Ganisetti.

    RDA DTP is used for supplying data to the Data Store Objects but not to the Master data infoobjects...
    Please follow the links to get to know more on this..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fa50e40f501a77e10000000a422035/content.htm
    thanks
    hope this helps..

  • FOR loop in ABAP Code ?

    Hi,
    I am working on a ABAP requirement, where I need to use a dynamic variable attached to a compilable code.
    For ex:
    In Jave we use
    for( i=0; i >n; i++){
    int i=0;
    stmti+stmti = result;
    Here  i  is an dynamic variable and it will be keep on changing ATTACHED TO stmti as stmt1.stmt2....etc. whenever there is a
    change in i.
    In ABAP, I have below code to attach:- Here I need to change from 1 to 100 like below. currently I see it as re-work, if i put the code each time changing manually. so I want make it in a loop and so dynamic and hence less code. How to achieve this. Please
    help. Any ABAP string functions to be used?
    if i=1
    DATA ls_nd_tmp1 TYPE wd_this->Element_nd_tmp1.
       DATA it_nd1 TYPE TABLE OF wd_this->Element_nd_tmp1.
       DATA wa_nd1 TYPE wd_this->Element_nd_tmp1.
    if i=2
    DATA ls_nd_tmp2 TYPE wd_this->Element_nd_tmp2.
       DATA it_nd2 TYPE TABLE OF wd_this->Element_nd_tmp2.
       DATA wa_nd2 TYPE wd_this->Element_nd_tmp2.
    Thanks
    Praveen
    Edited by: Praveen kumar Kadi on Sep 23, 2010 9:59 AM

    >
    Praveen kumar Kadi wrote:
    >
    > if i=1
    > DATA ls_nd_tmp1 TYPE wd_this->Element_nd_tmp1.
    >    DATA it_nd1 TYPE TABLE OF wd_this->Element_nd_tmp1.
    >    DATA wa_nd1 TYPE wd_this->Element_nd_tmp1.
    >
    > if i=2
    > DATA ls_nd_tmp2 TYPE wd_this->Element_nd_tmp2.
    >    DATA it_nd2 TYPE TABLE OF wd_this->Element_nd_tmp2.
    >    DATA wa_nd2 TYPE wd_this->Element_nd_tmp2.
    >
    What are you going to do with this data once you've defined it?  I'd define an internal table with three fields -
    TYPES: BEGIN OF my_elements_ty,
            r_element1 TYPE REF TO data,
            r_element2 TYPE REF TO data,
            r_element3 TYPE REF TO data,
          END OF my_elements_ty.
    DATA: lt_elements TYPE STANDARD TABLE OF my_elements_ty,
          ls_element  TYPE my_elements_ty.
    Then, for each iteration, build the name of the element type in strings and use something like:
    CREATE DATA ls_element-r_element1 TYPE (the_type_in_the_string1).   
    CREATE DATA ls_element-r_element1 TYPE (the_type_in_the_string2).   
    CREATE DATA ls_element-r_element1 TYPE (the_type_in_the_string3).
    INSERT ls_element INTO TABLE lt_elements.
    But this really is advanced ABAP, and not suitable for someone who is clearly a beginner. ( Also note that these forums are not supposed to be a substitute for training - or reading an ABAP tutorial ).
    matt

Maybe you are looking for