cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow: Error Message: OL 826: Object does not exist.

mayra_cobo
Explorer
0 Kudos

Hi,

We are in 4.6C version and I'm using the business object DATESPECS. I have developed a custom object with supertype of the standard.

The error is coming when I test the businees object in transaction SWO1. I need to know how to assembly the object key for raise the event from a customer program with function module SWE_EVENT_CREATE.

I really need some help with this issue... thanks in advance.

Best regards,

Mayra.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Myra

The key for all PA objects is ALWAYS similar to the DDIC structure PAKEY, please fill this first before moving to another field as someone else suggested.

martin_nooteboom
Active Contributor
0 Kudos

Hi Myra,

You could check table PA0041 to see which testdata you could use. The key is more or less the same for most HR BOR objects.

Regards,

Martin

Former Member
0 Kudos

Hi,

In your program take a variable say lv_key of type SWO_TYPEID.

Use concatenate statement and concatenate all the fields i.e.<i>Personnel no,

Subtype, Object ID, lock indicator , to, from</i> and <i>record number</i> values in this variable <b>lv_key</b>.

Then you can use this key in FM SWE_EVENT_CREATE.

Hope it helps.

Regards,

Akshay

Note : If FM SAP_WAPI_EVENT_CREATE is available in your system , pls use the same instead of SWE_EVENT_CREATE