cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order - Item Text

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (3)

Answers (3)

mandar_shete
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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