cancel
Showing results for 
Search instead for 
Did you mean: 

TRACKSTATUSATTRIB in /SAPTRX/BAPI_EH_ADDEVENTMSG_02

Former Member
0 Kudos

Hi,

When Status Attribute Name and Value is passed in table TRACKSTATUSATTRIB in call to BAPI /SAPTRX/BAPI_EH_ADDEVENTMSG_02. Is there any Ruleset configuration needed to update EH Status?

What are the guidelines to update EH Status using this method?

Thanks in advance.

Prajakta

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190756
Active Contributor
0 Kudos

Hi Prajakta,

what is your use case?

Never seen any project using TRACKSTATUSATTRIB.

Normally you send an Event and react in the rule set by setting an status with Actitiy STATUS_SET.

In the standard i don't know an activity dealing with TRACKSTATUSATTRIB.

Best regards,

Steffen


Former Member
0 Kudos

Hi Steffen,

Thanks for prompt response.

In our use case, application posting BAPI for EVM has elaborate logic to identify the status of tracked object (EH). I.e. same Unexpected Event Id can be posted by sending application providing different status of EH. Therefore, we are looking to use TRACKSTATUSATTRIB to fill in BAPI and update EH_STAT without replicating the logic to identify the status.

Once again, thanks for your response.

Prajakta

former_member190756
Active Contributor
0 Kudos


Hi Prajakta,

you could create your own activity and update the status with method:

/SAPTRX/CL_EH_PROCESS_MODEL->SET_STATUS_ATTRS

based on your data provided in TRACKSTATUSATTRIB.

Best regards,

Steffen