How to create a generic data extractor using standard function module

Hi,
I have to generate report based on Function module(standard FM),client know only Fm Name n they have given FM Name n asked reports based on that, so can any one give me steps to create DS based on that.
Thanks,
Swapna

check this blog
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
and this pdf:
Generik extraction: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
Generic delta:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Edited by: Aduri on Dec 17, 2007 4:04 PM

Similar Messages

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

  • Generic data extractor using 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

    Hi,
    I went to se80. Copied the function module "RSAX_BIW_GET_DATA_SIMPLE" to my function group. When i tried to change the associated type from "SFLIGHT" to my own structure, it again gives a warning that "TABLES parameters are obsolete!". It does not allow me to either save, check or activate the function module. What should i do ?
    Please reply urgently.
    Thanks,
    Satya

  • How to create textpool by using standard function module?

    hi,
    gurus.
    I have find two function modules ( RS_TEXTPOOL_READ / BX_AGR_READ_TEXTPOOL ) which is used to read but i want to write into the textpool is there any standard function module

    REPORT ZTEST1.
    WRITE : / 'ddddddd'.
    WRITE : / 'ddddddd'.
    WRITE: / 'hhhhhhh'.
    WRITE: / 'ddddddd'.
    WRITE: / 'ddddddd' , 'uuuuuuuu'.
    WRITE: / 'ddddddd', 'sssssssss'.
    for example i am this report i want to convert it into text elements like
    REPORT ZTEST1.
    WRITE : / 'text-001'.
    WRITE : / 'text-001'.
    WRITE: / 'text-002''.
    WRITE: / 'text-001''.
    WRITE: / 'text-001'' , 'text-003''.
    WRITE: / 'text-001'', 'text-004'.
    this elements also store into the textpool so how can we achieve  this functionality by using standard function module.
    can any body give some idea .
    shabeer ahmed

  • Guidence regarding creating  a test data and running any function module

    hi pals,
       can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??

    Hi yawmark,
    I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit the sugeted sites you mentioned, thank you.
    I did however, create a simple class that compiles and can be used to set, return, reset and print a few details about a person. I hope that is of better use than my previous example. here it is:
    public class SimplePerson {
        int age = 0;
        String firstName = "";
        String lastName = "";
        /** Creates a new instance of SimplePerson */
        public SimplePerson() {
        /** Sets the age of this person */
        private void setAge(int takeAge){
            age = takeAge;
        /** Returns the age of this person */
        private int getAge(){
            return age;
        /** Sets the First Name of this person */
        private void setFirstName(String takeName){
            firstName = takeName;
        /** Returns the First Name of this person */
        private String getFirstName(){
            return firstName;
        /** Sets the Last Name of this person */
        private void setLastName(String takeName){
            firstName = takeName;
        /** Returns the Last Name of this person */
        private String getLastName(){
            return firstName;
        /** Resets the details of this person back to back to
         *  the default form.
        private void resetAll(){
            age = 0;
            firstName = "";
            lastName = "";
        /** Prints all the details this person has */
        private void printAll(){
            System.out.println("Age: " +Integer.toString(age)
                    + "\n First Name: " + firstName
                    + "\n Last Name: " + lastName );
    }Cheers mate

  • 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

  • How to keep long text in bdc using create_text  function module

    hi,
    ihave bdc in that i having field like long text i have to upload the long text using create_text function module how to use and where to use in bdc. wat parameters i have to pass exactly.
    i need some other information like how can i pass this to BDC i got like this .
    can u plz check it.
    its a length of 255 chaters
    perform bdc_field using 'RSTXT-TXLINE(02)'
    'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'
    & 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.
    perform bdc_field using 'RSTXT-TXLINE(03)'
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    & 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
    perform bdc_field using 'RSTXT-TXLINE(04)'
    'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
    & 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'.
    perform bdc_field using 'RSTXT-TXLINE(05)'
    'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh'
    & 'hhhhhhhhhhhhhhhhhhhhhh'.

    Hi,
    Use this coding where do u want,
    data: begin of textline occurs 10.
            include structure tline.
    data: end of textline.
    start-of-selection.
    textline-tdformat = '*'.
    textline-tdline = 'TESTING FOR CREATION OF TEXT'.
    append textline.
    clear textline.
        call function 'CREATE_TEXT'
             exporting
                  fid       = '0013'
                  flanguage = sy-langu
                  fname     = '0095000501'
                  fobject   = 'VBBK'
             tables
                  flines    = textline
             exceptions
                  no_init   = 01
                  no_save   = 02.
    end-of-selection.

  • Creating/confirming transfer order (WM) using bapi/function modules

    Hi,
    I usually use BDC to create transfer orders or other documents in WM, but i've been told that using BAPI is more correct. I'm new to this concept, so could you please tell me how i can find the apropriate BAPI/function modules available for this purpose in 46C ?
    I thank you in advance,
    Bruno

    Hi Gisk,
    i am trying ot create a TO based on a material document and year. Same function as transaction LB12. Do you know which function module i can use for this.
    I am trying to use the function module L_TO_CREATE_SINGLE, i fill in the T_LTAK-MBLNR and T_LTAK-MJAHR. But do not know which fields to fill in.
    Hope you can help me.
    Grtz
    Coeno

  • How to create Business partner from uploaded file by Function module?

    Hi Experts,
    I have uploaded Business partner data from a file to server now from individual records I have to create Business partner and have to update the records in the tables. Means from on record i have to create one business partner in sap system.
    I have uploaded the records in the system and stored in a internal table.Now my task is to create business partner and have to update tables.
    I need a function module which create BP by each records uploaded and update the respective tables of BP and exports business partner ID.
    Please respond soon Its a requirement form the client.
    Prem.

    HI,
       You can use the bapi 'BAPI_BUPA_CREATE_FROM_DATA' to create a business partner .
    call function 'BAPI_BUPA_CREATE_FROM_DATA'
              exporting
                businesspartnerextern              = g_bpartner-partn
                partnercategory                    = partnercategory
                partnergroup                       = partnegroup
                centraldata                        = centraldata
                centraldataperson                  = centraldataperson
                centraldataorganization            = centraldataorganization
    *       CENTRALDATAGROUP                   =
                addressdata                        = addressdata
    *       DUPLICATE_MESSAGE_TYPE             =
    *         IMPORTING
    *            BUSINESSPARTNER                    = G_BPARTNER-BUSINESSPARTNER
             tables
                telefondata                        = telefondata
                faxdata                            = faxdata
                e_maildata                         = e_maildata
                return                             = return
    *       ADDRESSDUPLICATES                  =
                addressnotes                       = addressnotes.

  • Global data declaring/using in Function modules

    Hi,
    I have declared an internal table(say ITAB1) in the top include.Appending the values through FM1(function module).
    I am using the same through FM2 (Tables ITAB1).
    ( Function group is same for both FM1 and FM2 )
    but i am not getting the values in the ITAB1.
    Can anyone help me....
    Thanks in advance
    KB

    Bhavani,
    I don't think it works that way. If you are accessing that variable with in that function module you will be able to access that table.
    As you are calling another function module else where, the execution memory is different and the previous variables will not exist any more. However, if you call function2 with function1 it should work.
    The other way could using the EXPORT and IMPORT commands. Then you should be able to access the data.
    Regards,
    Ravi
    Note : Please reward points, if this helps you.

  • How to update the business partner title using the function module

    Hi ,
    I have to update the business partner title to Mr or Ms based on the gender.
    If BP is male title should be updated as Mr else Ms.
    Please provide some inputs on which function module to use to do it in mass update.I have to search the BP's whose title is not created and i have to change those titles to Mr or Ms.

    Hello,
    Try with BBP_USER_CHANGE_FIELDS :
    - set CHANGE_FORM_OF_ADDRESS,
    - put corresponding key you want (see TSAD3 table) in FORM_OF_ADDRESS_KEY.
    Regards.
    Laurent.

  • How to create the generic data source for Labour costs report in BI (actual& plan costs)?

    Hello Guru's
    My requirement is to get the total labour costs in BEx analyzer.So i need to create custom DS for that. But i am not sure about the FICO tables which are having the Labour info..
    I'm having the GR10 report from R/3 sidepls look at the document. But i am not sure about the report, how that built,and giude me on the report.
    Please help on this to going forward.

    Hi,
    There are COOM data source which may suits your needs.
    please check data source
    0CO_OM_WBS_6
    0CO_OM_WBS_3
    Base tables are COSP and COSS.
    Check about coom data source, if not suitable then go for custom data source.
    About table cross verify with your source team.
    Thanks

  • How to get active tab strip name using standard function ?

    Dear all,
    I have 5 Tab strip in my view, how can i know which tab strip is active during runtime ?
    Best Regards
    Fernand

    HI
      I hope you may be looking  at this thread , hope its  a  similar requirement as yours
      How to get the selected Tab from a TabStrip.
    Thanks

  • Error  while creating Generic data source using FM

    Hi Experts,
    I try to create a generic data source using the Function Module via the  transaction RSO2. I got the following error messages.
    " Das Einheitenfeld CURR des Feldes ZPKZA1 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
    " Das Einheitenfeld CURR des Feldes ZPKZA2 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
    " Das Einheitenfeld CURR des Feldes ZPKZA10 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
    "The unit field CURR of the field ZPKZA1 of the DATA SOURCE ZBWN_DS_POLPOSP is not visible/ stopped/ hide".
    for all 10  fields of type CURR.
    How shall i handle this issue..........any suggestions please........
    thanks in advance
    cheers
    sailekha

    Hi,
    Are your CURR fields refereded to a currency field of your structure?? Maybe the problem is that the field containing the currency is refered to other table/structure and it has to be one of your structure fields.
    Hope this helps,
    Regards,
    Carlos.

  • How to do Delta upload using Generic Extractor built on Function Module?

    Hello Guys,
    I have never created a Generic Extractor using a Function Module. I wanted to know how can we support Delta mechanism if we create Generic extractor using Function Module.
    Regards,
    Abhishek

    Hi Abishek,
    Please check the standard Function Module RSAX_BIW_GET_DATA for your delta mechnism.
    Hope it will help you.
    Thanks,
    Chandra

Maybe you are looking for

  • Video/LCD config problem with Sol 10 EA

    I'm trying to install Sol 10 EA and the video card/screen keeps defaulting to the minimum LCD size of 720x400, instead of the configured size of 1280x1024. The Solaris 10 installation says "VESA No Matching Modes". If I set it to 640x480 the sunwindo

  • Hotmail settings in mail?

    My macbook was having trouble connecting to the internet so I started changing everything and omg have I made a mess! Now I connect just fine, but I can't get or send mail from hotmail any more. I have the http add-on for mail and I used to get and s

  • Flag "SEPA mandate required" (XSEPA) not editable

    Hello everyone, we would like to set the parameter "SEPA mandate required" (XSEPA) for some countries and payment methods (transaction FBZP), but this flag is grayed out and can't be selected: How is it possible to edit this filed? Thank you in advan

  • After Effects cs 5.5 Playback jumpy

    I'm trying to do a simple effect using After Effects 5.5  it is a "pan" of a slogan on the bottom of a photoshop graphic.  When rendered out, or even after ram previewing it, it seems to studder, or jump, it just isn't smooth. I've exported it as and

  • InterMedia domain passivation

    How do I solve this one? oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=Temp file can not be created by interMedia domain passivation. ## Detail 0 ## java.lang.RuntimeException: Temp file can not be c