Skip to Content
avatar image
Former Member

text determination in SAP

Hi all,

I have a requirement where one of the texts entered in

the customer master would be in non-editable mode

while it is copied to Sales order header, i.e. the

user would not be able to change the text which has

flowed from the customer master.

Is there an user-exit for this?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 16, 2008 at 12:58 PM

    As far as i know it is not possible to make certain text id's non-editable, however try this workaround.

    The intent of the logic below is to identify if a certain text id was modified, and if it is modified by a user within sales order then reset the update flag so that the text will not be updated when the sales order is saved.

    In the sales order save user exit (MV45AFZZ) do the following check. Please engage an ABAP resource to try this.

    *Memory id and catalog are already defined attributes within SAPMV45A

    IMPORT catalog FROM MEMORY ID memory_id.

    *Read the text id that you want to stop overwriting.

    READ TABLE catalog WITH KEY tdid = 'Z001'

    function = 'U'

    if sy-subrc = 0.

    *Reset CATALOG-FUNCTION to spaces.

    *modify catalog internal table

    *and export the catalog back to memory.


    Add comment
    10|10000 characters needed characters exceeded