Enhance Standard DataSource

Hi all,
Can i add some more selection criteria to a standard source. Im using  0FI_GL_4 and would like to add GL Account HKONT to my selection when extracting data (InfoPackage).
Also can i add an additional field BUZID to this datasource? How?
How can i do that?
Thanks
Edited by: SAPPER BI on Apr 22, 2008 3:31 AM

Dear SAPPER BI
Enhancement means in the SAP given datasource If you want to add extra fields.
Go Through this
http://www.bridgeport.edu/sed/projects/cs597/Fall_2003/vijaykse/step_by_step.htm
Follow these simple steps too
The procedure is like below.
Take the datasource in which you enhance.
1. If you enhancing in the LO datasaource, take the aprapriate communication strucute append the structure in that structure add the fields you wnat enhance.
If you are enhancing other than LO you take extract structure append the structure and add the fields in that structure.
2. Goto LBWE Tcode take the option called "Maintain Extract structure" take the fields which you enhanced from pool take push in to extract strucure.
If you enhancing other than LO no need to do this.
3. Goto RSA6, take datasource, goto change mode. The enhanced fields Hide option checked, reomove that tick and save it.
4. Goto "CMODE" tcode, If project is already created for that enhancement goto disply mode. If the project is not created give the project name created and give the enhancemet name as "RSAP0001" and save it.
in the component you can find 4 Function modules
EXIT_SAPLRSAP_001 -> Transaction Data
EXIT_SAPLRSAP_002 -> masterdata attributes
EXIT_SAPLRSAP_003 -> Master data Texts
EXIT_SAPLRSAP_004 -> Masterdata Hirarchies.
Take the apprapriate FM and double click on it
there you can find Include name. If you double click on it you can find ABAP editor.
there we have to write the code
example code will be like below.
data: l_s_icctrcst like icctrcst,
l_s_icctract like icctract,
l_s_icctrsta like icctrsta,
l_tabix like sy-tabix.
case i_datasource. */ in BW 1.2B case i_isource.
when '0CO_OM_CCA_1'.
loop at c_t_data into l_s_icctrcst.
l_tabix = sy-tabix.
select single * from z0001 where kokrs = l_s_icctrcst-kok
and kostl = l_s_icctrcst-kostl.
if sy-subrc = 0.
l_s_icctrcst-zfield1 = z0001-zfield1.
l_s_icctrcst-zfield2 = z0001-zfield2.
modify c_t_data from l_s_icctrcst index l_tabix.
endif.
endloop.
when '0CO_OM_CCA_2'.
when '0CO_OM_CCA_3'.
when others.
exit.
endcase.
This is example code.
Also go through this link for more information
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=procedureTOENHANCEdATASOURCE&adv=false&sortby=cm_rnd_rankvalue
If ur doing the replication first time, then do the following steps:
1. Verify the R3 connection in SM59.
2. Check all the required authorization is having for ur background user.
3. Check whether ur data source is active in RSA6. If it is not active then activate from RSA5. Take best practice for activate the delta things like setup table deletion and initialization, etc.,
4. Replicate the data source now in BW side.
5. Activate all the corresponding transfer rules and update rules and info providers.
If everything already available and now ur getting this error, then it may be RFC error or background user or R3 side Datasource problem.
Try to extract the 2lis_01_s260 data in R3 itself (RSA3). And check whether data is extracting fine or not.
Hope it helps you,Revert me back if you have any queries
Assign ponts if helpful
Regards
Bala

