Data source enhancement thru function module

Folks,
I am trying to figure relation between data source enhancement, package, function module etc?
I see a function module where enhancement is done. when I go and try to see master data exit EXIT_SAPLRSAP_0002 ... I see include but I do not see reference of function module in this include?
All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap* - include inside and function module attached?
Can somebody give very simple connection for all these components?
Thanks,
-SM

Hi,
All these codes are so simple... but I am struggling to figure out all these relation RSAP0001, exit_saplrsap - include inside and* function module attached?
Please note that for enhancing certain standard objects for meet customer needs, SAP provides different customer exits where we can code as per our requirements.
These customer exits starting with EXIT********* will be grouped by Enhancements e.g. RSAP0001
Thanks for your response. In RS02 it is clear that we can mention function module name for data source - that is good for generic extraction. But what do we do when we are enhancing SAP extractor?
When you want to enhance SAP extractors, you go for customer exits.
EXIT_SAPLRSAP_001              for Transactional datasources
EXIT_SAPLRSAP_002              for Master datasources
EXIT_SAPLRSAP_003              for Text datasources
EXIT_SAPLRSAP_004              for Hierarchy datasources
in se37 screen in table tab - sometime we see extract structure - that will establish which functional being called for which data source, but in my case - I do not see anything in table tab?
If your datasource is function module based, then the function module which is mentioned in RSO2 for your datasource would surely have e_t_data in tables tab with its associated type.
Only if the datasource is standard one and is processed by function module e.g. 2lis_18_i0notif which is processed by MCEX_BW_LO_API function module, these would not have associated type mentioned for them. To get their structure, you can go to RSA5/ RSA6

