cancel
Showing results for 
Search instead for 
Did you mean: 

How to keep PO numbers from being used up with SC errors

Former Member
0 Kudos

Hi Gurus,

I would like to see if there is a way to keep from using up our PO number range when a shopping cart gets an error upon creation.  So every time that a shopping cart has an error and a buyer tries to create a PO it gets item in transfer error.  At that time it gives a PO # XXXXXXX cannot be created.  So now that number is used up and cannot be reused.  We are using classic scenario.

Thanks,

Jeff

Accepted Solutions (0)

Answers (2)

Answers (2)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Jeff,

I would say, you should not change this behavior. What is the purpose to play with PO numbers?

I mean, if a number of users process the shopping carts in parallel and you'll try to assign always the next free number - it can lead to many errors.

Regards

Konstantin

ivy_li
Active Contributor
0 Kudos

Hi Jeff,

The only method that I can think of is as below:

Since you are using classic scenario, you may try the following BADI to change PO type which will then change the number range assigned:

SRM BADI BBP_CREATE_BE_PO_NEW

ECC BADI ME_PROCESS_PO_CUST

Hope this helps.

Best regards,

ivy

konstantin_anikeev
Active Contributor
0 Kudos

Hi Ivy,

I would say, the BADI BBP_BS_GROUP_BE is designed for this purpose.

BBP_BS_GROUP_BE - Grouping of Shopping Cart Items for Follow-on Documents - Supplier Relationship Ma...

Regards

Konstantin