Similar Messages

  • Enhancing standard datasource, small clarification.

    I have gone thru Robert's blog it says
    *"One method of adding user-defined fields is the following: add the required fields to the communication structures (MCVBAK, MCVBAP and so on ) using the append method (via SE11) and then use the LIS customer exits to fill the field.
    For information on enhancing the communication structures, you can see the documentation for the enhancements MCS10001, MCS50001 and MCS60001 provided in transaction SMOD.
    After you enhance the communication structures you can then enhance the extract structure with the relevant field in the customizing cockpit (transaction LBWE), provided that the communication structure is available in the selection. Then you can proceed with the steps described before in the previous bullet."*
    See if in one DS 2LIS_11_VASCL he want to add a field AUDAT and my doubt is how can he add that field to the communication structure so that he can select it from that DS communication structure to the left side, Is it possible can we add what ever fields to the communication structure. I thought we should append the datasource and then enhance the respective function exit rite. Why are we talking about append method via SE11, can anyone please guide what do we mean by appending it throug se11 to the communication structure. What i know is if we do not find the required filed in any standard ds we can append the ds and edit the related include program or use 2 DS's to get the required fields to a single cube on BI side after activating those fields if we know those field names. What is the concept of adding fields to the communication strucute using append method via SE11. Please guide me in detail. Thanks in advance.

    HI,
    I havent seen the blog but initially I guess you are confusing extract structure in R/3 with the communication structure in BW.
    MCVBAK and MCVBAP etc. are not exactly extract structure for the data source its a communication structure for the tables which will be used to extract data from the VBAK and VBAP  and can be used by anyone.
    A data source can be based on more then one tables and therefore may use more then one structure based on this table.This can combine MCVBAK and MCVBAP and many more structure together.
    This is the extract structure you see in LBWE for a particular data source.
    I think to differentiate between these two type structure he would have used the term communication structure and through these structure the extract queue communicates with the tables.
    I guess In 3.5 the point was of giving the look of BW flow same as r/3 for better understanding.
    So one communication structure can be updated by many transfer rules in BW..similary one extract structure can be updated with many rules or structure below it in R/3.
    Dont confuse it with the communication structure in the BW.
    You cannot do any thing related to communication structure in BW in CMOD.
    Thanks
    Ajeet

  • 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.

  • 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

  • Looking for Standard datasource

    Hi friends,
    I need to get following fields from R3 side for one of my operational report . I am just looking that is there any Standard datasource available to extract these fields
    1.ContainerType
    2.Loading Port
    3.Direction Code
    4.LoadingYear
    5.LoadingMonth
    6.VoyageKey
    7.VesselCode
    8.Full container teus
    9.Empty container teus
    10.Total container teus
    11.Year
    12.Week
    13.RouteCode
    14.LoadingPlace
    15.DischargeYear
    16.DischargeMonth
    17.Port of loading,
    18Count of container
    19.port of discharge
    can some one suggest me how to proceed with it...,Award points guaranteed.
    thanks

    Hi,
    well the provided link already gives you an idea where to get the data from. For the missing fields you should check the datasources via lbwe. Possibly the fields are already in the template structures and can be moved to the datasource or you need to enhance the datasources by yourself and do a little coding in the relevant user enhancement to get them populated.
    regards
    Siggi

  • 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

  • Enhance purchasing datasource with movement type

    Hi
    I need to enhance purchasing data source with movement type ( BWART). Can you please suggest me if any standard datasource ( Purchasing ) having this info. I can see that field is present in EKBE table, but how to link EKPO and EKBE table as there are many keys in EKBE table.
    Regards
    Kamal

    Hi
    you need to check the requirement first prior to addressing this issue.
    Purchasing Document will not have the Movement type field. It exists in the Inventory transaction.
    Table EKBE is the History table for Purchase documents. IF you check this table carefully you will see that the Material documents against every Purchase document are stored in this table. The Movement type field in the EKBE table refers to the Material document.
    So if you try to link BKART with Purchasing document # then you may have one or more than one BKART number against one Purchasing document.
    If yoou need the Purchasing document with BKART then it is essential to consider all the keys in EKBE.
    Cheers
    Umesh

  • Enhancing Masterdata Datasource

    I nede to add couple of fiedls from Table MALG to the Datasorce 0MAT_PLANT which is based on MARC. Let me know if this can be done. If Do I need to Enhance the Infoobject )MAT_PLANT in BW aswell and InfoSource pertaining to it.

    Hi PB,
    What I note is none of the Qty/Price type fields appear to be available when maintaining the datasource even though they appear in the extract structure.
    For example fields EISBE (Safety stock), MABST (max stock level), LOSFX (Ordering costs) and so on.
    This is same in other master data datasources as well: I checked one other standard datasource 0MAT_SALES_ATTR (on BIW_MVKE_S) and sure enough all the QTY fields present in the extract structure are not available for selection.
    It maybe a standard behavior that the keyfigure type fields (Amount/Qty etc) are not available in master data datasources.
    You can still proceed as earlier. Name these fields in the append structure with your own fieldname (ZMINBE eg) and write the code to extract the same. You may have to convert them to CHAR before you push them to the datasource in the user-exit code.
    SAP may have some note explaining this bahavior but I haven't found any.
    cheers,
    Ajay

  • Standard datasource for Invoice master data

    Hi ,
    Can anybody please tell me , Is there any standard datasource for Invoice masterdata.
    Right now in my company there are using 0FI_AP_4 datasource as an Invoice masterdata.
    This Invoice masterdata is getting data from 0FI_AP_4 datasource.
    But I have a requirement like I need to enhance this 0FI_AP_4 with other tables (PAYR,REUGH).
    Is there any simple way to follow.Please help me.
    Thanks in advance.
    Pints will be rewarded.
    Vamsi.

    Resolved

  • Standard datasource Copy

    Hi,
    is it possible to copy a standard datasource ?
    If so How to do ...
    T&R
    Rakesh.

    Hi Rakesh
    No standard way to Copy DataSource.  But you can implement manual copy.
    First Check if the DataSource is based on View or Func Module or InfoSet.
    Most of the DataSource would be based on function module . So you can use the same function module to populate fields of your new data source.
    Like for a FM based DataSource we need to create the structure first in this case you can create your structure from SE11.
    In the extraction method put the same function module name.
    But I assume when you are copying standard DataSource you also have the requirement of getting some additional fields. In that case you can use normal DS enhancement option to get the new fields.
    Regards
    Anindya

  • Unable to extend the standard datasource 2LIS_13_VDKON

    Hi
    we are unable to extend the standard datasource 2LIS_13_VDKON on the
    SAP by the following fields: MCKOMV-KNUMA_BO, MCKOMV-KNUMH and MCKOMV-KNUMV. We allways get the error message "End phase 002 - D0322".
    best regard

    Hi farchid,
    i checked that one, but you can ignore that one.
    please check the data source status is green that's it. after including that fields in the data source the status change to red. then go to data source maintenance screenselect the field selection check boxand then save it.
    now the status changes to yellow.
    now select inactive link against your data source in job control--status will turn as green.
    now you can do the set up table fill up for that data source.
    before doing the transport please make sure the following conditions. this will be displayed when your enhancing the data source.
    Extract structure MC13VD0KON generated successfully, see long text
         Notifications MCEX 027
    Diagnosis
         The extract structure was generated successfully.
    Procedure
         Now choose the maintenance screen of the DataSource. After that, the
         status display (traffic light) jumps from red to yellow.
         Please make note of the following before you transport the changed
         structure MC13VD0KON into another system:
         o   Run the transport when the target system is not being booked.
             Otherwise you will need to initialize it because documents are lost
             during this time. 
          o   None of the clients in the target system in the V3 update for the
         application 13 should contain data. If you are unsure, start the V3
         update of the application 13 in all clients.
    o   If there is still data in the central delta management of the target
         system, it must be retrieved by BW before the transport takes place.
    o   If you have already reconstructed within this target system, it may
         be that the data still exists in the reconstruction tables. After
         the transport, you can no longer transfer these entries into BW. You
         must delete the contents of the reconstruction tables of the
         application 13 in the target system and run another reconstruction
         if need be.
    o   If there is an update log in the target system, you cannot read the
         log data of the application 13 after the transport has been run. You
         can only read it again once data is booked and the last log entry
         overwritten.
    Use the report RMCSBWCC to display a log for the changed extract
    structure in the target system, to see if any of the above problems
    exist. An additional switch deletes all update logs for the application
    of the selected extractor.
    Please also note that you must reactivate the transfer structures when
    you change the extract structure after replicating a DataSource.
    hope this help you
    regards
    harikrishna N

  • How to get data for custom feilds for standard datasource

    i have extracted CRM standard datasource 0CRM_OPPT_I.
    In RSA6 i slected feilds which i want to trnasfer to B Iand i also added some custom feilds.
    and then i went to RSA5 and i activated datasource.then i went to RSA3and  i extracted.
    In rSA3 selection screen all the custom feilds are selcted.
    after extraction if i go to LIST,only some of the custom feilds data is displaying remaining feilds displayed as blank data
    please tel me how to get data
    Thanks in advance
    HP

    Hi Hari,
    Sorry for late reply.
    Once you have done the proper mapping by using the transaction BWA1
    you need to write the BADI code which can be accesible from the following path:
    Go to transaction SPRO
    SAP Implementation guide ->Integration with other mySAP components ->Data transfer to the Business Information Warehouse->
    Settings for the application specific datasources (CRM) ->
    Settings for BW adapter->Execute Badi :BW adapter :Enhancement of datasources in messaging flow.
    Select you the datasource enhancement implementation it will open the BADI Implementation..
    go To interface tab and double click on the method..it takes you to the ABAP screen where you need to write the logic to populate the custom fields..
    Please feel free to mail back if you have any quries.
    All the Best..
    Thanks
    SK

  • Require Standard DataSources for Purchase Orders

    Hi,
    Please provide me the standard datasources for purchase orders to get the data updated automatically in a BI System.
    I have to display report containing the purchase orders details of each day.
    Regards
    Sunil Kumar

    Hi,
    Following link will give you complete details of purchase order deports and data sources.
    http://help.sap.com/saphelp_nw70/helpdata/en/df/cfb839f6a7a307e10000000a11402f/frameset.htm
    Regards,
    Vishnu

  • Error in adding a field to standard datasource

    Hi all,
    R/3 Side:
    I'm trying to add an field KDAUF to the standard datasource "2LIS_03_UM" from the transaction code LBWE.
    I'm getting the following error,
    Struct. from appl. 03 due to open V3 proc. not changed -> Long text
    Message no. MCEX140
    Diagnosis
    Changing the extract structure MC03UM0 of application 03 is not allowed as there are no V3 update entries for the update module MCEX_UPDATE_03.
    If an extract structure is changed for which there are still open V3 updates, these can no longer be updated and the V3 collective update is terminated.
    Procedure
    Start the V3 update using the "Job Control" function in the customizing cockpit (transaction yDS:TRAN.LBWE>LBWE) or delete those update entries that are already incorrect. You will find these in the update overview.
    I've deleted the delta queue form RSA7, deleted the data in setup tables, deleted from LBWQ and also from SM13.
    But still i'm getting the same error.
    Kindly help me in solving this error.
    Thanks in advance.

    Hi,
    Have you followed the path:
    LBWE >>> Click on "Job Control" >>> Click on "Job Overview"
    If yes, then in the next screen you will find the list of all the job in various states, e.g. Scheduled, Released, Ready, Active, Completed.
    In your case, the relevant job  should be "LIS-BW-VB_APPLICATION_03_***". Select the one with status as Released.
    Also try verifying the same in sm37.
    Also please go through the Note 396647 - FAQ: V3 update: Questions and answers.
    I hope this helps.
    Regards,
    Nitin Suvarna

  • Purchase order history standard datasource

    Hi All
    Is there a standard datasource for purchase order history- table EKBE, I need to pick history with movement types
    Thanks

    Hi,
    Chk this links...
    http://help.sap.com/saphelp_nw70/helpdata/EN/58/f6383fdb800804e10000000a114084/frameset.htm
    and also trace thru left panel...
    rgds,

Maybe you are looking for