Skip to Content
Former Member
Dec 13, 2012 at 11:38 AM

Small Info about action success


My requirement is

if i add one document in sap b1 successfully..(document posted successfully)

i want to perform some action...

If (pVal.ActionSuccess = True And pVal.BeforeAction = True And pVal.FormType = "60100" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then

oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

If (oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE) Then

If (pVal.ItemUID = "2") Then

SBO_Application.MessageBox("Documnet Posted Successfullly....")

End If

End If

End If

Above i took the hr emp document ..

but not working may i know why..

any changes tell me....