MIGO_GR Authorization check for PO Document type

Hi Friends,
We would like restrict users processing GR's against certain PO document types. In brief, <b>X</b> group of users are allowed to process GR's against PO document type <b>'NB'</b>  only. This validation should take place soon after they enter the PO number or at the check level in MIGO_GR.
Unfortunately, MIGO does not provide relevant standard authorization object... or EXITS to achieve this.
Appreciate, if you share your expertice in this regard . Points will be awarded...
Regards
Kumar

By defining custom authorisation object.

Similar Messages

  • Authority-Check for Sales Document Type

    Hi All...
    I would like to incorporate Authority-Chack for the field Sales Document Type "TVAK-AURT"...
    Can any one give me the sample code or exact code..?
    I have written Authority-check for Sales Organization as follows...
    authority-check object 'V_VBAK_VKO'
                     id 'VKORG' field i_sales-vkorg
                     id 'VTWEG' field '00'
                     id 'SPART' field '00'
                     id 'ACTVT' field '03'.
            if sy-subrc ne 0.
            delete i_sales.
    BUT HOW TO WRITE FOR V_VBAK_AAT..??

    Please check object: <b>V_VBAK_AAT</b> for the same.
    EG:
    authority-check object 'V_VBAK_AAT'
    id 'AUART' field L_AUART
    id 'ACTVT' field '03'.
    Kind Regards
    Eswar
    Message was edited by: Eswar Rao  Boddeti

  • Authorization check for Easy Document Management

    Hello,
    I'm using ECC6 without cProjects or any other implementations regarding the authorization concept in Easy DMS. I'm trying to use authorization control inside the Easy DMS GUI but these settings won't work. I need document based authorization and it seems like ACL's are used for this. The problem is, I do not know which route to follow. I have viewed note 798504, but I could not make sure it will do the work for ECC6 also. My DMS is integrated to a Windows 2000 Content Server 6.3 and I have done its settings accordingly.
    Could anyone please kindly show me which way this is done, using only a ECC6 SAP system and Easy DMS without any need of SAP internal roles and authorizations?
    What I need is a step-by-step instructions, as I'm quite new to SAP.
    Regards,
    S. Gökhan Topç

    Hi,
    check this below link
    <u>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/TRTMSE/TRTMSE.pdf</u>
    And
    <u>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCRRR/BCRRRSAA.pdf</u>
    <u>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDOCDTL/CADOCDT1.pdf</u>
    These can be helpful to you, you can download
    Regards
    Rehman
    Reward with Points if useful

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • Authorization for UB document type in PO create

    Hi All,
    We wanted to restirct some user from creating PO other than UB. We want them to give authorization only for UB document type in ME21N. What is teh best way to make it work?
    Thanks for your support.
    KHAN

    Hi Khan,
    If you want to restrict the User for creating PO other than UB document type. You need to discuss with Basis consultant.
    For that particular user you need to restrict the activites like Create, Change , display for  the authorization object "M_BEST_BSA" which is assigned for Document type for Purchase order.
    Based on your requirement inform the basis consultant to remove the  all other document type or * symbol  and assign only UB document type to that user. So he/she will be restricted to that document type only when ever he creates any PO.
    rgds
    Chidanand

  • Authorization Check for Storage Location

    Hi Experts,
    I have the following requirement :-
    I have Plant : P081 created under Company Code : P110.
    I have got various Storage Locations under this Plant for example
    KT01 - Main Stores
    KT24 - Remote Store.
    The KT24 store is basically a remote location store. I have activated the Authorization for the Storage Location KT24 in the SPRO Settings
    Material Management --> Inventory Management and Physical Inventory --> Authorization Management --> Authorization check for storage location.
    I have maintain the following authorizations for the Object M_MSEG_LGO as follows :-
    1. OBJECT : M_MSEG_LGO.
    >> 2. USER ID : 081Store
    >> 3. PLANT : P081
    >> 4. STORAGE LOCATION : Kt24
    >> 5. ACTIVITY : 01-03
    >> 6. MOVEMENT : 101, 102, 201, 221, 261
    and authorization for T_code MIGO_GR and MIGO_GI . I want to restrict the user for transaction only for this storage location but the system is allowing the user to post GR document for KT01 stores also.
    Can any one suggest a solution or settings that need to be done for the user to be restricted to prepared GR for Storage Location KT24 only.
    Thanks in advance.
    AJ

    Hi,
    You set the authorizations to users with tcode PFCG. To know the reason of deny some access run tcode SU53 after SAP denies the access to some documents / objects.
    Regards,
    Eduardo

  • Restrict display and posting for specific document types

    Hi,
    Is it possible to restrict display and posting for specific document types? I want to restrict authorization to SM document type in FS10N, and KSB1 tcode. Please help
    Best Regards,
    KIRAN.

    Sandipan Choudhury wrote:
    FS10N checks for this object ("Check" in Su24) but when user doesnot has this authorization object he gets access to all doc types and when the user is restricted to specific doc types (object present in user's authorization) he will get access to only those doc types. This is how the authorization check for F_BKPF_BLA works, in other words this authorization is Optional.
    Sorry, but this is not true and seems to be an invention of how you would like it to work...
    The coding works like this (generally):
        if sy-subrc ne 0.
          select single * from  t003 where blart = postab-blart.
          check sy-subrc = 0.
          blrtab-blart = t003-blart.
          blrtab-brgru = t003-brgru.
          append blrtab.
        endif.
        if blrtab-brgru ne space.    "<--- important condition!!
          authority-check object 'F_BKPF_BLA'
               id 'BRGRU' field blrtab-brgru
               id 'ACTVT' field actvt.
          if sy-subrc ne 0.
            rcode = 4.
          endif.
        endif.
      endif. 
    The "optional" aspect is whether or not the document type has an auth group on it in T003, failing which the check is suppressed.
    If it reaches the check, then it found something and then checks that selected value.
    Moral of the story:
    --> Do not believe SU53.
    --> Do not make assumptions from ST01 traces.
    --> Read the documentation carefully.
    --> Read the code to see how it really works (you can jump to the coding location from the trace).
    Cheers,
    Julius

  • Problem while print preview purchase order for new document type

    Dear Experts,
    I have got the problem as below and need your helps.
    I created a new purchasing document type and then created a new PO with this document type. PO was created successfully in the system. I added a message to print out PO with the followed parameters as NEU output type, 1.Print Out medium , VN partner function, dispatch time is 3 ( Send with application own transaction).
    Then, I clicked Print Preview button on the ME23n screen, the error message bellowed was shown
    "The combination of  document type
    and Purchasing organization is invalid.
    please check the document and change it.
    unable to print the form"
    I really want to print the PO with new purchasing document type on the existed purchasing organization, Could you please help me identify the problem and solution for this issue?
    Appreciate for your responses.
    Thanks,
    Tinh Vo Trung
    Edited by: Tinh Vo Trung on Sep 23, 2011 7:43 AM

    Dear All,
    Many thanks for your responses.
    Regarding to maintain the condition record in MN04, I already done for that but the problem was not resolved.
    Could you please come with the other posible causes and solutions for this issue?
    Dear Bijay Kumar Barik,
    Please let me know why we check the new document type in Program, Routine and From of NEU output type?
    p/s: I compared the version the program, FORM and routine of NEU output type and found that there is no the differences btw DEV server and QAs server. However, An PO created susscessfully in QAs server, but the error was happend in DEV server.
    Could you please come with the other posible causes and solutions for this issue?
    Thanks,
    Tinh Vo Trung

  • PO Output message types for different document types

    Hi,
    I wanted the system automatically generate the messages whenever a PO is created for different document types like NB,UB,Blanketorder, Pilot run.
    These are the steps i did...plz advice any more steps to make this work
    1. the output type I am using is NEU-purchase order
    2. I have created condition records for document types NB,UB,PR etc
    I was sucessfull in getting the messages automatically for the standard(NB) PO..but not for the other document types
    Plz advice me how I can achieve this with further configurations
    Thanks
    SKid

    If you have created conditin record for all the document type in MN04 then it should work becuase doc type has nothing to do for printing config.
    this is basically a condition record.
    check your condition record

  • User can hold PO for other document type except than the one in authorizati

    Dear experts,
    we set authorization activity * and PO doc type A only for a user, but end up user can hold PO for document type B . End up user cannot change or delete the particular PO.
    what is the activity in authorization for user to hold  so we can take out that activity..
    pls advise

    user has activity * and allow for PO document type A only.
    But she can hold PO for document type B..
    shall we remove the activity * from its profile , and if yes, what is the activity for hold PO in authorization?

  • Customs document type cannot be determined for external document Type F8

    Hello Experts
    Need help
    I am trying to transfer F8 to GTS 10.1 and getting following message in GTS  Transfer log for export:
    Customs document type cannot be determined for external document Type F8
    New implementation
    GTS 10.1 running with SP 12
    ECC side Plug-In settings are fine. BAdi is Active.(There is no document mapping for F8/CUSDEC as it is not required in 10.1)
    GTS side configurations are also fine. Checked several times by 4 sets of eyes!!
    (Include general settings configurations, Customs communication configurations:)
    (Defining technical medium, conditions/output parameters, defining messages for communication process,
    defining determination for activity sequence and control settings for communication process)
    Despite this I am not able to trnasfer F8 successfully
    Can someone throw some light on this issue please?
    Keshav Murthy
    [email protected]

    Hi Dhilipan
    Here we go..
    You asked me to check the following
    Please check following things
    1) Legal regulation is activated. - Yes Activated
    2) Process template assigned to the legal regulation - Yes Assigned
    3) Activity Sequence determination - Yes done
    4) Open the activity sequence in under Control settings for Communication processes and check if there is a document type assigned to it. Table- /SAPSLL/TLEPAF - Yes done.
    It is really puzzling.
    Thanks
    Keshav Murthy

  • How to delete a document status for a document type

    Hi,
    May i know how to delete the some document statuses for a document type. Because present we are having many document statuses, In that we want to remove some statuses.please find the screenshot and help me please.
    In tha above screenshot, Now i want to keep the highlited one only. Remaining  status i want to delete. May i know how to delete and after deleting the statuses, may i get the statuses as per my requirement.
    Regards,
    Mastan.

    Hi,
    As per the above requirement, i have deleted some statuses, But now i want in cv02n, the following statuses,
    In first step, i have changed the status in cv02n, from work request to Reallocation status. please find the screenshot.
    After this step, i want get the status in cv02n, as PPC head Status, But while changing status, i am not getting the status pop box as per my requirement and i got as per below pop screen.
    Please guide me how to get the status of PPC head in pop box when clicking the Document status icon. And also please guide on that, if i am deleting the existing statuses, what i need to check.
    Regards,
    Mastan.

  • No. range for WA document type

    Hi All,
    Its a client requirement that they want to create No. Range for WA document type for each plant... we have more 300 plants all over india... how to achieve this.. plz suggest any user exit i need to use
    Thanks

    You can use functional module MB_CREATE_MATERIAL_DOCUMENT by using Z table.
    Check the similar discussion for more details Number range for MIGO and MIRO at plant level.
    Regards
    Dev

  • Field Exit for Sales Document Type in VA01

    hi
       i want to do field exit for Sales Document Type in VA01.
    but i dont know to find the correct exit.
    pls tell the exit name and the steps to find it.
    thank u

    Hi,
    Goto this link u will get the information u required....
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    Check the numerous threads that already exist in SDN :
    CMOD and SMOD
    http://www.sap-img.com/abap/what-is-user-exits.htm
    Regards,
    Manish

  • Authorization check for select-options field - Company code.

    Hi experts,
    i have company code field on the report selection screen and i have to validate the authorization check for BUKRS.
    How to do authorization check for a select-options field?
    Any function modules used to write the authorization check for a SELECT-OPTIONS FIELD?
    Thanks.

    >
    RNB wrote:
    > Any function modules used to write the authorization check for a SELECT-OPTIONS FIELD?
    Does it hurt to type a few lines of code? Why do you need an FM for this my friend?
    Anyways can you please tell which SAP application area (viz. FI, SD etc.) do you want to run the report?
    Suhas

