cancel
Showing results for 
Search instead for 
Did you mean: 

Different Purchase Requisitions from a sales order.

sm_basha
Explorer
0 Kudos

Hi,

We have a Scenario where we need to create different Purchase Requistions from a Sales order based on ship-to party's. The line items on the sales order has different shipto party's.

Can anybody help with this request.Thanks

Regards

Basha

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member550050
Active Contributor
0 Kudos

Hi

PR is getting triggered from the schedule line category settings of the line item in VOV6 ( that is order type NB inside scedule line category details )

I beleive your requirement if it is like this in a sales order

Material A ship to party is 1000 schedule line category settings determined should be CP then PR type is NB

Material B ship to party is 1001 schedule line category settings determined should be ZP then PR type is ZNB

Material C ship to party is 1002 schedule line category settings determined should be YP then PR type is YNB

Material D ship to party is 1003 schedule line category settings determined should be YP then PR type is XNB

If the requirement is something like this

Then with the help of MM people have three or more PR order types

In schedule line category determination in VOV6 have the automatic as CP and manual as ZP and YP and XP

In the CP controls in VOV6 have order type as NB

In the ZP controls in VOV6 have order type as ZNB

In the YP controls in VOV6 have order type as YNB

In the XP controls in VOV6 have order type as XNB

So in sales order based on the ship to party combination change the schedule line category manually

If schedule line is CP then PR will be NB and if schedule line is ZP then PR will be ZNB like that

Regards

Raja

sm_basha
Explorer
0 Kudos

Hi Raja,

It is correct and we will try that. Suppose we have 100 line items on a sales order then it will be a husge manual work to change it .

Please help us if there is any other way to do this. some BADI/ User exit etc.

Regards

Basha

former_member550050
Active Contributor
0 Kudos

Hi

For 4 or 5 line items this can be done manually

But if it is 100 line items are you going to have 100 ship to parties in turn is it 100 PR types?

then i think you should look for other ways like BADI/ User exits or Developments

But the base is configuration in schedule line category settings

Regards

Raja

sm_basha
Explorer
0 Kudos

Hi ,

It is very helpfull answer. can you please let us know if it is sales order save user exit can be used. ot if there is any other place where this can be done.

Thanks

Basha