on 04-15-2008 2:55 PM
After creating the invoice, I would like to hide the texts of the sales order's itens, so that it is impossible to change them. Is it doable?
Thanks
Miguel
Hello,
I don't think you can edit any kind of texts once the sunsequent documents are created and cleared. Anyway you can check the same in your development system.
Prase
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luis,
This is only possible thro' ABAP code only.
You can do following steps.
1. In User Exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT_PREPARE).
READ TABLE xvbfa WITH KEY VBELV = Sales Ord. No.
POSNV = SOrd Line Item No.
VBTYP_N = 'M'.
IF sy-subrc = 0.
MESSAGE I(000) WITH 'No modification in Text'.
LOOP AT xthead WHERE updkz <> space.
CLEAR xthead-updkz.
MODIFY xthead INDEX sy-tabix TRANSPORTING updkz.
EDNLOOP.
ENDIF.
Hope this will work for you.
Thanks,
Mandar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U need to maintatin authorizations for user for this. That means u need to add some code to sales order save user exit..
Please take help from ABAPer for this.
So by maintaing authorizaitons u can restrict user to change the sales order text data..
regards
sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, but even after the subsequent documnts, I still continue to be able to edit those texts in VA02... and I did not want that. is there any way to change that?
Miguel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
3 | |
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.