Maybe you are looking for

  • SMTP in iFS question

    I installed iFS 1.1 on Oracle 8.1.7. Setup the SMTP server on the default port. Did NOT setup IMAP (port conflict). If I understand correctly, this should allow inbound mail to be stored into iFS (and maybe even forwarded?), but would not allow the i

  • Imported images upside down and blurred Lightroom 1.4

    Hiya everyone. First post on here so I hope I am putting this in the right place but hope you can help me. I have had a trawl through the archives but havent seen a fix for this problem. When I try to import images direct from my camera (Canon EOS 30

  • Mountain lion download stops at 50mb?

    hello i just purchased mountain lion after updating all my softwares im sunning10.7.4 and everytime i try downloading it it stops at around 50mb what wrong with it? i got charged for it already i need help please guys thank you

  • HT201272 Is like to obtain all my ringtones from itunes

    I just got off the phone with a apple rep he had very little knowledge on helping me. When I contested he hung up it was rude and unprofessional. I waited two days for this call to not even be helped. I'd like someone to assist me or if you can send

  • Does anyone know how to get a notification sent out if a replicator fails?

    Very silly question to start with. Does anyone know if it's possible to get CQ5 to send an email notification if one of the replication instances are down out of the box? I would think this to be a fairly standard request from the system, so I wouldn