cancel
Showing results for 
Search instead for 
Did you mean: 

By-passing Number Range

Former Member
0 Kudos

Hi,

My query goes like this, I have Classic SRM Scenario Implemented, currently only 1 number range (Starting with 561..) is called when PO is created in SRM.

But now I want to call different number range(71..., 72..., ... , 79...) based on PO Created for different department.

My question is that, where to write custom code in-order to by-pass number range and calling the FM 'NUMBER_GET_NEXT' to get the number number range.

Also i have external number range defined in ECC for the same.

Screen Shots attached for reference.

Number Range path for ECC:

SPRO->Material Management->Purchasing->RFQ/Quotation->Define Number Ranges

Number Range path for SRM:

SPRO->SAP Supplier Relationship Management->SRM Server->Cross-Application Basic Settings->Number Ranges->SRM Server Number Ranges->Define Number Ranges for Shopping Carts and Follow-on Documents


Accepted Solutions (1)

Accepted Solutions (1)

ivy_li
Active Contributor
0 Kudos

Hi Ankit,

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

Best regards,

ivy

Former Member
0 Kudos

Thanks Ivy,

the badi's suggested were quite helpful.

Regards,

ivy_li
Active Contributor
0 Kudos

Hi Ankit,

Nice to hear about this and you may close this discussion:)

Regards,

Ivy

Answers (1)

Answers (1)

ivy_li
Active Contributor
0 Kudos

Hi Ankit,

I am afraid that you have to go to 'Define transaction type' to set different internal or external number range for PO types.

Best regards,

Ivy