cancel
Showing results for 
Search instead for 
Did you mean: 

Open B1 form with specific object

Former Member
0 Kudos

How do I open a known B1 object?

Example:

I have the key value for a purchase order. I know how to call the form ("142"), but how do I let it display the desired OPOR record?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

One more option is to:

1. Create a hidden user form (Viable = False) with editText that contains the correct purchase order Key.

2. To that editText add a LinkedButton with the right parameters

3. Simulate a click on that button.

This solution is better since you do not relay on system GUI items like menu or purchase order form UID

Best regards

Yaniv G.

SDK Support

SAP Manage Israel.

Former Member
0 Kudos

There are several ways you could do it, one possible option is listed below:-

-Use ActivateMenuItem to display the form

-Change the form mode to Find mode

-Use the items collection to put the key value into the appropriate edit field

-Use sendkeys to send a CrLf

Regards,

John.