cancel
Showing results for 
Search instead for 
Did you mean: 

user exit for Production Order saving without PO release

Former Member
0 Kudos

Dear Experts

without Production order Release, production Order should not be saved.are there any user exits for the same.

Regards

sandeep patil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

user exit PPCO0001 should resolve your issue , this exit can be activated when production order is saved.

ask your ABAPer to put a check in this exit for status , if status is REL allow saving order if status REL not found throw error message at the time of save.

hope this will help

below is the documentation of this exit

**********************

Enhancement when Saving an Order

The following enhancement is available for production orders:

PPCO0001 enhancement when saving the order

This enhancement provides you with information from the production order in table form when you save the order.

The enhancement PPCO0001 contains the following enhancement components:

Function exit

EXIT_SAPLCOBT_001 enhancement when saving order

Activities

1. Create the enhancement

To do so, create a new project, or use an existing project.

2. Activate the project.

Your enehancement only takes effect after you have activated it.

Further notes

Enhancememnts, as opposed to modifications, are fundamentally independent of releases since they are not made in the SAP original, but in a name space that is reserved for customers.

****************************************************

Reward if useful.

Thank you

Anand

Answers (3)

Answers (3)

muthusamy_sankaran
Active Contributor
0 Kudos

Hi,

Try below user exit for Production Order when saving exit will work - PPCO0007 (goto SMOD)

The enhancement PPCO0007 contains the following enhancement components:

Function exit

EXIT_SAPLCOZV_001 enhancement when saving order

Activities

1. Create the enhancement

To do so, create a new project, or use an existing project.

2. Activate the project.

Your enehancement only takes effect after you have activated it.

Regards,

Sankaran

dhaval_choksi3
Active Contributor
0 Kudos

Hy Sandeep,

As Said by Mr. Shaik Abdulla , you can set it via OPKP / CORY - Production schduling Profile.

select option Release - On Creation. So that as soon as you create the order it status changes to Release.

I don't think there is need to use User Exit just for this purpose , because it is already available as a Std . SAP Functionality(as per aboce discussion). But if you are intrested in it then below are the available user exit regarding production / Process Order.

For order maintenance:

PPCO0006 to predefine entries for order header fields when creating an order

PPCO0001 to provide information at the time of saving (for production orders and process orders)

PPCO0007 to check or change header data when saving

PPCO0002 to add additional checks that are to take place when setting the deletion flag or deletion indicator

PPCO0003 to prevent changes in sales order items that would cause changes in the process order for static assembly processing

STATTEXT to format the status line

PPCO0008 to check components that have been changed or added

PPCO0005 to change the storage location and the 'backflush' indicator in the reservation

PPCO0013 to change the priority of the selection criteria for batch determination in production orders or process orders

PPCO0014 to restrict the selection of process orders that are offered when creating external relationships

PPCO0020 to display additional information for another tab page in the process order header

PPCO0021 to control the release of production orders and process orders if insufficient batches have been assigned

Regards,

Dhaval

Former Member
0 Kudos

Hi,

With the setting in Prod Sched profile OPKP - Automatic Actions tab - On creation - Enable the Release flag , you can make the order to get released when the order is created.

With this indicator you can specify that an order is to be released when it is created.