cancel
Showing results for 
Search instead for 
Did you mean: 

Search for orders

Former Member
0 Kudos

Hi everybody,

is there a table which holds all partner for an order?

I need to find a way to list all orders which e.g. have a certain contact person or another user-selected partner.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Michael:

Try using FM 'CRM_BUPA_READ_ORDER_OBJECTS', to find the order objects for a BP.

Regards,

Marisa

Former Member
0 Kudos

Hi,

You can take the guid from crmd_orderadm_h and find out the set guid for partner in 'crmd_link' table with object_hi = 5 and object_set = 7.

You will get one guid_set guid.

With this guid you can search all the partner in crmd_partner table with partner function also.

Put this guid as object_guid in select criteria.

I hope this will help you.

Regards,

Swapna

Former Member
0 Kudos

Yep

CRMD_ORDER_INDEX.

There's a BAdi too, to help you adjust it if necessary.

Cheers

Dom

Former Member
0 Kudos

Sorry, but I can´t figure out how that one will do the job.

I got an order for testing. It has 9 different partners, such as contact partner, purchaser, canvasser, agent....

some of those partner functions are customized.

I can find this order in crmd_orderadm_h.

If I take the guid from orderadm_h and try to find matching entries in order_index (entering the guid as "header") I only get two results though, and I can not tell which partner functions these are.