Enhance the BW datasource

I will appreciate if you can help me to resolve the abap code below.
I am trying to enhance the datasource  0refx_2with field RESPONSIBLE from Table VIBDPR
Please help me asap, I am trying to enhance the BW datasource with only one field "Responsible" in 0refx_2 datasource . I am getting the error in code that case i_chabasnm is unknown and tables not defined by data statement
please help me to correct the code I am just picking the field RESPONSIBLE from Table VIBDPR
Abap Code below:
Tables: VIBDPR. "Property master data table
data: l_tabix like sy-tabix.
case i_CHABASNM.
*Enhancement of Property Master Record
WHEN '0REFX_2'.
case i_datasource.
WHEN '0REFX_2'.
data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
l_tabix = sy-tabix.
select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
if sy-subrc = 0.
l_s_BIW_VIBDPR_s-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
endif.
endloop.
endcase.
endcase
Thanks
Regards
Soniya

Tables: VIBDPR. "Property master data table
data: l_tabix like sy-tabix.
data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
case i_CHABASNM.
*Enhancement of Property Master Record
WHEN '0REFX_2'.
case i_datasource.
WHEN '0REFX_2'.
loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
l_tabix = sy-tabix.
select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
if sy-subrc = 0.
l_s_REIS_MEASUREMENT_TRAN-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
endif.
endloop.
endcase.
endcase
Check this code... small change in your code.
l_s_REIS_MEASUREMENT_TRAN-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
Regards, SB

