SD Sales order number range external
Normally it is possibly to have 1 internal and 1 external number range for a type of sales order.
For setting the internal we found an userexit MV45AFZZ FORM USEREXIT_NUMBER_RANGE .
Who knows an userexit or something else for external to use 2 external number-ranges for one type of order?
Hi
You have chosen the right userexit. You have to create a ZTable and maintain the different number ranges - eg., different number ranges for different sales organisations. In the table you have to specify the number range to be used aganst the sales organisation. During order creation, the system picks number from this number range from this table when the userexit is triggered.
Thanks,
Ravi
Similar Messages
-
Hi all,
When we save the sales order, One number will generate based on the sales document number range, client requirement was based on plant sales order number should be generate. So what are the configuration i have to do this?Hi,
I would recommend what JP has mentioned in a previous thread.
But be very careful when you develop such an enhancement. Plant is in the sales order line item table (VBAP) But the sales document number (VBELN) is in the sales order header.
Imagine you have a sales order with 2 line items. One has "Plant 1" and this other line item has "Plant 2". In that case, how does your enhancement generate a number for your sales order? Either you should not allow users to create a sales orders with different plants in different line items (One sales order can have one plant)
Else the best way is to take any other combination in the sales header (VBRK) to design the solution. (Like Sales Org)
Thanks and best regards,
Rahal -
Hi All,
We have one requirement in Billing document number ranges in SAP CRM.
For one Billing document type (ZX03) we need to assign two different number ranges , based on two different Sales Organizations.
For Example if the Billing document is created with Sales Organization u2018ABCu2019 it has to pick the number range 0001000001-0001499999 and if the same Billing document is created with Sales Organization u2018XYZu2019 it has to pick the number ranges 0001500000-000299999.
Does anyone have any idea how to get through with this issue? Which BAdi or Function Module can be used for this purpose? Any inputs on this will be highly appreciated.
Thanks in Advance.
Regards,
NamitaCross post - Re: B2B Sales Order Number range
-
Sales order number range skipping..anyone faced this ????
Hi all ,
We have perculiar problem where Sales order document numbers are
skipping/ jumping inbetween around 200- 250. And it is recurring.
Anyone faced this problem ? Does any one has any clue on this ?
we are in ECC 5.0
Thanks in advance.
KbThis is happening due to buffering in number range. If you write the same to SAP OSS, they will let tou know the note no to be refered to, which will resolve the problem.
Regards,
Rajesh Banka -
Sales order number in Output text as subject in External Email
Dear Friends,
I have configured every thing in customisation so that whenever the sales order is saved an email goes to customer email mail id. this is working fine.
Please help as i want to have Sales order number also in the subject of the email.
I am doing this process through OUTput and not workflow.
Please help.
regards,Hi can you please tellme what configuraiton settings that to be made. i am not able to get the email generated in the spool and before that it is issuing no output is issue.
the following are the configuration changes that i did for the new output type for Emails
In General data of the Output type i maintinaed : SAPMV45A - TEXT_SYMBOL_REPLACE under replacement of Text symbols
i selectd the medium as extenal send.did i miss anything. or else i request you to provide me the complete configuration on emails.
Thanks -
Tell me the link between Purchase Requisition and Sales Order Number
tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)
Hi Puja,
If you have created sales order for matrial which has both procurement type,after MRP run you will get
planned order.This planned order you can convert to purchase requisition for external procurement or
subcontracting.
You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
Hope this help you.
Regards,
Raja -
Demerger Purchase order number range.
Hi Friends,
We have demerger of 1 of hte business of the company & new entity will be using same client which we are using.
We will be Creating new Purcharse orders with open amounts for new legal entities.
Here requirement for purchase order number range is as belows. How can we achieve this.
Our advice for number range is to use a prefix + old PO number, to ensure the incoming invoices can be easily assigned.
Thanks,
KiranHI,
You may define external number range as shown below, for example:
Assign the same as external number range for the PO Doc type:
While creating the PO, maintain the number range externally with the required prefix + old PO number.
Test the same and revert back.
Regards,
AKPT -
Dear all,
I've a small issue with sales document number range. I create a range 01 from 1 to 4999999 by tcode VN01. But when the first sale document is created, the system gets the number 1000001 & assign to this sale doc. (Not 1 as usual). Do you know the reason why ?
Thank you very much for your help,
Regards,
Tweety.Go to VOV8, select the sale document type and execute. There ensure that this 01 is assigned to Number range int.assgt
If not, maintain 01 and retry to create a sale order.
thanks
G. Lakshmipathi -
Sales order number in customer line item
Hi All,
we have a requirement whereby we need to get the sales order number in the customer line item. Normally, the sales order number is populated in the GL line item (BSEG - VBEL2). We need to copy the sales order number to the customer line item.
Can anyone let me know if you have worked on such requirement.
Thanks in advance!!
Aman GoelYou can map Sales Order number to either 'Assignment' or 'Reference' fields in accounting document using Copy control function in SD. Please use transaction VTFA, this needs to be maintained for combinations of billing type and sales document type. Please ensure these fields are not currently used in your system for other information.
Following fields can be mapped to 'Assignment' or 'Reference'.
A Purchase order number
B Sales order number
C Delivery number
D External delivery number
E Current billing document number
F External delivery no. if available, otherwise delivery no.
If you currently use 'Assignment' or 'Reference' fields for other details, you can use user exit EXIT_SAPLV60B_008.
Thanks
Venkata Ganesh Perumalla
Edited by: Venkata Ganesh Perumalla on Oct 4, 2010 11:52 AM -
Hi Gurus,
How do you exactly add/create Number Range Groups for process orders?
Thanks,
KumarHi Kumar,
Assigning number range
There are two types of number assignment:
Internal
When saving a data record, the SAP System assigns a sequential number that lies within the corresponding number range interval.
External
When saving a data record, either you or an external system assigns a number. You need to ensure that the number lies within the corresponding number range interval.
In CO82..
Menu path Group -->maintain
In maintain number range group screen,
Group --> insert
Give text and from number and to number
say text = new order say For FG
range - 1xxxxxxxxx to 1999999999999 (tick ext check box if the range is external number range-manual input)
click on +
You can see your group at the end of list
In Not assigned group your new order type will be present
Place the curser on that order type and fallow the menu path as below
Edit -->select element
Select NEW order number range group check box
edit --> assign element group.
Now the number range is assigned to the order type. Save it, You will get a pop up, just ignore it.
Please try and come back.
Regards
R.Brahmankar -
Generating next available Sales Order Number
Hi experts,
I have a requirement where i need to get to know the next available Sales Order Number in SAP for an SAP to third-party system integration scenario.
Is there any BAPI available which can list the next-available sales order number in the system?
Kindly share your expertise on this one.
Thanks in advance.
Regards,
KeerthiHi
You can use FM CVV8_GET_NEXT_NUMBER.
Provide Number range object as RV_BELEG.
To get the number range interval you have to pick value of NUMKI field from table TVAK according to your sales document type.
The function module will return the next available number.
Regards
Vijai -
Sales order number user exit in Purchase order
hi,
There is a sales order number in Purchase order(item level/account assignment/sales order no)
Now, i have to populate the SO no in orders 05.
Can any one say the user exit for populating the sales order number in PO.Hi
Check the below exits related to purchasing in which the table EKKN is referenced
EKKN will have VBELN (sales order No) and POSNR (item of sales order)
M06B0001
Role determination for release of requisitions
M06B0001
Changes to communication structure for release of requisitions
M06B0003
Number range and document number
M06B0004
Number range and document number
M06B0005
Changes to communication structure for overall release of purchase requisitions
M06E0004
Changes to communication structure for release of purchasing document
M06E0005
Role determination for release of purchasing documents
ME590001
Grouping of requisitions for PO split in transaction ME59
MEETA001
Determination of schedule line type (backlog, immediate requirement, forecast)
MEFLD004
Determination of earliest delivery date for checking at time of goods receipt (PO only)
MELAB001
Generation of forecast delivery schedule: realization via creation profile
MEQUERY1
Enhancement for document overview ME21N / ME51N
MEVME001
Calculation of default GR quantity and over/underdelivery tolerances
MM06E001
User exits for inbound EDI messages and outbound purchasing documents
MM06E003
Number range and document number
MM06E004
Control of import data screens in purchase orders
MM06E005
Customer fields in purchasing documents
MEREQ001
Customer's own data in purchase requisitions
MM06E007
Change document for requisitions when converting into POs
MM06E008
Monitoring of contract target value in case of release orders
MM06E009
Relevant texts for "Texts exist" indicator
MM06E010
Field selection for vendor address
MM06E011
Activation of requisition block
MM06L001
Exits for determination of ratings in vendor evaluation
MMAL0001
ALE source list distribution: outbound processing
MMAL0002
ALE source list distribution: inbound processing
MMAL0003
ALE purchasing info record distribution: outbound processing
MMAL0004
ALE purchasing info record distribution: inbound processing
MMDA0001
Default values for delivery addresses
MMFAB001
User exit for generation of releases
MRFLB001
Control items during release creation
LWBON001
Enhancement of LIS update through extension of the communication structure MCKONA (business volumes and rebate income)
LWBON003
Change settlement data for end-of-period rebate settlement before creation of settlement documents
LWSUS001
Customer-specific source determination in Retail
LMEXF001
Conditions in purchasing documents without invoice receipt
LMEKO002
Enhance communication structure KOMP for price determination
<b>Reward points for useful Answers</b>
Regards
Anji -
Function Module to get sales order number
Hi,
In a custom program I am giving Material number and Plant as input in VBAP to find the Sales Order number. However this step is taking long time to execute and so getting dump with time out error.
Please let me know whether there is any Function Module in which we can input Material and plant and get the Sales Order Number.
RegardsHi,
Rather than searching for a FM, you can get a small report developed to look up for VBAP for a given material, plant.
Ensure that this report is always run in background. Also consider giving other parameters for faster processing like date range etc..
Regards,
RS. -
Enhancement for Production Order Number Ranges
Hi
Are there any enhancements for production order number ranges. We have the setting as external numbering but need to set the order numbers (alphanumeric) based on certain conditions.
Thanks & Regards.
Sam.Hi Sam,
PPCO0007 .......check this one.....
i guess it is helpful
Regards,
Bhaskar -
Relation between serial number and sales order number
Hi,
Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
Edited by: Lida Navabpour on Jun 9, 2009 1:02 PMHi,
> Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
Yes, There is one to one relation ship. U have to maintain serial number profile for the same. The serial number runs on different status.The status ESTO means the serial number is in stock. ECUS means the serial number is at customer site. AVLB means the serial number is available.
If the status is ECUS then u cant use that again.
Serail number profile Check t-code OIS2.
Thanks,
Raja
Maybe you are looking for
-
Hi expert, i have created a rule with Category = Agent Determination: Responsabilities; this rule doesn't work correctly only in production and only with some values. I have tried the note 855494 but i haven't understand what "The rule resolution is
-
Had to restore comp. to earlier time, now firefox will not open.
I have a HP Pavilion Slimline desktop, model s5310y. It is using Windows 7. A popup from Firefox came up saying I was using an outdated version-3.6 I believe. I hit the download button, it downloaded but when I tried to use it, it would not open. I u
-
Import one tablespace out of exp file
Hello, I 'd would like to know how to import only one tablespace out of an export file. The import went wrong for one TS and I'd like to only retry that particular TS. Tyia, Cheers, A.R
-
How I can get my contacts , photo and app back
How can I get my contacts, photos and apps back?
-
Memory leak running 32bit app in Windows 7 64bit
I have an app that does not show signs of memory leakage (I'm queuing up 10mb arrays, and dequeuing them to file) under a standard 32bit operating system. I've since tried running it in Windows 7 64 bit (as a 32 bit process using Labview 32-bit runt