cancel
Showing results for 
Search instead for 
Did you mean: 

Staus Profiles - QM

anand_rao3
Active Contributor
0 Kudos

Hello Friends,

As per requirement, users to follow this sequence for completing inspection cycle.

  1. Complete result recording (closure of all characteristics up to status 5)
  2. Entire stock posting
  3. Usage decision

In standard as such, there is no any restriction for this. For example users can do stock posting or UD even if the results are NOT recorded. For streamlining few functional practices a need has arisen to adhere to above sequence, leading to following requirement.

  1. If result recording for all characteristics in a particular lot (up to status 5) is NOT done, then entire stock posting AND / OR UD should NOT be done.
  2. Likewise until, entire stock posting is done UD should NOT be done.

I have done following to address this.

  1. Created a status profile with 3 status numbers, as follows.
  2. Of which status A is marked as initial

Status No

Status

Short Text

Lowest status No

Highest status No

1

A

Result Recording

1

5

2

B

Inventory Posting

2

4

3

C

UD Allowed

3

3

  1. Status A contain,
    1. Complete inventory posting               – forbidden and no action
    2. Make usage decision                         – forbidden and no action
  2. Status B contains,
    1. Close inspection – complete         - Allowed and flag status set
    2. Complete insp. - short-term        - Allowed and flag status set
    3. Complete inventory posting         - Allowed and no action
    4. Make usage decision                   – Forbidden and no action
    5. Record inspection results             - Allowed
  3. Status C contains,
    1. Access usage decision                 - Allowed
    2. Change usage decision                - Allowed
    3. Close inspection – complete         - Allowed and no action
    4. Complete insp. - short-term        - Allowed and no action
    5. Complete inventory posting         – Allowed and flag status set
    6. Make usage decision                   - Allowed and no action
    7. Record inspection results             - Allowed

Issues facing

  1. After successful completion of all results up to status 5, the user status is not getting automatically set to status B, even if flag is set for Close inspection – complete. Currently this has to be done manually.
  2. With user status B, complete inventory posting is possible and after complete inventory posting system sets the status C automatically. This is desired effect and ok.
  3. After stock posting status of inspection lot changes to INSP RREC SPCO. At this stage (user status is C), system doesn’t allow usage decision even if make usage decision is marked as allowed in above customization.
  4. Can this requirement be addressed alone with status profile without any exit?
  5. Also, I find that the use status can be changed in change inspection lot menu manually. It can be restricted that to earlier status it shouldn't reach, by means of lower and highest status number.
  6. But can we restrict it in such a way that if status A is active it should not be manually switched on to status B or C. It should happen automatically upon fulfillment of required parameters.

Any solutions for this? Thank you in advance.

Regards, Anand Rao

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is no Business Transaction to set your 2nd Status automatically, so it needs to be done manually.

Answers (2)

Answers (2)

former_member184536
Active Contributor
0 Kudos

Hi Anand

As told by MKD, you have to set the status manually.

Please look into another aspect as given in below thread.

http://scn.sap.com/thread/1813693

Might be you can struck into this type of problem.

So best it to use user-exit.

Good luck!!!!!!!!!!!

regards

Manish

former_member211618
Contributor
0 Kudos
Hi,
   Please go through the below thread, so will get actuate 
Create below
First Status "INIT"
Status Number: 1
Status: INIT
Short Text: RR NOT DONE
Initial Status Check Box : Activated
Lowest status: 1
Highest status: 10
Position: 1
Priority: 1

Second Status "QFIN"
Status number: 2
Status: QFIN
Short text: RR AND UD DONE
Initial status check box: Do not activate
Lowest status: 2
Highest status: 20
Position: 1
Priority: 1
  • Status INIT contain,
    1. Make usage decision                         – forbidden and no action
    2. Complete inventory posting               – forbidden and no actio
    3. Close inspection – complete         - Allowed and flag status set
    4. Complete insp. - short-term        - Allowed and flag status set

  • Status QFIN contains,

    1. Close inspection – complete         - Allowed and flag status set
    2. Complete insp. - short-term        - Allowed and flag status set
    3. Start inv.pstg before UD               -  Allowed and flag status set
    1. anand_rao3
      Active Contributor
      0 Kudos

      Thank you for reply!

      Tried these ones.

      1. As per the suggestion for Close inspection – complete and Complete insp. - short-term, 2 time flag has been set, in INIT and QFIN status.
      2. This gives conflict, as we can not have 2 different status for the same business transaction.
      3. I also tried as per the link provided, but I think this link is for the inventory posting from Quality stock to unrestricted stock to be done after the Usage Decision is carried out
      4. Here requirement is exactly opposite. UD should not be allowed until entire stock is posted.
      5. These scenarios independently run okay if UD is to be restricted only based on inventory posting or only based on result recording
      6. But when it comes to a combination of above its not working at last status.

      Thank Maheswaran for your opinion! However still struggling with 3rd status. i.e. in spite of making UD allowed in last status, system is throwing error.

      I wonder if status profiles can serve purpose here, though I was trying hard for addressing this through customization only.  Can really user exit be a better option to define  custom logic?

      Regards, Anand