cancel
Showing results for 
Search instead for 
Did you mean: 

Editing Permission of User Form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Nussi
Active Contributor
0 Kudos

i understand, thx too

Answers (0)