Enhance transaction BD10

Hi Experts,
We have a requirement like this :  In transaction BD10 when "send material in full" is flagged, we have to start IDOC  J3AGRI01 creation (using FM J_4A_MASTERIDOC_CRE_REQ_J3AGRI). At present when the flag is set, only the classifications are distributed.
Can you suggest me some BADI/EXITs to meet this requirement?  Or any other way to accomplish the above requirement.
A quick reply is highly appreciated.
Thanks,
Vineet

Hi Experts,
We have a requirement like this :  In transaction BD10 when "send material in full" is flagged, we have to start IDOC  J3AGRI01 creation (using FM J_4A_MASTERIDOC_CRE_REQ_J3AGRI). At present when the flag is set, only the classifications are distributed.
Can you suggest me some BADI/EXITs to meet this requirement?  Or any other way to accomplish the above requirement.
A quick reply is highly appreciated.
Thanks,
Vineet

Similar Messages

  • Enhancements with the Easy Enhance - Transactions

    Hi,
    In CRM 2007, I have noticed a separate section of enhancing transactions alone.
    IMG->Customer Relationship Management-> Transactions-> Basic Settings-> Enhancements with the Easy Enhancement Workbench
    How is this different from adding fields to transaction using TCODE EEWB ? Has anyone used this feature ?
    Regards

    Hi,
    One of the methods for displaying additional data on existing Business Transaction (One Order, Oppurtunity etc.,)is to enhance the component using EEWB and the system takes care of most of the things.
    All we need to do is generate the required methods at the Component Work Bench and add the field on to the UI.
    Using the path you mentioned,
    existing standard components or custom created components be assigned to a component and can be displayed on the UI. For this settings need to be maintained in SPRO.
    I believe this can be done only for Business Transactions like One Order etc.,
    Just explore the path you mentioned.
    Regards,
    Masood Imrani S.

  • Enhancing transaction TRIP

    Hi All,
    I am trying to enhance TRIP transaction. This transaction is used to Create/Change travel expense report. Whenever, I create a travel expense report, it displays a Cost Distribution button on the screen. When I click on this button, cost assignment fields are displayed in a pop up table with some data. I need to refresh this data each time a new expense report is created. I have looked at all user exits/BADIs/enhancement points, but there is not any available. Is there any other way to do it?
    Thanks,
    Tom

    Refer SAP
    Note 1238628 - Entry & does not exist in T702E for trip segments
    Note 808600 - Error 00 058 "Entry & & & does not exist in &4"
    Note 928871 - Error 00058: Receipt Wizard with service provider
    Regards,
    Ravi

  • ABAP coding error...enhance transactional datasource

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    Hi,
    For this, you can do as below
    REFER EXTRACTOR GUID --1122
    Find GUID References for guid = 1122 in table CRMD_ORDERADMI (item level table)
    for the guid reference in CRMD_ORDERADMI, find the Product >0 in table CRMD_SRV_REFOBJ
    select that Product and write into extractor field zzproduct#
    WHEN 'ziw_orderma_i'.
    LOOP AT c_t_data INTO l_s_ziw_orderma_i.
    l_tabix = sy-tabix.
    data: temp_guid like CRMD_ORDERADM-GUID. to create a temporary variable
    SELECT single GUID FROM CRMD_ORDERADMI INTO temp_guid
    WHERE GUIDREF = l_s_ziw_orderma_i-GUID.
    The above statement would give you value for GUID from this table i.e. z1122
    SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
    WHERE GUID = temp_guid.
    MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
    ENDSELECT.
    This would fetch your value
    clear temp_guid. to clear this temporary variable
    ENDLOOP.
    WHEN OTHERS.
    EXIT.
    ENDCASE.
    PS: It appears that you have corrected already so not requried any more
    Edited by: Rahul K Rai on Oct 17, 2010 9:27 PM

  • URG: Enhancing transaction WTYRCL

    Hi folks -
    I have to enhance SAP TCODE <b>WTYRCL</b>, it is a part of SAP VMS system (IS-AUTO)....
    In the tab strip "<b>Objects</b>" the tcode shows entries from table <b>WTY_RCLOBJ</b> using ALV controls...
    I have appended the reqd fields to the database structure but I dont see it in the tcode...
    How do I get TCODE to display these fields that I have added??
    Need help ASAP..
    Regards
    Sudhakar

    Hello Thomas,
    I have the similar requirement of adding new fields in transaction QM10.  I looked at the enhancement mentioned in this thread but that is to modify how the ALV report is displayed.  Did you find another enhacement to add new fields to QM10.  If so, can you please share that.
    Thanks,
    Rutul Thakkar

  • IS-U enhancing transaction FPBW (open items extraction using table DFKKOPBW

    Has anybody experiances with IS-U Accounts Receivable & payable - 'Open Items' extraction using transaction FPBW
    (which fill the table DFKKOPBW).
    1. I need to fill an custom included structure in this table (DFKKOPBW) and I am searching for the correct time (for performance reasons) & place in the (SAP) source (in the program flow) to do this.
    2. Anybody any clues on Custum/user exits in this part?
    See also function group FKKOPBW.
    Jos Reithofer

    Try this code that can search a user exit in a transaction. I got it from previous post in this forum.
    *& Report  Y_SEARCH_USEREXIT                                           *
    REPORT y_search_userexit LINE-SIZE 140 NO STANDARD PAGE HEADING.
    CONSTANTS
    *CONSTANTS: c_user_exit(22) TYPE c VALUE 'CALL CUSTOMER-FUNCTION',
    constants: c_badi(30) type c value 'CALL METHOD CL_EXITHANDLER=>',
               c_funcao_1(13) TYPE c VALUE 'CALLFUNCTION''',
               c_funcao_2(13) TYPE c VALUE 'CALL FUNCTION',
               c_include(07) TYPE c VALUE 'INCLUDE',
               c_submit(06) TYPE c VALUE 'SUBMIT',
               c_comentario TYPE c VALUE '*',
               c_ponto TYPE c VALUE '.',
               c_aspa TYPE c VALUE '''',
               c_x TYPE c VALUE 'X'.
    TABELAS INTERNAS
    DATA: BEGIN OF ti_programa OCCURS 0,
    codigo_fonte(200) type c, " LIKE rssource-line,
    END OF ti_programa.
    DATA: BEGIN OF ti_includes OCCURS 0,
    nome LIKE sy-repid,
    nivel(2) TYPE n,
    END OF ti_includes.
    DATA: BEGIN OF ti_user_exit OCCURS 0,
    programa LIKE sy-repid,
    linha(10) TYPE n,
    codigo_fonte LIKE rssource-line,
    nivel(2) TYPE n,
    END OF ti_user_exit.
    VARIÁVEIS GLOBAIS
    DATA: vg_caracter TYPE c,
    vg_palavra(50) TYPE c,
    vg_inicial LIKE sy-index,
    vg_conta_aspa TYPE n,
    vg_pname LIKE tfdir-pname,
    vg_texto(50) TYPE c,
    vg_contador LIKE sy-tfill,
    vg_nivel(2) TYPE n,
    vg_ini_contagem TYPE c, " INDICA QUE DEVE SER INICIADA A CONTAGEM
    vg_conta_espaco TYPE n. " TOTAL DE ESPAÇOS ( MÁXIMO 2 )
    PARAMETERS
    *- DADOS OBRIGATÓRIOS.
    SELECTION-SCREEN BEGIN OF BLOCK bl01 WITH FRAME TITLE tl_001 .
    selection-screen begin of line.
    selection-screen comment 1(25) tl_003.
    PARAMETERS: p_prog LIKE sy-repid.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(25) tl_004.
    parameters: p_tcode LIKE sy-tcode.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(25) tl_009.
    parameters: p_exit(30) TYPE c default 'CALL CUSTOMER-FUNCTION'.
    selection-screen end of line.
    SELECTION-SCREEN END OF BLOCK bl01.
    *- DADOS OPCIONAIS.
    SELECTION-SCREEN BEGIN OF BLOCK bl02 WITH FRAME TITLE tl_002.
    selection-screen begin of line.
    PARAMETERS: p_incl TYPE c AS CHECKBOX.
    selection-screen comment 4(25) tl_005.
    selection-screen end of line.
    selection-screen begin of line.
    parameters: p_func TYPE c AS CHECKBOX.
    selection-screen comment 4(25) tl_006.
    selection-screen end of line.
    selection-screen begin of line.
    parameters: p_submit TYPE c AS CHECKBOX.
    selection-screen comment 4(25) tl_007.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(25) tl_008.
    parameters: p_nivel(2) TYPE n.
    selection-screen end of line.
    SELECTION-SCREEN END OF BLOCK bl02.
    initialization.
      tl_001 = 'Program Selection'.
      tl_002 = 'Search Depth'.
      tl_003 = 'Program Name'.
      tl_004 = 'Transaction Code'.
      tl_005 = 'Process INCLUDEs'.
      tl_006 = 'Process FUNCTION MODULEs'.
      tl_007 = 'Process SUBMITs'.
      tl_008 = 'Depth level'.
      tl_009 = 'Search string'.
    INÍCIO
    START-OF-SELECTION.
    *- CONSISTÊNCIAS DOS PARÂMETROS.
      PERFORM consisti_parametros.
    *- INICIALIZA TABELA.
      PERFORM inicializa_tabela.
    *- VERIFICA SE NO PROGRAMA EXISTE ALGUM INCLUDE,FUNÇÃO OU SUBMIT.
      PERFORM verifica_include_funcao_submit.
    *- ANALISA OS INCLUDES E PROCURA POR USER EXIT.
      PERFORM procura_user_exit.
    *- EXIBE TODAS USER EXIT ENCONTRADAS.
      PERFORM exibe_user_exit.
    FIM
    END-OF-SELECTION.
    *& Form PROCURA_USER_EXIT
    text
    --> p1 text
    <-- p2 text
    FORM procura_user_exit.
    *- VERIFICA SE NOS INCLUDES SELECIONADOS EXISTEM USER EXITS.
      LOOP AT ti_includes.
    *- ESVAZIA TABELA INTERNA.
        REFRESH ti_programa.
    *- REALIZA LEITURA DO INCLUDE ARMAZENANDO-O EM TABELA INTERNA
        READ REPORT ti_includes-nome INTO ti_programa.
        LOOP AT ti_programa.
    *- VERIFICA SE NA LINHA DO PROGRAMA EXISTE ALGUM INCLUDE.
          SEARCH ti_programa-codigo_fonte FOR p_exit.
    *- SE ENCONTROU INCLUDE E SE A LINHA NÃO ESTÁ COMENTADA...
          IF sy-subrc EQ 0
          AND ti_programa-codigo_fonte+0(1) NE c_comentario.
            CLEAR ti_user_exit.
    *- REMOVE ESPAÇOS NO INÍCIO DA STRING.
            SHIFT ti_programa-codigo_fonte LEFT DELETING LEADING space.
            MOVE: ti_includes-nome TO ti_user_exit-programa,
            sy-tabix TO ti_user_exit-linha,
            ti_programa-codigo_fonte TO ti_user_exit-codigo_fonte,
            ti_includes-nivel TO ti_user_exit-nivel.
            APPEND ti_user_exit.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    ENDFORM. " PROCURA_USER_EXIT
    *& Form EXIBE_USER_EXIT
    text
    --> p1 text
    <-- p2 text
    FORM exibe_user_exit.
      PERFORM cabecalho.
      PERFORM user_exit_nao_encontrada.
      PERFORM lista_user_exit_encontrada.
      PERFORM rodape.
    ENDFORM. " EXIBE_USER_EXIT
    *& Form PROCURA_INCLUDE
    text
    --> p1 text
    <-- p2 text
    FORM procura_include.
      CLEAR vg_palavra.
    *- VERIFICA SE NA LINHA DO PROGRAMA EXISTE ALGUM INCLUDE.
      SEARCH ti_programa-codigo_fonte FOR c_include.
    *- SE ENCONTROU INCLUDE E SE A LINHA NÃO ESTÁ COMENTADA...
      IF sy-subrc EQ 0
      AND ti_programa-codigo_fonte+0(1) NE c_comentario.
    *- VERIFICA TODOS OS 72
        DO 72 TIMES.
          vg_inicial = sy-index - 1.
          MOVE ti_programa-codigo_fonte+vg_inicial(1) TO vg_caracter.
          IF NOT vg_caracter IS INITIAL.
    *- VERIFICA SE NÃO É FIM DO COMANDO.
            IF vg_caracter EQ c_ponto.
              EXIT.
            ENDIF.
    *- MONTA PALAVRA.
            CONCATENATE vg_palavra vg_caracter INTO vg_palavra.
    *- CONVERTE PARA MAÍUSCULA PARA FUTURA COMPARAÇÃO.
            TRANSLATE vg_palavra TO UPPER CASE.
    *- SE ENCONTROU ALGUM INCLUDE
            IF vg_palavra EQ c_include.
              CLEAR vg_palavra.
            ENDIF.
          ENDIF.
        ENDDO.
    *- SALVA NOME DO INCLUDE P
        READ TABLE ti_includes WITH KEY nome = vg_palavra.
        IF NOT sy-subrc IS INITIAL.
          IF vg_nivel LE p_nivel.
            MOVE: vg_palavra TO ti_includes-nome,
            vg_nivel TO ti_includes-nivel.
            APPEND ti_includes.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM. " PROCURA_INCLUDE
    *& Form PROCURA_FUNCAO
    text
    --> p1 text
    <-- p2 text
    FORM procura_funcao.
      CLEAR: vg_conta_aspa,
      vg_palavra.
    *- VERIFICA SE NA LINHA DO PROGRAMA EXISTE ALGUM INCLUDE.
      SEARCH ti_programa-codigo_fonte FOR c_funcao_2.
    *- SE ENCONTROU INCLUDE E SE A LINHA NÃO ESTÁ COMENTADA...
      IF sy-subrc EQ 0
      AND ti_programa-codigo_fonte+0(1) NE c_comentario.
    *- VERIFICA TODOS OS 72
        DO 72 TIMES.
          vg_inicial = sy-index - 1.
          MOVE ti_programa-codigo_fonte+vg_inicial(1)
          TO vg_caracter.
          IF NOT vg_caracter IS INITIAL.
    *- VERIFICA SE NÃO É FIM DO COMANDO.
            IF vg_caracter EQ c_aspa.
              ADD 1 TO vg_conta_aspa.
              IF vg_conta_aspa EQ 2.
                EXIT.
              ENDIF.
            ENDIF.
    *- MONTA PALAVRA.
            CONCATENATE vg_palavra vg_caracter INTO vg_palavra.
    *- CONVERTE PARA MAÍUSCULA PARA FUTURA COMPARAÇÃO.
            TRANSLATE vg_palavra TO UPPER CASE.
    *- SE ENCONTROU ALGUM INCLUDE
            IF vg_palavra EQ c_funcao_1.
              CLEAR vg_palavra.
            ENDIF.
          ENDIF.
        ENDDO.
    *- PESQUISA NOME DA FUNÇÃO PARA FUTURA PESQUISA POR USER EXIT.
        CLEAR vg_pname.
        SELECT SINGLE pname
        INTO vg_pname
        FROM tfdir
        WHERE funcname EQ vg_palavra.
        IF sy-subrc EQ 0.
          READ TABLE ti_includes WITH KEY nome = vg_pname.
          IF NOT sy-subrc IS INITIAL.
            IF vg_nivel LE p_nivel.
              MOVE: vg_pname TO ti_includes-nome,
              vg_nivel TO ti_includes-nivel.
              APPEND ti_includes.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM. " PROCURA_FUNCAO
    *& Form VERIFICA_INCLUDE_FUNCAO_SUBMIT
    text
    --> p1 text
    <-- p2 text
    FORM verifica_include_funcao_submit.
      LOOP AT ti_includes.
        ADD 1 TO vg_contador.
        DESCRIBE TABLE ti_includes.
        PERFORM evitar_time_out USING sy-tfill.
        MOVE ti_includes-nivel TO vg_nivel.
        ADD 1 TO vg_nivel.
    *- ESVAZIA TABELA INTERNA.
        REFRESH ti_programa.
        READ REPORT ti_includes-nome INTO ti_programa.
        LOOP AT ti_programa.
    *- PROCURA POR INCLUDES.
          IF p_incl EQ c_x.
            PERFORM procura_include.
          ENDIF.
    *- PROCURA POR FUNÇÃO.
          IF p_func EQ c_x.
            PERFORM procura_funcao.
          ENDIF.
    *- PROCURA POR SUBMIT.
          IF p_submit EQ c_x.
            PERFORM procura_submit.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    ENDFORM. " VERIFICA_INCLUDE_FUNCAO_SUBMIT
    *& Form EVITAR_TIME_OUT
    text
    -->P_SY_TFILL text
    -->P_SY_SUBRC text
    FORM evitar_time_out USING p_sy_tfill.
      DATA: vl_total(10) TYPE n,
      vl_atual(10) TYPE n.
      MOVE: p_sy_tfill TO vl_total,
      vg_contador TO vl_atual.
      CONCATENATE 'Total:' vl_total '-' 'Atual:' vl_atual
      INTO vg_texto
      SEPARATED BY space.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = vg_texto.
    ENDFORM. " EVITAR_TIME_OUT
    *& Form PROCURA_SUBMIT
    text
    --> p1 text
    <-- p2 text
    FORM procura_submit.
      CLEAR: vg_conta_espaco, vg_palavra, vg_ini_contagem.
    *- VERIFICA SE NA LINHA DO PROGRAMA EXISTE ALGUM INCLUDE.
      SEARCH ti_programa-codigo_fonte FOR c_submit.
    *- SE ENCONTROU INCLUDE E SE A LINHA NÃO ESTÁ COMENTADA...
      IF sy-subrc EQ 0
      AND ti_programa-codigo_fonte+0(1) NE c_comentario.
    *- VERIFICA TODOS OS 7
        DO 72 TIMES.
          vg_inicial = sy-index - 1.
          MOVE ti_programa-codigo_fonte+vg_inicial(1) TO vg_caracter.
          IF vg_ini_contagem EQ c_x AND vg_caracter IS INITIAL.
            ADD 1 TO vg_conta_espaco.
          ENDIF.
          IF NOT vg_caracter IS INITIAL.
            MOVE c_x TO vg_ini_contagem.
            IF vg_caracter EQ c_ponto.
              EXIT.
            ENDIF.
    *- MONTA PALAVRA.
            IF vg_conta_espaco LT 2.
              CONCATENATE vg_palavra vg_caracter INTO vg_palavra.
    *- CONVERTE PARA MAÍUSCULA PARA FUTURA COMPARAÇÃO.
              TRANSLATE vg_palavra TO UPPER CASE.
    *- SE ENCONTROU ALGUM INCLUDE
              IF vg_palavra EQ c_submit.
                CLEAR vg_palavra.
              ENDIF.
            ELSE.
              EXIT.
            ENDIF.
          ENDIF.
        ENDDO.
    *- PESQUISA NOME DA FUNÇÃO
        READ TABLE ti_includes WITH KEY nome = vg_palavra.
        IF NOT sy-subrc IS INITIAL.
          IF vg_nivel LE p_nivel.
            MOVE: vg_palavra TO ti_includes-nome,
            vg_nivel TO ti_includes-nivel.
            APPEND ti_includes.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM. " PROCURA_SUBMIT
    *& Form CONSISTI_PARAMETROS
    text
    --> p1 text
    <-- p2 text
    FORM consisti_parametros.
      IF p_nivel IS INITIAL.
        MOVE 1 TO p_nivel.
      ENDIF.
      IF p_prog IS INITIAL AND p_tcode IS INITIAL.
    *- NOME DO PROGRAMA E NOM
    *- DEVE SER INFORMADO.
        MESSAGE ID 'ZF' TYPE 'I' NUMBER '000' WITH text-003.
        STOP.
      ENDIF.
      IF NOT p_prog IS INITIAL AND NOT p_tcode IS INITIAL.
    *- SOLICITA AO U
        MESSAGE ID 'ZF' TYPE 'I' NUMBER '000' WITH text-004.
        STOP.
      ENDIF.
    ENDFORM. " CONSISTI_PARAMETROS
    *& Form INICIALIZA_TABELA
    text
    --> p1 text
    <-- p2 text
    FORM inicializa_tabela.
      DATA vl_pgmna LIKE tstc-pgmna.
      REFRESH ti_includes.
      IF NOT p_prog IS INITIAL.
        MOVE: p_prog TO ti_includes-nome,
        '0' TO ti_includes-nivel.
        APPEND ti_includes.
      ELSEIF NOT p_tcode IS INITIAL.
        SELECT SINGLE pgmna
        FROM tstc
        INTO vl_pgmna
        WHERE tcode EQ p_tcode.
        IF sy-subrc EQ 0.
          MOVE: vl_pgmna TO ti_includes-nome,
          '0' TO ti_includes-nivel.
          APPEND ti_includes.
        ENDIF.
      ENDIF.
    ENDFORM. " INICIALIZA_TABELA
    *& Form CABECALHO
    text
    --> p1 text
    <-- p2 text
    FORM cabecalho.
      DATA vl_complemento(50) TYPE c.
      IF p_tcode IS INITIAL.
        CONCATENATE '(Program)' p_prog
        into vl_complemento
        SEPARATED BY space.
      ELSE.
        CONCATENATE '(Transaction)' p_tcode
        INTO vl_complemento
        SEPARATED BY space.
      ENDIF.
      FORMAT COLOR COL_KEY.
      WRITE: /001 sy-uline,
      /001 sy-vline,
      040 'User Exits in a Program',
      vl_complemento,
      140 sy-vline,
      /001 sy-uline.
      WRITE: /001 sy-vline,
      003 'Program Name',
      044 sy-vline,
      046 'Level',
      052 sy-vline,
      054 'Lineno',
      065 sy-vline,
      067 'UserExit',
      140 sy-vline,
      /001 sy-uline.
    ENDFORM. " CABECALHO
    *& Form USER_EXIT_NAO_ENCONTRADA
    text
    --> p1 text
    <-- p2 text
    FORM user_exit_nao_encontrada.
      DESCRIBE TABLE ti_user_exit.
      CHECK sy-tfill IS INITIAL.
      FORMAT COLOR COL_NORMAL INTENSIFIED ON.
      WRITE: /003 'Userexit does not exist',
      139 ' '.
      FORMAT RESET.
    ENDFORM. " USER_EXIT_NAO_ENCONTRADA
    *& Form LISTA_USER_EXIT_ENCONTRADA
    text
    --> p1 text
    <-- p2 text
    FORM lista_user_exit_encontrada.
      DATA vl_cor TYPE c.
      LOOP AT ti_user_exit.
        IF vl_cor EQ c_x.
          CLEAR vl_cor.
        ELSE.
          MOVE c_x TO vl_cor.
        ENDIF.
    *- AJUSTA COR NA TELA.
        IF vl_cor EQ c_x.
          FORMAT COLOR COL_NORMAL INTENSIFIED ON.
        ELSE.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
        ENDIF.
    *- INÍCIO DA IMPRESSÃO.
        WRITE: /003 ti_user_exit-programa,
        046 ti_user_exit-nivel,
        054 ti_user_exit-linha,
        067 ti_user_exit-codigo_fonte,
        139 ' '.
      ENDLOOP.
    ENDFORM. " LISTA_USER_EXIT_ENCONTRADA
    *& Form RODAPE
    text
    --> p1 text
    <-- p2 text
    FORM rodape.
      DESCRIBE TABLE ti_includes.
      FORMAT COLOR COL_TOTAL.
      WRITE: /001 sy-uline,
      /001 sy-vline,
      003 'Total include searched:', sy-tfill,
      ' - with level:', p_nivel,
      140 sy-vline,
      /001 sy-uline.
    ENDFORM. " RODAPE

  • Is it  possible to enhance transaction S_PL0_86000028?

    Hello Gurus,
    I need to add 'Cost Center' to the output of 'S_PL0_86000028'. It is a standard report created by Report Painter tool.
    Is it possible to enhance this report. If yes, how? . Or is it possible to copy this report and create a custom report with the requirements.Please help.
    Thanks in advance

    Hi Rojer,
    Pleas try to  modify youre report painter using belwo
    Go to Tcode:FGI2 &  select 0SAPBLNCE-01 report from report type 2 & you can add cost center from characteristic list.
    It may be helpfull for you.
    Regards,
    Prasenjit

  • Reagarding Warrenty Enhancement - Transaction WTY

    Dear Experts,
    I have a requirement to validate and substitute the customized fields in WTY transaction. My team leader has told me to to
    create a rules in transaction GGB0. My query is how to link those rules in to WTY transaction. Could you please provide me
    if you have any study material.
    Moderator message: please do not ask for material, rather try finding available information yourself.
    Edited by: Thomas Zloch on Jan 18, 2011 5:50 PM

  • ABAP Coding- enhance transactional datasource

    i need to bring in data from different tables and following code works for me:
    DATA: l_s_ziw_orderma_i like ziw_orderma_i.
    CASE i_DATASOURCE.
    WHEN 'ziw_orderma_i'.
    LOOP AT c_t_data INTO l_s_ziw_orderma_i.
    l_tabix = sy-tabix.
    SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
    WHERE GUID = l_s_ziw_orderma_i-GUID .
    MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
    ENDSELECT.
    ENDLOOP.
    WHEN OTHERS.
    EXIT.
    ENDCASE.
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........z1122
    1122......1.1.10....901..........z1123
    1122......1.1.10....901..........z1124
    using this ITEM GUID from extractor, i want to pull out data from table - CRMD_SRV_REF
    guid ...............product...............Product type..........product quality
    z1122.............110011..........ABC.........................GUD
    z1123.............110012..........DEF..........................GUD
    z1124.............110013...........DFG.........................GUD
    NOW my code works for extracting PRODUCT..
    what MODIFICATION I need to do so that i can bring in PRODUCT TYPE & PRODUCT QUALITY

    HI ,
    I am not sure about the Product quality( Do you know the source table ?)  , but Product type will be available in the
    will not be available in CRMD_SRV_REFOBJ, you can get that from table COMM_PRODUCT ,
    Change your code as below sample code  to get product id and Type , find the source table for product quality and extend this code in the similar way , check for syntax error if any and fix it
    TYPES : BEGIN OF PROD        ,
            PRODUCT_ID   TYPE COMT_PRODUCT_ID ,
            PRODUCT_TYPE TYPE COMT_PRODUCT_TYPE,
            END OF PROD .
    DATA: l_s_ziw_orderma_i like ziw_orderma_i,
          i_PROD TYPE TABLE OF PROD ,
          WA_PROD LIKE LINE OF i_PROD .
    CASE i_DATASOURCE.
    WHEN 'ziw_orderma_i'.
    LOOP AT c_t_data INTO l_s_ziw_orderma_i.
    l_tabix = sy-tabix.
    SELECT PRODUCT_ID
      FROM CRMD_SRV_REFOBJ
      INTO l_s_ziw_orderma_i-ZZPRODUCT
    WHERE GUID = l_s_ziw_orderma_i-GUID .
    ENDSELECT.
    IF SY-SUBRC EQ 0 .
    SELECT PRODUCT_ID
            PRODUCT_TYPE
        INTO TABLE i_PROD
        FROM COMM_PRODUCT
             WHERE PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
    ENDIF .
    IF i_PROD[] IS NOT INITIAL .
    READ TABLE I_PROD INTO WA_PROD WITH KEY
                            PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
    IF SY-SUBRC EQ 0 .
    l_s_ziw_orderma_i-ZZPROD_TYPE = WA_PROD-PRODUCT_TYPE .
    ENDIF.
    ENDIF .
    MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
    ENDLOOP.
    WHEN OTHERS.
    EXIT.
    ENDCASE.
    Regards,
    Sathya

  • Enhancing a transaction datasource!

    Hi all,
    Can anyone please tell me where I can find documentation on writing User exits/enhancing transaction datasources.  Is the procedure for enhancing transaction datasource same for all extraction methods like LO-Cockpit, LIS, COPA, Generic Datasource and FISL or are they dependent on the extraction method.
    I need to enhance LIS datasource and write code to populate value for couple of new fields.
    I appreciate your help.
    thanks.

    Your question has been already answered !
    https://websmp205.sap-ag.de/bi -> BI InfoIndex -> Exits
    Bye,
    Roberto
    Anyway, try to do a search inside these forums...you will try a lot of very useful material and sample...

  • Transactional datasource enhancement

    Need documentation for transactional datasource enhancement
    Please search SDN
    Edited by: Pravender on May 25, 2010 12:28 PM

    hi,
    chk the links
    Master data enhancement
    CMOD Enhancements
    Enhancing master data extractor
    Lo Enhancement- Transactional data
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    Ramesh

  • Automation of BD10

    Hi Everybody,
      His there any possiblity to automate the BD10. or a user exit to call the transaction BD10 from MM01 and MM02 while saving.
    waiting for the reply
    Asshwin

    Transaction Code - BD10                     Send Material
    Exit Name           Description
    MGV00001            Material Master (Industry): ALE Distribution
    MGV00002            Material Master (Industry): Read Values for Filter Objects
    MGV00003            Material master (retail): ALE distribution
    No of Exits:          3
    Transaction Code - MM01                     Create Material &
    Exit Name           Description
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    No of Exits:          3
    Transaction Code - MM02                     Change Material &
    Exit Name           Description
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    No of Exits:          3
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal
    null

  • Enhancement of Popup window of Open contracts during Sale Order Creation.

    Hi,
    I have a requirement as follows.
    1. During creation of Sales Order we are getting a pop up window with the list of open Contracts.
    Currently there are following fields in that popup.
    1. Doc Num, 2. Doc Type 3. Valid From 4. Valid To.
    Now my requirement is to add one more value (Document Description) in this. Please help me if any one did simillar enhancement.

    Transaction Code - VA01                     Create Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Enhancement in ME22N

    Hi All,
             There is requirement to enhancement in  Release strategy (ME22N). If  user increase the OP price the release strategy being changed but he decrease the OP the price release strategy not being changed. The reauirement is there if they make any change in OP price either incrase or decrease, release strategy should be change. therefore there is any User-Exit or BADI which change the release strategies related informantion. I have aslo tried some user exit and BADI but in these exit and BADI  the OP header information not in export parameters (this information is import parameters) so I can not make change it. there is any other user exit or BADI for do that.
    Thanks in Advance
    Jitendra Singh

    I need to make some fields output only at item level
    > in transaction ME22N i.e. during PO change. Is there
    > any exit or BADI available for that.
    >
    > Regards
    This is mainly config.
    Check in SPRO - IMG
    Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level
    Also these BAdis are available:
    ME_PROCESS_PO_CUST - For Custom logic in Enjoy transactions
    ME_GUI_PO_CUST - For Additional Custom screens in ME2xn
    Read the documentation, it will help.
    Also, read the config section about enhancements in Purchasing using old enhancement technology. See below.
    OSS is also a good place for documentation. OSS 496083.
    Good luck!
    Leonardo De Araujo
    Develop Enhancements for Purchasing
         In this step, you develop enhancements for Purchasing.
         The following SAP enhancements are available for the Purchasing area:
         o   AMPL0001
             User subscreen for additional AMPL data (Manufacturer part number)
         o   LMELA002
             Adoption of batch number from shipping notification at time of
             posting of a goods receipt
         o   LMELA010
             Incoming shipping notification: adoption of item data from IDoc
         o   LMEQR001
             User exit for source determination
         o   M06B0001
             Role determination for release of requisitions
         o   M06B0001
             Changes to communication structure for release of requisitions
         o   M06B0003
             Number range and document number
         o   M06B0004
             Number range and document number
         o   M06B0005
             Changes to communication structure for overall release of purchase
             requisitions
         o   M06E0004
             Changes to communication structure for release of purchasing
             document
         o   M06E0005
             Role determination for release of purchasing documents
         o   ME590001
             Grouping of requisitions for PO split in transaction ME59
         o   MEETA001
             Determination of schedule line type (backlog, immediate requirement,
             forecast)
         o   MEFLD004
             Determination of earliest delivery date for checking at time of
             goods receipt (PO only)
         o   MELAB001
             Generation of forecast delivery schedule: realization via creation
             profile
         o   MEQUERY1
             Enhancement for document overview ME21N / ME51N
         o   MEVME001
             Calculation of default GR quantity and over/underdelivery tolerances
         o   MM06E001
             User exits for inbound EDI messages and outbound purchasing
             documents
         o   MM06E003
             Number range and document number
         o   MM06E004
             Control of import data screens in purchase orders
         o   MM06E005
             Customer fields in purchasing documents
         o   MEREQ001
             Customer's own data in purhcase requisitions
         o   MM06E007
             Change document for requisitions when converting into POs
         o   MM06E008
             Monitoring of contract target value in case of release orders
         o   MM06E009
             Relevant texts for "Texts exist" indicator
         o   MM06E010
             Field selection for vendor address
         o   MM06E011
             Activation of requisition block
         o   MM06L001
             Exits for determination of ratings in vendor evaluation
         o   MMAL0001
             ALE source list distribution: outbound processing
         o   MMAL0002
             ALE source list distribution: inbound processing
         o   MMAL0003
             ALE purchasing info record distribution: outbound processing
         o   MMAL0004
             ALE purchasing info record distribution: inbound processing
         o   MMDA0001
             Default values for delivery addresses
         o   MMFAB001
             User exit for generation of releases
         o   MRFLB001
             Control items during release creation
         o   LWBON001
             Enhancement of LIS update through extension of the communication
             structure MCKONA (business volumes and rebate income)
         o   LWBON003
             Change settlement data for end-of-period rebate settlement before
             creation of settlement documents
         o   LWSUS001
             Customer-specific source determination in Retail
         Activities
         1.  Either create a new project or use an existing one and then enter
             the enhancement.
         2.  Activate the project
             Your enhancement will only become effective after activation.
         Further notes
         In contrast to modifications, enhancements are basically
         release-insensitive since they are not implemented in the SAP original
         but in a name range that is reserved for the customer.
         The general procedure for creating enhancements can be found in the
         enhancement transaction at Help -> Application help.
         If you want to display the documentation for an enhancement, choose Goto
         -> Documentation in the enhancement transaction.
    Return ->
         Application

  • Add custom fields on selection screen  and ouput in Transaction QM11

    Hi All,
       i have the requirement to enhance the transaction qm11( Report : RQMELL10) to add the custom fields on the report selection screen and in the report output.
      i tried to add the fields on selection screen by copy the standard program RQMELL10 to custom one. and tried to add the fields above to the coding tab but i am not able to display the text for those fields of select-options. can any one help me is it the right way to copy the standard program to custom program and adding the custom fields and how to get the text element for the custom fields which we are going to add it. i tried to add the text element in program text elements but it is not appering on the report.
    please requeting the help asap if it is possible.

    Have a glance in below thread.
    Enhancing transaction QM10
    Also, there are some more threads available in enhancing the QM10 / QM11. Please search those as well.

Maybe you are looking for