cancel
Showing results for 
Search instead for 
Did you mean: 

Production order header status-update

Former Member
0 Kudos

Hi gurus,

            I can able to set the custom user status in Production order header.I have two custom statuses

1. During release it will be activated

2.After GI it will be activated.

First one is happening, but second one is not happening. I kept the following options

Sl no 1. Status B1

Release  No Influence and SET

Teco-forbidden and No action

Sl no 2: status B2

confirm order-allowed and SET

TECO-Allowed and SET

But ,after doing GI and GR, order header status is not changing to B2 status. How to activate automatically after GR. SO that, I will filter out based on

these statuses, will be my YET to DO TECO.

generally, how these statuses will be updated  ? thru manual or any custom exit ?or by std behaviour itself ? what is the practice/approach when dealing these kind of order header/operation statuses ??

Regards,

Subrahmanyam B

Accepted Solutions (1)

Accepted Solutions (1)

Anupam1143
Active Contributor
0 Kudos

Hi,

In order to update status as per your requirement, the best practice is to assign the  status profile (in BS02) to order type in OPJH instead of setting the status in.BS22.

Check below answe by Mr Vivek for creating new Status profile:

http://scn.sap.com/message/7322493

Also check this threads:http://scn.sap.com/thread/3192194

Regards,

Anupam Sharma

Former Member
0 Kudos

Hi Anupam ji,

                      Thanks for the reply. I have created thru BS02 and assigned to Order type. I have gone thru the stated link earlier prior to posting this message.

                       According to the settings stated link, it is not working.

Regards,

Subrahmanyam B

former_member208398
Active Contributor
0 Kudos

Dear,

For the status B2, you have maintained that confirm order business transaction sets B2. Please check whether you are performing partial confirmation or final confirmation. I hope final confirmation will update the same.

To activate the status B2 after GR, you should try with the following transaction control:

Goods Receipt for Production Order   'Set'.

Kindly check and revert back.

Best Regards,

Rajen

Former Member
0 Kudos

hi Rajen,

            You are right !! Goods Receipt for Prd Order to be maintained.

But ,please let me know the difference between 'confirm prd order ' and 'goods rept for prd order' ?

what is the confirm order significance in this process ?

What is the significance of change automatically business function ?

Regards,,

Subrahmanyam B

former_member208398
Active Contributor
0 Kudos

Subramanyam,

But ,please let me know the difference between 'confirm prd order ' and 'goods rept for prd order' ?

Well, these are two different business transactions. 'confirm production order' is the confirmation that a particular operation has been performed (done in CO11N/ CO12).

'goods receipt for production order' is the business transaction that performs delivery against that production order,i.e. stock of the SFG/FG (the produced material) is updated.

Often people use automatic GR facility through control key configuration OP67, or by production scheduling profile configuration OPKP. This allows automatic GR during confirmation of the operation where the control key with GR is being used. If you do not use automatic GR, the goods receipt against a production order can be done through MB31, or MIGO (A01 R08) manually. This does not need confirmation to be done. Because in BS22, you will find, status REL allows Goods Receipt:

what is the confirm order significance in this process ?

During confirmation, you confirm the 'yield'. Please test with the following example:

1. Do not use automatic GR.

2. Confirm the order.

3. Check in COOIS, you will find confirmed quantity updated, but not the delivered quantity.

Also, during confirmation, you are posting the actual cost of the activities like setup, labor time etc.

A confirmation does not require GR mandatory, it is an optional feature to have automatic GR.

I need clarity about your third point, could not get it.

Hope this explains your first two points.

Best Regards,

Rajen

Former Member
0 Kudos

HI Rajen,

             Thanks for the clarification !! Third point is the 'automatic change' business function is there.

Will test the scenarios !! Where did you get this business function behaviors ??

Once again thak You @Rajen Madan.

Regards,

SUbrahmanyam B

former_member208398
Active Contributor
0 Kudos

Subrahmanyam,

Please find the attached link from SAP help that explains Status profiles, business transactions etc.

http://help.sap.com/saphelp_erp60_sp/helpdata/en/b1/c04f4c439a11d189410000e829fbbd/frameset.htm

Expand the hierarchy and have a thorough and nice reading session, it will surely help a lot.

Kindly check tables TJ01 and TJ01T.

Best Regards,

Rajen

Answers (1)

Answers (1)

former_member208398
Active Contributor
0 Kudos

Dear Subramanyam,

As per your requirement

1. During release it will be activated

2.After GI it will be activated

I think the second one will not be possible since you can find there is no 'Next Action' (like 'Set', 'No Action' etc. buttons) for the business transaction 'Goods Movement'.

Now if I go for a work around by slightly modifying (by having auto GI active during confirmation) your requirement.

1. Initial User status UCRT (TECO not allowed)

2. Release activates user status UREL (TECO not allowed)

3. GI (basically confirmation) activates the status UCNF (both Partial and final confirmation)

After UCNF is set, you want to allow TECO.

4. TECO activates the status UTEC.

Now check the transaction control:

For UCRT, you are disallowing TECO:

For UREL, you are disallowing TECO, and automatically updating UREL, when the order is released:

For UCNF, you are updating the status when confirmed (partially or final):

For UTEC, you update the same when TECOed:

Please check if this profile satisfies the transaction control you want to achieve. It is not necessary to mention each business transaction as 'allowed', if standard system allows it, a 'No influence' indicator is enough. But if standard system allows something, you can disallow that through status profile.

Kindly try and revert back.

Best Regards,

Rajen