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

Change system status

Former Member
0 Likes
1,635

Hi....I am facing an issue with the system status change.

I need to set the system status to APOK("Give Approval") from APRQ ("Approval Requested") when a Claims notification(transaction: CLM2) is approved. This is done by calling a method of an object type and then I have to set it to NOCO("Complete") by calling another method.

I am using the function module "STATUS_CHANGE_INTERN" to set the system status. I am doing it thru a background task in the workflow.

The issue is...when the status is set thru the normal transaction (CLM2), the system status APRQ ("Approval Requested") gets replaced with APOK but when this step is executed, the system only adds APOK and APRQ also remains as an active system status.

Can anyone explain this behaviour.

I am looking for a solution on how to set the system status APOK thru a background task.

Thanks,

Ram.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,237

Hi Ram,

you can set status APRQ to inactive also by function module STATUS_CHANGE_INTERN.

Regards,

Adrian

Hi....I am facing an issue with the system status change.

I need to set the system status to APOK("Give Approval") from APRQ ("Approval Requested") when a Claims notification(transaction: CLM2) is approved. This is done by calling a method of an object type and then I have to set it to NOCO("Complete") by calling another method.

I am using the function module "STATUS_CHANGE_INTERN" to set the system status. I am doing it thru a background task in the workflow.

The issue is...when the status is set thru the normal transaction (CLM2), the system status APRQ ("Approval Requested") gets replaced with APOK but when this step is executed, the system only adds APOK and APRQ also remains as an active system status.

Can anyone explain this behaviour.

I am looking for a solution on how to set the system status APOK thru a background task.

Thanks,

Ram.

1 REPLY 1
Read only

Former Member
0 Likes
1,238

Hi Ram,

you can set status APRQ to inactive also by function module STATUS_CHANGE_INTERN.

Regards,

Adrian