cancel
Showing results for 
Search instead for 
Did you mean: 

how to set external number when creating PR through PREQCR03 IDOC

0 Kudos

Dear all,

           i am facing a difficulty,the file data is mapped to PREQCR03 idoc in PI & idoc receives in ECC but now the client is asking to use external number to be assigned instead of internal number for the PR i don't know how to achieve this (client is expecting standard process ) ,i proposed customer exit to achieve this but they are not happy is there any way we can do from MM config ?

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

What do you want to do from MM config in this regard?

If you take the number automatically from a number range then it is an internal number, external number is when the user enters a number manually.

An Idoc does not even care about internal or external number ranges. If you do not enter a number in the Idoc then it takes automatically an internal number. If you have a number in the IDoc then it does usually not check if this is conflicting with internal or external number ranges.

It is possible to pre-assign an internal number in the Idoc retrieving the number via function module NUMBER_GET_NEXT when you fill the Idoc, this gives you a little more control.

But how would you want an external number get into an IDoc other than by a program where you have a dynpro to enter this external number.

If they are not happy, then they must have some idea in mind, how else would they know if they can be happy or disappointed?

0 Kudos

thank you for reply jurgen,

                                   here the requirement is they have external number range for PR 20000001 to 299999999  & when they create an order in SRM it is using the same external number range( they are saying they are not entering any number and the number increments from the last used as we have in case of internal number range ) & they are asking the same functionality when they create PR with File also. but when i debug the code it is calling FM  "NUMBER_GET_NEXT " which we use normally and proposing respective internal number range but the user want external number as they have this functionality in SRM

JL23
Active Contributor
0 Kudos

If you have already an order in SRM then why don't you keep that number and pass it on to the document number in your PREQCR03?