Help me.... (Minimum Quantity Order) in Sales Order
Dear guru
i have created Material like mobile phone, in material Sale-org 1 i have mention minimum quantity as 5 no to be order and i creat sales order as 2no of mobile phone, but the minimum quantity display mesage showing like total weight, not total quantity, how can i display error message like min quantity 5 no should to be order.
regards
Mohammed Renu
[email protected]
Hi
Check the unit of mimimum order qty in MM01... That may be as KG...
<b>Minimum Order qty Unit will be same as Base unit of measure...</b>
If You have KG there you have to maintain base unit of measure as you need may be EA-each/PCS for your requirment...
Reward if helpfull
Muthupandiyan
Similar Messages
-
Confirmed quantity in the sales order coming as 3.5 ea
Hi Gurus
The confirmed quantity in the sales order coming as 3.5 ea where the order quantity was 10ea.I checked CUIN for EA the decimal places is given as 0 which is very much correct moreover I checked the material master in additional data I have not find anything abnormal.The order was created by a batch job.Please help.Hai,
The system has concluded that 3.5 EA for the confirmed quantity means the remaining part of the stock are already allocated to some other sales orders.Out of 10 EA only 3.5 EA are in the stock.
You can view through the MD04 and then enter the plant ,material and then check the quantity that are allocated to the various orders.
Please revert for any.
Kalyan -
Need logic for calculate the balance quantity in open sales order
hi all
i need logic to calcuclate the balance quantity in open sales order ,
where i am using VBAK header and VBAP item , and VBFA for document flow tables
i need to have the balance quantity , for the open sales order
especially taking with respect to VBFA-VBTYP_N = M for invoice creation and N for canellation
any one please help methank you but i am clear abt it
will you please anyother way to calucaluate the logic ,
and i need to populate in bukets also for the terms of 5 years
Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM -
Quantity Contract to Sales Order
Dear All,
For a sales scenaio I have created a Quantity contract lets say for a month 01.07.2010 to 31.07.2010. Lets say every day I have created a sales order with reference to contracts where price of factor ABC is $ 20. I have created order lets say till 15.07.2010 with the prie of factor ABC is 20 $.
now price has revised starting from 10.07.2010, now factor ABC price is $50. so for that in copying control I choose price type B, carry out new price, so that when I create sales order with ref to contract system should call the current and accurate price.
But system cant not work accordingly, it can not display the updated price and shows the old price at order.
Pls advise the solution.
RegardsHEI,
first you have to maintain price master as follow:
1.7.2010 - 15.7.2010 --> 50$
16.7.2010-31.7.2010 --> 100$
you made contract in 1.7.2010 for period 1.7.2010 - 31.7.2010. (your pricing date in contract will be today which is 1.7.2010
the you made sales order reference to that contract. price in sales order is determined by Pricing date (VBKD-PRSDT).
standard SAP determined pricing date in SO is same as contract (if reference) which is 1.7.2010, even you made sales order in 18.7.2010
the solution:
go to VOFM, make routine in sales order data transfer. VOFM->DataTransfer->Order.
Code:
if vbkd-prsdt is initial.
VBKD-PRSDT = VBAK-ERDAT.
endif.
the put this routine in VTAA (copy control order to order) put QC to OR, change DataTransfer in header from 101 to ur routine number. save and try. it will works as your requirement. in item KMN, your pricing type change to B.
solution above change the pricing date in sales order as sales order created date, so when you made SO in 20.7.2010 reference to contract, so the pricing date in SO will be 20.7.2010 and system determine price 100$.
point if it helpful
Best Regard,
Hendry
Edited by: Hendry_tjan on Jul 23, 2010 7:58 AM -
Propose order quantity in return sales order
Hello Experts,
I have a requirement where while creating return sales order with reference system should propose total delivered quantity instead of quantity in original sales order.
I tried to copy routine 151 in VOFM but after the changes proposed quantity in return sales order is appearing as addition of original sales order quantity and total delivered quantity.
example:
Original sales order is having quantity = 100
total delivered quantity = 45.
default proposed return sales order(with reference) quantity = 100 (here system should propose 45 not 100)
In copy routine if I change VBAP-KWMENG to 45 then in return sales order system is proposing 45 + 100 = 145 but I need system should only propose 45.
I had searched the community but no where I found the solution.
Please help.Hi,
The problem is we can not go with the process i.e. to create return sales order with reference to billing document as there are many other customizations already developed on existing process of creating return sales order with reference to sales order.
So we need the solution in which return order(RE) should be created which should propose quantity as the total delivered quantity with reference to sales order.
For the reference order only delivery document is posted in the system. -
Update the material quantity in the sales order using LSMW...
Hi Guru's,
I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
could you please provide the step by step process....
if anyone of you provide the program logic similar to requirement that would be helpfull to me...
thanks in advance
Srinivas....Hi Sri,
Hope it may help you.
First do the recording for VA02 transaction, in that give the existing sales order number
and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
Regards,
Vishvesh
if helpful, rewards it. -
SERVICE ORDER for SALES ORDER quantity
Hi gurus,
i have the next problem.
I have a sales order item that trigger a service order (CS). The problem is when i enter quantity 10 in sales order.
It appear this message:
"Due to technical reasons, you can only create one service order for a sales order item at the moment in service processing."
Can I do a sales order with quantity 10 pieces and the service order with 10.????
It's possible to customize that funtionality??
Only one ???
Thanks very muchNobody can help me???
Please.
Thanks -
ATP check partial Quantity allocation to Sales Orders
Hi,
Our client has three different sales order types for processing sales differently for the same materials.
While doing ATP check they have a order of priority i.e ZOR1 -> ZOR2 -> ZOR3 with ZOR1 highest priority.
For sales order type ZOR2 currently they donot have partial quantity allocation to sales orders.i.e if two orders, Order 1 created with 100 Qty and other Order 2 with 50 Qty and if ATP is 50 Qty.
System is allocating material to Order 2 which has order quantity 50 ( Which equals ATP Qty )
Now the client requirement is to configure system such that it does partial allocation to Order 1 ( order qty 100, where as ATP Qty is 50 ) i.e system should allocate even partial quantity to sales orders, that too in FIFO ( system should allocate ATP qty to order created first then next and so on )
Please let me know what changes i need to do to achieve the above functionality in SAP system.
Thanks
Venkata Rama Reddy.KDear Venkat,
Please check the customer master for the customer which you have maintained in the 1st order. If the customer allows partial delivery, them the system will allocate the stock to the order which is created at first.
At the time of ATP check(In Availability Screen), you do need to choose, One-time or System proposal, which will allocate the stocks partially to the 1st order as you don't have enough stock.
Check out the settings in the customer master (for the customer in the 1st sale order) under Shipping Tab.
Partial delivery per item D/A/B
Max. partial deliveries >0
(And more thing, you mentioned that sales document type is having priority. As of I know - there won't be any setting which will set particular sales document type with high priority. If you are really doing that kind of setting - update the same in this forum - it may help others..)
Hope it may help you.
(Venkat: Has your issue solved? Kindly update in the forum - if your question is answered)
Thanks,
Venkatesh.S.P. -
How To Get The Total Delivered Quantity of a Sales Order
Hello All,
I have a requirement of getting the total delivery quantity of the sales order .I have checked it in LIps table but I am getting partially delivered quantity for a schedule line item.Can any one tell me how to get the total delivered quantity.
Regards,
Pavani.Hi
Check the Table:
VBEP - Sales Document: Schedule Line Data.
Inside the table check the Quantity Fields.
Regards,
Sreeram -
ATP,confirm quantity for Purchase Order related Sales Order
Hi everybody,
I have purchase requisition related sales order item. I created purchase order with this PR.
I entry confirmation date and quantity on the PO.
Sales order item's delivery date equal to purchase order item's confirmation date.
Sales order item's confirmed quantity eq purchase order item's confirmed quantity. It is ok for me.
But, goods receipt not do yet for this purchase order and sales order stock = 0.
If I run VL10N for this sales order, I can create delivery.
I wants to see availilable sales order stock item on the VL10N items. How can I see?
or
If no goods receipt for sales order items then sales order item confirmed quantity can equal 0. How can I do?
Best regards
Gulay CelikHi
You can meet your requirement in multiple ways
1) Modify the requirement routine for copy control from Sales order to Delivery that DO not create the delivery for third party orders unless the GR is posted for the respective sales order.
2) IF you have implementded Inbound Delivey functionality in your system, You can change the availabiltity situation every time you modify the GR dates and times. Modify the PO user exit that when ever a new confirmation Key LA is entered in the purchase order it goes and updates the schdule line dates and quantities in the order based on the dates entered in the LA confirmation key.
and even if delivey gets created also what is the problem ? The GI cannot be posted though unlsess there is sufficient stock. -
Manual quantity allocation per sales order
Hi All,
The requirement is as follows.
My client want users to allocate quantity for sales order manually so that they can control quantity allocation for sales orders when there is shortage of stock.
We do not want to use product allocation for this, So can anyone suggest if there is any other way to allocate the stock manually for sales order.
Thanks in advance,
JMHi,
This can be acheived by enhancement.
You can use userexit MV45AFZB -userexit_source_determination for this.
You need to maintain the Z-table for all the bottleneck material with confirmation quatity column.
So everytime when you create a sale order for bottleneck material, system will check this table & irrespective of any order quantity, it will confirm the quantities mentioned in the table.
This way you can maintain the logic & fullfil the above requirement
thank you -
IDOC Generation For Quantity Change in Sales Order.
Hi to all,
I have a very urgent Requirement,Please give correct solutions.
Requirement:
When a change is made in the quantity of the sales order line item,an idoc should be trigerred . I have done done all the configurations ,still no results.I am new to ABAP , GIve good solutions ,i will reward you.Hi there,
Could you please explain step by step procedure of your req. coz it is not clear.
What is BoQ?
Customer gives raw material with out knowing the specification of sheet?
Thanx
Jess -
Regarding Picking quantity over than Sales Order quantity
Hi,
When I am doing Picking from Warehouse the picking quantity is over Sales Order quantity. I don't want to allow it. To restrict it what are the settings I have to do.
Please give me solution asap.
Regards,
Bhaskar.KHi,
You can customize this in the delivery item category by configuring the system reaction with the option "Check Over Delivery".
Reward if convinced.
Rgds -
Should an abaper have knowledge of creating purachse order and sales order
should an abaper have knowledge of creating purachse order and sales order
if so how to create pls help me
thanks in advanceREPORT ZTEST_BAPI .
*- BAPI related declarations
DATA : g_pohdr TYPE bapimepoheader,
g_pohdrx TYPE bapimepoheaderx,
gt_poitem TYPE TABLE OF bapimepoitem,
gt_poitemx TYPE TABLE OF bapimepoitemx,
gt_posched TYPE TABLE OF bapimeposchedule,
gt_poschedx TYPE TABLE OF bapimeposchedulx,
gt_poacct TYPE TABLE OF bapimepoaccount,
gt_poacctx TYPE TABLE OF bapimepoaccountx,
gt_poservice TYPE TABLE OF bapiesllc,
gt_posrvacc TYPE TABLE OF bapiesklc,
gt_return TYPE TABLE OF bapiret2.
perform prepare_header.
PERFORM prepare_items.
PERFORM prepare_schedule.
perform create_po.
*& Form prepare_header
Set up header structure
FORM prepare_header.
g_pohdr-comp_code = '2000'.
g_pohdrx-comp_code = 'X'.
set up doc type
g_pohdr-doc_type = 'NB'.
g_pohdrx-doc_type = 'X'.
g_pohdr-vendor = '0008000330'.
g_pohdrx-vendor = 'X'.
g_pohdr-langu = sy-langu.
g_pohdrx-langu = 'X'.
g_pohdr-purch_org = 'BA01'.
g_pohdrx-purch_org = 'X'.
g_pohdr-pur_group = '800'.
g_pohdrx-pur_group = 'X'.
g_pohdr-currency = 'USD'.
g_pohdrx-currency = 'X'.
ENDFORM. " prepare_header
*& Form prepare_items
Set up item values
FORM prepare_items.
DATA : ls_poitem TYPE bapimepoitem,
ls_poitemx TYPE bapimepoitemx.
ls_poitem-po_item = '00010'.
ls_poitemx-po_item = '00010'.
ls_poitemx-po_itemx = 'X'.
ls_poitem-short_text = 'ABSORBER,SHOCK:PALLETIZER'.
ls_poitemx-short_text = 'X'.
ls_poitem-material = '000000000001070062'.
ls_poitemx-material = 'X'.
ls_poitem-vend_mat = 'xyz'.
ls_poitemx-vend_mat = 'X'.
ls_poitem-quantity = '100'.
ls_poitemx-quantity = 'X'.
ls_poitem-po_unit = 'EA'.
ls_poitemx-po_unit = 'X'.
ls_poitem-po_unit_iso = 'EA'.
ls_poitemx-po_unit_iso = 'X'.
ls_poitem-net_price = '6.32'.
ls_poitemx-net_price = 'X'.
ls_poitem-price_unit = '1'.
ls_poitemx-price_unit = 'X'.
ls_poitem-item_cat = 'D'.
ls_poitemx-item_cat = 'X'.
ls_poitem-plant = '1575'.
ls_poitemx-plant = 'X'.
ls_poitem-ACCTASSCAT = 'K'.
ls_poitemx-ACCTASSCAT = 'X'.
ls_poitem-acctasscat = <fs_req>-knttp.
ls_poitemx-acctasscat = 'X'.
ls_poitem-distrib = <fs_req>-vrtkz.
ls_poitemx-distrib = 'X'.
ls_poitem-part_inv = <fs_req>-twrkz.
ls_poitemx-part_inv = 'X'.
ls_poitem-gr_ind = <fs_req>-wepos.
ls_poitemx-gr_ind = 'X'.
ls_poitem-gr_non_val = <fs_req>-weunb.
ls_poitemx-gr_non_val = 'X'.
ls_poitem-ir_ind = <fs_req>-repos.
ls_poitemx-ir_ind = 'X'.
ls_poitem-agreement = <fs_req>-konnr.
ls_poitemx-agreement = 'X'.
ls_poitem-agmt_item = <fs_req>-ktpnr.
ls_poitemx-agmt_item = 'X'.
ls_poitem-preq_no = <fs_req>-banfn.
ls_poitemx-preq_no = 'X'.
ls_poitem-preq_item = <fs_req>-bnfpo.
ls_poitemx-preq_item = 'X'.
ls_poitem-preq_name = <fs_req>-afnam.
ls_poitemx-preq_name = 'X'.
ls_poitem-pckg_no = <fs_req>-packno.
ls_poitemx-pckg_no = 'X'.
APPEND : ls_poitem TO gt_poitem,
ls_poitemx TO gt_poitemx.
ENDFORM. " prepare_items
*& Form prepare_schedule
Schedule data
FORM prepare_schedule.
DATA : ls_posched TYPE bapimeposchedule,
ls_poschedx TYPE bapimeposchedulx.
ls_poschedx-po_item = '00010'.
ls_posched-po_item = '00010'.
ls_poschedx-po_itemx = 'X'.
ls_posched-delivery_date = '10/31/2005'.
ls_poschedx-delivery_date = 'X'.
ls_posched-quantity = '100'.
ls_poschedx-quantity = 'X'.
ls_posched-preq_no = <fs_req>-banfn.
ls_poschedx-preq_no = 'X'.
ls_posched-preq_item = <fs_req>-bnfpo.
ls_poschedx-preq_item = 'X'.
APPEND : ls_posched TO gt_posched,
ls_poschedx TO gt_poschedx.
ENDFORM. " prepare_schedule
*& Form create_po
Create PO with ref to the req
FORM create_po.
DATA : lt_return TYPE TABLE OF bapiret2,
l_ponum TYPE banfn.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = g_pohdr
poheaderx = g_pohdrx
testrun = 'X'
IMPORTING
exppurchaseorder = l_ponum
TABLES
return = lt_return
poitem = gt_poitem
poitemx = gt_poitemx
poschedule = gt_posched
poschedulex = gt_poschedx
poaccount = gt_poacct
poaccountx = gt_poacctx
poservices = gt_poservice
posrvaccessvalues = gt_posrvacc.
APPEND LINES OF lt_return TO gt_return.
IF NOT l_ponum IS INITIAL.
MESSAGE s398(00) WITH 'Purchase document ' l_ponum
' successfully created'.
ENDIF.
ENDFORM. " create_po
<b>Reward points</b>
Regards -
Ignore Production order if sales order exits
Hi Experts
I want to check some validation for sales order , The system goes in this way ...I have to modify in this way
we are extracting the command orders from Command QC System and inserting into SAP . Once it is extracted the Interface coding was written.....to extract sales order, production order etc.,
Now I want to check only those records in which category are ZTAN. because some time in our company they will sold pigments which does not contain production order directly it will check for qty and delivered to customer.
Select * from VBAP where VBELN = 'SALES ORDER' and
MATNR = 'Material nO' and
PSTYV = 'ZTAN'
This is because it should not check the production order in AFPO table it must directly go to create deliveries etc for that I created to check sales order ignoring production order So can anyone help me to modify the below coding to check only sales order bu
SALES ORDER EXITS MODIFICATION****************
*& Form find_sap_salord Exits
Find an SAP production order for a material.
-->P_IN_STRING COMMAND order number
-->P_MATERIAL_IN Material number in
-->P_SITE_IN Material number in
<--P_OUT_SALEORD Sales order number
<--P_OUT_MATERIAL Material number out
<--P_OUT_ORDER Production order number
form look_sap_saleord using p_in_string "
p_material_in " Material No exits
p_site_in " plant
changing p_out_saleord " sales order
p_out_material " Material No
p_out_order " Prod Order
p_out_wemng " Qty of Goods Rec for Order Item
p_out_psmng. " Ordered Qty Item
data: lva_prodord like afpo-aufnr, " Production Order
lva_prodmat like afpo-matnr, " Material Number
lva_saleord like vbkd-vbeln, " Sales Order
lva_pstyv like vbap-pstyv, " Category
lva_wemng like afpo-wemng, " Quantity of goods received for the order item
lva_psmng like afpo-psmng, " Ordered Qty Item
lva_count type i. " counter validation
ihrez_e Ship to party
select vbeln from vbkd into vbkd-vbeln
where ihrez_e eq p_in_string.
select vbeln from vbap into vbap-vbeln
where vbeln eq p_in_string.
Is the order for the specified plant?
select vbeln from vbap into vbap-vbeln
where vbeln eq vbap-vbeln and
matnr eq vbap-p_material_in and
pstyv in ('ZTAN')
and werks eq p_site_in.
The order is for the specified plant.
lva_saleord = vbap-vbeln.
exit.
endselect.
Exit when an order for this plant has been found.
if not lva_saleord is initial.
exit.
endif.
endselect.
check not lva_saleord is initial.
select count(*) into lva_count from afpo
where kdauf = lva_saleord.
if lva_count eq 1.
select aufnr matnr wemng psmng
into (lva_prodord, lva_prodmat, lva_wemng, lva_psmng) from afpo
where kdauf = lva_saleord.
exit.
endselect.
else.
select aufnr matnr wemng psmng
into (lva_prodord, lva_prodmat, lva_wemng, lva_psmng) from afpo
where kdauf = lva_saleord
and matnr = p_material_in.
exit.
endselect.
endif.
move: lva_saleord to p_out_saleord,
lva_prodord to p_out_order,
lva_prodmat to p_out_material,
lva_psmng to p_out_psmng,
lva_wemng to p_out_wemng.
endform. " find_sap_prodord
END OF MODIFICATION 22/09/2008*******Thanks thread close
Piroz -
Settlement of Sale Order to Sale Order
Dear experts
I need help in the following scenario:
At my client place we are doing job work for external material. All the material are supplied by the customer and our client will do the processing and send it back to customer's customer on customers request.
To create Excise Invoice against the Customers Customer we are handling through 2 sale orders.
First One Sale order will be created against the Customer Order and Sale price will be the selling price of Customers to Customer.
Second Sale Order will be created for Job Work Charges for the processing the materials.
On settling the process orders all the cost is settling to Sale Order One, Clients revenue is coming from Sale Order Two.
Here I need to settle the First Sale Order to Second Sale Order. I have given the second sale Order number in first sale order number in Settlement rule.
But when I settle the First sale Order all the amount it going to Price Differance Account.
How to settle the Cost of First Sale Order to Second Sale Order?
Regards
Kiran ADear Experts
any advises.
Can I go for Sale Order to Sale Order Settlement ?
Regards
Kiran
Maybe you are looking for
-
I cannot figure out why i cannot Mirror image.
-
Cannot manually manage music and video AND sync book, etc.
Just reset an old iPad2 to give to my son. Reset the thing, then went to sync it to his MBA running Yosemite. When I check "manually manage music and video" in the summary pane of the iPad when it's connected to iTunes, it automatically deselects "sy
-
Reversing Single Entry in Incoming Payment
Dear Experts, I want to reverse a single invoice entry from an incoming payment which contains knocking off multiple invoices. Let's suppose i have knocked-off Invoice 1,2, and 3 in an incoming payment, and now i have to reverse the entry of Invoice
-
Can we create a custompage component using trinidad
Hi all, We are developing a application where we need to support IE6 so we are using trinidad components for JSF. In our application all the pages have tha same look n feel. Only the central part of the page changes. I wanted to create a template and
-
BPEL 10.1.2 and BAM
I am trying to create a BAM server connection in my JDeveloper. I enter all the details correctly and I get result failed with details as "Authentication Failed for Basic realm=my machine name". I tried using localhost, port 80, my user id and passwo