cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all possible status´ for one given process type of an appointment?

Former Member
0 Kudos

Hello everybody,

for a customer requirement I need to get all possible status´ for one given process type of an appointment. For example: If the user creates a contact (of category "Health") in WEB UI there are for example appointment details (appointment type, date... AND status. In WEB UI, there´s a dropdown for status and (depending from process type, here 'health', there are two options: open, done. If it´s the process type "company", there are four options).

So I don´t need the selected status for one customer, I just need the possible status´ a user can select depending on customization of the system.

Is there any function module that lists me all possible status´ for one process type?

If something is not clear enough please feel free to ask.

I hope someone can help me out with this task.

Best regards,

Dominik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

I found a solution.

Process type is given (for example Y028).

Select single * from CRMC_PROC_TYPE into ls where process_type = Y028

select txt30 from tj30t where stsma = ls-user_stat_proc.

This way, I get all possible status´ via the given process type.

Dominik

Answers (0)