Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CJ20N Statuses Problem

Former Member
0 Likes
988

Hi,

For an activity, we have a status profile and if we look in table TJ30, we see that a status ZZZZ has an initial value of "X".

When the network header has status CRTD, a new activity underneath this is also in CRTD status. As expected, status ZZZZ is initially set to "X". When we set this activity to REL, ZZZZ is automatically UNset (set to initial) as expected.

The problem occurs when we create a new activity and it automatically inherits a REL status from the network header. When this is done, ZZZZ is set to X instead of initial as we would like.

This is the way we want ZZZZ to work:

1. When activity is CRTD, ZZZZ is X

2. When activity is REL, ZZZZ is automatically set to initial.

Any ideas?

Thanks in advance.

8 REPLIES 8
Read only

Former Member
0 Likes
964

Can anyone please help with this?

Read only

Former Member
0 Likes
964

HI,

Probably, you can try using FM:

ALM_ME_ORDER_USERSTATUS_CHANGE

to change the status of the order.

Regards

Subramanian

Read only

0 Likes
964

Thnks Subramanian but when can I trigger this? It needs to be done when a new activity is created.

Read only

0 Likes
964

Can this be handled in the status profile? I am not very familiar with the configuration of it so if anyone can provide information it would be greatly appreciated.

Read only

0 Likes
964

Does anyone have any ideas? Points will be awarded for helpful answers.

Read only

Former Member
0 Likes
964

this will be CONFIG issue , so u have to check ur config.

If u have any active user exits to do so , then u have to check that one.

Regards

Prabhu

Read only

0 Likes
964

Where can I change the config for this?

Also, do you know of any user exits or other options on how to implement this if we cannot achieve what we want through config?

Read only

0 Likes
964

Is there a customer or user exit for this?

We have a semi-correct config already. When you manually set the network to REL, the ZZZZ status is correctly deleted. However, the problem arises when you create a new activity underneath a network that is already set to REL. The activity gets the REL status but the ZZZZ status is not deleted.