Sandy Blondino
19th May 2005, 17:17
Hello,
Is there anyway to prohibit the creation and modification of text for one session?
I created a custom display session from the standard Maintain Sales Order session and I want the users to be able to view text, but not modify or create it.
Is there a way to limit the text authorizations for one session?
The users still have to maintain text for other sessions.

Thanks for any help.
Sandy

NPRao
19th May 2005, 20:10
Example code-

choice.text.manager:
before.choice:
if zmmig200.stat > zmmig.stat.qa.approved then
attr.textmode = 1
else
attr.textmode = 3
endif

Refer to the predefined variables -

long attr.textmode
1 display mode
3 read/write mode

Used by the Text Manager.

Sandy Blondino
19th May 2005, 20:16
Thanks so much.
It works perfectly.

nikos1
20th May 2005, 08:33
Hi,

another way is to use button "texts" on first form of "Maintain Sessions" and set "Write Protection" to "Yes".

Regards