cancel
Showing results for 
Search instead for 
Did you mean: 

Create PR from SO

Former Member
0 Kudos

Hi,

We have configured creation of PR based on schedule line category from SO in VOV6.

Now, if there are two materials with different schedule line categories, we expect 2 PRs to be created as the two lines are assigned to different PR type in VOV6. But, only 1 PR is created and PR type is that of the first schedule line category.

Is there a way we can resolve this or is there an user exit with which we can handle our requirement.

Regards,

Usha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

The schedule line cat determination depends on the item category + MRP type of the material specified in the material master record.

In your case , you have made VOV6 settings but is the iterm categ differing for both the items ? If not , then system will not pick diff schdule lines categ and so you will get only one PR default for the first line.

I think you can do this :

-- Create 2 new schedule lines lets say Z1 and Z2 .

-- Do the VOV6 settings and also in SPRO assign these two to same item categ as per normal config steps.

-- See the user exit in prgrm with abaper help "SDQUX002 SD product allocation processing, change schedule line" . in this exit or may be in USEREXIT_MOVE_FIELD_TO_VBEP , u need to change the vbrp-vbep field in runtime for each line item depending on your condition so that althought the item categ is same , u can have diff schedule line categ for each item.

Now system will have 2 diff PR for each item as you are already maintaining VOV6 settings.

Hope this helps .

B O L.. !

Former Member
0 Kudos

create new order for other item, you will get one more PR

Former Member
0 Kudos

Hi,

Select the secound line item and then run the ATP/Availibility check, which will create the PR for scround line item against PR was not created.

regards

Vivek.