Badi implementation for T-code: QE71

Hi Experts,
I am implementing a badi in transcation QE71 my requirement is to automatically generate quality data. In this t-code we enter the value for the MIC of the material for each inspection lot.
But in the screen only one entry can be done at a time our requirement is to enter 10 data at a time. Badi which hits when we press save button is QE_RESULT_VALUATION but the data entered in screen is column wise that is if it has 5 MIC for the material (thickness, socket length,....) then first it take thickness then in another loop it take socket length and so on. Please give me suggestion that how would I implement this badi. Please help
Thanks and regards,
Suruchi

HI,
Based on you requirement to enter the multiple entries at a time of inspection result data.
you can perform the same scenario with the one more transaction called qa32. Over here you need to enter inspection lot no. and serial no. later on the another screen appears with different parameters to enter its respective values.
using Badi QE_SAVE with two methods 1.) IS_ACTIVE 2.) TABLES_IN_OPERATION
IS_ACTIVE-RV_ACTIVE = 'X'.
in  TABLES_IN_OPERATION method, you will find the structure : IS_QALS
                                                                                EV_SAVING_ALLOWED
                                                                                CS_QAPO
                                                                                CS_QAPP
                                                                                CT_QAMK
                                                                                CT_QASP
                                                                                CT_QASE
                                                                                CT_QAKL
IS_QALS, CS_QAPP &  CT_QAMK , you will get the all the basic inform.
and using function modules 1.) QAPB_QAPP_POST 2.) QEBU_QASR_POSTING
we can update/ insert multiple entries of data in to the qapp, qasr, qals tables.
At last by running the T-Code : qe71 you will find the all the entries you have inserted in the tables.
regards,
balu.

