on 11-20-2010 1:49 PM
Dear Gurus,
For specific userids
the following restriction is required in VL01N and VL02N
1) Prevent the deletion of Line item
2) Add new line item
3) Change the material, delivery and Picked quantity
4) Prevent the deltion of the delivery document.
suggest the possible and successful methods
Thanks & Regards
Hi,
As this requirement is wrt UserID, then i suggest you to achieve through development.
1) Prevent the deletion of Line item
2) Add new line item
3) Change the material, delivery and Picked quantity
4) Prevent the deltion of the delivery document.
Create Ztable with the format as below:
USERID + Transaction Code Sales Org Delete Item + Add Item + Modify Material + Del Qtty + Pick Qtty + Del Del
Write the valdiatioin for each field. maintain the records in teh table.
By using userexit trigger this table - ( Include:MV50AFZ1)
Regards,
Reazuddin MD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
First of all please do check the forum this kind of questions are alreday answered many times
By Configuration change
1) Prevent the deletion of Line item
2) Add new line item
T-code: 0184 (zero), select the delivery type and item category group.
There maintain blank field for "ItmC".
Whatever material you are maintaining in sale order, you can do delivery only for that material and no new items can be added.
using BAPI:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Vishal J,
User might have searched in forum or not , I am not sure. But still this seems unique requirement.
In 0VLK- for the relevant delivery type in item requirement field: 201 -. Then system will restrict to add any new line item in Delivery. But system will not prevent to delete the line item.
Moreover, the above change in Delivery type effect all Users, where as requirement is restict only For specific userids
Iam sure, there are such customization exists, which can restrict wrt:UserIDs
Regards,
Reazuddin MD
Dear Vishal / Reazuddin,
Thanks for your prompt reply.
I wish to reframe my question.
1. Restrict all the users for Deletion of the Delivery Line item
2. Restrict all the users for Adding a New Line item in the delivery document.
3. For specific userid's who have authorization for creating and changing Delivery: Restrict from changing the Delivery and Picked Quantity.
Issues 1 and 2 are jointly be addressed by the combination of your replies, which are as follows.
A) Removing the Default Item Category from the "Delivery Item Category Assignment".
B) In the Delivery Document type configuration, using Item Requirement 201 and removing Default Order Type.
Looking for a solution for the Issue 3.
Thanks & Regards
Edited by: lrsapsd on Nov 22, 2010 8:22 PM
Hi
3. For specific userid's who have authorization for creating and changing Delivery: Restrict from changing the Delivery and Picked Quantity.
First of all as you know SOME USERID's having this authorization, then you can handle by roles
If you want to disable the field "delivery quantity". In this case you can use the method "CHANGE_FIELD_ATTRIBUTES" of badi "LE_SHP_DELIVERY_PROC".
Try this code
data : CT_FIELD_ATTRIBUTES type SHP_SCREEN_ATTRIBUTES_T,
WA_FIELD_ATRIBUTES type SHP_SCREEN_ATTRIBUTES.
MOVE 'LIPSD-G_LFIMG' to wa_field_attributes-name.
move '0' to wa_field_attributes-input.
append wa_field_attributes to ct_field_attributes.
Regards
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.