cancel
Showing results for 
Search instead for 
Did you mean: 

How to create category attribut as start condition for an action?

0 Kudos

Hi everybody,

I need to create a start condition for an action regarding to the multilevel category. In this case it's the action SMIV_VAR_SEND_SAP_AUTO. And it should be executed only for one category of the multilevel categorization schema.

In the container of the object type BUS2000223 there is no such attribute as "category".

I would add the attribute in SWO1, but I cannot find any suitable table or structure for this one.

Can anybody give a hint?

Thanks.

Kind Regards,

Sergey

Accepted Solutions (1)

Accepted Solutions (1)

richard_pietsch
Active Contributor
0 Kudos

You could try to add these fields as additional parameters to BUS2000223 via SWO1.. the references are CRMT_SUBJECT_WRK-ASP_ID and CRMT_SUBJECT_WRK-CAT_ID.. and get these into the condition maintenance view. As I prefer BAdI implementations, I did not used this option so far.

Regards

Answers (1)

Answers (1)

richard_pietsch
Active Contributor
0 Kudos

Why not implementing a BAdI EVAL_STARTCOND_PPF or EVAL_SCHEDCOND_PPF?
Place the function CRM_ORDER_READ_OW in there and read the requiered infromation from table ET_SUBJECT (type CRMT_SUBJECT_WRKT) for the given incident GUID. The fields ASP_ID and CAT_ID are the ones of interest here.
Regards, Richard

0 Kudos

Hi Richard,

thanks for your suggestion.

But I am not a developer and not familiar with the implementing of BadI's.

Do we have a chance to do it via attributes?

Regards,

Sergey