Similar Messages

  • Enhancing the CRM datasource

    Hi experts,
    i have to enhance the CRM datasource with some additional fields and fill them.
    so far i am succesfull in doing the below.
    1. i have appended the fields to the extractstructure and also regenerated the datasource
    2. and when to the BADI for Messaging Flow for writing the code.
    the problem here is its giving a small popup screen in which it has few implementations given by SAP in which do i need to put the code (i am assuming that its the same as our old exit concept where we use the same exit for all transaction datasoruces just by using the case statement) so in that four which one should i use for putting the code and what others are used for.
    The below are the implementations available when i execute the badi for messaging flow.
    CRM_BTX_EEW_BWA
    CRM_BWA_ENHANCE_EX
    CRM_BWA_ORDER_1
    CRM_CSDR_BWA_MFLOW
    If not a big trouble i will be greatfull if somebody can give me the code sample for getting a field filled from someother table with simple logic.
    thanks and regards
    sreedhar

    Pls chk this link for Crm enhancement
    Enhance standard data sources in CRM
    BWA1 is for all standard crm datsource maintaince
    rsa2 for generic datasource
    BWA5 i think we use this Tcode after RSA5 activation additionally.
    yes(incase of delta)
    BWA7 do we have to use this tcode along with BWA1 for standard datasources also or else only for generic datasource.
    irrespective of the type of dtasource,use it if you want to load delta(you need to delta enable the datasource here)
    So we don't need to put the code as we traditionally do it for R/3 , if we just mapp the fields that would bring the data for these fields.
    as i told in CRM we willwrite code in BADI in case you have done enhancement
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
    also chk this(credit goes to the writer)
    CRm enhancement:
    1. Enhance Extract Structure with the required fields. (Create & include an append structure to the extract structure via transaction RSA6).
    2.a) Release the fields of the append for usage. ( To do this, double click on the Datasource and remove the flags in the column 'Hide Field' for all fields of Append).
    2.b) If the new fields cannot be seen in the extract structure of the transaction BWA1 then change and save the datasource, and then activate it in RSA6.
    3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
    Goto SPRO . Follow the path ->SAP Implementation guide ->Implementation with other mySAP components ->Data transfer to the Business Information Warehouse-> Settings for the application specific datasources (CRM)->Settings for BW adapter-> Badi :BW adapter :Enhancement of datasources in messaging flow.
    4. Replicate the new Datasource to BW.
    5. Expand the Communication Structure in BW.
    6. Maintain transfer Rules for the new Datasource.
    7. Activate the trasfer rules and perform the upload.
    Refer to the SAP Note 692195 for more info ......
    send ur mailid, mail u some good step by step- doc abt this.
    *pls assign points,if link is useful*
    Regards
    CSM Reddy

  • Enhancing the Classification Datasources . Tcode - CTBW

    Hi Guys,
    we need to use customer exit for populating certaing classification field values in the Classification datasources ( tcode - CTBW).
    could you please provide any document or info that whether it is possible to use the customer exit using CMOD  for deriving the value for the calssification field.
    Thanks
    lnv.

    Thank you for the document KJ, it was veryhelpful.
    I just have one more question ?? When I generate the datasource in transaction CTBW it is only generating the text datasource, for example
    1CL_AMIL010
    1CL_AMIL011
    1CL_AMIL012 and so on, but the datasource for attributes 1CL_OMAT001 is not being genereted, and i don't know why.
    I'm using 0MATERIAL_ATTR as base datasource, cat class = 01, Table MARA.
    do you know why this attr datasource 1CL_OMAT001 is not being generated ? The system ask me for a password of developer user, but i don't have one.

  • Enhancement of Standard Datasource in LBWE.

    Hi,
    I am enhancing the standard datasource for additional fields from the extract structure in LBWE. I have selected the fields in maintenance and pushed them into the selection criteria (first column), and saved the daatsource change in a request. but to my surprise the field contents in Selection criteria and pool(Second Column) column are same as of original in R/3 Development server itself.
    I have then redone the activity and then generated datasource followed by deactivation and activation of datasorce, this has collected a workbench and customization request . But when i again open the maintenance screen of the data source it is again same as of original before change.
    I don't understand why this is happen.
    can some one please guide me and guide how to enhance the datasource in the maintenance screen of the datasource.

    Hi,
    Its very simple.
    1. delete setup table and delta queue ( all the clients)
    2. If fields can be added through lbwe maintainance then add other wise create a append structure
       and exit for filling up the value for the fields..
    3. change mode in data source ---> uncheck hide buttuon --> if you want data to be extracted
        using newly added fields plz check selection checkbox..
    4.. Thats it...
    Regards,
    Viren.

  • Master Data Datasource Enhancement or Custom Datasource

    HAI
    Im implementing the BI7.0 for procurement. We need to the data for VENDOR from XK03(T-code).
    In XK03 , we have some custom defined class and its charateristic values .
    So if i want to use 0vendor then i need to enhance the standard datasource of 0VENDOR.
    So cani enhance the standard datasource or can my abaper create a custome R/3 table and load the vendor details. Then i will create the custom datasource. And load the data into BW.
    Pls tell me how to do this one.
    kumar

    hi,
    why u want take abap helper, if u want u can create ur customet table ur self go to se 11 create table and enter field what u want , and  define lenth and chat type. got o rsa5 create ur data soure and replicate in be side and upload into ur data targets
    u need more than 1 table u can create view  got to se11 create view.
    Thanking u
    suneel.

  • Enhance the Master Data field in Datasource from standard source table

    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
    Step #1
    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.
    Step#2
    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 don' t see the dot between the two lines
    OTHERS = 2
    IF FOUND.
    Regards

  • How to enhance the datasource 0SRM_TD_PO using table BBP_PDIHP

    In R3 when any PO is deleted at the header/item level the field LOEKZ is populated in tables EKKO(Header)/EKPO(item level).
    Similarly in SRM when any PO is deleted at the header/item level the field DEL_IND is populated in tables BBP_PDHGP(Header)/BBP_PDIHP(item level). In current situation we have standard datasource 0SRM_TD_PO, this has a field as ITM_DEL_IND which is coming from table BBP_PDIHP(item level) and its always blank and its not getting populated , so we are not able to eliminate the deleted PO's in BW.
    To overcome this, I have a following approach :
    =====================================
    Enhance the datasource 0SRM_TD_PO to include a "ZZDELIND" field and populate this field via CMOD from tables BBP_PDHGP(Header)/BBP_PDIHP(item level). The issue is I'm not able to determine the relation/join/data model between the datasource and the tables. The datasource 0SRM_TD_PO has a PO#(OBJECT_ID) but the tables BBP_PDHGP(Header)/BBP_PDIHP(item level) dont have a PO# instead these tables have a key as "GUID"which is HEXA decimal.
    Can someone please help me out.

    two ways:
    1. call FM bapi_po_getdetail and pass the PO number, you will get all your details
    2. pass PO number to CRMD_ORDERADM_H to get the the GUID and use this GUID on BBP_PDHGP(if version control is active then you need to consider the active version only)
    and for item guid, pass the GUID picked from CRMD_ORDERADM_H to CRMD_ORDERADM_I-HEADER, you will get all the item guids as CRMD_ORDERADM_I.
    this can be passed to BBP_PDIGP.
    there are beautiful views as well joining these tables(BBP_PDVIEW*).. which you can use as well

  • Enhancement to 0MAT_PLANT_ATTR datasource

    I need to enhance 0MAT_PLANT_ATTR datasource with additional fields STPRS, PEINH from MBEW table and WAERS (currency for STPRS) from T001 table. Table T001 and MBEW table have no fields in common. So I took an indirect approach to this.I have a program for enhancing a BW DataSource in R/3. Here is the code:
    types: begin of zty_waers,
    bukrs type bukrs,
    waers type waers,
    bwkey type bwkey,
    end of zty_waers.
    data: zit_waers type standard table of zty_waers,
    wa_waers like line of zit_waers.
    DATA : it_temp type standard table of biw_marc_s,
    wa_temp like line of it_temp,
    S_INDEX TYPE SY-TABIX,
    z_index type sy-tabix.
    DATA : BEGIN OF ITAB_MBEW OCCURS 0,
    MATNR TYPE MATNR,
    BWKEY TYPE BWKEY,
    STPRS TYPE STPRS,
    PEINH type PEINH,
    WAERS type WAERS,
    END OF ITAB_MBEW.
    data: wa_mbew like line of itab_mbew.
    DATA: BEGIN OF ITAB_CEPC OCCURS 0,
    PRCTR LIKE CEPC-PRCTR,
    KOKRS LIKE CEPC-KOKRS,
    DATBI LIKE CEPC-DATBI,
    SEGMENT LIKE CEPC-SEGMENT,
    END OF ITAB_CEPC.
    select abukrs awaers b~bwkey into table zit_waers
    from t001 as a inner join t001k as b on
    abukrs = bbukrs.
    IF NOT I_T_DATA[] IS INITIAL.
    IT_TEMP[] = I_T_DATA[].
    SELECT MATNR BWKEY STPRS PEINH FROM MBEW INTO TABLE ITAB_MBEW FOR ALL ENTRIES IN IT_TEMP
    WHERE MATNR = IT_TEMP-MATNR and BWKEY = IT_TEMP-WERKS.
    SELECT PRCTR KOKRS DATBI SEGMENT FROM CEPC INTO TABLE ITAB_CEPC FOR ALL ENTRIES IN IT_TEMP
    WHERE PRCTR = IT_TEMP-PRCTR AND KOKRS = IT_TEMP-KOKRS AND DATBI = '99991231'.
    ELSE.
    EXIT.
    ENDIF.
    loop at itab_mbew into wa_mbew.
    z_index = sy-tabix.
    read table zit_waers into wa_waers with key bwkey = wa_mbew-bwkey.
    if sy-subrc = 0.
    wa_mbew-waers = wa_waers-waers.
    endif.
    modify itab_mbew from wa_mbew transporting waers.
    endloop.
    sort itab_mbew by matnr.
    loop at i_t_data into wa_temp.
    s_index = sy-tabix.
    Read Table itab_mbew with key matnr = wa_temp-matnr
    into wa_mbew.
    if sy-subrc = 0.
    wa_temp-zzstprs = wa_mbew-stprs.
    wa_temp-zzwaers = wa_mbew-waers.
    wa_temp-zzpeinh = wa_mbew-peinh.
    endif.
    Sort itab_cepc.
    Read Table itab_CEPC
    with key PRCTR = wa_temp-PRCTR
    KOKRS = wa_temp-KOKRS
    binary search.
    if sy-subrc = 0.
    wa_temp-ZZSEGMENT = itab_CEPC-SEGMENT.
    endif.
    modify i_t_data from wa_temp.
    clear wa_temp.
    endloop.
    But when I am testing the datasource for the new fields the data is coming out wrong. For example if I run the extractor checker RSA3 for material number 10000306 and plants 1017 - 1021 i extract 2 entries and the stprs values are same for both plants
    But if I run RSA3 for 1021 alone then i get another value for 1021 plant. This means the STPRS value is getting overwritten for some reason. Debugging of this code is very difficult since there is a form embedded in this program.
    Can anyone tell me wht is wrong with the logic?
    Thanks
    Deepthi

    Hi Deepthi,
    As I see and understand your code,
    the problem area could be :
    sort itab_mbew by matnr.  ***
    Here you are sorting the table by MATNR alone, where as when actuall see that
    the remaining data  would be corresponding to the material only, so when sort
    the table alone with MATNR probably your Plant data would get jumble..
    so, try sorting the table with all the keys you are having in this table..
    and read the table with the max. comibations available or possible..
    you should be able to locate the record right get right data..
    Hope it helps..
    Cheers,
    Pattan.

  • Selection Criteria in Infopackge for enhanced  field of DATASOURCE in R/3

    Hi All,
    My client requirement is Data has to be loaded on company wise .. means the respective responsible person only carryon loading person as per his profile(Authorisation)load has to be happen...this is one requirement,
    one more is (whether in this scenario can we go for Delta)
    we enhanced the Datasource with new field in R/3 and when we are trying to make it selction condition in infopackage we are not getting filtering as per that ..
    could u or anyone who knows through a light on this..
    Thanks in advance
    BRB

    Hi BRB,
    regarding your question about selection field I gave you an answer in one of yours previous post !
    Just some considerations about your authorizations requirements.
    If I right understood, you want to build a scenario in which there are different persons that, manually, have to access on the system to perform a data loading restricted to a particular company code (so, person A could load only data from company A, person B from company B and so on...)
    I think you can obtain this (also with a dedicated infopackages per person), but if you want to manage a delta (your second question) just remember that you can perform different init (with different selections), but the delta channel will be only one and only one will be your delta request management..so, your previous profiling will no longer make sense...
    Hope it helps.
    Bye,
    Roberto

  • Enhancing the extract structure for 0FI_GL_4,  0FI_AP_4,  0FI_AR_4

    Hi all,
          Does anyone know how to enhance the extraction structures with additional fields for datasources 0FI_GL_4 (General ledger: line item), 0FI_AP_4 (vendors: line item) and 0FI_AR_4 (customers: line item). 
    Thanks,
    Sabrina.

    Hi
        Here are the two scenario's described in the note:
    1. All the fields of the customer enhancement in the customer include are contained in the read structure (see the table above).  Then no additional action is required. The fields of the customer enhancement are filled automatically by the datasource from the assigned read structure via "move-corresponding".
    Example:   The extraction structure DTFIGL_4 for datasource 0FI_GL_4 (General ledger: line item) should be enhanced by the VALUT (value date) field.
               To do this, create structure CI_BSIS in the data dictionary of the R/3 source system and include the VALUT field in it. The data dictionary in the R/3 source system shows that the VALUT field is contained in the read structure of the datasource (table BSIS). For that reason the VALUT field is automatically filled by datasource 0FI_GL_4.
    2. Fields of the customer enhancement in the customer include are not contained in the read structure (see the table above).  In this case you have to program a function module to fill the field of the customer enhancement. To do this, there is a Business Transaction Event available (open FI interface for process 00005021). Create any function module you like and use function module SAMPLE_PROCESS_00005021 as a template for the interface (input parameter, changing parameter).
               Interface of function module SAMPLE_PROCESS_00005021:
                Input-parameter I_OLTPSOURCE: datasource that is currently extracting data from the R/3 source system.
                Changing-Parameter C_STRUCTURE: Extraction structure of the data source currently extracting including fields from the assigned customer include. When you call this customer defined function module, all the fields of the extract structure are transferred filled.
               Check whether the type pool SBIWA is declared in the TOP include of the function group.
    If not, add it with the statement TYPE-POOLS: SBIWA.
               Then maintain table TPS31 with Transaction SM30. Create the following entry:
               PROCS LAND APPLK FUNCT
               00005021 <fname>
               <fname> stands for the customer defined function module.
                By doing so, the function module you defined is called for each extracted record. Note that in this case the performance of the extraction may be reduced significantly regardless of the table read and the complexity of the programmed logic.
               Example:
               You want to enhance the extraction structure DTFIAR_3 for datasource 0FI_AR_4 (customers: line item) by the ORT01 (city) field from the customer master record.
                To do this, create structure CI_BSID in data dictionary of the R/3 source system and include the ORT01 field in that. The data dictionary in the R/3 source system displays that the ORT01 field is NOT contained in the read structure of datasource 0FI_AR_4 (Table BSID).
                Therefore you have to program a function module that reads the customer master in the R/3 system (table KANN1) and fills the ORT01 field of the customer enhancement. In the changing parameter C_STRUCTURE the filled fields of the extraction structure DTFIAR_3 are available to you. With the KUNNR field of extraction structure DTFIAR_3, you can select the respective master data record from table KNA1 and determine field ORT01 of the customer enhancement.
    1. All the fields of the customer enhancement in the customer include are contained in the read structure (see the table above).
               Then no additional action is required. The fields of the customer enhancement are filled automatically by the datasource from the assigned read structure via "move-corresponding".
               Example:
               The extraction structure DTFIGL_4 for datasource 0FI_GL_4 (General ledger: line item) should be enhanced by the VALUT (value date) field.
               To do this, create structure CI_BSIS in the data dictionary of the R/3 source system and include the VALUT field in it. The data dictionary in the R/3 source system shows that the VALUT field is contained in the read structure of the datasource (table BSIS). For that reason the VALUT field is automatically filled by datasource 0FI_GL_4.
               ATTENTION:
               By using Note 430303 you can enhance DataSource 0FI_GL_4 by all fields from table BSEG (instead of BSIS); then the fields are filled automatically in the extractor.
    1. Fields of the customer enhancement in the customer include are not contained in the read structure (see the table above).
                In this case you have to program a function module to fill the field of the customer enhancement. To do this, there is a Business Transaction Event available (open FI interface for process 00005021). Create any function module you like and use function module SAMPLE_PROCESS_00005021 as a template for the interface (input parameter, changing parameter).
               Interface of function module SAMPLE_PROCESS_00005021:
                Input-parameter I_OLTPSOURCE: datasource that is currently extracting data from the R/3 source system.
                Changing-Parameter C_STRUCTURE: Extraction structure of the data source currently extracting including fields from the assigned customer include. When you call this customer defined function module, all the fields of the extract structure are transferred filled.
               Check whether the type pool SBIWA is declared in the TOP include of the function group.
    If not, add it with the statement TYPE-POOLS: SBIWA.
               Then maintain table TPS31 with Transaction SM30. Create the following entry:
               PROCS LAND APPLK FUNCT
               00005021 <fname>
               <fname> stands for the customer defined function module.
                By doing so, the function module you defined is called for each extracted record. Note that in this case the performance of the extraction may be reduced significantly regardless of the table read and the complexity of the programmed logic.
               Example:
               You want to enhance the extraction structure DTFIAR_3 for datasource 0FI_AR_4 (customers: line item) by the ORT01 (city) field from the customer master record.
                To do this, create structure CI_BSID in data dictionary of the R/3 source system and include the ORT01 field in that. The data dictionary in the R/3 source system displays that the ORT01 field is NOT contained in the read structure of datasource 0FI_AR_4 (Table BSID).
                Therefore you have to program a function module that reads the customer master in the R/3 system (table KANN1) and fills the ORT01 field of the customer enhancement. In the changing parameter C_STRUCTURE the filled fields of the extraction structure DTFIAR_3 are available to you. With the KUNNR field of extraction structure DTFIAR_3, you can select the respective master data record from table KNA1 and determine field ORT01 of the customer enhancement.
    After you create the customer include in the R/3 source system you have to post process the accompanying datasource with Transaction RSA6. Select the application component according to the above table and change the datasource that fits the customer include. The "Hide fields" flag should be removed in the field list for the fields of the customer include. Then save the field list.
    If the fields of the customer include is not displayed in Transaction RSA6, refer to note 415530.
    1.  After you create the customer include in the R/3 source system you have to post process the accompanying datasource with Transaction RSA6. Select the application component according to the above table and change the datasource that fits the customer include. The "Hide fields" flag should be removed in the field list for the fields of the customer include. Then save the field list.
    If the fields of the customer include is not displayed in Transaction RSA6, refer to note 415530.
    Please let me know.
    Thanks,
    Sabrina.

  • Enhance FI_AR_4  BI datasource

    Dear Friends
    i have a doubts on  0fi_AR_4 is only avilable for the ODS it is not there for Cube . do we need to generate the datasource seprately for Cube.
    I would like to enhance the datasourcce 0FI_AR_4 . these  are all the feilds i want to add to the datsource . as below. can you all help  me how to Enhance.  please send me step by step so does not .extraction adding the feilds .look forward
    to your reply.ASAP.forward
    Order no                     VBRP      AUFNR                   
    Profit center      VBRP     PRCTR
    FNR
    Sales document      VBRP     AUBEL
    Local currency      BKPF     HWAER
    Exchnage rate      BKPF     KURSF
    Document no     BKPF     BELNR
    Refernce key      BKPF     AWKEY
    Billing Type     VBRK     FKART
    Payment key      VBRK     ZTERM
    Cancelled     VBRK     FKSTO
    DR/CR factor     TCURF     TFACT
    Refernce no.      PRPS     POSID
    WBS Element     PRPS     PSPNR
    Salesman no.      VBPA     PERNR
    Debit credit indicator      BSEG     SHKZG
    Due days      BSEG     DMBTR
    Gross margin      BSEG     DMBTR

    The procedure for customer exits is described in OSS note 410799

  • Can we enhance 0HE_SLC_MBK_1 - BW datasource to have module as selection

    Hello All,
    Is there any way you can
    have the selection screen enhanced for the Module Booking extractor (0HE_SLC_MBK_1). Currently it has Student number and Busines Partner as options which are not suficient, there are time when we want to do a full load for just particular academic period or particular module so it would be great to have atleast these two options.
    Having Module, Event Package and Academic Period as selection option would work great.
    I tried modifying the extractor in our sandbox by going to RSA6 in change mode and selecting these boxes in the screen but that does not work and I get short dump. Do you have any ideas about this?
    Thanks in advance,
    Kiran.

    Hi Kiran,
    You can enhance it, but you need to modify the coding of the extractor as well. Currently the Extractor is designed in such a way that it reads all the modules for all or a set of students.
    It does this via an OPEN CURSOR statement on the table cmacbpst. You would have to build in the new selection criteria via the RSA6 and then enhance the coding.
    It is a bit odd that you get a short dump when trying to change the extractor. What exactly are you running into? Maybe you should try to activate the extractor again in the RSA6 (mark it and use the pull down menu DataSource --> Activate).
    By the way...you probably cannot have this functionality via the usual customer exit but you would have to make a modification for this to work properly. The customer exit is only accessed AFTER reading all the data specified in the selection criteria.
    Jeroen

  • Need ABAP Code to enhance the 0PRODORDER_ATTR?

    I want to enhance the datasource 0PRODORDER_ATTR with the below JCDS Table fields like UDATE,STAT,OBJNR,INACT,CHGNR.
    Can anyone please let me know the ABAP Code need to be written in the CMOD to populate the data for the above fields in the 0PRODORDER_ATTR?

    Hi,
    You can use below code to enhancemnt .
    You need to change the table, structure and field names
    Below code you have to write in tocde CMOD if you are enhancing the master data. It applies for any master data, although, I have taken 0VENDOR_ATTR as the example. I assume that You have already added/appended  the fields in the extract structure of 0VENDOR_ATTR  i.e. to the structure BIW_LFA1_S. ( Check this link for how to enhance the DataSource : https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46 )
    We have enhanced the datasorce for the following two fields from table LFA1:
    ERDAT- Date on which the Record Was Created
    KRAUS - Credit information number.
    We have also enhaced the structure for the following fields from table LFB1.
    MINDK - Minority Indicators
    ZTERM - Terms of payment key
    CERDT - Certification date.
    Now we will poulate these two fields in the code written in CMOD tcode. Here is the code:
    Go to the tcode CMOD in R3 and select the component EXIT_SAPLRSAP_002. Write this code in INCLUDE ZXLOFU01.
    data : l_t_data like biw_lfa1_s.
    data : l_tabix like sy-tabix.
    CASE i_datasource.
    WHEN '0VENDOR_ATTR'.
        LOOP AT  i_t_data INTO l_t_data.
          l_tabix = sy-tabix.
          CLEAR:  l_t_data-yyerdat,
                 l_t_data-yykraus.
          SELECT SINGLE  erdat kraus FROM lfa1 INTO
              ( l_t_data-yyerdat, l_t_data-yykraus)
                WHERE lifnr EQ l_t_data-lifnr.
          SELECT SINGLE mindk zterm cerdt FROM lfb1 INTO
                  (l_t_data-yymindk, l_t_data-yyzterm, l_t_data-yycerdt)
                  WHERE lifnr = l_t_data-lifnr.
          MODIFY i_t_data FROM l_t_data INDEX l_tabix.
          CLEAR: l_t_data, l_tabix.
        ENDLOOP.
    ENDCASE.
    Labels parameters

  • Enhancing a Standard DataSource

    Hi Everyone,
                  Is there any Resrtiction for enahncing a DataSource? I am enhancing my Standard DataSource 2LIS_11_VAITM with around 12-15 fields.Does the affect the Performance of the Syste. What is the Disadvantages if I do SO. I need to enhance because I need to add Fields from ZTables.
    Thanks and Regards,
    Samir

    Hi Surender,
               What will be the Text DataSource for Remarks field (VBBP-Z006) . I could not identify the Text Datasource for this field.Currently, I am loading, Customer, Plant, Material, Customer Text, Vendor, country, Region Text DataSources.
    But I am not able to identify whether Remarks Field will be getting the Text or Not.Also , I think i need to have Remarks as a Field in DataSource with some Key Value then only it gets theTexts from Master Data. I mean, For Example, For Material, We have to Add 0Material in the Cube and then it gets theTexts from MAterial Text DataSource when we execute the Reports.
    So , In this case, What should be my Approach. Do I need to maintain Remarks as afield in my Cube. Or how should be my approach so that VBBP-Z006(REMARKS- Text ID) is loaded into BI.
    If I need to maintain Remarks as a field with Key Value , then how do I map it.I hope I am clear
    Regards,
    Samir

  • Enhancement of Utilities datasources

    Hi All,
    Am a SAP BI guy and wanna know about the process of dataflow frm Utilities datasources to BI. Plz let me know HOW TO ENHANCE THE EXTRACT STUCTURE/SPECIFIC FIELD AT R/3 FOR UTILITIES DATASOURCES/FIELDS.
    Thanks,
    Jack

    Hi Neelesh,
    Thanks for the info!
    Could you please provide me the information to fill the necessary parameters? Im a little confused when it comes to using more than one datasources.
    Thanks!

