Document Types for PR created in R/3
WE are implementing SRM classic scenario and in version 4.0.
WE are creating the Purchase requisition in R/3 systems.
Now in R/3 we have 2 document types PR01 for Materials and PR02 for services.
There is a badi BBP_SC_TRansfer_BE with method Group_RQ which can be used to
segregate the document types PR01 for material and PR02 for services.
However how do I maintaion the number ranges as in SRM we have only one field where we can maintain the number ranges in cutomising for
Define Number Ranges per Backend System for Follow-on Documents Here it allows only one Attribute for Purchase Requistion.
How do I maintain the number ranges in R/3 as external number ranges for the 2 document types PR01 and Pr02.
Currently I have maintained RQ for Pr01 as external no ranges in R/3.
Is it that I have to maintain RQ for PR02 also or if separate number range than how do I assgin in SRM.
Can any one thorw light on this.
Vadim COURTHEOUX replied
The BADI allows you to assign the Number range with your own business rule idependently of the <i>"Define Number Ranges per Backend System for Follow-on Documents"</i> customizing.
Just follow the instructions I gave you:
-Declare the number range
-implement your business rule in the BADI to assign the corect number range to the PR.