Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Work Center

former_member147217
Participant
0 Likes
468

hi all ,

I have a requirement which says that i have to create the work center automatically with a number range from the workflow.

I went through some of the discussion and understood that i cannot use set and get parameters to add values to the work center number in CR01 tcode.

I know the concept of internal number that we can assign to the work center  . My problem is i want to assign 2 internal number range for creating workcenter.  For eg if i call tcode CR01 with default value as machine in work center category the number range M00001 - M99999 should trigger and values should be taken from this range and next number should bee called every time this  is triggered and if my work category has labour as default then the work center number range should fetch the value from L00001-L99999 .

Is it possible to achive this.

1 REPLY 1
Read only

Former Member
0 Likes
350

Hi Disha,

First check with your functional if it is possible to use two internal number range for CR01. if it is possible, then in FM 'NUMBER_GET_NEXT' use the respective NR_RANGE_NR, OBJECT value to get the correct next number. If internal number range is not possible, you have to maintain custom table to do it.

BR,

Tanmay