Restricting storage location through user exit.

Dear Friends,
My Scenario is " while doing goods movement in confirmation screen (cor6), the header material is assigned to 3 storage location , Now is there any USER EXIT so that it has to be restricted to 1 storage location ,we dont want authorization control"
Regards
tushar

Dear,
Please check User exit for storage location determination -EXIT_SAPLV02V_002 and Include ZXLOFU01
or Program MV45AFZB
USEREXIT_SOURCE_DETERMINATION
Regards,
R.Brahmankar

Similar Messages

  • IW41 - Storage Location Control (User Exit)

    Hi,
    While I'm trying to use function Goods Movement in PM order confirmation, I only want to consume ingredients from one storage location.
    Is there any user exit for this control?
    Thank & Regards,
    Begum

    Hi Venkatesan,
    Thanks for your reply. We first try to use the user exit CMFU0002 - Set parameters for time confirmation and goods movements. However, the system doesn't see this user exit while we are trying to consume materials from a storage location.
    Best regards,
    Begü

  • Change Moveing average price in MIGO Goods Reciept through user exit

    Hi,
    i need to change the moving average price in the MIGO transaction  (Goods Issue) through user exit can any one help me with user exit.

    Hi,
    Check these Enhancemnts...
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Badi Name            Description
    DELIVERY_ADDR_SAP    Determine Time-Dependent Delivery Address in Delivery
    DELIVERY_PUBLISH     Returns BAdI Implementation: Automatic GR Posting T 2
    DELIVERY_PUBLISH     Updating of Delivery in Purchase Order
    DELIVERY_PUBLISH     AIP: Delivery Confirmation for Sales Order
    Regards
    Raghu

  • Restrict Storage location

    Dear All,
    We are experiancing an issue that there is t code co11, production order confirmation in that there is feild storage location feild, which comes from BOM, there are certain users who change the storage location, at this time, if we restrict storage location, for that user, then it will also give the not authorized for the location, even if it is not changed and coming from BOM, We want to restric this " Change Practice" in co11, can we disable the feild for certain users or restric certain users to do this pratice, Please guide me.
    Ravi.

    Dear,
    I think that my message is not conveyed properly, there are feilds BWART and LGORT which used to restrict storage location and movemnt type generally what we do is restrict movement type and storage location seperately, can we do this?
    Scenario:
    some location is restricted with certain movement and allowed in certain movement, I mean to say combined restriction and permission. Can this be acheived by Authorization control?
    Ravi.

  • How to locate a user exit

    Hi all,
    I am using transaction va01 ,and upon creation of returned sales order ,i need to send a notification to relevant agents. I am looking for a user exit where I can add my code,is there a general way of locating specific user exit for a particular function on the object..
    please advise
    Thanks in advance
    MM

    Hi,
    Please check the code below:
    *& Enter the transaction code that you want to search through in order
    *& to find which Standard SAP User Exits exists.
    REPORT  z_yaktest NO STANDARD PAGE HEADING.
    *& 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.
    Regards
    Kannaiah

  • Pop up screen for stock overview in ME51n through user-exit/BADI

    Hi,
    User wants that at time of  Purchase Requisition creation for any material system should give a pop up window of stock details to provide the status on inventory. 
    For stock summary the t code u201CMMBEu201D for combination of plant and material should run in background and produce output in pop up window. Basically MMBE report output is required for each item line in a pop up window.
    Can this be done through user-exit. I have implemented many user-exits but not sure about the report output in a pop up screen through a user-exit.
    The material stock ia already available under menu enviornment - Material stock(MMBE) but user wants the stock as soon as the material is enetered.
    any inputs.

    Have a look at below link which gives the details abt the user exits related to VA01/VA02.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • If PO is released I have to send a mail through User Exit

    Hi,
    Please let me know the relevant user exits for below requirements.
    a.  When the PO is released,  the system will check for that PO Parked invoice exists or not,  if yes I have to send a mail to creator of the Invoice through user exit.
    b.  PO Exist but NO GR  (for goods only not services) ,  each time an invoice is parked for Goods PO.  send mail to PO Creator and storekeeeper  through user exit.
    Please give me relevant/suitable user exits for above both requirements.
    Regards,
    Ganesh

    Hi Ganesh,
    Please move this to [Enhancement and Modifications|ABAP Switching, Enhancing, and Adapting Standard Programs; forum
    Cheers
    Suresh

  • Purchase requisition release procedure through User-Exit

    Hi Workflow Guru,
    I have a requirement to configure purchase requisition workflow . the workflow should trigger through release strategy.
    The approver should determine through user-exit and the approver should determine based on value and quantity and that can be define in user-exit. as per my knowledge the value should mantain in SPRO-Release procedure. Please clarify me is it possible through user-exit. I am worked on user-exit for release procedure based on purchasing group.
    Thanks in advance.
    Regards,
    Ranjan Tiwari

    Hi,
    There is BADI ME_REQ_POSTED 
    in method POSTED  you can write your code to trigger the workflow and get the information related to release strategy and
    Purchase requisation  .
    for more than one PR use below logic .
    LOOP at im_eban into gwa_im_eban .
        concatenate gwa_im_eban-banfn gwa_im_eban-bnfpo into gwa_objkey .
      add data into container -----------------
          gwa_event_container-element = 'PurchaseRequisition'.
        gwa_event_container-value = gwa_im_eban-banfn.
        append gwa_event_container to gi_event_container.
        clear: gwa_event_container.
        gwa_event_container-element = 'ItemOfRequisition'.
        gwa_event_container-value = gwa_im_eban-bnfpo.
        append gwa_event_container to gi_event_container.
    get the other details and create event to start workflow .
    select single * from eban into lwa_eban where banfn = gwa_im_eban-banfn
                                                  and bnfpo = gwa_im_eban-bnfpo .
            if sy-subrc <> 0 .
          call function 'SWE_EVENT_CREATE'
            exporting
              objtype           = 'BUS2009'
              objkey            = gwa_objkey
              event             = 'zcreated'
            tables
              event_container   = gi_event_container
            exceptions
              objtype_not_found = 1
              others            = 2.
    ENDLOOP .
    Hope this will resolve your issue.
    Thanks and Regards,
    Deepanker Dwivedi

  • Restriction of BAPI_TRANSACTION_COMMIT in User Exit

    Dear Experts,
                          I am trying to create Sales Order upon saving Purchase Order through user exit EXIT_SAPMM06E_012  using BAPI_SALESORDER_CREATEFROMDAT2.But i got to know that ...we should not use BAPI TRANSACTION COMMIT in user exits as it leads to data inconsistency.....Can any one please let me know the other way other around..
    Regards,
    Kartheek.

    Don't call BAPI_TRANSACTION_COMMIT or COMMIT WORK anywhere in your user exit coding that is all )
    Really, SAP will save your sales order when the purchase order will be committed  and saved.
    It doesn't matter where the COMMIT happens so far it happens within same LUW. Now if you are calling BAPI to create sales order within EXIT_SAPMM06E_012 and don't do a COMMIT in anyway then the purchase order save will automatically commit it.
    I think EXIT_SAPMM06E_012 is an ideal place to call the sales order create BAPI as it is just called before the PO is saved. If for some reason PO doesn't save and ROLLBACK occurs then your sales order also won't get created.

  • Restriction on movement type,storage location on USER ID

    Dear Guru's,
    I have to restrict movement type 311 on some storage location for some user ID.Following is already done but not able to restrict the movement of material on other storage location rather than defined:
    1) Maintained authorization objet M_MSEG_LGO with two storage location ST01,ST02 and movement type 311.
    2) Using BADI MB_MIGO_BADI and maintained Z table with USERID,Mvt type 311,storage location ST01,ST02.
    Still we are able to do Mvt 311 on other that defined locations in authorization objet M_MSEG_LGO and Z table....
    Kindly give ur valuable suggestion to resolve the issue......
    With Regards.

    HI
    For your requirement only I have suggested to create multiple role. In one Role you specify SLOC & MOvt type(only 311) in auth object M_MSEG_LGO & M_MSEG_BWE for slocs where you want 311 movt. In other Roles of goods movt you also specify other SLOCs & all other movt except 311. I mean in the other Role you cant keep the movt type as * in auth object M_MSEG_BWE.
    So its a combination of SLOC & MVT tye. Try & give feedback
    Shakti
    Edited by: SHAKTI BEHERA on Jan 14, 2012 12:15 PM

  • Access to Profitability seg data in contract through user exit

    Dear All ,
    I have a critical issue in my current project.
    I have to post/create a contract in R/3 using custom Idoc type which is enhanced version of the standard Idoc type with two new fields for profitability segment data(TS product and Offering) for contract item.
    The Idoc is calling BAPI_CONTRACT_CREATEFROMDATA and which in turn calls SD_SALESDOCUMENT_CREATE and I checked it is passing through MV45AFZZ,MV45AFZA,MV45ZB INCLUDES also.
    Can anybody suggest me which user exit to be used to pass the idoc fields for profitability segment to the required work area(I dont know where,which table it gets saved) so that it gets saved in the line item.I tried COBL work area but those fields are not there.
    Your help is appreciated.
    Thanks
    Soujash

    I have used some user exits to replace fields on the profitability segment during order entry.  The same process might work for your scenario.
    You will have to add restrictions so it is only called during your IDOC processing and not for every SD transaction.
    I used USEREXIT_CHECK_VBKD in MV45AFZB.
    The current PA segment was read with function module RKE_GET_CHARS_FOR_PAOBJNR.
    If it was different than what I needed, I replaced fields on VBAP and re-triggered PA processing with
    PERFORM VBAP_PRUEFEN_ENDE(SAPFV45P).

  • Need to restrict storage locations

    Hi Experts,
    I need to restrict the four storage locations to all my end users exceprt one user id in production server.
    Please let me knoe how can i restrict these storage locations to all user ids.
    Regards,
    Reddy V

    Hi Olivier,
    Production server ECC6.0.
    As per our MM consultant requirement I have to restrict the storage location 1025 to the one new user id.
    For this I Have created a role for the T-codes mb1a and mb1b (as per MM Consultant requirement), and assigned this role to new user id. But this role not maintaining the authorization object M_MSEG_LGO to restrict the storage location(1025).
    After that I have manually added the authorization object M_MSEG_LGO in this role and added the required storage locations and removed/restricted the 1025 storage location.But using this t-codes the user is able to post the material to this storage location 1025.
    At the same time there is no other roles/profiles are assigned to this user id.
    So , Please let me know how can i restrict this storage location to this user id.
    Regards,
    Reddy V

  • Line item creation through user exit

    Hi
       I am creating a line item for a sales order when saving the sales order in transaction VA01 and VA02, using the userexit USEREXIT_SAVE_DOCUMENT_PREPARE. I am able to append the line item to the internal table XVBAP through my code in the user exit.
    But after appending to the internal table the line item is not getting created.I am not getting any error message also.
    Can anyone help me out in this regard.What could be the reason for this.

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

  • Bex Query: make data pass through user exit calculation at navigation time

    Hi all!
    I have a new requirement and I don't know how to solve it...
    Now, when I execute a web model containing a query, the system "reads" a date and calculate the query based on that date in a user exit defined in CMOD, for example, filtering data with an interval between january and the date read.
    Besides, I have in the web model a dropdown item where user can choose other months. The dropdown item only shows single values but now if I choose a month, the query only shows data for that month.
    I need the system filters the query with the new interval. For example, between january and the new month the user has just chosen.
    Does anyone know a way to make a query pass through the user exit calculation after executing the query for the first time? Any other ideas? I need the query to "reexecute" and filter the data (create a new interval) based on the value a user chose.
    (sorry about any inconvenience, because I posted the problem in another sdn specific forum but as I received no answer I've decide to explain it in here...)
    Thank you! Points will be assigned.

    Any ideas please?

  • Need to Block storage location through physical inventory process

    Hello My client want to Block few storage locations not through authorisation objects but using physical inventory process.
    can this be achieved through any configuration settings so that when we run physical count the SLoc blocks till the count completes & posted.or Any other method to block Sloc.
    Please guide me on this.

    Hi,
    You can use check box of "Posting block" in physical inventory document.  Posting block indicates that no goods movements involving the materials listed in the physical inventory document can be posted for the duration of a physical inventory count.The  indicator is set for the affected stocks in each case for all associated stock types and is not cancelled until the count results are posted.The blocking indicator can be set in one of two ways:                                                                               
    A.Directly upon entry of the physical inventory document (if the count is to take place immediately)         
    B.Shortly before the count (if the count is to take place later)
    Regards,
    Biju K
    Moderator message:
    Warning.
    You copy-pasted someone else's work as your own message. Please don't do it in the future.
    http://www.dfa.arkansas.gov/offices/informationServices/aasis/MM/Documents/InventoryPlanningandMonitoringManual.pdf
    Edited by: Csaba Szommer on Oct 27, 2011 8:33 PM

Maybe you are looking for

  • HT4009 how do I remove credit card

    trying to remove credit card info from app store. How is this done?

  • Error message after installing CS6

    After installing CS6 from disk error message said, "Some items for the following product(s) could not be installed successfully." The message then listed five of the eight applications in CS6. I can't find any info about where to go to identify and r

  • Batch rename specific song titles in iTunes

    Hi, I'm thinking about writing a program that will go through my iTunes library to (1) find all songs with a specific characteristic and then (2) append a prefix to those song titles. For instance, I have a bunch of tracks with general title:      ar

  • Dblink error

    Hi I have 2 databases.They are test and test1.i have created the database link form test to test1.The users report that when they try to connect the database test1 from test database using the database link they are getting the error ORA-01017: inval

  • HTML Page not appearing after SAP Upgrade from 4.6c to ECC 6.0

    Dear All, I am novice in ITS and IAC configuration stuff.... Issue: We have a HTML page which shows a tree structure of Functional location and Equipments. A Z transaction is built to cater the requirement. User logs on to the HTML page navigates thr