Change order quantity in sales order
Hi,
I have a sales order created. Now i want to change the Order qty depending on certain conditions through an ABAP Program. Can any one tell me how to change it? I tried bapi SD_SALESDOCUMENT_CHANGE ..but couldn't succeed. I tried passing field to req_qty in table ITEMS_EX and update flag in table ITEM_INX along with item number.please correct me where i went wrong?
Thanks,
Bhaskar.
i stand in awe ... is such a thing legal in your country? you create a sales-order, probably sent a confirmation document (including quantities, prices and so on) to the customer and then you change the quantity according to some constructed logic?
would you care to describe what the business-process exactly demands at this stage?
Similar Messages
-
Free goods determined in Delivery over Order Quantity in Sales Order Item
Hi Gurus,
I've a problem about using free goods determination.
First I created free goods master record with following information
ZG1010012060075 From 100 PC -> Free good ZG1040012060075 2 PC
Free goods Category = '2' (Exclusive)
Free goods delivery control = 'E' (Delivery proportional to quantity in main item)
Then I've created Sales Order with
Item 10 ZG1010012060075 4,000 PC.
Item 11 ZG1040012060075(Free good) has been automatically determined for 80 PC
Then I've splitted Item 10 into 4 deliveries. The result of free goods determine in each delivery are as follow:
Delivery#1)
Item10 ZG1010012060075 = 1,176 PC
Item20 ZG1040012060075 = 24 PC
Delivery#2)
Item10 ZG1010012060075 = 1,176 PC
Item20 ZG1040012060075 = 24 PC
Delivery#3)
Item10 ZG1010012060075 = 1,176 PC
Item20 ZG1040012060075 = 24 PC
Delivery#4)
Item10 ZG1010012060075 = 472 PC
item20 ZG1040012060075 = 9 PC
*Remark : Total quantity of 'ZG1040012060075'(free goods) = 92424+24 = 81 PC
(Greater than 80 PC)*
I think the system determined free goods in Delivery#4 correctly due to rounding up. But It might not be over the order quantity in Sales Order Item 11. Even though I've set the item category in delivery with Check overdelivery = 'B' (Situation rejected with an error message), the free goods are determined over order qty. BUT if I change delivery qty in delivery#4 Item20 from 9 PC -> 8 PC -> 9 PC, the error message occurred.
My point is to fix the system not determine free goods in delivery items over order quantity in sales order item.
Has anyone met this situation before? Do you have any idea about this issue?
Best Regards,
Prachya LalitnorasateDear Sai,
Thank you for your advice, but it didn't solve my problem.
I would like the system to determine free goods with proportional to main item AND In the last delivery main item delivered completely free goods must be determined equal to remaining open delivery item.
Do you have any idea about configuration/customization? -
Hi All....
When we create a sales order with reference to Quotation, then the quantity will be copied from quotation. Later on if user tries to change that quantity in sales order then it is giving a warning message......but what we need is a error message rather than a warning message....so that user will not be allowed to change quantites which are copied from quotation.
Thanks in advance....Hi Rajesh and Vinay...
Thanks for your replies.....
I went in to that of message variables but how to proceed from there...every thing is greyed out....
Regarding that user exit they want me to do this in configuration.....
The message no which i am getting for warning is V1503
Thanks in advance......
Message was edited by:
ravi chimmili -
In which table,i could find order quantity for sales order..??
In which table, i could find order quantity for sales order..??
and also in which table i could find delivery for sales order..
need help..??
Moderator message: please search.
Edited by: Thomas Zloch on Feb 23, 2012Check the table AUFM.
Give the order number in AUFNR.
For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS). -
How to get the back order quantity for sales Order
Hi Friends,
I want to get the back order quantity for sales order . in MD04 t-code,
there is a field(MDEZ-MNG01) for Received Qty/ Required qty. But MDEZ is a structure.
I tried from MDTB table, but the table is not updated with the values in MD04.
Please guide me from which table I can get the back order Qty for sales Order
(ref: t-code MD04, MRP element = CusOrd).
Thanks,
Sagar>
VIdya Sagar wrote:
> Hi,
>
> Isn't there any difference b/n Open Sales Order and Back order??
Yes Quite Difference.
Read:
http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm -
Restricting order quantity in Sales Order
Hi Folks
I have a requirement that my material can only be ordered in multiples of 5 KG, 15 KG and 25 KG. Could you suggest how can i control the ordered quantity in sales order ? is there a standard way in SAP to do it or does it require customization.
ThanksHi
The delivery units like in the multiples of 5 like 5 or 10 or 15 can be maintained in sales org data 1 tab of the material master delivery units field
Having set this So when creating the delivery if the multiples are not properly given the system will throw a warning message message no V4 and 081
You can set this message as errr message in t code OVAH
But there is a risk involved here
If the delivery units is maintained as mutiples of 5 that is 5 ,and 10 and 15 like that in MMR sales org data 1 tab andin OVAH it set as error message V4 and 081 then if the sales order is for 21 units then the delivery will be allowed only till 20 units
So carefully lookimg at many angles this should be used
Regards
Raja -
Change available quantity for Sales Order line during ATP control
Hello,
When sales order is created and item line is entered I need change available quantity for material. I mean not ATP quantity but available quantity (MCHB-CLABS for material/plant - I need remove some batches from logic)
Could you tell me when I could add my enhancement for above purpose?
Thanks in advance,
EDid you try the assignment (Enhancement) ATP00001?
-
Minimum order quantity for sales orders
Hi,
I need to check the configuration settings where the sales orders can be blocked if the ordered quantity is less than that of minimum order quantity.
Pls threw some light on this.
Points assured
KittyDear Krishna
Go To OVAH t code
message class V4 and message no 082
Change from warning to error
The mininum order qty for a material can be set in sales org data 1 tab
If for a material mininum order qty is set to 10 and if an order is placed for anything less than 10 you will get error message straight away
No need of any userexit
With Standard customizing it is possible
This has has been tested by me recently and you too can test it
Regards
Raja -
To POP up the open sales order quantity in Sales order
Hi gurus,
I hav a requirement that for example,I raised an order for 100 Qty and delivered 80 materials 20 is open,So when i raise an order for the same material for 50 Quantity,I need to get POP up box saying that 20 qTY IS OPEN. in Sales order.
I am an SD consultant Please assist me in doing this requirement.
Regards
Narayana
Edited by: manam narayana on Feb 6, 2008 12:08 PM
Edited by: manam narayana on Feb 6, 2008 12:30 PMHi Usha,
Thanks for ur early reply,can u make it clear for me.Like when i enter a sold to party and material in VA01,This should check the open order quantities for a particular combination of sold to party and material and POP UP a message saying that the customer has open quantities for this material,So this Open quantities i found in VBBE table.Can u please explain me in clear how can i compare the values in T.code VA01 to VBBE table and how can i get POP UP message.
Regards
Narayana
Edited by: manam narayana on Feb 6, 2008 12:15 PM -
Hi all,
In my sales order when I enter the materials and quantity in the item level it does not updates the total quantity. Can anybody give the reason for this? Is it something wrong with my document type customization?Dear Sonia Plate
Please check in Copy control -- UPDATE Document Option is updated
As per my understanding You have created sales order but unable to check Updated Qty IN MD04 ? If it is right
Run this program SDRQCR21 Then only it will be updated
please clear Your issue
Regards
venu gopal -
Total of the ordered quantity in sales order
Hi
Is there any settings or functionality for the totalling of the order quantity in the sales order as the user requires to see the total number of the units of quantity of order taken and if its less they can still ask for more order from the customer so that the truck is used for its fullest capacity for transport of the materials.
thanks
AJHi AJ,
In the standard system up to ERP 5.0 you could use weight and volume for aggregation. Not very useful.
In SAP ERP 5.0, there is a new functionality called "loading units".
Quick copy/paste from the release notes:
As of SAP ECC 5.00, SCM Extension (EA-SCM 500) you can use a loading unit in Dynamic Transportation Planning of the DSD Backend process. A loading unit is an additional capacity limit that limits the maximum delivery quantity of a vehicle. A loading unit is a unit of measure that is independent of the units of measure in order processing.
For aggregation purposes, the delivery quantities are converted into the loading unit using their conversion factor in the material master. The total quantity in the loading unit is calculated in the order and the delivery and displayed together with the aggregation categories. The loading unit is also shown for information purposes in the shipment as the sum of the deliveries contained in the shipment.
It says SCM Extension, but that's not APO, only an extension, so it is part of the standard system. Even if it is part of the DSD Backend, you might think of using it independently of DSD.
Best Regards,
Franck -
Confirmed quantity more than the ordered quantity in sales order.
Hi All,
We have a situation wherein the confirmed quantity is more than the ordered quantity.
a.) SO was created for qty1.Two schedule lines were proposed as stock was not available.
b.) When stock came in and most probablly, when the rescheduling job calling tcode V_V2 was run, both the schedule lines were confirmed.
c.) As a result, further processing is not done by system as confirmed quantity is more than ordered quantity.
Also we noticed that double schedule line was confirmed for a another order even without the rescheduling job is run.
Can you please suggest as to why this is scenario is occuring and how we can avoid the reoccurence? Thanks in advance!!
Regards,
Jeevan PenumatsaHi Jeevan Penumatsa
Welcome to SDN forum
Generally two schedule lines will take place if stock is not available in your plant or if open orders are there for that material also. So check the stock in MMBE
.If there are any backorders then it might be getting added in the created sales order and then you might be getting in two schedule lines
Regards
Srinath -
Delivery Date with Zero Order Quantity in Sales Order
Dear All,
I have created a sales order in va01 with different delivery date in schedule lines. I want to save delivery date with zero order
quantity because he has not delivery on time.Dear All,
I have created a sales order in va01 with different delivery date in schedule lines. I want to save delivery date with zero order
quantity because he has not delivery on time.
Deatils :
Delivery Date Order Quantity Delivery Qty
02.09.2011 10 10
05.09.2011 10 10
09.09.2011 10 10
15.09.2011 10 10
21.09.2011 10 0
Now i want to insert a new schedule line 10.10.2011 with order quantity 10. or 21.10.2011 schdeule date with 0 quantity.
Presently system can't save schdeule date 21.09.2011 with o quantity. -
Order Quantity in Sales order feild is in Grey mode
Iam creating sales order and material is coming in grey mode... i created the material yesterday. wat might be reasons for this..
thanks
ramkiHi
Can u please the Tcode SHD0
Enter the Transaction Variant already there in the system .
Just execute it u will find all the fields .
Check if the order qty i.e KWMENG field is display only or not.
if such is the case just uncheck the field and make it mandatory and save .
This will solve ur problem. -
How to reduce order quantity in sales order
hi
I have one scenario in that suppose order quantity 100
then client want to apply discount on order quantity suppose it is 25%(manually enterd)
then quantity applicable for pricing = actual order quantity (100) - quantity not applicable for pricing rate(25%) =75
then again manually enter some quantity which not applicable for pricing e.g. 5
then they apply rate on 75-5 = 70 quantity
EVEN if they delivered 100 hole quantity .
my problem is that how I can configure this pricing?
please help me
thank youHi,
1) Create a new discount condition type with Condition class Discount and Calc type Quantity.
2) Create a Alt Calc type routine in VOFM which would calculate the discount on a fix percentage as maintained in condition record.
3) Maintain condition record for the discount condition say 25%.
4) With the help of ABAPer write logic in routine to calculate total order qty and then a discount of 25% based on say PR00, etc
5) Assign the routine in pricing procedure under Alt Calculation type.
Regards,
Amit
Maybe you are looking for
-
How do I find and delete invisible files?
Mac Hard Drive info window says 157.58 GB used and 159.56 GB capacity, leaving 1.99 available. Total for all folders in Mac HD is 133.344 GB. 14.13 GB Library 04.81 GB System 114.4 GB Users 16.58 GB Applications .004 GB User Guides and Info I a
-
How to completely disable "Touchsmart OS software" Slows & interfers
How to completely disable "Touchsmart OS software" What a Hassle it slows & interferes Windows & applications. I can't find any information how to completely disable this software. I can't imagine anyone likes it. It just slows my computer & mak
-
How do I add a hyperlink to quick text?
I'm creating quick text to insert into my repetitive emails, and some of them contain hyperlinks. How do I add hyperlinks to my quicktext?
-
Video Question: iTouch 64 to Classic 160
I have been using my iTouch 64 to play movies on my TV. I now have allot of movies so I am purchasing a 6th gen 160gig Classic. will the movies that I converted to my iTouch as mp4 - H.264 480x320 768kbps Stereo/128kbps, load and play from the classi
-
Contractor details to be stored in which infotype
Hi Friends, Can anyone please advise me if there is any infotype in PA in which I can store contractor details. I want to store name of the company of the contractor, and few more details. Please advise. Points will be awarded soon. Regards, Reema