cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Different Numeration for Purchase orders with a contract related to it - SRM

Former Member
0 Likes
206

Hello Experts;

What we want to achieve is to keep a numeration (i.e. 7xxxxxxxxx) for Purchase orders without contracts associated to it and a different numeration (i.e. 3xxxxxxxxx) when the PO has a contract asociated to it.

Please explain in detail.

Thank you in advance and kind regards.

Cristian R.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi,

Please try with BADI "BBP_BS_GROUP_BE" and method "GROUP_PO_BACKEND" for a separate grouping criteria from that of available in standard. You can use the method "GET_NUMBER_OR_RANGE" to assign a separate number range object value.

http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-BBP_BS_GROUP_BE

With Regards,

Malay

Former Member
0 Likes

Hello Malay;

Thank yor for your reply.

I will try your suggestion and i will update my progress.

Kind regards

Cristian R.

Former Member
0 Likes

Hello Malay;

As far as I understand (correct me if i am wrong ) the badi you proposed is called when the document is transferred to the backend (R3). We need the purchase order (with contract associated) to be created with a different numeration (range). That is, in SRM, first is created the shoping car (SC), if there is a contract avaliable for an item of the SC, the PO order of that item must be created with a different numeration than the PO numeration of an item without contract. 

I hope i made myself clear.

Thank you and kind regards.

Cristian R.

Former Member
0 Likes

Hi,

You are right. The BADI works only for classic scenario.

Shopping cart items are segregated (with your criteria with and without contract assignment) before they are transferred to backend for PO creation.

Suppose there is two line items in a SC or in SOCO (one has contract as a source of supply and other without contract as source of supply), two different PO will be created in ECC with different number ranges.

In ECC plesae make sure the number ranges are available.

With Regardd,

Malay