Skip to Content
0
Former Member
Aug 01, 2005 at 08:12 AM

Displaying Screen After the Add Button is pressed and the document is saved

14 Views

Hi All,

I am trying to the Display the Landed Cost screen after the Goods Receipt PO has been added and Saved.

My code below: <b>If pVal.ItemUID = "1" And pVal.FormTypeEx = "143" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE And pVal.BeforeAction = False Then

If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then

Dim oMenuItem As SAPbouiCOM.MenuItem

oMenuItem = SBO_Application.Menus.Item("2310") 'modules 2310 is the Landed cost screen'

oMenuItem.Activate()

End If

End If</b>

It displays the landed cost screen when i Click the add button, But I need to display it after the the document has saved, ANy inputs on the same!

Your help is appreciated!!!