Skip to Content
0
Former Member
Mar 04, 2009 at 12:05 PM

User Exit for COR1, field Production Scheduling Profile

232 Views

Hello All,

While creating and releasing a Process Order, using tcode COR1, I am using some logic in user exit EXIT_SAPLV01Z_002 to decide the new batch number. Batch number will be generated when i click on RELEASE on the toolbar.

Now, in COR1, on the 'Assignment' Tab, there is a field for Production Scheduling Profile.

The problem is that I cannot receive the value of the Production Scheduling Profile (eg. YQ02) that the user enters on this screen within the user exit (EXIT_SAPLV01Z_002) that I am using to generate the batch number.

Is there any way or a user exit that I can use to export the value in the Prod. sched. profile to the user exit(EXIT_SAPLV01Z_002) where i am generating the batch number?

P.S.: I can fetch the value of the Prod. sched. profile (field MARC-SFCPF) by using the Material No. and Plant from table MARC. But in case this is not maintained, or the user enters it while running the transaction, I wont be working on the value that the user has entered. My issue is that I am not able to fetch the value that the user enters.

Any exit where I can export this to memory and then import it into the user exit for batch number generation.

Help will be really appreciated!