Logon user exit EXIT_SAPLSUSF_001 - for which users is it called?

Hi!
I just wanted to make sure one thing. Is the logon user exit EXIT_SAPLSUSF_001 called ONLY for dialog users? It is not triggered for background users, or other similar processes bypassing the logon screen?
thanks!

It will be called for every logon, this can cause some problems if some gui functions are called outside of a gui context (popup, cl_gui class, etc. -> [Note 819750 - Short dump after logon|https://service.sap.com/sap/support/notes/819750]) - use of TRY/CATCH/ENDTRY is recommended.
Regards,
Raymond

Similar Messages

  • User EXIT, BADI for T-code ME21n, ME21

    Hi Guru's,
    I have rquirement where for some company codes user dont want GR and GR based invoicing if net price for PO is less than 100 GBP as it is very small quantity.
    To achive this we have to uncheck Goods receipt check bax from tab 'Delivery'  and uncheck inv. receipt check box from tab 'Invoice' of item level view at the time of PO creation.
    Now, i am serching for User exit or BADI which will serve this purpose, as T-code ME21n is enjoy transaction for ME21 i dont think we will get any user exit, we have to do it through BADI.
    If anyone has done something like this and have idea how i can achive this please revert back.
    regards,
    Rahul

    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    Below code will give a list of BADIs for particular transaction.
    *& Report  ZNEGI16                                                     *
    REPORT  ZNEGI16                                 .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    It may help you.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • User Exit/BADI for Production Order Availability Check

    Hi PP experts,
    Is there any user exit or BADI which can be used for Production Order Availability Check during order creation/release or while running collective availability check (COMAC) to include additional check conditions such as do not commit quantity (commitment qty = 0) if storage location for a component is missing in the production order due to storage location is not maintained/specified for that component in the material master.
    Note: In this case the availability check is set (configured)  to check at the storage location level.

    Dear ,
    Availablity Check is not Plant Specific or Storage Loaction spefic .ATP does not check the stock for any particualar stock in storage loaction rather it cheks various stocks based inward and out ward movement time through PR/PO/Dependent /Planned Order /Stock Type  irrespective of any Storage Location .
    BAPI which can be used :
    1.BAPI_PRODORD_CHECK_MAT_AVAIL
    can we exclude materials of prod order in availability check
    what is availability check concept  how it is used in SAP
    Check the above if it is useful
    Regards
    JH

  • User Exit / BADI for  F-02 during SAVE to update BSEG Line Items.

    Hi Experts,
    I need a User Exit / BADI for Transaction code F-02 which triggers during save to update  BSEG-SGTXT with Vendor / Customer 
    name in the Tax Line Item.This is to update table BSEG .
    Thanks in Advance,
    Nithy

    Hi,
    Do it with the BTE 00001120 (tcode FIBF).
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot, check this link. It will tell you how to do it
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM

  • MEREQ001 User Exit Problem for ALV Columns.

    Hello,
    I am using this user exit to make changes to the Purchase requisition enjoy transaction. There is an ALV used for item details and if you use the customer CI_EBANDB include in EBAN table you can see those fields available in the alv and you can add them up using change layout.
    To make these fields editable as they remain in display always inspite of the fact that you use ME51n or ME52n.
    MM --> Purchasing --> Purchase Req -->Define Scree Layout at document level.
    is the configuration required as per a previous mail thread in the forum. However when i go to spro i am not able to see those new fields which i have added for KEY FIELD selection. Am i missing something or has anybody before done this... Could anybody guide me with the step by step process.
    Regards,
    Shekhar Kulkarni

    Hello,
    In 46C, I checked and found no user exits / BADIs for your requirement. If you are very keen of this feature, may be that you have to modify the SAP standard. Not a good option.
    Regards, Murugesh AS

  • User Exit / BADI for Transaction IW31 to create a POP-UP.

    Hi,
    I need to have a POP-UP Message in transaction IW31 on the press of ENTER. Could you give me the name of the EXIT or BADI which can be used for this purpose.

    Hi!
    In IW31/IW32, there is no user-exit/badi for pressing Enter. User-exits are attached to well determined event (enabling, closing, saving the order and so on).
    If you wanted to solve it, it seems, you have to modify the standard COIH function group. Use SE80 transaction for it. The first dynpro is 3000.
    Regards
    Tamá

  • User Exit/BADI for Sales Order Line Partner Change

    I am looking for a user exit or BADI which gets triggered when partner function of a sales order line is changed.
    My detailed requirement is-We have created a new Partner Function - END CUSTOMER(EC). Requirement is to trigger a business logic whenever the End Customer partner function is changed from its default value to anything else.
    If you have any suggestions please let me know.

    Hi
    have a look at function module EXIT_SAPLV09A_004 .
    Cheers

  • User Exit/ BADI for FB01

    Hi friends,
    The requirement is something like this.
    When we post a document using tcode FB01, in few cases we get a warning message
    "Tax entered incorrect (code P1, amount           0.00)". We get this Warning message, when we click on Save button.
    Now, the requirement is to capture this warning and replace this with an Error Message. If that is not possible, then when we get this warning, posting of document should not be allowed.
    I searched for some User Exit/ BADI with which i can acheive this, but could not find any. Could any one of you let me know how to acheive this?
    Thank you.
    Best Regards,
    Ram.

    Hello,
    user exits
    F050S001  FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002  FIDCC1: Change IDoc/do not send
    F050S003  FIDCC2: Change IDoc/do not send
    F050S004  FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005  FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006  FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007  FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001  Balance Sheet Adjustment
    FARC0002  Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01  Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00  Line item display: Checking of selection conditions
    RFKORIEX  Automatic correspondence
    SAPLF051  Workflow for FI (pre-capture, release for payment)
    BADIs
    AC_QUANTITY_GET      Transfer of Quantities to Accounting - Customer Exit
    BADI_ENJ_ALT_ADR     Go to alternative vendor/customer data
    BADI_F040_SCREEN_600 Screen Enhancement on F040 0600 Document Header
    BADI_FDCB_SUBBAS01   Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS02   Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS03   Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS04   Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
    BADI_FDCB_SUBBAS05   Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
    BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents
    F050S008             FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
    FBAS_CIN_LTAX1F02    Tax interface
    FBAS_CIN_MF05AFA0    EWT - Downpayment Clearing - Tax transfer for CIN
    FI_AUTHORITY_ITEM    Extended Authorization Check for Document Display (FB03)
    FI_GET_INV_PYMT_AMT  BAdI for determining the payment amount for an invoice
    FI_HEADER_SUB_1300   Screen Enhancement for Document Header SAPMF05A
    FI_PAYREF_BADI_010   BAdI: Payment Reference Number
    FI_TRANS_DATE_DERIVE Derive BKPF-WWERT from Other Document Header Data
    INVOIC_FI_INBOUND    BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    RFESR000_BADI_001    BAdI for Own Processing of POR Item
    Thank u,
    santhosh

  • User exit / BADI for billing block in VL01n

    Hello Techies,
    Through custom transaction we are creating delivery notes. We run a background job to pick up these delivery notes & create return deliveries using BDC call transaction method calling VL01N (We also create order of type return for same). Though i can not see any place where billing block is filled in custom program but still there are some deliveries with billing block. Could you please let me know if there is any User exit / BADI for billing block or any configuration setting for same?

    Just to add more details:
    Our program sets memory id field.
    We call transaction VL01N.
    program clears memory id field value.
    all this happens in loop for number of deliveries.
    In VL01 user exit overwrites LIKP-FAKSK value to 05. However we have written code here which imports value from memory id. by this we come to know that we have created this delivery using custom transaction & billing block should not be set.
    From this we can conclude that only when sy-subrc for import memory id is not equal to 0 then billing block is set.
    what could be the reason for sy-subrc for import memory id is not equal to 0 ?
    can it be because of number of deliveries created at a time where memory id export / import is causing problem?
    we are not able to replicate this issue in Dev/Quality systems.
    Thanks & Regards,
    Sachin

  • User exit /Badi for CJ20N

    Hi All,
    Can anyone plz tell me if there is any User exit /Badi for CJ20N which triggers at the time of releasing the project or after releasing saving the project.
    Thanks
    Pragya

    Hi,
    Put a breakpoint in the class cl_exithandler in method get_instance.
    Check any BADI is triggering at the time of release or save
    Regards
    Praveen

  • User Exit/Badi for VF01

    Hi all,
    I'm trying do find a user-exit/badi for t-code VF01, that allows me to change at the same time,some fields, of the header structure VBRK and items structure VBRP (all the items available). Until now, all the user-exits i've tried dont allow me to change both structures at the same time, neither badi (SD_CIN_LV60AU02). Regards,
    PCastro

    Hi,
    may be you are trying to chage the some other BADI. to find the exact BADI, follow this procedure.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction
    if you follow this 7 steps, you will find a suitable BADI.
    pl reward if it helps.
    Thanks & Regards
    Sadhu Kishore

  • User-Exit / Badi  for ML81n (create service entry sheet)

    Dear experts,
    I am looking for a User-Exit / Badi  for ML81n (create service entry sheet),  which will enable me to compare its date with the referenced PO's item's delivery-date,   befor saving ,  and send an error message (with no update) if the check is not OK.
    Remark :  I have tried MB_DOCUMENT_BADI   but with no success because you can't send an error message from it.
    Thank you
    Yaacov

    hi check below thread
    User-Exit for Service Entry Sheet via ML81N?
    regards
    vijay

  • User Exit / Badi For CJ37, CJ34, CJ38

    I want user Exit / Badi For CJ37, CJ34, CJ38 which will execute whenever there is any change for WBS budget (supplement / transfer / return) regardless WBS have assigned values.
    This is required to trigger my Workflow.
    Available Exit which i know is EXIT_SAPLBPFC_002 is executing only when WBS have assigned values otherwise not.
    PLease reply ASAP.

    Even you can search all exit and BADI:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=howtofinduserexitandbadi&adv=false&sortby=cm_rnd_rankvalue

  • User Exit/BADI for Transaction CNR1 & CNR2

    Hi All,
    We have a requirement where we need to make use of the transaction CNR1 & CNR2 to validate the employee number, can anyone tell me is there any user exit/BADI available for this purpose, I have searched for the user exits using a small utility program which resulted in 'No Exits',
    Your quick help would be highly appreciated,
    Rgds,

    Hi Sailatha,
              I am not very clear with the requirement. I would appreciate if you can explain me the scenario.
    As I understand the requirement there is no user exit exists for this purpose but there is one BADI available for CNR2 which can only be used if we try to remove the HR assignment to work center and the assignment is to Object Type "US" (User HR object). Hope this helps.
    Definition name: CRHRORG
    Method:          CHECK_DEASSIGN_HRORG
    Kind Regards,
    Sanjeev Munjal

  • User exit / BADI for training and event management

    Hi all,
    Can anybody tell me if there is any user exit / BADI for training and event management module?
    Thanks & regards,
    LOI

    Hi
    BADI's for Training and Event Management
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    HRTEM00NET_ACTIVITY      Determine Activities of an Attendee (e.g. ESS PV8I)
    HRTEM00NET_WEBST      Set Cancellation Reason in ESS PV8I
    HRTEM_CORR_NOTIF_REQ      Customer Enhancement:Confirmation on Send (R/3 Mail, E-Mail)
    HRTEM_HANDLE_BOOKING      HR-TEM BAdI: Employee Leaves Company - Update TEM Data
    HRTEM_INT_ZW           HR-TEM: Badi for Integration TEM - Time Management
    HRTEM_READ_OBJECT      Customer Enhancement: Name Format
    RHPV0001 Customer      Enhancement for Additional Checks for Booking
    Enhancemnet Spot:
    HRTEM00MASTERDATA      HR: Training and Event Management - Master Data
    ~~~Ganesh Kumar K.

Maybe you are looking for