on 01-31-2008 7:48 AM
Hello,
I've created a UDO form in SAPBOne.
And now I want to apply Approval for editing the informations of the Form.
i.e. Users can insert data but cannot update.
Only SuperUsers can Update it.
Is it Possible?
How?
Need help Urgently.
Rgds
Subrata
Hi,
you are a user that don't reward points but i help you ...
the only way you can do this is to catch the event when the button "add/update" is pressed and stop
it with setting bubbleevent to false
here a simple vb6 sample
if pVal.FormMode = fm_UPDATE_MODE and pval.itemevent=et_ITEM_PRESSED and pval.itemuid = "1" and pval.beforeaction = true then
orecordset.doquery("select superuser from ousr where userid=" & ocompany.usersignature)
if orecordset.fields(0).value = "N" then
bubbleevent = false
end if
end if
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David,
Thnx.
I always keep in mind to give reward points of the answer that solves my problem.
If the answer doesn't help me to solve, then how can I give the marks?
Thnx for the coding again.
I tried in the same way but,I didn't know only ocompany.usersignature
so great help for ocompany.usersignature
Today I've already given u 10 marks.
Rgds
Subrata
Edited by: Subrata Chatterjee on Jan 31, 2008 10:58 AM
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.