cancel
Showing results for 
Search instead for 
Did you mean: 

Approval on User Form

Former Member
0 Kudos

Can approval stages apply to an user created form?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tommy Pang,

Approvals cannot be applied to User Forms from. if u want to restrict authorization to the form its possible. you can use Administration --> System Initialization --> Authorizations --> Additional Authirization Creator functionality to create Authorizations to the users.

Hope this has answered your query.

Regards,

Rohan S. Kamble.

Former Member
0 Kudos

Thanks Rohan Kamble, but what I need to do is approval to the form but not authorization.

Former Member
0 Kudos

Hi Tommy,

you may do the approval control in application event after click on button.

Petr

Former Member
0 Kudos

Hi Petr,

However, the Approval Template Documents Type can only be system form. Would you please give some more hints or code sample? Thanks.

Regards,

Tommy

Former Member
0 Kudos

Hi Tommy,

you may capture the vents for system form as well. Try something like:

If pVal.FormType = XXX And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And pVal.ItemUID = "1" And pVal.BeforeAction = False And pVal.FormMode <> SAPbouiCOM.BoFormMode.fm_FIND_MODE Then

where XXX is ID of form, you may find it if you enable system information from menu a move cursor over the form.

In case that you want to stop the saving the data, set bubbleevent to false.

Petr

Former Member
0 Kudos

Hi Petr,

It means that I need to write the approval process by own codes? & There is no way to use Approval Stages on User Created Form? Thanks.

Regards,

Tommy

Edited by: Tommy Pang on Jan 28, 2008 11:03 PM (Typo)

Former Member
0 Kudos

I think that approval stages may be use on system form only.

Petr

Former Member
0 Kudos

Agree, Thanks Petr.