How to use 'OR'  & 'AND' together in SELECT statement.

Hi All,
I am a BW person. Dont know much about ABAP. But i m trying to write a start routine in BW Transfer Rules.
I m stuck at one point where i need to check multiple values using a slect statement.
My requirement is like
SELECT single * into wa_MEMPLOYEE from /BI0/QEMPLOYEE
  where EMPLOYEE eq L_S_DATAPAK_LINE-PERNR AND
    EMPLGROUP EQ ('1 OR '2' OR '7') AND
   CNTRCTTYPE EQ ('01' OR '05' OR '09' OR '50' OR '60').
I tried using 'IN' .But this works only partially.
EMPLGROUP IN ('1', '2', '7') AND
    CNTRCTTYPE IN ('01' , '05' , '09' , '50' , '60').
when i use 'IN', the code checks the EMPLHROUP properly.But it will allow all other CONTRACT TYPE records to be written to the internal table.
Can any one tell me how can i achieve this please.
Cheers
POPS

Hi,
You can do as below:
"Create ranges for EMPLGROUP  AND CNTRCTTYPE
ranges : gr_empgrp for <tablename-fieldname>,
             gr_cntrtype for <tablename-fieldname>.
initialization.
gr_empgrp-sign = 'I'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_empgrp-sign = '2'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_empgrp-sign = '7'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '1'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '05'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '09'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '50'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '60'.
append gr_cntrtype.
SELECT single * into wa_MEMPLOYEE from /BI0/QEMPLOYEE
  where EMPLOYEE eq L_S_DATAPAK_LINE-PERNR AND
    EMPLGROUP in gr_empgrp AND
   CNTRCTTYPE in cntrtype.
Thanks,
Sriram Ponna.

Similar Messages

  • How to use variables in an sql select statement.

    Hi, I have seen examples using the update, but nothing using a select statement.
    I have four variables I am getting from drop down menus in my JSP I set the user selected items to strings.
    How would I create the select statement like this:
    .String XName = request.getParameter("UserInputX");
    rsInResult = stmtInResult.executeQuery("SELECT ColumxX FROM TableZ WHERE ColumnX = XName")Obviously it tries to read "XName" as a column and of course can't find it, how would I set it up to have it see the Value of XName and not the literal XName.

    read this:
    rsInResult = stmtInResult.executeQuery("SELECT ColumxX FROM TableZ WHERE ColumnX = '"+XName+"')
    {code}
    better way is PreparedStatement:
    {code}
         // example code to change password to an user in the USERS table
         String newPWD = "my password";
         String user = "luxjava";
         PreparedStatement prepStat;
         String updatePWD = "UPDATE LOGISTIC.USERS "+
                                  "SET logistic.users.password = ? "+
                                  "WHERE logistic.users.username = ?";
         prepStat = ql.conDb.prepareStatement(updatePWD);
         prepStat.setString(1, newPwd);
         prepStat.setString(2, user);
         int zeroNotFound = prepStat.executeUpdate();
         if (zeroNotFound==0)
              ql.conDb.rollback();
              prepStat.close();
         else
              ql.conDb.commit();
              prepStat.close();
    {code}
    ... use the SQLException to capture errors                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to use bind variable in this select statement

    Hi,
    I have created this procedure where table name and fieldname is variable as they vary, therefore i passed them as parameter. This procedure will trim leading (.) if first five char is '.THE''. The procedure performs the required task. I want to make select statement with bind variable is there any possibility to use a bind variable in this select statement.
    the procedure is given below:
    create or replace procedure test(tablename in varchar2, fieldname IN varchar2)
    authid current_user
    is
    type poicurtype is ref cursor;
    poi_cur poicurtype;
    sqlst varchar2(250);
    THEVALUE NUMBER;
    begin
         sqlst:='SELECT EMPNO FROM '||TABLENAME||' WHERE SUBSTR('||FIELDNAME||',1,5)=''.THE ''';
         DBMS_OUTPUT.PUT_LINE(SQLST);
    OPEN POI_CUR FOR SQLST ;
    LOOP
         FETCH POI_CUR INTO THEVALUE;
              EXIT WHEN POI_CUR%NOTFOUND;
              DBMS_OUTPUT.PUT_LINE(THEVALUE);
              SQLST:='UPDATE '||TABLENAME|| ' SET '||FIELDNAME||'=LTRIM('||FIELDNAME||',''.'')';
              SQLST:=SQLST|| ' WHERE EMPNO=:X';
              DBMS_OUTPUT.PUT_LINE(SQLST);
                   EXECUTE IMMEDIATE SQLST USING THEVALUE;
    END LOOP;
    COMMIT;
    END TEST;
    Best Regards,

    So you want to amend each row individually? Is there some reason you're trying to make this procedure run as slow as possible?
    create or replace procedure test (tablename in varchar2, fieldname in varchar2)
    authid current_user
    is
       sqlst      varchar2 (250);
       thevalue   number := 1234;
    begin
       sqlst := 'update ' || tablename || ' set ' || fieldname || '= ltrim(' || fieldname || ',''.'')  where substr(' || fieldname
          || ',1,5) = ''.THE ''';
       dbms_output.put_line (sqlst);
       execute immediate sqlst;
    end test;will update every row that satisfies the criteria in a single statement. If there are 10 rows that start with '.THE ' then it will update 10 rows.

  • How to use open query in oracle select statement

    hi i have a requirement like this. I need to use the output of a procedure ( pl/sql table ) in developing a report
    like  (  SELECT * FROM <procedure name >)
    please help me.

    You can do it by using classic report but I can't tell you without knowing complete detail. If possible can you post your procedure query which you want to use to create report.
    Thanks
    Lakshmi

  • How to use LIKE keyword in a select statement

    Hi:
    I want to use the following sql statement,
    String str = "xyz";
    String query="Select * from tab where col like '"+str+"' '%' ";
    Kindly suggest
    TIA

    % is a wildcard in the like clause, so:.
    String str = "xyz";
    String query="Select * from tab where col like '%"+str+"%'";

  • HOW TO USE LOGICAL AND OR CONDITION TOGETHER

    Please do not post subject in ALL CAPITALS
    Hi All there,
    How to use logical and or condition together
    I wanted to use logical AND OR condition together in where clause of Select Query.
    eg where xyz and or abc
    Regards
    Sagar
    Edited by: Matt on Mar 17, 2009 1:05 PM
    Edited by: Matt on Mar 17, 2009 1:05 PM

    hi,
      You cannot use the logical and  or condition together at the same time in SQL statement. Sachin is correct while using the and and or in the same condition. You can get the data using or condition in SQL statement, and then use the delete statement of internal table using the end condition. please find the following code for the same.
    select *
      from dtab
    where cond1 eq 'A1'
         or cond2 eq 'A2'.
    if sy-subrc eq 0.
      delete itab where cond1 eq 'A1' and 'A2'.
    endif.
    regards,
    Veeresh

  • Query: how to use structure and selection and what's the difference between

    Query: how to use structure and selection and what's the difference between these two?
    Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
    Thanks in advance!

    Hi Kevin,
    1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
    2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
    Hope this helps...

  • How to use perform and endperform in scripts

    Can anybody cleaerly explains me how to use perform and endperform in scripts with an example to add something extra dynamically to the standard script (like rvorder01).
    thanks in advance.
    regards
    anil.

    Check this example:
    In form
    PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    USING &EKKO-EKORG&
    USING &EKPO-WERKS&
    USING &EKKO-EKGRP&
    USING &EKKO-BSTYP&
    CHANGING &COMPNAME&
    CHANGING &SENDADR&
    CHANGING &INVCADR&
    CHANGING &COMPADR&
    CHANGING &COVERLTR&
    CHANGING &SHIPADR&
    CHANGING &REMINDER&
    CHANGING &REJECTION&
    CHANGING &POSTADR&
    CHANGING &LOGO&
    ENDPERFORM
    In program
    FORM READ_TEXTS TABLES IN_PAR   STRUCTURE ITCSY
                           OUT_PAR  STRUCTURE ITCSY.
      DATA : L_EKORG TYPE EKORG,
             L_WERKS TYPE WERKS_D,
             L_BSTYP TYPE BSTYP,
             L_EKGRP TYPE BKGRP.
      READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
      CHECK SY-SUBRC = 0.
      L_EKORG = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
      CHECK SY-SUBRC = 0.
      L_WERKS = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
      CHECK SY-SUBRC = 0.
      L_EKGRP = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
      CHECK SY-SUBRC = 0.
      L_BSTYP = IN_PAR-VALUE.
      CLEAR Z08M1_ORG_TEXTS.
      SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
                                              AND WERKS = L_WERKS
                                              AND EKGRP = L_EKGRP
                                              AND BSTYP = L_BSTYP.
      IF SY-SUBRC NE 0.
        SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
                                               AND WERKS = L_WERKS
                                               AND EKGRP = L_EKGRP
                                               AND BSTYP = SPACE.
      ENDIF.
      READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'SENDADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'INVCADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'COMPADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'REMINDER'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'REJECTION'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'POSTADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'LOGO'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
      MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Check and let me know if u face any problem.
    Regards

  • How to use CC and BCC in demo mail

    how to use CC and BCC in the demo mail ?

    I havent tried bcc. But I tried cc. Below is the code. It works excellent+
    PROCEDURE RAJ_MAILCC (
    from_addrs VARCHAR2,
    to_addrs VARCHAR2,
    cc_addrs VARCHAR2,
    sub VARCHAR2,body IN VARCHAR2) IS
         conn UTL_SMTP.CONNECTION;
         crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
         vrfy_msg utl_smtp.reply;
         SUCCESS_VALUE NUMBER(4) := 252;
         oracle_sid varchar2(20);
         email_addr varchar2(50):= null;
         from_addr varchar2(100) := '<<from email id >>';
         to_addr varchar2(1000):= to_addrs;
         cc_addr varchar2(1000):= cc_addrs;
         mesg VARCHAR2(4000);
         subject varchar2(300):= sub;
         mail_body varchar2(32000) := body;
         to_mail varchar2(1000) := null;
         cc_mail varchar2(1000) := null;
         no_addresses number(4):= 0;
         temp varchar2(4000) := null;
         temp2 varchar2(4000) := null;
         ERROR_ADDR varchar2(20):= '<<to email id for errors>>';
         ERROR_MSG varchar2(1000);
         ERROR_SUBJECT varchar2(1000) := 'Error in email '|| sub;
    begin
    mail_body := 'To:'||to_addrs || chr(10) ||'CC:'|| cc_addrs || chr(10) ||'Sub:'|| sub || chr(10) || body;
    subject := 'Test: ' || sub;
              select email, cc_email
              into to_addr, cc_addr
              from my_table
              where userid = user;
              temp := to_addrs||';';
              while( instr( temp, ';') != 0) LOOP
                   temp := substr(temp, instr( temp, ';') + 1);
                   temp2 :=to_addr||';'|| temp2;
              end loop;
              to_addr := temp2;
              temp := cc_addrs||';';
              temp2 := null;
              while( instr( temp, ';') != 0) LOOP
                   temp := substr(temp, instr( temp, ';') + 1);
                   temp2 :=cc_addr||';'|| temp2;
              end loop;
              cc_addr := temp2;
         end if;
         /*** Establish a connection to a mail server******/
         conn:= utl_smtp.open_connection( 'MAIL SERVER', 25 );
         utl_smtp.helo( conn, 'MAIL SERVER' );
         utl_smtp.mail( conn, from_addr );
         to_addr := to_addr || ';';
         cc_addr := cc_addr || ';';
         to_mail := to_addr;
         cc_mail := cc_addr;
         /*** Send mail to To: addresses ****/
         while( instr( to_addr, ';') != 0) LOOP
              email_addr := substr( to_addr, 1, instr( to_addr, ';') - 1);
              vrfy_msg := utl_smtp.vrfy(conn,email_addr);
              IF vrfy_msg.code = SUCCESS_VALUE THEN
                   UTL_SMTP.RCPT( conn,email_addr );
              END IF;
              to_addr := substr(to_addr, instr( to_addr, ';') + 1);
              email_addr := null;
         end loop;
         /*** Send mail to CC: addresses ****/
         while( instr( cc_addr, ';') != 0) LOOP
              email_addr := substr( cc_addr, 1, instr( cc_addr, ';') - 1);
              vrfy_msg := utl_smtp.vrfy(conn,email_addr);
              IF vrfy_msg.code = SUCCESS_VALUE THEN
                   UTL_SMTP.RCPT( conn, email_addr);
              END IF;
              cc_addr := substr(cc_addr, instr( cc_addr, ';') + 1);
              email_addr := null;
         end loop;
         mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
         'From: ' || 'Abacus' || ' <' || from_addr || '>' || crlf ||
    'To: '|| to_mail || crlf ||
    'Cc : '|| cc_mail || crlf ||' ' || crlf ||
    'Subject: ' || subject || crlf;
         mesg:= mesg || '' || crlf || mail_body;
         utl_smtp.data( conn, mesg );
         utl_smtp.quit( conn );
    EXCEPTION
    WHEN OTHERS THEN
         ERROR_MSG := 'Mail notification could not be sent '||SQLERRM;
         sendmailcc(ERROR_ADDR, ERROR_ADDR, null, ERROR_SUBJECT, ERROR_MSG); /
    RAISE_APPLICATION_ERROR(-20001,ERROR_MSG);
    END;

  • How can use Attrib and Trasitive attrib in Infoset in BI7

    Hi Experts,
    How can use Attrib and Trasitive attrib in Infoset In BI7.
    Detail will be great.
    Thanks

    Hi Saipriya
    the code :
    data : begin of itab occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab .
    data : begin of wa occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa .
    data : begin of itab2 occurs 0,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of itab2 .
    data : begin of wa2,
    partner_no like crmd_order_index-partner_no,
    gross_value like crmd_pricing_i-gross_value,
    end of wa2 .
    START-OF-SELECTION.
    select partner_no
           gross_value
    into CORRESPONDING FIELDS OF TABLE itab
    from crmd_order_index join crmd_pricing_i on crmd_order_index~item eq
    crmd_pricing_i~guid
    where crmd_order_index~process_type_ix = 'ZTA'
      and crmd_order_index~pft_1 = 'X'  .
    LOOP AT itab INTO wa .
          MOVE-CORRESPONDING wa TO itab2.
      COLLECT itab2.
    ENDLOOP.
    LOOP AT itab2 INTO wa2 .
    APPEND BP_GROSS.
    actually we don't know how can we benefit from this code in infoset.
    table1 :CRMD_ORDER_INDEX (the table we take customer number (CRMD_ORDER_INDEX-PARTNER_NO))
    table2 : CRMD_PRICING_I (We take gross value form this table)
    We added BP_GROSS field (adtiona filed to infoset) and would like to append the value we have from the code (Total gross per Customer) but it doesn't work in infoset.
    Thanks in advance.
    M.

  • How to use X-Fi Effects without selecting SB as the default sound device?

    How to use X-Fi Effects without selecting SB as the default sound device?Hello everyone,
    That's my situation.
    I have Sound Blaster X-Fi Go sound card and I am using SRS HD Audio Lab. SRS HD Audio Lab was selected as the default audio device and X-Fi effects (X-Fi CMSS-3d, Equalizer etc.) was working without any problem in Windows Xp. I have Windows 7 now and when i select SRS HD Audio Lab as the default device, Creative effects are not working, i must select "SB X-Fi Go!" to get them working but i can't use SRS HD Audio Lab in that case. SRS is also using SB X-Fi Go sound card as the output and volume adjustment on console launcher is working but something is disabling the effects. Any solutions to enable effects ?
    Thanks.

    If the kernel modules for your sound card and webcam both support the index parameter (use modinfo to find out) then adding
    options <name_of_preferred_card's_kernel_module> index=0
    options <name_of_second_card's_kernel_module> index=1
    to /etc/modprobe.d/modprobe.conf (or another modprobe conf file of your choice) should solve the problem.

  • How to compile the hint to force selection statement to use index

    Hello expert,
    will you please tell me how to compile the hint to force selection statement to use index?
    Many Thanks,

    Not sure what you mean by compile, but hint is enclosed in /*+ hint */. Index hint is INDEX(table_name,index_name). For example:
    SQL> explain plan for
      2  select * from emp
      3  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 3956160932
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |    14 |   546 |     3   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS FULL| EMP  |    14 |   546 |     3   (0)| 00:00:01 |
    8 rows selected.
    SQL> explain plan for
      2  select /*+ index(emp,pk_emp) */ *
      3  from emp
      4  /
    Explained.
    SQL> @?\rdbms\admin\utlxpls
    PLAN_TABLE_OUTPUT
    Plan hash value: 4170700152
    | Id  | Operation                   | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |        |    14 |   546 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| EMP    |    14 |   546 |     2   (0)| 00:00:01 |
    |   2 |   INDEX FULL SCAN           | PK_EMP |    14 |       |     1   (0)| 00:00:01 |
    9 rows selected.
    SQL> Hint in the above example is forcing optimizer to use index which resul;ts in a bad execution plan. Most of the time optimizer does not need hints and chooses an optimal plan. In most cases sub-optimal plan is result of stale or incomplete statistics.
    SY.

  • How to use Checkbox  and radio buttons in BI Reporting

    Hi BW Experts,
       My Client has given a report in ABAP format and the report has to be develop in BI.It contains Check boxes and the radio buttons. I don’t know how to use Checkboxes and radio buttons in Bex.For using this option, do we need to write a code in ABAP.Please help on this issue.
    Thanks,
    Ram

    Hi..
    Catalog item characteristic
    - Data element
    - Characteristic type
    Entry type
    List of catalog characteristics
    Designer
    Format (character)
    Standard characteristic
    Alternative: Master characteristic
    (used for automatic product
    assignment)
    Simple entry field
    Alternatives:
    Dropdown listbox or radio button
    list

  • The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

  • How to Use CMOD and SMOD in SAP using ABAP Code

    Hello anyone,
      Please help me How to use CMOD and SMOD in SAP using ABAP code.
    Give Me Some Sample Example.
    Mail ID: [email protected]
    Thanks,
    Regards,
    S.Muthu,
    SAP Developer.

    Hi,
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    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
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    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

Maybe you are looking for