Vendor User Exit at Initial Screen

Dear friends
When a vendor is created through XK01, I would like to control that if u201CAccount Group 1000u201D is entered then Purchasing Organization and Company Code fields must be mandatory before skipping them empty at initial screen. Although I found a user exit that controls the data on saving but itu2019s too late since after creation of vendor workflow will be triggered and until itu2019s approved no changes will be allowed.
Looking forward to your advice and thanks in advance.
Thanks and Best Regards,

Hi,
Following are userExits of T-code XK01,
RFKRRANZ            User exits: Accounts Payable Information System
SAPMF02K            User exits: Vendor master data
To Activate User Exit or Implement it,
Use T-CODE CMODE.
First Check whether enhancement is assigned to a project in CMOD.
If it is not assigned, then  assign it to a project by creating Project in T-Code CMOD.
After Assign Enhancement in project click on Components Button on Application bar of CMOD.
Click on Function Exit and Active the Include present in USER EXIT.
Write Your Code in the include fresent in UserExit.
There is a Active button at application Bar of T-code in CMODE  to activate the exit.
Thanks & regards,

Similar Messages

  • Vendor user exit

    hi all,
                    while creation of vendor is under process, i want to catch the vendor number and use it accordingly to my requirement even before the vendor is created.
    i know this can be accomplished by user exits.but not sure, which user exit to use.
    i have used vendor user exit EXIT_SAPMF02K_001 initially.
    after i create a vendor and save it, the control goes to exit EXIT_SAPMF02K_001.by the time control comes out of this user exit,the vendor number is not yet generated by SAP.
    now,i want to use a vendor user exit,so that by the time  control reaches there, vendor number should have been generated.
    plz look at the steps.
    step1--->XK01(vendor creation).
    step2--->save.
    step3--->the control goes to EXIT_SAPMF02K_001, where code written according to requirement is executed.(the vendor number is not yet generated by SAP).
    step4--->the control comes out of EXIT_SAPMF02K_001 .
    step5--->the control comes to vendor exit EXIT_?????????_???.(the vendor number is generated by SAP,by the time control reaches here).here, i write code according to my further requirement by using vendor number generated by SAP,eventhough vendor has not been created yet.
    plz suggest me the correct vendor user exit for this purpose.i have used
    EXIT_RFKRRANZ_001 for this purpose, but it doesnt suit my requirement.
    thanks in advance,
    shivaa

    Hi Tamás ,
                     thanx for ur quick reply.     
    i had the same requirement while creating a sales order too.i have completed the task sucessfully.
    there i have used the user exit MV45AFZZ.
    plz see the following steps.
    step1--->VA01(salesorder creation).
    step2--->save.
    step3--->the control goes to form FORM USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ
    , where code written according to requirement is executed.(the salesorder number is not yet generated by SAP).
    step4--->the control comes out of FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    step5--->now,the control comes to FORM USEREXIT_SAVE_DOCUMENT in MV45AFZZ.
    (the salesdocument number is generated by SAP,by the time control reaches here).here, i write code according to further requirement by using salesdocument number generated by SAP,eventhough salesorder has not been created yet.
    can u plz check once again, and suggest me the vendor user exit for my requirement.
    plz its urgent.
    thanking u once again for ur reply.

  • How to  find the user exit for a screen..

    Hi,
    plz help me how to find the user exit for a screen..?
    Regards
    Anbu

    Hi,
    check this program this will give you the list of user-exit and BADI for the perticular Tcode.
    REPORT  zuserexit_badi.
    TABLES : tstc,
    tadir,
    modsapt,
    modact,
    trdir,
    tfdir,
    enlfdir,
    sxs_attrt ,
    tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode,
    p_pgmna LIKE tstc-pgmna .
    DATA wa_tadir TYPE tadir.
    START-OF-SELECTION.
      IF NOT p_tcode IS INITIAL.
        SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
      ELSEIF NOT p_pgmna IS INITIAL.
        tstc-pgmna = p_pgmna.
      ENDIF.
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
        WHERE pgmid = 'R3TR'
        AND object = 'PROG'
        AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
          WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
            WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
            WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
            WHERE pgmid = 'R3TR'
            AND object = 'FUGR'
            AND obj_name EQ enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
        SELECT * FROM tadir INTO TABLE jtab
        WHERE pgmid = 'R3TR'
        AND object IN ('SMOD', 'SXSD')
        AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
        WHERE sprsl EQ sy-langu
        AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(105) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
          SORT jtab BY object.
          DATA : wf_txt(60) TYPE c,
          wf_smod TYPE i ,
          wf_badi TYPE i ,
          wf_object2(30) TYPE c.
          CLEAR : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
          LOOP AT jtab INTO wa_tadir.
            AT FIRST.
              FORMAT COLOR COL_HEADING INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 'Enhancement/ Business Add-in',
              41 sy-vline ,
              42 'Description',
              105 sy-vline.
              WRITE:/(105) sy-uline.
            ENDAT.
            CLEAR wf_txt.
            AT NEW object.
              IF wa_tadir-object = 'SMOD'.
                wf_object2 = 'Enhancement' .
              ELSEIF wa_tadir-object = 'SXSD'.
                wf_object2 = ' Business Add-in'.
              ENDIF.
              FORMAT COLOR COL_GROUP INTENSIFIED ON.
              WRITE:/1 sy-vline,
              2 wf_object2,
              105 sy-vline.
            ENDAT.
            CASE wa_tadir-object.
              WHEN 'SMOD'.
                wf_smod = wf_smod + 1.
                SELECT SINGLE modtext INTO wf_txt
                FROM modsapt
                WHERE sprsl = sy-langu
                AND name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WHEN 'SXSD'.
    For BADis
                wf_badi = wf_badi + 1 .
                SELECT SINGLE text INTO wf_txt
                FROM sxs_attrt
                WHERE sprsl = sy-langu
                AND exit_name = wa_tadir-obj_name.
                FORMAT COLOR COL_NORMAL INTENSIFIED ON.
            ENDCASE.
            WRITE:/1 sy-vline,
            2 wa_tadir-obj_name HOTSPOT ON,
            41 sy-vline ,
            42 wf_txt,
            105 sy-vline.
            AT END OF object.
              WRITE : /(105) sy-uline.
            ENDAT.
          ENDLOOP.
          WRITE:/(105) sy-uline.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No.of Exits:' , wf_smod.
          WRITE:/ 'No.of BADis:' , wf_badi.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(105) 'No userexits or BADis exist'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(105) 'Transaction does not exist'.
      ENDIF.
    AT LINE-SELECTION.
      DATA : wf_object TYPE tadir-object.
      CLEAR wf_object.
      GET CURSOR FIELD field1.
      CHECK field1(8) EQ 'WA_TADIR'.
      READ TABLE jtab WITH KEY obj_name = sy-lisel+1(20).
      MOVE jtab-object TO wf_object.
      CASE wf_object.
        WHEN 'SMOD'.
          SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
          CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
        WHEN 'SXSD'.
          SET PARAMETER ID 'EXN' FIELD sy-lisel+1(20).
          CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
      ENDCASE.
    Reagards,
    Bharat.

  • User exit for MB1A screen

    I  want to block the withdraw qty in MB1A screen.I used MBCFC003 AND MBCF0005 BUT I couldn't get the exact result.Is it user exit for MB1A screen -PPC00009.So can anyone tell me the exact user exit.
    Regards,
    Maran.d

    Dear Maran,
    What's your exact requirement?What do you want to block in MB1A T Code?
    You want to restrict for 261 movement for an order or reservation in MB1A?
    These are the exits that can be used for MB1A,
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. 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                                Material document item for goods receipt/issue slip
    MBCF0002                                Customer function exit: Segment text in material doc. item
    Regards
    S Mangalraj

  • User Exit in iw22 screen

    Dear all,
    I want to use a user exit in IW22 screen to add notification time.
    pls help me.
    Thankx

    No Screen Exit for IW22 i think it has only Function Exits
    Custom Exits
    IWO10026      User check on setting status 'Do not perform'
    IWO10027      User exit: Generate user-defined settlement rule
    IWOC0001      Create PM/SM notification: Determine reference object
    IWOC0002      PM/SM notification: Check whether status change is allowed
    IWOC0003      PM/SM authorization check of ref. object and planner group
    IWOC0004      Change single-level list editing PM/QM/SM ALV settings
    BADIs
    IQS0_STATUS_MAINTAIN                 Control of Changeability of User Status
    IWO1_SUBSCREEN_0170                  Display Additional Data on Object Screen 0170 PhysicalSample
    IWOC_LIST_TUNING                     Performance Tuning for Lists in PM/CS
    IWOC_OBJECTINFO_CHNG                 Changes to Data of Object Info Screen
    NOTIF_AUTHORITY_01                   Additional Authorization Checks for the Notification
    WOC_FL_DETERMINE                     Determine Date for Determining Installation Loc. Equi.
    Edited by: Bala Krishna on Aug 20, 2008 4:00 PM

  • To find user exit and a screen exit for VD03

    hi ,
    can u please find if there is a user exit and a screen exit to add for adding a Z-field on for the customer master on the shipping tab. i.e VD03 transaction.
    actually i have found the user-exit i.e exit_SAPMF02d_001.
    but this exit is not triggering when i put a breakpoint.
    so can u please tell me the solution for this.
    regards,
    soham p

    Hi,
    try these...
    Enhancement/ Business Add-in            Description
    Enhancement
    SAPMF02D                                User exits: Customer master data
    Business Add-in
    CUSTOMER_ADDRSCR_CHG                    Change Address Screen in the Master Data Maintenance
    CUSTOMER_ADD_DATA                       Additional Data at Customers
    CUSTOMER_ADD_DATA_BI                    Additional Data at Customers (Batch Input and ALE)
    CUSTOMER_ADD_DATA_CS                    Additional Data at Customers (Subscreen Container 4000)
    No.of Exits:          1
    No.of BADis:          4
    Arunima

  • Screen /user exit for additional screen on sales order header

    Hello sir's,
    can anybody help me for this query---
    Screen /user exit for additional screen on sales order header.
    exit name.
    Thanks in advance,
    Vikram

    Hi,
    SAP has provided screen modification. This you can do on "Additional data B" screen at both <b>header</b> and line iteam level.
    Additional <b>header data is on screen SAPMV45A 0309</b>, additional item data on screen SAPMV45A 0459. These screens contain the <b>Include screens SAPMV45A 8309 ( this is the screen exit at header  )</b> or SAPMV45A 8459 ( this is the screen exit at item ) as user exits. There few more exits you will have to code to get this screen works. The are,
    MV45AOZZ - PBO module of screen
    MV45AIZZ - PAI module of screen
    MV45ATZZ - Global data definition for user-exit.
    Check this link for more info regarding user-exit in sales docs.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
    We have alredy implemented this solution at line item level. Let me know if you have any question.
    Regards,
    RS

  • EXIT from a user exit to intial screen of MM01

    hi friends,
    I am working on MM01 user exit..after saving user exit ll trigger..and in one scenerio we need to come back to screen MM01 with message at task bar..
    Please give some idea ..
    regards

    well to come back to your initial screen is quite easy.
    goto mm01 on your initial screen and hit F1.
    in the help hit the button technical information.
    there you get some information. amongst them your dynpro number of the screen you are on. (ahhh BTW make sure you place you cursor on the main screen before doing above steps, otherwise you get the dynpro-number of the subscreen your cursor is placed on.)
    Then at the end of your user-exit write: leave to screen (your dynpro number you identified with the steps above).
    to place a status message i believe you already have to be on the dynpro on which you want it to display. this would mean you had to modify the PBO event of that dypro, and i dont think you want that.
    but i dont see any other solution. maybe some other dude will post something about that

  • User Exit with MD01 screen

    Hi All,
    In MD01 screen, you can find a field called <u>'User exit Parameter</u>".
    The user will have 3 options to input the data into this field.
    1.  The User can enter single value... ex: E01
        The user exit will execute the MRP Run based on this single value.
        For this scenario, i have SAP standard code as follows.. (Pgm name: LXM61F01)
        Here UXPAR will contain value 'E01'.
          WHEN 'Z1'.
          UXPAR = USER_PAR.
          CONDENSE UXPAR.
          WRITE UXPAR+0(3) TO DISPO.
          IF DISPO IS INITIAL.
            EXIT.
          ENDIF.
          IF MT61D-DISPO <> DISPO.
            NO_PLANNING = 'X'.
          ENDIF.
    2. The user can enter multiple values... ex: E01, E03, E09.
       The user exit should take these valuse into account and run the MRP.
       The above code is meant for single value.
       Now i have to develop the code for this scenario. How to build logic for this scenario  as the UXPAR will have value "E01, E03, E09"...????
    3. The user can enter values in range format... ex: E01-E05.
       The user exit should take E01, E02, E03, E04 and E05 to run the MRP.
       How to build the logic for this scenario..????? 
    Please Help me........
    Regards
    Pavan

    Can anyone please look into this issue and help me out...????
    Really appreciate your guidance in this regard....
    Regards
    Pavan

  • User Exit PO MM06E005 - Screen does not exist

    Hello All,
    I created a new object for user exit 'EXIT_SAPMM06E_012' in Development System. This user exit is under the enhancement MM06E005. The user exit EXIT_SAPMM06E_012 will be used to produce an error message when saving a PO.
    After Transported the Project into Quality System and  I tried running transaction ME22->Select one line Item record in table control -> (Menu) ITEM -> Confirmations -> Overview   to confirm the PO. I have been getting a dump telling me that “SAPLXM06 Screen ‘0111’ Screen does not exist." This is because the screen exit was also included in the activation.
    When I have deactivated the Project its working fine.  This problem occurs only the activation of user exit.
    Thanks & Regards
    Sudheer

    hi,
    the problem when activating the exit you would have checked or activated the screen which currently is there in the development system , or you would have activated the screens and put them in a different request or in $tmp so when the request having the exit got transaported the screen code or activation was not taken along.
    Deactivate the exit and then deactivate the screens also.
    and then try to activate and put all in one request : deactivated and activations.
    Narayani
    Message was edited by:
            Narayani

  • User exit for selection screen of Tcode VL31N, VL32N

    Dear Experts,
    I want to modify selection screen of tcode VL31N, VL32N. Please help me to send user exit Tcode VL31N, VL32N.
    Thanks and regards,
    DucTV1.

    Hi Patrik,
    The ALV report is generating from  a query AQZZ/SAPQUERY/MEMEVL31========, in which the field catalogue of the ALV is coming from normal list dispaly structure only, structure of which is coming from %goo structure.
    Either try to find out an enhancement here , so that you can add fields over there.
    Thanks and Regards,
    Antony Thomas

  • EXIT in initial Screen VA01

    Hi,
    I need an exit in the initial screen of tx. VA01.
    When you enter the Order Type and the Organizational Data I need to validate some order Types.
    Regards.
    Thanks.

    Hi there
    i had the similar requirement, but then used field exit to get this done.
    remember you cant get value of other field in field exit( eg order type in sales office field exit)
    for that you can use FM   'GET_DYNP_VALUE'  to find value for other screen field like
      CALL FUNCTION 'GET_DYNP_VALUE'
        EXPORTING
          I_FIELD = 'VBAK-AUART'
          I_REPID = 'SAPMV45A'
          I_DYNNR = '0101'
        CHANGING
          O_VALUE = auart
        EXCEPTIONS
    this will find you the value for order type in sales office field exit code.
    to define field exit goto
    cmod > then type in command field PRFB. then define field exit.
    if u need more help let me know.
    cheers
    Edited by: mandy on Jan 14, 2008 2:28 PM

  • User exit in me51n screen

    hi,
    While selecting material code in Purchase req screen I like to display the corresponding G/L account code in Account Assignment-->G/L Account field. Kindly give me the suggestion .
    Thanks & Regards
    R.Vijai

    Check this MEREQ001  Customers' Own Data in Purchase Requisition USer Exit
    Inside the above user exit you have a Screen Exit 
    SAPLMEGUI       0014 SUB0     SAPLXM02        0111
    try with that

  • Do you know how to place "enter by user name" to initial screen of fb03?

    Hello,
        When we enter fb03 display finance document, and click "header" button, I can see the "entery by username". But we want the "enter by name" display in the initial screen of fb03.
       Is anyone can suggest how to make it?
    Thanks,
    Li Jing

    Hi,
    In FB03, first you need to navigate to the Document list and from there you can choose the use name in the dynamic selection. The user name will not come in the initial screen of FB03.
    Alternatively, you can create a selection screen program which will have use name on the selection screen alongwith other fields and then pass on this selection details to the program RFBUEB00 selection data. Your ABAPer can do it for you.
    Regards,
    Gaurav

  • CS - User Exit for initial checking for t-code IH10

    Hi all expert,
    I am new to CS, I want to know is there any user exit for CS, which can write my own authority check in the t-code IH10
    (Display Equipment: Equipment selection)
    I want to add a authority group in the Customer master, so that when using IH10, it check the customer's authority group whether the user have right to view the equipment which belongs to the customer.
    Thanks.
    Terry

    Hi,
       Its a std report, My suggestion would be not to disturb the current report, instead create your own report could be copy of IH10 & make the changes as required.
    Goto: OIAG to create your own authorization group ( make this field as mandatory while executing)
    find the free field in Customer Master Data ( if customer reserve fields are available- not reserved for any other purpose, you can use those fields for the same), map this field to "Authorization Group" field in ZIH10 ( Copy of IH10).
    Through work around , hope you will achieve this.
    Check with the abaper for the feasibility of the above suggetion.
    Regards,
    Reazuddin MD

