To restrict undeleting/unblocking of  a PR line item

HI,
My scenario is such that a PR is created and approved  in SRM and  in R/3 you can delete the PR line item and also undelete/unlock it.
My issue over here is that once the PR line item is deleted it cannot be restored or undeleted/unlocked, only the persom with special rights can unlock/undelete it.
Chintan

HI ,
You can acheive this by following :
Create a new Doc type for PR ( specific to PR  Created by SRM  ) .
In User Exit,  Validate  the follwoing combination "User having speciic roles" + "Doc Type  same as above" is trying to undelete the PR item , then allows the user else throws error.
Hope this will solve your query.

Similar Messages

  • How to restrict separate payment document for each line item in APP

    HI Experts
    PLs let me know how to restrict separate payment document for each line item in APP
    Thanks
    Sneha
    Edited by: Sneha R on Apr 14, 2009 4:18 PM

    Sneha,
    If your query was to group items for payment ,in FBZP  co code data for payment method there are 2 options 1.group payment for marked items 2.payment per due date.
    Also in the Vendor master there is a flag which will ensure that each item is paid individually,if this is what you were looking for  ( FK02 change vendor).
    In case you want to group items to be paid together Payment Grouping Key can be assigned in Vendor Master .
    Shony

  • Restrict access to users in customer line item display FBL5N

    Hi all,
    We got a requirement from my client that, they want to restrict access of their users to view details of few customers  only. The user has a right to view FBL5N transaction code, but he cannot view all customers details.
    we created 4 customer account groups,we created like .. SD customers1
                                 SD customers2
                                 Onetime customers
                                 FI customers
    These FI customers cannot be viewed by all users except who has authorization in Tcode  FBL5N, we need to restrict to display only SD and one time customers details.
    we have tried with Basis but its not working and its blocking to view all customers.
    anyone got this kind of requirement , Is it possible to restrict....please help me.
    Thanks
    Nagesh
    Edited by: nag on Dec 27, 2011 5:26 PM

    It is standard behaviour that the authorization object F_KNA1_GRP(account group authroization) is not checked
    in the transacion FBL5N. You can confirm this functionality in trans. SE24.
    As a workaround, I would suggest you to use the authorization object F_KNA1_BED Customer: Account Authorization
    If you assign an authorization group as the accouting group, perhaps you can get a similar functionality.
    Please note that for the 'drill-down' or direct call of FBL5N these objects are checked:
      F_BKPF_BLA Accounting Document: Authorization for Document Types
      F_BKPF_BUK Accounting Document: Authorization for Company Codes
      F_BKPF_GSB Accounting Document: Authorization for Business Areas
      F_BKPF_KOA Accounting Document: Authorization for Account Types
      F_BKPF_BED Accounting Document: Account Authorization for Customers
      F_KNA1_BED Customer: Account Authorization
      F_KNA1_BUK Customer: Authorization for Company Codes
    Kind Regards
    Soumya

  • Restrict some users on Employee Vendor line items in FBL1N

    Dear All,
    We have a requirement in our current project. Employees have been created as vendors and they have specific number range. Client want to give access to see Emp Vendors data in FBL1N only to specific users. I need help on how to acheive this. I checked with basis on Auth point of view, but no clue.
    Appreciate your help on this.
    Thanks.
    Regards,
    Sree

    Dear,
    This can only be achieved with the help of Basis Consultant. Please remember below step.
    1. Every users are assigned to the Profile their master which is maintained in SU01.
    2. Every profile has authorization object where one of the obect is of Vendor Number (LIFNR). So under the object Vendor number lock the users out of vendor numbers you don't want in transaction FBL5N.
    Regards,
    Chintan Joshi.

  • Undelete Purchase order line item

    Good day,
    Is it possible to undelete a deleted purchase order line item? If yes, how can I establish this?
    Thanks & regards,
    Christel Smolders

    hi
    u will see block / unblock symbol also dust bin symbol in Po line. U can delete line item here and when u want to undelete by pressing unblock u can achive same
    select the line item and then press unblock / undelete symbol ( Open lock symbol) line item will undelete
    Vishal...

  • Restricting new line item of completed sales order in VA02

    Hi,
    My requirement is to restrict the user to add new line items for Sales Order if the <b>Header status</b> is completed in VA02 transaction.
    I have done the coding in "<b>userexit_move_field_to_vbap</b>" as it is displaying pop up an error message and stop the users from adding a new line item.
    Popup message contains 2 buttons 'Continue' & ‘Exit’.
    If user clicks ‘<b>Continue</b>’ it should be stay in same transaction (Va02) and if user clicks '<b>Exit</b>' it should exit the VA02 transaction.
    But when I click the '<b>Continue</b>' button it is staying in the same transaction and newly entered line item values are not clearing. But these values should not appear after clicking '<b>Continue</b>' button.
    Can any body please help me in this regard?
    Thanks in advance.
    Ranjith.

    Hey,
    Is this ranjith tavidisetty.... if yes please call me on 09974440499...
    need to speak to you.....
    regards,
    naveen.

  • Line item editing restriction

    Hello,
    Can we restrict line item details with reference to a particular field. Requirement is business want to restrict "payment BLOCK"  field in vendor line item. Not restricting for other field  like add text, assignment etc through FBL1N.
    Requirement is to restrcit field "Payment Block Key" in vendor line item.
    Thanks
    Dinabandhu

    Hi,
    Remove the following field from changeable rules  table.
    BSEG-ZLSPR.
    FA Global settings-documnets-Rules for changing documents-line item change rules.
    Rgds
    Swapna

  • Delete SC line item when a follow-on document is created

    Hi
    We are working in a classic scenario.
    When a shopping cart is created from a catalog, it automatically creates a Purchase order in ECC.
    However, users are able to delete the line items of the cart when a follow-on document is created and vendor is ready to supply the material.
    How to restrict the users deleting the SC line items?
    PV.

    Hi Azad,
    Thanks for your quick reply.
    We are on to SRM5.0 (SRMSERVER 550 SP11).
    Even though it is standard functionality, still it is behaving the way explained.
    Tried to look for OSS notes and could not find one for my version. We may take up with SAP.
    Meanwhile, as this is causing lot of problem to business, I may have to achieve this by any means.
    Please throw your tips.
    pv

  • Line Item control in Table control

    Hiiii Friends,
    I am working on the table control. Im getting a probelm at one point.
    I want to populate the
                       Po                                         Sorce
    207/2007     4500000090     10                                   101     Iron Ores          HOS
    207/2007     4500000090     10                                   101     Iron Ores          HYD
    207/2007     4500000090     10                                   101     Iron Ores          HOS
    207/2005     4500000091     10                                   102     Iron Ores          VIZ
    : User will select the Contract Number & from the above ZTable PO Number will get populated in the PO Number field autometically . User will enter the Item Number as available in PO and Material Code will appear in the Material code field in this development.
    I want to restrict the Sorce within the PO & Line item selected.
    Sorce shud get populated with F4 according to the material No & Po lone item.
    Im using this slect qury in POV.
      SELECT matnr sorce sodet
        FROM zmmsorce INTO TABLE gitf4_sorce
        WHERE matnr = gs_zwagond_scr-matnr.
    How can i sort this problem .
    Please help me out .
    Harman

    HI,
    You can use GET CURSOR LINE LINE_NO this will give you the sy-index so that you can read the itab like
    read table itab index line_no. This is one option and second is if you have row selector.
    read table itab with key mark = 'X'.
    If you want the Row contents befor the PAI triggers
    [Check this Thread|Table Control dynamic F4;
    Hope this is clear to you.
    Regards
    Ram

  • Po line item undelete after GR&IR copletion

    hi gurus,
         pls give me sugesition related to   PO line item is deleted after completion of GR&IR,now user is asking to undelete the line item is it possible to undelete the line item,if possible please give me suggesition how it is possible.
    Regards
    sap mm

    Hi
    Go to that PO line item there u can find <b>unblock/undelete button</b> ( open clock simbol
    click the same now ur item is undeleted
    Vishal...

  • Restriction on number of line items in an automatically generated document

    Hi all,
    As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items.
    My observation:-
    When I am posting depreciation using t-code AFAB, system is posting depreciation document (document type AF). While checking, I found that the system has posted around 16 document for a period.
    On further checking, I observed that the each document contains a max 100 line items.
    I am using SAP 4.7
    My Query:-
    a> Is there any way / place wherein we can restrict the maximum number of line items possible for a given docuemnt type or for all document types in the client?
    b> In case it is not possible to restrict the number of line items per document, what could be possible reason for the system behaviour wherein it is posting about 100 line items per document & thereafter starts a new document.
    Thanking you in advance
    Santosh K Agarwal

    Hi,
    I have been reading CIN. There I came across with a statement i.e. "There is restriction on no of line items to be in an Excise Invoice".
    where you read this i dont know
    but yes for outgoing excise invoice we can put limitation in sap cin
    as per incoming excise invoice i think no  limitation
    in path SPRO-tax on goods movemnet-India-basic setting-maintain excise registration here you can maintain this
    and yes this for india only for other country they may have different
    Regards
    Kailas ugale

  • Restrict Vendor line items display by Vendor authorization group

    Hi Gurus,
    I have a requirement to restrict Vendor line item diplay for Tcode FBL1N, I have updated the Authorization object F_LFA1_BEK, its work fine if all the vendors have authorization, However it also display vendors whose auth. group is "BLANK" or "SAPCE",
    Is there a way that I can slove this issue, is there any SAP notes of other object which needs to be updated ?

    Hi,
    this problem has been discussed on this forum last week. Basically, SAP does not perform authorization check if the authorization group is blank. Hence you need to assign authorization object to all vendors.
    Cheers

  • Outbound Sales Order - want to restrict line items

    Hello,
       I  am generating outbound Idocs, from sales order (using ORDRSP) , via message control. (RSNASTED - EDI_PROCESSING)
       I have 4 line items in my order, where, item 20, 30, 40 are components(parts) of item 10.  In technical terms VBAP will have UEPOS 000000 for item 10, and 000010 for items 20, 30 and 40. (as 10 is parent item for 20, 30, and 40).
      I need my idoc with just item 10. ie, I dont want items 20, 30, and 40 in my Idoc.
      Which will be the best way to restrict this ?  I have user exits EXIT_SAPLVEDC_001, which have Tables XVBAP in interface in FM IDOC_OUTPUT_ORDRSP.   Shall I go ahead with this user exit or is there a better approach ?  
    Please share your thoughts.
    Thanks

    Hi,
    It would be better to use user exits EXIT_SAPLVEDC_002 in FM IDOC_OUTPUT_ORDRSP to delete the unneeded segments in table INT_EDIDD instead of mess around table XVBAP.
    Regards,
    Ferry Lianto

  • How to Restrict Single Delivery Date for PO with Multiple Line Items

    Dear Experts,
    How to Restrict Single Delivery Date for PO with Multiple Line Items.
    System needs to through Error Message if User Inputs Different Delivery Dates for PO with Multiple Line Items in ME21N Tcode.
    Can we achive this by Some Enhancement in SAP or Not ???
    If so how to do it.
    Any Inputs is highly appreciated.
    Thanks and Regards,
    Selvakumar. M

    Hi Selvakumar,
    we can resrict the PO to have a single delivery date in all the line items by means of giving a error message or overwiting the delivery date keyed/determined in the line item.
    You can use the BADI -> ME_PROCESS_PO_CUST. In which you need to implement the method PROCESS_SCHEDULE.
    (for technical aid - This method will be called for each and every PO line item, From the imporing parameter im_schedule we can get all the details of current PO line, even we can change the data in the current PO line. )
    Regards,
    Madhu.

  • Restrict deletion of sales order line items

    Hi,
    I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
    But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
    ANy idea , to prevent that?
    Thanks
    Keshi

    Hi Keshi,
    That is the correct exit, we are using the same without any problem. Just set US_EXIT  = CHARX.
    Regards,
    John.

Maybe you are looking for

  • Aperture No Longer Working With Screen Saver?

    For years I've been using my Aperture library (specifically, the "Flagged Photos") with the Screen Saver in OS X.  Since I upgraded to Lion last night, I have discovered that my Aperture library no longer shows up as an option in Screen Saver -- only

  • Sort ToyStore ShoppingCart rows?

    Is it possible to specify an order by clause in a view object made up of only transient attributes that uses the pending state mgmt facility ?

  • How to check the data type dynamically

    hi all my requirement is like this  in one screen field which is of character type user is inputing data . now while saving to the database i have to apply one external check for this data if it is integer type or not as this data on the screen is re

  • Image upload safari ios6 issue -file name always image.jpg

    I could not wait for ios6 when I found out safari allowed for image / photo upload through safari web forms. I tested and see the image in form..hit submit and it uploads with the file name image.jpg Do it again and same file name for a different pho

  • Iphoto 08 editing shadows quirk

    I have a set of portrait photos with shadows on the face that I am trying to reduce. Each time I click on one of the slides (any of them, it seems, whether, shadow, contrast, temperature), the shadows seem to magically disappear--beautiful! But the c