cancel
Showing results for 
Search instead for 
Did you mean: 

Status profile for Quality notification

Former Member
0 Kudos

I want to restrict users untill notification is approved, they can not do it complete

Dear All,

I want to restrict users untill notification is approved, they can not do it complete.

I have created status profile through BS02 as ZQM02 where 3 status no I have given:

10-INIT>Init status checked>lower limit-10 higherlimit-20>Position 1>priority>1

20-APPR>Init status not checked>lower limit-10 higherlimit-20>Position 1>priority>1

30-COMP>Init status not checked>lower limit-10 higherlimit-30>Position 1>priority>1

Allowed Object types>Quality Notification checked

In transaction control Complete notification marked as forbidd.

But it is not working, I can still mark as complete without marking it approved.

status screen also not changing even after completion of notification, it still showing

under status no 10 >INIT

Plz advice what I am missing and how I can do this.

regards,

sp shukla

Accepted Solutions (1)

Accepted Solutions (1)

former_member207800
Active Contributor
0 Kudos

it is showing "INIT" with red color.

> Update the status profile again (extas > setting > catalog profile > selection at transaction QM02)

> Or check this with new notification

3 business transaction available to select 1.Put notif. in process again 2.Put notif. in process again 3.Put notification in process

> 1 & 3

Please look at previous answer carefully. Most solutions are already written.

Regards

Luke

Former Member
0 Kudos

Dear Luke,

The error is giving during try to complete notification is due to status is not changing after changing notification as approved.

If I change the status from 10 to 20 manually I am able to complete the notification.

present setting for status profile for notification is as follows:

Status 10 'INIT' Complete notification ' Forbidd' No other transaction

Status 20 'APPR' Complete notification ' Allowed' Next action selected as 'No Action'

Status 20 'APPR' Put notification in process Next action selected as 'SET'

Status 30 'COMP' Complete notification Next Action selected as 'SET'

regards,

sp shukla

Answers (3)

Answers (3)

former_member207800
Active Contributor
0 Kudos

checked status 20 'APPR', only give approval allowed and set for nex action in transaction cotrol.

> Make sure again you select 'allowed' for 'complete notification' for status 20 'APPR'.

3.It will be manual, only one check is required if any task is comleted but activity is blank,

then Notification should not mark as complete.

> Also you can use customer exit QQMA0014(Checks before saving a notification) for your requirement.

Regards

Luke

Former Member
0 Kudos

Dear Luke,

Still same error is there if I am doing the complete notification, Status not allowed, Message no. IM260.

I have selected 'allowed' for status 20 'APPR' as per your mail.

present setting for status profile is as follows:

Status 10 'INIT' Complete notification ' Forbidd' Next action selected as 'SET'

Status 20 'APPR' Complete notification ' Allowed' Next action selected as 'SET'

Status 20 'APPR' Delete Task ' Forbidd' Next action is grayed out

Status 20 'APPR' Give Approval ' Allowed' Next action selected as 'SET'

Status 30 'COMP' Complete notification ' Allowed' Next action selected as 'No Action'

Plz advice what setting is wrong.

Regards

sp shukla

former_member207800
Active Contributor
0 Kudos

OK. I think you are confused 2 things.

First.. you have to create 2 kinds of status profile. One is for notification and another is for task.

Second.. 'next action' means not next transaction. It means automatic set when the transaction is excuted.

Try below.

1) status profile 'A' for notification (select 'quality notification' only for object type)

10-INIT-initial-forbid 'complete notification'-nothing other transaction

20-APPR-allow 'complete notification'-set 'put in process(released)' (this means a notification will be set 'APPR' automaticaaly when you release a notification and user can complete it.)

30-COMP-set 'complete notification' (this means a notification will be set 'COMP' automatically when you complete it.)

2) status profile 'B' for task (select 'task' only for object type)

10-INIT-initial-nothing other transaction

20-REL-forbid 'delete task'-set 'release task' (this means a task will be set 'REL' automatically when you release a task and user cannot delete it anymore.)

3) assign both in configuration

'A' for notification

'B' for task

Regards

Luke

Former Member
0 Kudos

Dear Luke,

I have changed as per mail and now system is restricted to delete the task once it is recleased or completed.

But still I am not able to complete the notification, system giving error if I click on complete "status check error" and in transaction analysis>influencing user staus, it is showing "INIT" with red color.

Plz note in BS02 I have not found business transaction in transaction control 'put in process(released)'.

there are 3 business transaction available to select 1.Put notif. in process again 2.Put notif. in process again 3.Put notification in process.

I have tried with all 3 transactions by selecting next asction as 'SET'

Plz revert.

Regards

SP Shukla

former_member207800
Active Contributor
0 Kudos

it is giving error "Status not allowed" "Message no. IM260".

> Make sure you did not select 'forbid' for 'complete notification' for status 20 'APPR'.

> If you get still error, let me know 'status info' when error occurs.

1. Untill notification is approved, No Task should be carried out.

> Not possible using status profile.

> You can use customer exit QQMA0014(Checks before saving a notification) for your requirement.

> Ask your ABAPer.

2. Once task is released and completed no one can delete the task.

> You can use status profile for task.

> For example.

> 10 initial, status change 10 to 20, no transaction control

> 20, status change 20 to 20, forbid 'delete task' and set 'release task'

3.Once task is completed & activity is completed THEN notification should be complete.

> Do you mean a notification should be completed automatically?

> I don't think it is possible with SAP standard way.

> You can develop a BDC or BAPI program and define it as background program.

Regards

Luke

Former Member
0 Kudos

Dear Luke,

Thanx for revert.

I have tried as per your advice.

1.Still same error while trying to complete notification (Message no. IM260),

checked status 20 'APPR', only give approval allowed and set for nex action in transaction cotrol.

system status

:NOPR Notification in process

:NOTI Notification internal

:ATCO All Task completed

:APOK Approval OK

Status with status No:

10 INIT Inital screen (radio button not checked)

20 APPR Approve notification (radio button checked)

30 COMP Complete notification(radio button not checked)

2.We will use customer exit for the same as you said

3.It will be manual, only one check is required if any task is comleted but activity is blank,

then Notification should not mark as complete.

regards,

sp shukla

former_member207800
Active Contributor
0 Kudos

For example

10 INIT status change 10 to 20 and forbid 'complete notification'

20 APPR status change 20 to 30 and allow 'complete notification', set 'release notification'

30 COMP status change 30 to 30 and set 'complete notification'

Try above.

Regards

Luke

Former Member
0 Kudos

Hello Luke,

I have done as you advised & now system is not allowing to complete before approving the notification.

But after approval & completing of all task & completing of all activity when I am trying to complete the nottification,

it is giving error "Status not allowed" "Message no. IM260". Plz help me to complete this.

As per requirement system should behave like this

1. Untill notification is approved, No Task should be carried out.

2. Once task is released and completed no one can delete the task.

3.Once task is completed & activity is completed THEN notification should be complete.

Plz revert.

regards,

sp shukla