Maybe you are looking for

  • Authentication in weblogic portal server 8.1 sp2 using external LDAP

    Hi, I am trying to use external LDAP for authentication. I have configured the ActiveDirectoryAuthenticator giving the necessary values ( and added "-Dcom.bea.p13n.usermgmt.AuthenticationProviderName=ActiveDirectoryAuthentic ator" in startWeblgoic.cm

  • [disappeared]After update, scroll function changed. Want the old paradigm back.

    Laptop: Dell Inspiron 1545 OS: Kubuntu 13.04 Firefox: 24 Mozilla Firefox for Ubuntu canonical 1.0 What I have now: I press the arrow keys on the laptop (these are dedicated arrow keys, not multifunction keys), and the whole screen slams to the bottom

  • Using like Operator in Prepeared Statement

    PreparedStatement s2=dbcon.prepareStatement("Select phone,dnc_message from gsw_donotcall_list_tab where phone=? or dnc_message like ?"); s2.setString(1,number); s2.setString(2,"%"+smessage+"%"); ResultSet result=s2.executeQuery(); rowfound=result.nex

  • Date: YearWeek

    Hi, I want to transform the current date so that the year and the week populates instead of year and the month. i.e yyyyww. Is there possible in the graphical mapping or do I need to create UDF and in that

  • EPM 11.1.1.3 install on windows 7

    Hi, I'm trying to install 64 bit EPM 11.1.1.3 on 64 bit windows 7 machine. The install went fine. However when I'm trying to configure Foundation services- I get the error given below and the configure database fails for shared services. I'm trying t