Similar Messages

  • Data source Enhancement with Function Module

    Hi all!
    I have a requirement like I have to enhance my Generic Data source.
    Let me make it clear!
    I have 10 field in R/3 which I am able to get into extract structure using Generic Data Source on the corresponding Table.
    I have another field on my extract structure, say ZEXMFLD1 which is updated by a function module ZZ_FUNC_MODULE_SAMPLE.
    I came to know that Data source Enhancement can be done, but don't know how.
    Request your guidance in this. Can u please let me know how I can achieve this?
    Thanks,
    Sri

    Hi Sri,
    You can enhance generic datasources also.
    For that you have to use below function modules based on your datasource type.
    EXIT_SAPLRSAP_001  - Transactiona data
    EXIT_SAPLRSAP_002  - Master
    EXIT_SAPLRSAP_003  - text
    EXIT_SAPLRSAP_004  - Hier
    First check in CMOD(TCODE) whether component RSAP0001 is assigned to any project. If it is not assigned to any project(fresh system), assign it to a project by creating it.
    Ex. ZBW. If it is already assigned, go SE37.
    For transaction data go to function module EXIT_SAPLRSAP_001(Trans data) and start your logic.
    CASE i_datasource.
    WHEN 'your data source name'.
    call you Function module  -  CALL  'ZZ_FUNC_MODULE_SAMPLE'.
    pass the imported value from above FM to c_t_data.
    close case with ENDCASE.
    Let me know if you need more info.
    - Kalyan.

  • Problem with R/3 Data Source based on Function module in SAP BI

    Hi,
    We have a data source based on functional module. When we load data from R/3 to BI we face the following error.
    " No end-confirmation arrived in the Warehouse from the source system."
    We are getting data but due to no end confirmation from the source system, the load become timed-out and status becomes "RED". When we change the status to be "GREEN" and proceed tha load further, load is fine.
    Please suggest us a suitable solution.
    Thanks in Advance,
    Geetha

    Hi Geetha Devi Ramalingam.
    I faced the same problem since yesterday. I just resolve the issue.
    So here is my solution :
    try this code :
        FETCH NEXT CURSOR s_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE e_t_data
                   PACKAGE SIZE s_s_if-maxsize.
        IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
    if you add your
    bold
    IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
    bold
    than the sy-subrc may be equal and than your CLOSE CURSOR s_cursor. will have no effect
    it work for me hope it will for u
    Hard luck!
    Salah
    Edited by: idrissi salaheddine on Jan 19, 2012 12:24 PM

  • Error in generic data source by using Function Module

    Hi Guru's,
                    I'm wokring generic extraction with Function module.When i'm saving my data sources iam getting errors stating that
    UNITS FIELD "WAERS" FOR FIELD "WKGBTR" OF DATA SOURCE  XXX
    UNITS FIELD "OWAER" FOR FIELD "WOGBTR" OF DATA SOURCE  XXX
    Thanks in advance..........
    Regards,
    Vijay
    Edited by: vijay m on Feb 1, 2008 5:03 PM

    Khaja,
    Units field WAERS for field WKGBTR of DataSource xxx
    is hidden
         Units field OWAER for field WOGBTR of DataSource ZBWVIEW is hidden
    This is the msg which i got........

  • Generic Data Source Based On Function Module (Delta capable)

    Hi,
    My requirement is to develop a Generic Extractor based on Function Module (Delta capable). As I already found many threads explaining this concept, but most of them discussing FM RSAX_BIW_GET_DATA_SIMPLE with Extraction Method F2. There is another FM RSAX_BIW_GET_DATA which, one can use to build delta enabled extractor.
    Although I do have some doubts:
    what is the E_T_SOURCE_STRUCTURE_NAME ?
    read table i_t_select into l_s_select with key fieldnm = 'PGMID'. Use of this code ?
    Templet only showing
    case i_updmode.
          when 'F'.
          when others.
            if 1 = 2. message e011(r3). endif.
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '011'                "message number
                      i_updmode            "message variable 1
                      ' '.                 "message variable 2
            raise error_passed_to_mess_handler.
        endcase.
    i.upmode as F, D(delta) is not included, do i need to include this?
    Can someone help to solve this. Appropriate points will be allotted to helpful suggestions.
    Edited by: Debjit_Singha_86 on Jul 23, 2011 8:35 AM

    Try using following piece of code;
    READ TABLE g_t_select INTO l_s_select
                                 WITH KEY fieldnm = 'Date Field for Delta'.
          IF sy-subrc EQ 0.
    SELECT SINGLE *
                           FROM ROOSGENDLM
                           WHERE oltpsource EQ 'DataSource Nameu2019
                           AND slogsys      EQ lw_slogsys.
              IF sy-subrc EQ 0.                                            
                lw_date = roosgendlm-deltaid+0(8).
                lw_time = roosgendlm-deltaid+8(6).
                                                                                    ENDIF.                       " IF SY-SUBRC EQ 0.
    ENDIF.
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
        ENDIF.                            
    Table R00SGEMDLM stores the date and time data was last extracted from a data source.
    Alternatively, you can also try using the i_updmode.
    When 'F'.
    SELECT * FROM TABLE (without any where clause on last change date)
    When 'D'
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
    These are just suggestions. Try these out, I hope it helps.
    Regards,
    Gaurav

  • Master Data Source Enhancement

    Hi Gurus
    I have a table in SAP which has customer, Sales Organization, Distribution Channel, Language (which is in EN always) and Customer Sales Text...
    The Customer Sales Text is maintained at Sales Organization and Distribution Channel level..below is the example of one record...
    Customer     Sales Org.     Distr. Channel     Lang.   Customer Sales Text
    123               01                  01                       EN        Blank (No text here)
    123               01                  02                       EN        Blank (No text here)
    123               01                  03                       EN        Blank (No text here)
    123               01                  04                       EN        Blank (No text here)
    123               01                  05                       EN        John Mathwes (Text appears here)
    123               01                  06                       EN        Blank (No text here)
    so when i pull the data to BI i need to see only one record with Customer and text only (no Sales org and distr. Channel necessary) which has the Customer text value (5th record in above example)..
    I created Data source in SAP and pulling the data to BI in DSO with customer and customer text....it's sorting and getting the latest distribution channel record (6th record in above example0
    Can yo uplease tell me is there any way that i can get the record which has customer text in it..(any possibilities of writing abap routine in info package) or any data source enhancement with abap code...
    can you pelase tell me the abap code that needs to be performed to solve the issue...
    Thanks in advance
    sailendra

    Sort the RESULT_PACKAGE by customer and customer text in the endroutine of your transformation.
    After the sort, the record with text for customer will be the last record and it will overwrite the other records in the DSO which has blank values.
    Just add the below sort statement in your end routine.
    SORT RESULT_PACKAGE[] BY CUSTOMER CUSTOMER_TEXT.
    As per the sample records mentioned in your post, after the sort, 5th record will become the last record and this will overwrite the other records which has blank value in the DSO.
    --- Thanks...

  • Generic data extractor using a function module

    Hi All,
    I want to create a generic data extractor using a function module within the BW system. i.e. the extractor will run in BW and and store the data in a cube( in BW). No R/3 is invloved. I proceeded as follows:
    1. Created a structure through se11.
    2. Created a function module. But while defining "E_T_DATA" in the "Tables" section of the function module, I am getting the error "TABLES parameters are obsolete". I defined as follows:
    E_T_DATA TYPE ZBW_EXTRACT 
    ZBW_EXTRACT is the name of the structure.
    What should i do in this case ?
    Thanks,
    Satya

    Hello Satya,
    The message "TABLES parameters are obsolete" is just a warning and not an error. The structure of the interface is strict (defined by SAP). You should opt to proceed even if you receive the warning.
    Hope this clarifies.

  • Enhance standard function module in ECC 5.0 System

    Hi All,
    My requirement is to add the custome fields in the standard screen.there is no screen exit for this screen.
    The screen is calling by using the standard function module CALL_SCREEN_HU_DISPLAY
    Iam working on ECC 5.0 System, Is it possisble to enhance the standard function module and add custome fields.
    Please let me know if any suggestions.
    Thanks & Regards,
    Nagendra

    Hi Reddy,
    Thanks for the reply..
    Can u please give the steps how to create implicit enhancement in function modules.
    Thanks & Regards,
    Nagendra

  • Data source Enhancement for Sales Item

    Dear SDN Mates,
    We are enhancing the data source 2LIS_11_VAITM, when i try to enchance extraction structure it is not allowing to enhance. Showing a message :"2LIS_11_VAITM does not allow enhancing or append structure"
    Mates if you came across these difficulties please let me know and suggest any ideas.
    Thanks and Regards
    Arun S

    Hi,
    Have a look at these links:
    [SAP BW Data Source Enhancement|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16]
    [Data Source Enhancement|Data source Enhancement Code Samples;
    Hope it helps...
    Regards,
    Ashish
    Edited by: Ashish Tewari on May 11, 2009 12:16 PM

  • Data Source Enhancement for 2LIS_06_INV

    Hi BW Experts,
                  We got a requirement. We have to work on Data Source Enhancement.
    2LIS_06_INV is a LO Data Source. 3 extra fields required in existing Data Source.
    That 3 Fields are available in single Table only.
                 I never worked on Data Source Enhancement.
    Please can anyone tell me the steps.
    I have read the forums but i did not understand it.
    Thanks in advance
    Regards,
    Anjali

    hi anjali,
    Every organisation has different structures so, the standard structure dosnt fit for all, in this situation u need to go for enhancement. based on your need u have add some field to std structure.
    Check out this link...this z the best pdf for enhancing data source....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    pdf 'enhancements in sap bw' with steps
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Enhancement
    User exit
    hope it helps...

  • Date of creation of function module

    Hi Guys,
    is there any possibility to find out the date of creation of a function module.
    For programs, it can be found in the table TRDIR. But I cant find any table for function modules.
    Erik

    TFDIR will give you the name of the function group program and the include number.
    E.g. SAPLZFUNCGROUP Include 01.
    From this you can construct the include name: LZFUNCGROUPU01.
    You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    matt

  • Text not visible for the new fields created for Data Source Enhancement

    Hi .... I am working on Data Source Enhancements. I created few fields and append then to the Data SourceStructure . I also have populated the fields with data. The problem with a field is that I am not getting the text displayed in RSA3 ..Instead I am getting the field name itself.
    Example:
    FieldName       DataElement    Datatype  length  dec           Text
    ZZDOCTY                AUART         CHAR      4         0      Sales Document Type
    ZZNOODL                ZD_NODL     NUMC      1         0      Number of Deliveries
    In the above example the field ZZDOCTY is showing me the description in RSA3 i.e. Sales Document Type whereas the field ZZNOODL is not showing the text. Instead it is directly giving the fieldname ZZNOODL. Is it because of the fact that I created a Data Element for that field ??? and as I did not use the predefined data element as I did for ZZDOCTY???? Please reply me soon.....I need to display the text as "Number of Deliveries"  instead of ZZNOODL........I am working on 7.0.....

    May be the fields are hidden.
    Go to RSA6 select your data source and on the tool bar there will be a pencil butonto change. Click that and at the bottom, you will lots of check boxes.
    You go the field that you have enhanced and see whether the HIDE boxes are checked. If so, uncheck them, save and execute RSA3.
    Ravi Thothadri

  • Data source Enhancement

    HI SDNers,
    I have done data source enhancement with 6 key fig and added those key fig to DSO in DEV and I need to move it to QA. Do I need to delete the data of DSO in QA before move. Do I get any issue with transportation? Actually this is most sencitive data for my client is it possible without deleting data?
    Thanks,
    Swathi

    Hi Swathi,
    You need not delete data from the ODS if you have only added fields to this object. If the no of records in the ODS are more the import of the changes will take a little longer. There should not be any problem.
    Best Regards,
    Murali.

  • Data source enhancement using BADI

    Hi,
    We had a 2LIS_* extractor which is enhanced with ZZ fields.
    I look for the sode in CMOD which i couldn't able to find any
    My assumption is the data source is enhanced using BADI.....As i am not familiar with BADI's how can i create for my data source enhancement code in BADI
    Thanks

    Hi ,
    Not sure on your question.
    Is the Enhancement already done and you want  to check whether it is done in BADI/CMOD.
    Or
    You want to populate the Data using BADI/CMOD.
    In any case you can use CMOD or BADI to populate the data ,the recomendded is BADI which can be created in SE24..you can google for some Docs on its creation and steps to be followed.
    And if tis CMOD you have to create a project and then write the code and for that also there are DOcs avaliable.
    Rgds
    SVU

  • Data source enhancement while loading deltas

    Hi Experts,
    I've a scenario that while loading deltas do we perform data source enhancement if we can how do we do that.
    This is i got a requirement, to enhance 2LIS_11_VAITM, while loading deltas. Now how do I go about this what are the exact steps that i follow to enhance.
    Could s'one help in this regard because i'm new to the ABAP.
    Thanks & Regards,
    Amar

    hi,
      Go to the extract structure of this datasource and display the extract structure of the datasource in SE11 and click on APPEND STRUCTURE and click on the tick mark and try to add the fields required into the lines. You need to populate the data on to these new enhanced fields in the user-exit. But when you move these transports to production environment, you have to stop deltas and re-initialize the datasource....
    Hope it helps...

Maybe you are looking for

  • How much Ram can my Macbook use?  What Hard drive should I upgrade to?

    Hi Everyone. I have a 2008 ish macBook with 4gb of Ram.  I use vmware Fusion to run Windows every day and I also use Aperture on a regular basis. I'm looking to breath some life into this old machine and want to know how much ram the motherboard will

  • SQL Server 2008 Analysis Services and OBI EE

    Hello, How to use the Multidimensional import functionality of the BI EE Administration against a cube stored in a SQL Server 2008 Analysis Services? Thanks, Paul

  • Forgot password protect on Pages (iPad)

    Hello, I have a document in Pages2.0 password protected on iPad. However I have forgotten the password and can not open the document. Is there anyway to override the password or reset it? Tried opeing the same document on MacBook but as I haven't upd

  • Redirecting when page NOT FOUND error occurs

    Does anyone now a way to redirect the client to a certain page whenever he encounters 404 NOT FOUND errors? I do not want to use a custom response page, I just want to redirect to a URL. The reason is our clients are WAP clients, and they do not see

  • Is it Normal For MB Looks to Render relative Slow

    Hi , I just Install MB Looks 1.4 on CS5 My System Spec: Win 7 (64bit)  I7-950 , 12GB Ram , Nvidia GTX 570 System 500GB Footage 2X1 TB in Raid 0 Footage Source DV PAL (4:3) PAR(1.094) when apply MB Looks to clip say 3 sec the render time is avrage of