SELECTs in user exists (P/S modules)

Hi,
I am implementing user exist triggered when an accounting document is posted ... P/S event no. 00001030. The problem is, that I need to read some records from BSID table ... this event is triggered right before a commit is executed, therefore I suppose that all database changes are already made, but not commited yet. Anyway, I've tried to read these database rows (in the same database transaction), but SELECT does not fetch any row! I know how database servers works, what are database sessions and database transactions ... I thought SAP system works in the same way ...
Can anybody explain me why ABAP does not see uncommited rows inserted by the same database session/transaction? Is there a way how to read these rows? I already tried to call my function by PERFORM ON COMMIT, ... same results ... also by CALL FUNCTION IN UPDATE TASK ... same results ...
Is there any sensible way how to read desired uncommited records?

Hi,
Check while debugging where BSID table have those values or not.If yes then BSID table should declare in Table fields.If not then you need to dynamically assign the value of table to your workarea.
Below is the code which might help you:
Get the Name field enetered on Fb01 screen
  ASSIGN ('(SAPMF05A)BSEC') TO <fs>.
  wa_bsec = <fs>.
I hope it would help you.
Regards,
Swati

Similar Messages

  • Need User-Exists in HR Module

    Hai,
    I need all list of User-Exists available for HR module with transaction wise. I am collecting these for Built a database.
    Please forward if you have or if you know any web links, or documents or any type source i wellcome,
    Thanks,
    Elamaran
    mail-id:  [email protected]

    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            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:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • How to capture the User input value to user exist function module.

    Hi,
    How can i capture user input value.Here i am using User exist in BPS variable.
    Calculating days using user exist functin module and my input is another variable i.e user defined value.
    How can i capture user defined vaule into my function module.
    This is very urgent can you help me..
    Thanks....

    Hi!
    You can get the instance using the method get_instance of the class cl_sem_variable, and call the method get_value with the return. Check the example:
          CALL METHOD cl_sem_variable=>get_instance
            EXPORTING
              i_area       = (planning area)
              i_variable   = (variable name)
            RECEIVING
              rr_variable  = lr_var
            EXCEPTIONS
              not_existing = 1
              OTHERS       = 2.
          CHECK sy-subrc IS INITIAL.
          CALL METHOD lr_var->get_value
            RECEIVING
              rto_value = et_value
            EXCEPTIONS
              error     = 1.
    After this, read the first line of the table et_value (it should be the value that the user choose on the screen).
    seeya!
    Robson

  • User exists for changing the selection screen of the transaction CS11

    Hi,
    I want to change the selection screen of the transaction cs11 and modify the ALV output.
    I searched the old forums but not got satisfactry results.
    I want to change the plant and material from the parameter to the select option.
    i dont want to copy the transaction for the zcs11.
    any suggestion on this ?
    Regards,
    udupi

    one more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?

  • Types of user exists arise in sd module

    what is user exist and what type of user exists arise in sd module?

    Dear Chandu,
    Please go through this IMG path to identify the User exits
    SPRO>sales and Distribution>Syatem modification-->User Exits
    I hope it will help you,
    Regards,
    Murali.
    Please close the completed threads

  • User Exist for MM - Purchase Order

    Hi ABAP expert,
    is there any user exist for Purchase order, actually i'm want to prevent the user from do the deletion on PO items, as per my understanding we can use user exit.
    can anyone help and how to do the process ?

    Hi,
    1. Just copy and paste this code and execute it.
    2. Give the Tcode "ME21" and you will see the lot of user exits.
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    * Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            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:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
    Thanks,
    Reward If Helpful.

  • User exits for FI module in ECC 5.0 Version

    Hello,
    Can someone help me on this..i need to find a userexit in ECC 5.0 and this is in FI module(please provide me the steps to find as well). I need to do some validations and the exit should trigger at the end of document creation and just before the user clicks save button..Its urgent so i would appreciate a quick reply from anyone who knows about this.
    Thanks,
    Mohsin

    Hi Mohsin,
    Welcome to SDN.
    You can create new custom program in your ECC 5.0 (Developmen Instance) by cut and paste the following sample program. This program will allow you to find user exist based on transaction code i.e FB50.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    * Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    * Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            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:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Hope this will help.
    Regards,
    Ferry Lianto

  • User exit for funtion module

    hi ,
        i need user exit for the function module 'J_1I7_USEREXIT_CHEQUENO_CERT'
    i have found the package in which this is stored.Then by giving the 'J1I2' in 'cmod ' i have to get the exit.But i'm not getting.Even by using tcode -'se80'  i have tried but its giving a message ''No objects correspond to the selection criteria''.
    pls tel me if there is any other method where by which i can find out the exit.
    its urgent
    thanks&regards
    prasad

    Hi Vara prasad,
      Finding the user exist or customer exist by using the package is not exact way because in that package called 'J1I2' i has not containing the function module J_1I7_USEREXIT_CHEQUENO_CERT only and also this pakage may be contains other tcodes or function modules etc.. that is the reason you get some user exists by using the package.
    Find the userexists by using the follwoing way:
    Go to SE37 -> open the function module J_1I7_USEREXIT_CHEQUENO_CERT in display mode -> press cnt+F button and search the string PERFORM USER Or CALL CUSTOMER-FUNCTION then you are able to get all the user exists and customer exists for the function module.
    Regards,
    Mahi.

  • How can I add the extra fields to a datasource usign "User Exist"?

    Hallo guys,
    I have a quesiton on an extractor.
    I want to extend fields for an extractor, and the additional fields come from a third table (for the extractor, there is a view which 2 Tabels inner join.) The third table should have LEFT OUTER JOIN relation to the other 2 tables. So I have to use "User Exist" to add the fields from the third table to my data source.
    How  can I do it via user exist?
    Thanks for any hint in advance.
    Regards,
    Liying

    Hi LiYing,
    You can do this using a USER EXIT.
    if you edit the ABAP program ZXRSAU01, you can add ABAP coding:
    here an example for 1_CO_PA....:
    <i>   CASE i_datasource.
           WHEN '1_CO_PA_.......
    Data assignments
          LOOP AT c_t_data INTO wa_s_copa.
            IF ( NOT wa_s_copa-vrgar = 'F' ) OR ( wa_s_copa-curtype = 'B0' ).
            wa_s_copa-zzratio = 1.
            wa_s_copa-zztr_rate = 1.
            wa_s_copa-zzcurkey_tc = wa_s_copa-rec_waers.
    Company Code Currency Invoice *
          ELSEIF wa_s_copa-curtype = '10'.
    assume one exchange rate per invoice
            SELECT SINGLE * FROM ce19991 INTO wa_ce1
               WHERE belnr = wa_s_copa-belnr
               AND   paledger = '02'
               AND   vrgar    = wa_s_copa-vrgar
               AND   versi    = space
               AND   perio    = wa_s_copa-perio.
            MOVE wa_ce1-kursf TO lx_kursf.
            MOVE wa_ce1-frwae TO wa_s_copa-zzcurkey_tc.
            IF NOT wa_ce1-frwae EQ 'EUR'.
    read rate ( table is buffered ).
              CLEAR: wa_tfact, wa_ffact.
              lx-datlo = 99999999 - sy-datlo.
              SELECT single tfact ffact FROM tcurf into
              (wa_tfact, wa_ffact)
              WHERE kurst EQ 'M'
              AND fcurr EQ wa_ce1-frwae
              AND tcurr EQ 'EUR'
              AND gdatu LE lx-datlo.
              IF sy-subrc NE 0.
                SELECT single tfact ffact FROM tcurf into
                (wa_tfact, wa_ffact)
                WHERE kurst EQ 'EURX'
                AND fcurr EQ wa_ce1-frwae
                AND tcurr EQ 'EUR'
                AND gdatu LE lx-datlo.
              ENDIF.
              IF wa_tfact = 1.
                wa_s_copa-zzratio = wa_ffact.
              ELSE.
                IF wa_tfact NE 0.
                  wa_s_copa-zzratio = 1 / wa_tfact.
                ENDIF.
              ENDIF.
            ELSE.
    eur : eur => always 1
              wa_s_copa-zzratio = 1.
            ENDIF.
            IF lx_kursf < 0.
              wa_s_copa-zztr_rate = lx_kursf * -1 .
            ELSE.
              CHECK lx_kursf > 0.
              wa_s_copa-zztr_rate = 1 / lx_kursf.
            ENDIF.
          ENDIF.
      ENDLOOP.
    ENDCASE.
    </i>

  • Need User Exists

    Hello Friends,
    i need User Exists for PR,PO,MIGO,MIRO Creation transactions , i need to save data in one Custom table for all these transactions. so that i can details for purchase life cycle from refering the single table . i donot require to refer all other tables.
    similar way for SD Transactions ,,
    if any of you came across these type of  reqirement, just guide me
    Thanks and Regards
    Kumar M

    Hi,
    Migo User exits:
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MB_CF001                                Customer Function Exit in the Case of Updating a Art. Doc.     
    MBCF0011                                Read from RESB and RKPF for print list in  MB26                
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1     
    MBCF0009                                Filling the storage location field                             
    MBCF0007                                Customer function exit: Updating a reservation                 
    MBCF0006                                Customer function for WBS element                              
    MBCF0005                                Article document item for goods receipt/issue slip             
    MBCF0002                                Customer function exit: Segment text in article doc. item                                                                               
    Business Add-in                                                                               
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data                      
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check                      
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn                    
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data                            
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens                    
    MB_DOC_BADI_INTERNAL                    BAdIs when Creating an Article Document (SAP Internal)         
    MB_DOCUMENT_UPDATE                      BADI when updating article document: MSEG and MKPF             
    MB_DOCUMENT_BADI                        BAdIs when Creating an Article Document                        
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR                 
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7                
    MB_CIN_LMBMBU04                         posting of gr                                                  
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables         
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL                       
    ARC_MM_MATBEL_CHECK                     Check Add-On-Specific Criteria for MM_MATBEL       
    Miro userexits:
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    LMR1M001                                User exits in Logistics Invoice Verification                    
    LMR1M002                                Account grouping for GR/IR account maintenance                  
    LMR1M003                                Number assignment in Logistics Invoice Verification             
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs    
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting    
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice             
    MRMH0001                                Logistics Invoice Verification: ERS procedure                   
    MRMH0002                                Logistics Invoice Verification: EDI inbound                     
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP                 
    MRMN0001                                Message output and creation: Logistics Invoice Verification                                                                               
    Business Add-in                                                                               
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification                                                                               
    PO userexits:
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance    
    MM06E001                                User exits for EDI inbound and outbound purchasing documents   
    MM06E003                                Number range and document number                               
    MM06E004                                Control import data screens in purchase order                  
    MM06E005                                Customer fields in purchasing document                         
    MM06E007                                Change document for requisitions upon conversion into PO       
    MM06E008                                Monitoring of contr. target value in case of release orders    
    MM06E009                                Relevant texts for "Texts exist" indicator                     
    MM06E010                                Field selection for vendor address                             
    MMAL0001                                ALE source list distribution: Outbound processing              
    MMAL0002                                ALE source list distribution: Inbound processing               
    MMAL0003                                ALE purcasing info record distribution: Outbound processing    
    MMAL0004                                ALE purchasing info record distribution: Inbound processing    
    MMDA0001                                Default delivery addresses                                     
    MMFAB001                                User exit for generation of release order                      
    MRFLB001                                Control Items for Contract Release Order                       
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.    
    AMPL0001                                User subscreen for additional data on AMPL                     
    LMEDR001                                Enhancements to print program                                  
    LMELA002                                Adopt batch no. from shipping notification when posting a GR   
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC    
    LMEQR001                                User exit for source determination                             
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt     
    LWSUS001                                Customer-Specific Source Determination in Retail               
    M06B0001                                Role determination for purchase requisition release                                                                               
    M06B0002                                Changes to comm. structure for purchase requisition release    
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)      
    MEETA001                                Define schedule line type (backlog, immed. req., preview)      
    ME590001                                Grouping of requsitions for PO split in ME59                   
    M06E0005                                Role determination for release of purchasing documents         
    M06E0004                                Changes to communication structure for release purch. doc.     
    M06B0005                                Changes to comm. structure for overall release of requisn.     
    M06B0004                                Number range and document number                               
    M06B0003                                Number range and document number                                                                               
    Business Add-in                                                                               
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.      
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer   
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting                      
    ME_MMPUR_EINM_CUST                      BAdI Methods for Processing IDoc Data in the SUS Scenario      
    ME_MMPUR_EINM                           BAdI Methods for Processing IDoc Data in the SUS Scenario      
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation            
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order                 
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO                 
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields                     
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions         
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions         
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders              
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer     
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data                  
    MM_EDI_ORDERS_OUT                       Enhancements for IDoc Output of Purchase Order: Internal       
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order      
    MM_EDI_DELFOR_OUT                       Enhancements for IDoc Output of SA Releases: Internal          
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV               
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address                       
    ME_REQ_POSTED                           Purchase Requisition Posted                                    
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions                                                                               
    ME_PURCHDOC_POSTED                      Purchasing Document Posted1                                    
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer              
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal              
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders              
    ME_BSART_DET                            Change document type for automatically generated POs           
    ME_BAPI_PR_IBS                          BAdI: Enjoy BAPIs for Purchase Requisitions                    
    ME_BAPI_PR_CUST                         Customer BAdI for Enjoy Purchase Requisition BAPIs             
    ME_BAPI_PR_CREATE_02                                                                               
    ME_BAPI_PR_CREATE_01                                                                               
    ME_BAPI_PO_IBS                          BAdI for Inbound/Outbound Mapping BAPI_PO_CREATE1 IBS          
    ME_BAPI_PO_CUST                         Customer BAdI for BAPI_PO_CREATE1 and BAPI_PO_CHANGE           
    ME_BAPI_PO_CREATE_02                                                                               
    ME_BAPI_PO_CREATE_01                                                                               
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level        
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI                                  
    SMOD_MRFLB001                           Control Items for Contract Release Order                       
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active                    
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active           
    ME_CIP_REF_CHAR                         Facilitates Reference Characteristics in Purchasing            
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control             
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India                  
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details                       
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges                          
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking             
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO        
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing                          
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation       
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)    
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring site                                                                               
    If these helpful rewards points
    Regards
    Pratap.M

  • User Exist for Sales Order

    Hi All,
    When the Route changes in the Sales Order, I want to add the Forwarding agent to the Partfner function atutomatically. So I written the code in the User-Exist "userexit_check_vbap" with the following logic.
    IF sales order is creating with VA01, Add an entry
    and Changing the Sales order with VA02, modifiy an exisiting entry as follow.
    But at the time of Creating with VA01, it is sucessfully adding an entry, but
    whenever you the change Route for sales order with va02, Modify statement is working fine and showing the correct Partner function in the Partner Tab.
    If you save the document and open it again then Changed Route is sucessfully saved but not the partner function. It always having the partner function which you given at the time of creation.
    Can we write the modify statement in the "Userexist_check_vbap"
    READ TABLE xvbpa WITH KEY parvw = 'ZR'
                                posnr = xvbap-posnr.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM lfa1 INTO CORRESPONDING FIELDS OF xvbpa
            WHERE lifnr = tdlnr.
        xvbpa-mandt  = xvbap-mandt.
        xvbpa-vbeln  = xvbap-vbeln.
        xvbpa-posnr  = xvbap-posnr.
        xvbpa-fehgr  = '08'.
        xvbpa-nrart  = 'LI'.
        xvbpa-lifnr  = tdlnr.
        xvbpa-updkz  = 'I'.
        CLEAR: xvbpa-kunnr, xvbpa-stceg.
        xvbpa-parvw  = 'ZR'.
        APPEND xvbpa.
      ELSE.
        xvbpa-lifnr  = tdlnr.
        MODIFY xvbpa TRANSPORTING lifnr WHERE parvw = 'ZR'
                                          AND posnr = xvbap-posnr.
      ENDIF.
    Please suggest me , how can i solve this problem.
    Thanks and Warm Regards,
    Vijay

    I solved the problem by pass the following value
    xvbpa-updkz  = 'U'.
    It solved my problem.

  • Active Directory Script-Find if users exist

    Import-CSV "L:.\Users.txt" -header ("UserName") | % {
       $UserN = $_.UserName
       $ObjFilter = "(&(objectCategory=person)(objectCategory=User)(samaccountname=$UserN))"
       $User = Get-ADUser -Filter {sAMAccountName -eq $UserN}
     $objSearch = New-Object System.DirectoryServices.DirectorySearcher
     $objSearch.Filter = $ObjFilter 
     $objSearch.SearchRoot = "LDAP://ou=Remove this if you dont want only users in a OU returned,dc=Domain,dc=co,dc=uk"
     $AllObj = $objSearch.findOne()
     $user = [ADSI] $AllObj.path
     $ErrorActionPreference = "silentlycontinue"
     If ($User -eq $Null) {Write-host "Domain\$UserN does not exist in AD"}
     Else {Write-host "Domain\$UserN found in AD"}
    -Can anybody help me step by step. I just started using powershell today. I am trying to use powershell to check if users exist in AD. I manage to create a script to check for one user at a time but, I really what a script to check multiple users at
    the same time. This script is currently telling me everybody does not exist. Even if I put a user that does.

    Thanks for the quick help & advice.
    here are some example of names in the text file.
    Flewellen,  Joel A
    Golla  Wipperfurth,Linda
    Grestner,   Allen
    - I want to make sure the names in the text file do not exist in AD(Display name). Can I use your script for this? Again, I am a total noob.Currently reading about powershell.
     example does notwork:
    Import-Module ActiveDirectory
    Import-CSV "L:.\Users.txt" -header ("DisplayName") |
    Foreach {
            if (Get-ADUser -Identity $_.DisplayName -ErrorAction SilentlyContinue) {Write-host "Domain\
    $($_.DisplayName) found in AD"}       
            else {Write-host "Domain\$($_.DisplayName) does not exist in AD"}
    I think i have to change the Get-ADUser -Identity $_.UserName

  • Users Exist  in T-Code  VL01n

    Hello All,
    I am looking for a user exit in T-code VL01n For Selecting batches using batch Classfication values and update a ztable based on batch Classfication .
    Z table will be update only and only if delivery Document created Successfully.
    if it is possible through single users -exist it's best, or multiple also be ok.
    Please Do the needful.
    With Warm Regards
    Swati Namdev

    Hi,
    Check the include MV50AFZ1..
    In that use the user exit USEREXIT_SAVE_DOCUMENT.
          FORM USEREXIT_SAVE_DOCUMENT                                   *
          This userexit can be used to save data in additional tables   *
          when a document is saved.                                     *
          If field T180-TRTYP contents 'H', the document will be        *
          created, else it will be changed.                             *
          This form is called at from form BELEG_SICHERN, before COMMIT *
    FORM USEREXIT_SAVE_DOCUMENT.
    Thanks,
    Naren

  • User Exists In Sales Order Creation Program for adding "Reason For Reject"

    Hi gurus
    I have following requriement
    As New Sales Order created (VA01) by default or at the time of saving the sale order, perticular "Reason for Rejection" should be set to each line item.
    This is then can be removed in change (VA02) with Mass change.
    We need this to review the sales order / block sales order from MRP run.
    Please let me know how to manage this or is there any user exist for the same.
    Thanks
    Sunil K

    Hi,
    As per my knowledge the automatic creation of rejection order is not possible, still will check out and know.
    but for urgent use you will have to follow the manual way of changing the line items from OK to blocked for apporoval so you can achieve their not passing on to MRP.
    manual way is what is described below:
    You can either reject the whole sales document or individual items.
    Reject all items:
    If you want to reject all the items, choose Reject document in the change modus for the sales document.
    The system automatically selects all the items and you can enter a reason for rejection in the following dialog box.
    Enter the appropriate reason for rejection and choose Copy.
    The system assigns the same reason for rejection to all the selected items.
    Reject individual items:
    If you only want to reject some of the items, select those items in the item overview screen and choose Edit - Fast change of... - Reason for rejection.
    A dialog box appears in which you can enter the appropriate reason for rejection.
    Enter the appropriate reason for rejection and choose Copy.
    The system assigns the same reason for rejection to all the selected items.
    Reject individual items with different reasons of rejection:
    If you want to enter different reasons for rejection for the items, choose the Reason for rejection tab page from the overview screen when changing the sales document.
    You can enter a different reason for rejection for each item in the Reason for rejection field.
    regards,
    Siddharth.
    Edited by: SD on Mar 15, 2008 10:22 AM

  • User exists in system

    HI
    I need to find out if a particular user name exists in my SAP system. Any User tables or function modules ?
    Thanks

    HI
    You can check using the BAPI,
    BAPI_USER_EXISTENCE_CHECK
    where you can enter the users name and it returns with the message whether the user exists or not.
    Do reward if useful
    Thanks
    Swarna

Maybe you are looking for