on 08-01-2005 9:12 AM
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!!!
Hi Vinayak,
Change the code
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
to
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
And it will work.
Best Regards,
Nick He
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.