cancel
Showing results for 
Search instead for 
Did you mean: 

Tables for Opportunity "Status" and "Reason"

Former Member
0 Kudos

Hi,

Can someone help me in finding the tables for determining "Status" and "Reason" for an opportunity along with the relvant text descriptions?

Regards,

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Sandeep,

If you are looking for user status, you can find it in table CRM_JEST (use opp guid and inact = ' ') to find the current status. table TJ30T gives the status description.

Reason codes can be found in table QPCT (catalog O1 or O2).

Hope this helps!

Answers (1)

Answers (1)

P000636
Active Contributor
0 Kudos

Hi Sandeep,

Status- code in field stat of CRM_JEST table

OBJNR = guid opportunity

INACT = SPACE

Text of status in TJ30T with your status profile

Reason- code in field code of CRMD_SRV_SUBJECT with

guid_ref equal to guid_set( of crmd_link with objtype_set = 29 )

Text of reason in QPCT

I hope this way help you.

Regards.

Manuel

Former Member
0 Kudos

All,

Thanks so much for your help. The only missing link was the status profile which I found from table CRMC_PROC_TYPE. Without this I was getting multiple status values.

Thanks again!

Regards,

Sandeep

siowfong_chen
Contributor
0 Kudos

Hi! I am also looking for the reason codes from the table CRMD_SRV_SUBJECT but I cannot find the correct guid to input into the GUID_REF field. This is for a complaint item.

Thanks very much.

Regards

SF

0 Kudos

Hi SF,

In addition to the tables mention before you will also need CRMD_SRV_OSSET to link all.

CRMD_OPPRT_H.GUID_REF --> CRMD_LINK.GUID_HI (objtype_set = 29)

CRMD_LINK.GUID_SET --> CRMD_SRV_OSSET.GUID_SET

CRMD_SRV_OSSET.GUID --> CRMD_SRV_SUBJECT.GUID

Regards,

Mischa