Similar Messages

  • BADI implementation for NOTIF_EVENT_POST not getting triggered

    Hi All,
            We have created an implementaion for the NOTIF_EVENT_POST. And it was working fine previously. Now it is not working for some reason. In fact issue is that the implemetation is not getting triggerd at all. I have put a BREAK-POINT statement in the code, but does not even goes into the code.
    I have checked all the properties. It is active. The table V_EXT_IMP has a entry corresponding to the BADI definition and implementation.
    I tried to debug the standard transaction IW52 (which uses this). The program runs till the FM call for CL_EXITHANDLER=>GET_INSTANCE. It created a instance also. But it does not get inside the call for the method of the BADI LR_BADI_INST->CHECK_DATA_AT_POST.
    I am at a fix now. Can somebody answer this issue? It would be very helpful.
    Regards
    Barada.
    Edited by: Baradakanta Swain on Aug 5, 2008 4:06 PM

    I did not get the issue with the BADI implementation. But as our time line was very tight, we moved the code to BTE event for Updating Notifications.
    This required a little tweaking of the code and now it is working.
    I am marking it ANSWERED so as to remove it from the list of unanswered questions.
    Regards
    Barada

  • To find out BADI implementation for a standard transaction

    Like for User Exit is there any standard code to find the BADI implemetation for a Transaction Code.
    If so please paste the code.

    Hi pagal,
    The following is the code for the report program which lists Userexits and BAdi's for a given Tcode...
    Regards
    Karthik D
    <b>P.S.: Reward Points if this is Helpful</b>
    *& Report  ZDK_FIND_BADI
    REPORT  ZDK_FIND_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    * Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    * Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    * For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.

  • Help required with badi implementation for IBASE

    Hi,
    I have implemented and activated a BADI (Defination name: BADI_IBASE_SAVE_CHCK). This BADI is for additional checks before changes to an IBASE is saved. However, this BADI is not getting triggered.
    I tried debugging the transaction IB52 during the SAVE operation, but couldnt get the reason.
    Can anyone help me out with this...
    I implemeted the BADI from the SPRO transaction in the following path.
    SPRO>Customer Relationship Management>Master Data>Installed Base> Enhancements-->BADI:Additional check when saving Installed Base.

    Hi Dharmendra,
      Check if this is your case..
    Note
    This Business Add-In is not suitable for checking individual field content in an installed base, or installed base component: To do this, see Business Add-In: Additional Checks When Modifying Installed Base Headers and Business Add-In: Additional Checks When Modifying Components.
    Regards.
    Manuel

  • !!URGENT!! BADI Implementation for creation of G/L accounts

    Please can you urgently help. I am trying to implement a user exit or badi to check the uniqueness of the description while creating a G/L account.
    I tried to create a BADI implementation to the definition FI_LIMIT_ACCOUNT but it gives error messages that this is for SAP internal use.
    The user exit ZXF03U01 used in enhancement SAPMF02H cannot be used as this exit passes only SKA1 and SKB1.I would like to check on SKAT. The fields affected in SKAT-TXT20 and SKAT-TXT50.
    Do you see a solution to this?
    I have the same to be implemented for KS01/KS02 - Create/Change Costcenter.
    A prompt response would be appreciated.

    Also try :
    CL_IM_QISR1_GL_ACCOUNT_CRE  Class
    Or FM`s
    GL_ACCOUNT_INSERT            
    GL_ACCOUNT_IN_COA_INSERT     
    GL_ACCOUNT_IN_COMPANY_INSERT 
    GL_ACCOUNT_SAMPLE_INSERT     
    GL_ACCT_CH_REQ_CREATE_ACCOUNT
    Thanks

  • QISR1 BADI implementation for HCM Processes & Forms

    Hello All,
       I am working on HCM Processes and Forms. I have created a process for Promotion/Position changes. For which I have to provide the drop down values for position, job, EE group, and Bonus Plan information. These value helps need to be restricted based on certain conditions.
    In order to achieve this, I have created a new implementation for QISR1 and added the logic in the method "IF_EX_QISR1~INT_SERVICE_REQUEST_INIT". When I test my process, it is not considering the new implementation and always pointing to the reference implementation with the scenario "SASR".
    Is there any customization settings for getting the new implementation while testing the process.
    Please tell me what was the mistake in my process.
    Thanks,
    Bindu

    Hi,
    Do you have a Z scenario created to handle the requirement ? I believe you need to perform a bunch of customizing activities in QISRSCENARIO transaction.
    Phani.

  • Java BAdI implementation for Customer specific Spell check

    In IS-M/AMC, I am working on implementation of a Java BAdI, namely ICustSpellCheck, which enables Customer Specific Spell check instead of the standard MS-Word spell check. Could someone provide pointers on the java code that goes into different methods of this class?

    Hi Dharmendra,
      Check if this is your case..
    Note
    This Business Add-In is not suitable for checking individual field content in an installed base, or installed base component: To do this, see Business Add-In: Additional Checks When Modifying Installed Base Headers and Business Add-In: Additional Checks When Modifying Components.
    Regards.
    Manuel

  • BADI Implementation for MIGO

    Hi,
      My requirement is to <b>add a new field</b> at header level in transaction code <b>MIGO</b>. No new fields at item level is required
      To achieve above task i have implemented the BADI <b>MB_MIGO_BADI</b>. As per documentation of this BADI, copied the sample implementation.
    This sample code gives one field (Number) at header level and at item (Detail)level a screen with new tab  with three fields ( namely <b>Quantity , Unit of Measure  and Text</b>).
    Now i have commented the new screen at item level created by this BADI. Still the fields in the commented screen validation is taking place.
      Even though the screen is commented at item level still the fields validation has taken place. I dont want these iteme level validations also. how do it ?
    Can you please give us the solution to above requirement.
    Regards
    Badari Talanki
    Message was edited by: Badari narayana Talanki

    Hi,
      Can you please post the details of the BADI definition (Definition name), so that it would be helpful for the forum to answer the query.
    Rgds,

  • BADI implementation for Copying control in CRM

    HI,
      Can anybody help me for my requirment, i want to implement BADI for copying control in CRM how to implement, and i want to filed in qutation screen how .
    Regards,
    Sivakumar.

    Check the BADI "ME_PROCESS_PO_CUST".
    Regards
    Vinod

  • BAdI Implementation for Customer/Vendor Basic Data

    My requirement is, In vendor and Customer Invoices I need to include a Employee Data
    [z table] which is a item data and this employee data will be in a table control in the BAdI - BADI_FDCB_SUBBAS01. For doing this, I need a program specifications and Procedure. Please any help me and provide me this
    Thanks in Advance,
    Regards,
    KAMAL KP.

    Hi Nalini,
    Could you help in populating Z segment (ZTAX) which is added to the ZDEBMAS07 (copied from DEBMAS07).
    This segment is added at very last and I only can see sinle method FILL_ALE_SEGMENTS_OWN_DATA in BADI CUSTOMER_ADD_DATA_BI. But not getting logic how can I populate this locating it very last of the tree.
    Its easy for me to put it say after E1KNA1M or after E1KNA11. Please show something if you can.
    Code what I have written still is:
    TYPES: BEGIN OF ty_j_1imocust,
              j_1icstno TYPE j_1imocust-j_1icstno,
              j_1ilstno TYPE j_1imocust-j_1ilstno,
             END OF ty_j_1imocust.
      DATA: ls_j_1imocust1 TYPE ty_j_1imocust.
      DATA: lv_kunnr TYPE kna1-kunnr,
            ls_t_idoc_data TYPE edidd.
      DATA: lv_flag TYPE char1.
      DATA: lv_j1icstno TYPE j_1imocust-j_1icstno,
            lv_j1ilstno TYPE j_1imocust-j_1ilstno.
      DATA: ls_edidd TYPE edidd.
      DATA: ls_j_1imocust TYPE j_1imocust.
        CLEAR ls_t_idoc_data.
        READ TABLE t_idoc_data INTO ls_t_idoc_data WITH KEY segnam = 'E1KNA1M'.
        IF sy-subrc = 0.
          lv_kunnr = ls_t_idoc_data-sdata+3(10).
        ENDIF.
      CLEAR ls_t_idoc_data.
      READ TABLE t_idoc_data INTO ls_t_idoc_data WITH KEY segnam = 'ZTAX'.
      IF sy-subrc = 0.
        DELETE t_idoc_data INDEX sy-tabix.
      ENDIF.
      CLEAR ls_j_1imocust.
      SELECT SINGLE *
      FROM j_1imocust INTO ls_j_1imocust WHERE kunnr = lv_kunnr.
      IF sy-subrc = 0.
        MOVE ls_j_1imocust-j_1icstno TO ls_j_1imocust1-j_1icstno.
        MOVE ls_j_1imocust-j_1ilstno TO ls_j_1imocust1-j_1ilstno.
        ls_edidd-mandt = sy-mandt.
        ls_edidd-segnam = 'ZTAX'.
        ls_edidd-sdata  = ls_j_1imocust1.
        APPEND ls_edidd TO t_idoc_data.
      ENDIF.

  • BADI implementation for importing values from excel

    Hi All,
    This is my first ever post in this forum and I am a newbie in ABAP. I have this doubt rather I would say I am stuck while implementing a BADI for importing Excel values.
    We have a BADI for 'Upload flow rate' button which is built on PLM frame work on webdynpro.
    The requirement is that after clicking the ' 'Upload flow rate'  button it should prompt for selecting the excel file and after selecting that file, the values should get loaded to the internal table.
    what I have tried till now is that
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
        I_FIELD_SEPERATOR    =
         I_LINE_HEADER        = 'X'
         I_TAB_RAW_DATA       = IT_RAW       " WORK TABLE
         I_FILENAME           = 'C:\abcdl\book1.xlsx'
       TABLES
         I_TAB_CONVERTED_DATA = lt_result
       EXCEPTIONS
         CONVERSION_FAILED    = 1
         OTHERS               = 2.
    IF SY-SUBRC <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endmethod.   
    I tried hard coding the xls file but it gives error as 'CNTL_error' which I guess is a known issue when we use this function module in webdynpro.
    So how can I get the values from excel without using datasource and just by hard coding the file name?
    Regards,
    Anand
    Anand

    There is no solution to this - SAP have said they will re-introduce this functionality, but they havent said when (as far as I am aware).
    However, we have developed a workaround (for Web reports anyway), let me know if you are interested.
    Patrick

  • Is I have to create different enhancement implementation for diff. code are

    Hi,
       I want to modify standard program in 3 different part  through enhancement framework.
    Is I ave to create 3 different enhancement implementation or i can use only one?.
    Regards,
    Himanshu

    Hi,
                  Below is given code which i have added in copy of stranded program at diff. code ares and its running fine.
                 Now i want to write in stranded code through enhancement framework.
                 I dont think we can write it in 1 place.? what you say.
    Internal tables
    ******Added By Himanshu*****
             BDMNG               LIKE  RESB-BDMNG,
    ******Himanshu*****
    ***Himanshu modification*****
       DATA: BEGIN OF xtab1 OCCURS 10,        "Tabelle der Reservierungen
             werks LIKE resb-werks,
             lgort LIKE resb-lgort,
             charg LIKE resb-charg,
             matnr LIKE resb-matnr,
             bdmng LIKE resb-bdmng,
             bdmns LIKE resb-bdmng,
             erfme LIKE resb-erfme,                      "ALRK014884 SW
             erfmg LIKE resb-erfmg,                      "ALRK014884 SW
           END OF xtab1.
      DATA: kzwso LIKE mara-kzwsm,
            ytab1 like xtab1 occurs 0 with header line.
    RANGES: xbdart FOR resb-bdart,
            MS_WERKS FOR MARC-WERKS.
    REFRESH XBDART.
      CLEAR   XBDART.
      XBDART-SIGN   = 'I'.
      XBDART-OPTION = 'EQ'.
      XBDART-LOW    = 'AR' .
      APPEND XBDART.
      XBDART-LOW    = 'MR' .
      APPEND XBDART.
      REFRESH MS_WERKS.
      CLEAR   MS_WERKS.
      XBDART-SIGN   = 'I'.
      XBDART-OPTION = 'EQ'.
      XBDART-LOW    = 1010.
      APPEND XBDART.
    end Himanshu********
    FORM data_selection.
    ****Himanshu*****
      data :  begin of it_mat occurs 0,
                matnr like mara-matnr,
                end of it_mat.
      select matnr  into corresponding fields of table it_mat
                          from mara
                        where matnr in matnr.
        CLEAR: XTAB1  . REFRESH XTAB1 .
        loop at it_mat .
      CALL FUNCTION 'MB_ADD_RESERVATION_QUANTITIES'
        EXPORTING
          X_MATNR = it_mat-matnr
          X_XLOEK = SPACE
          X_KZEAR = SPACE
          X_KZWSO = KZWSO          "ALRK014884 SW
        TABLES
          XTAB1   = XTAB1
          XWERKS  = MS_WERKS
          XBDART  = XBDART.
          ytab1 = xtab1.
          append ytab1.
          endloop.
    ****end himanshu*****
    FORM fieldcatalog.
    *****Himanshu Modification******
        loop at ytab1.
        read table bestand  with key matnr = ytab1-matnr.
        if sy-subrc = 0.
         bestand-bdmng = ytab1-bdmng.
         MODIFY TABLE bestand .
        endif.
        endloop.
    ******end Himanshu *******
    *****Himanshu Modification******
         CLEAR fieldcat.
      fieldcat-fieldname     = 'BDMNG'.
      fieldcat-tabname       = 'BESTAND'.
      fieldcat-ref_tabname   = 'YTAB1'.
      FIELDCAT-SELTEXT_S = 'Reserved'.
      fieldcat-outputlen     = 8.
      APPEND fieldcat.
    *****end Himanshu******

  • How to find User Exits/ Enhancments/ BADI's for T-code CJ20N

    Hi All,
        In T-code CJ20N, assume there are two fields A & B. User will input value in A, based on A value I need to fill B field. So I need to find first suitable User Exit/ Enhancment/ BADI.
    Kindly help me in this regard. Pls tell me how to find User Exit/ Enhancment/ BADI for a given t-code.
    Regards
    Jaker.

    Hi,
    Check the following , this might help,
    1. CNEX0037
    2.CNEX0038
    3.CNEX0039
    Regards
    Kiran Sure

  • Problems with creating badi implementation for virtual key figures

    Hi,
    I'm running BI 7.0 (unicode).
    I have been trying to follow this blog to calculate the virtual keyfigure in my infoset - Using Virtual Key Figure and Characteris in an InfoSet
    My infoset includes 1 infocube, and 3 master data infoobjects. I have created everything the blog was referring to, and activated fine. However, it seems that when the field symbols are assigned from the c_s_data structure, they do not get referenced correctly, so that no correct memory area is assigned and instead the whole c_s_data structure is assigned to the field symbol, which prevents me from referencing the right mem area correctly.
    For example, in this statement
    ASSIGN COMPONENT P_CHA_ZMYINFOSET___F120 OF STRUCTURE c_s_data
                                                                           TO  <fs_ZMYINFOSET___F120>.
    the component p_cha_zmyinfoset___F120 of c_s_data supposed to be assigned to the field symbol (point to the correct place in structure c_s_data). In other words when this statement is executed, the program looks at structure c_s_data, finds the component zmyinfoset___F120 in it, and assignes the position of that component in the structure to the field symbol, so that it could be referenced in the code. However, the correct assignment does not happen.
    When I debug the code and view the structure c_s_data, I can never find any component with any of the names I can find in my BEX query like ZMYINFOSET___F120. All I see are the components that are named like these: Z____5179 (C_S_DATA-Z____5179), C_S_DATA-S____5150, etc. I see the correct values, but components all have weired names like that. I thought in Infosets the components are named in the following fashion: INFOSETNAME___FXXX which you can see from your BEX query designer. Why is this happening? Why don't I see the correct names in the c_s_data structure? If instead I try to assign those components with their weired names directly, I still get incorrect assignment.
    what am I doing wrong?
    I was reading abap help on this statement:  assign COMPONENT comp OF STRUCTURE struc
    and the following I found:
    With this expression for mem_area, the memory area of a component comp of a structure struc is assigned to the field symbol. While the structure struc is specified directly, a data object must be specified for comp. The evaluation depends on the data type of comp:
    If the field comp has a non-text, elementary type, the content is converted to the type i and interpreted as a position of the component in the structure. if the value for comp is 0, the storage area of the entire structure is assigned to the field symbol.
    From what it says above, my value for comp is always 0, so that the entire structure is always assigned to my field symbol instead of a specific position in that structure.
    please let me know what is wrong here.
    thanks.
    Edited by: AG on Oct 11, 2008 10:41 AM
    Edited by: AG on Oct 11, 2008 10:42 AM

    Hi,
    I am facing the similar issue. Can you please tell me how you solved this problem in more details?
    which sample code and how u can find that in SE24 and where to copy that code.
    Thanks in advance..
    vamsi.

  • BADI Implementation for INFOSPOKE

    Hi,
    I have a BADI logic to read the product description from the text table in my infospoke and writing into a file.
    I have multiple(10) infospoke extraction (same format but with different selections) which wants to use the similar type of logic.
    My question is:
    Is it possible to write one Generic BADI and that can be shared by other infospoke extractions?
    OR should I copy the same logic for other 10 BADI ?
    I believe the BADI is specific to infospoke. I see that I have no control over the source structure...
    2) I was trying this in RSCRM_BAPI. My query result in BEX shows the product and product description(from text table)fine. where as in my RSCRM_BAPI it displays only the product and NOT the description. If I could able to display the text using RSCRM_BAPI I can define 10 queries which makes my life easier...
    Any idea/suggestion in both methods is greatly appreciated as this is kind of very URGENT..
    Thanks for you help.

    This is kind of URGENT.
    Any help will be very useful

Maybe you are looking for