Maybe you are looking for

  • Pros & Cons for consuming web services in ABAP using ABAP PROXY

    Hi, Other then performence  is there any other disadvantages like security,etc for consuming web services in ABAP using ABAP proxy? I really appreciate if some one provide the more details(Pros & Cons ) regarding cosuming web services and I also want

  • Can Someone Recommend Books/Tutorials On Drawing?

    Hi, Sorry if this has been asked a zillion times. I'm a typical web dev, who has usually depended on graphic artists for piccies. I'm fairly conversant with PS and InDesign, but I've never really gotten beyond pretty simple tasks in Illustrator. Most

  • Rescue & Recovery vs Win 7 Pro Backup

    Anyone have any strong preferences either way?  Tempted to go R&R but in the past I had bug issues and problems restoring.  Win 7 seems simple and from the brief explination menu  it appears you can recover individual files.  T61p win7 pro 64bit back

  • Is there a bleep sfx in library?

    looking for a "bleep" sfx to lay over dialogue, but can not find it anywhere in the library. Thanks for the help:)

  • Please Nokia Release Good E72 Games like in touch ...

    Nokia you should not only release good games on OVi for only touch phones please also offer some good symbian games for s60 v3 phones like E72  and others, games just like in Touch Phones *Armageddon Squadron *Wave Blazer *Toon Wars Do not stuck with