cancel
Showing results for 
Search instead for 
Did you mean: 

How to link 2 SAP standard screens through a button click in vb.net?

Former Member
0 Kudos

I have created a button into SAP standard incoming payment screen, after clicking that button it should load A/R credit memo for the customer..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ankit,

Thank you for the reply..but the suggestted answer didn't worked for me..But i would like to post my answer..

Dim oCreditNotes As SAPbobsCOM.Documents

oCreditNotes = objMain.objCompany.GetBusinessObject(14)

14 is the objtype of ORIN

hope it helps someone like me..

Thank you

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandhya,

On the Button Click Event (Item Pressed Event), you need to use the following line:

SBO_Application.ActivateMenuItem("2055");

Where 2055 is the MenuID for A/R Credit Memo.

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP SME Support