MTO Sales order controlling with valuated stock
Hi,
In SAP MTO with sales order controlling (sales order is cost object) with valuated stock, how to make settlement rule set to sales order so that costs will flow from production order to sales order .
Can anybody advise me in this.
Regards
Rajesh A
Hi Rajesh,
I'm new to Engineer To Order (ETO) and Make To Order (MTO) Product Costing and my client like to implement ETO and MTO product costing with Project Systems(PS) integration.
If you worked on these proccess? please can you guide me how to design the process or could you please forward me design and configuration documents....my client is discrete manufacturing industry.
Thanks,
Rau
Similar Messages
-
Sales order price with normal stock as well as Reserve stock
Dear all
i have different situation in stock reserving plz let me know
i am explaining whole scenario plz tell me how to proceed
ex: customer agreed To buy the stock around 500 qnt so i have kept stock reserve on jan 15th 500 qnty ( by using 412 e )
At theat time price is 10 rs per one so totally 500*10=5000
Now after 3 days i mean 18th price increased 15 rs per one
now total price is 500*15=7500
in copy control price type is maintained carry out new pricing
user created one sales order with 1000 qnty
now what he wants system should bring old price for 500 qnty (500*10=5000) And remaining 500 qnty with new price (500*15=7500)
I told as per my knowledge System will bring old price only for reserved stock if you want to apply new price for reserved stock just 411 e return the stock from reservation and now create sales order
i hope this right
But here imp thing is how price is calculated if different type of price is there for same material
i have created one sales order with 1000 qnty ( 500 reserv stock +500 Normal stock ) here how price is calculated i mean schedule lines will be different
bz for 500 one price and remaining 500 another price but in one line
Is it possible to calculate price like this 500*10=5000+(500*15=7500) =12500 rs
is this possible ?
plz let me know this process how to proceed and tell me You have any doubts
thanks a lotMaintain a condition record for Rs.10/- with a validity date (only as an example) as 1st March'14 to 15th March'14. Another condition record for Rs.15/- with validity date as 16th March'14 to 31st March'14.
Now create a sale order for 500 nos. with one line item and change the pricing date as 15th March'14. Similarly, create another line item for the same material with 500 nos. and here, change the pricing date as 16th March'14 at line item level. By doing so, system would fetch the pricing in billing accordingly.
I told as per my knowledge System will bring old price only for reserved stock if you want to apply new price for reserved stock just 411 e return the stock from reservation and now create sales order
i hope this right
Your understanding is incorrect. System will never validate pricing based on age of the stocked material but based on validity period what you maintain in condition record.
G. Lakshmipathi -
Producrt Cost by Sales Order with Valuated Stock
Hi Gurus,
My client is having Producrt Cost by Sales Order with Valuated Sales Order Stock. Can anybody reply me for my following issues.
1. while calculating Sales order cost estimate thru VA02 , the same Cost estimate is appearing against with EK02 condition type in Sales order Condotions. what is the use of Sales order Cost estimate? is there any impact on production?
2. What is Difference between Sales Order Cost Estimate and Order BOM Cost estimate?
3.when can we calculate Sales Order Cost estimate ? whether before Production or before billing ? can anybody tell me please..
4.while settling the production order also system picking the cost in VPRS not in EK02, i am not sure about this step.can any body correct if i am wrong
5.I know we can caluculate WIP in Sales order also. when can we calculate ? before settling the Production order or after production ?
thanks
PrasadHi,
there are 3 types of scenarios in MTO.
In Two scenarios Sale Order would be cost object - (Non-Valuated Sale orders stock and Valuated Sale Order stock with Sale order being Cost Object)
In third scenario (Valuated Sale Order Stock without Sale Order controlling), Only Production Order is the Cost Object.
In all the cases wherever the Sale Order is the cost object, Sale Order is the final Receiver. Only the difference is that in valuated sale order stock, stock entries would be passed to FI and in non-valuated sale order, no goods movement for FG will be there.
Please let me know if you need further details in this regard
Surya -
Stock reserved against the Sales ORder is not valuation in MC.9.
Dear Experts.
The valuation done in Mc.9 doesnot match with MB5B -valuated Stock. We are having export material , which is make -to-stock scenerio. In this as soon as the production confirmation is done, the stock is alloted to the specified Sales Order.
The stock alloted to the Sales order doesnot get valuated in MC.9 report, where as the same can be seen in MB5B .
For Example.
MAterial - XYZ is in stock in storage location FG01 - 156 EA
against Sales ORder - 206 EA
Total Stock valuated in MB5B - 362 EA whereas in Mc.9 it valuates for only 156 EA.
Can any body guide .
Thanks
AVSHi,
In MC.9 stock is displayed based on periods in the selection screen
Please make sure you are slecting proper period
Thanks
Diwakar -
Opening and closing stock with sales order and with out sales order
hello,
any body please help me my client want to check opening stock and and closing stock in areport.
material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
please guide me to get this report.
Thanks & Regads
BhaktaTransaction MB5B
For sales order related use specila stock as E and use radio button indicator in stock type
For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
See the o/p which will give the stock as required by you -
Sales order costing and valuated sales order stocks
SAP Gurus
Can somebody explain the key configurations and account postings in sales order costing and valuated sales order stocks in product costing using the specific tcodes.How the process moves from one configuration to the other?
Use of examples will be appreciated too
Thankshi rback59
Thanks for your valuable reply
i completely agree with your point regarding valuation . but want to know what is the impact of recosting of a sales order . as system only picks first goods receipt cost all the time . then what is the use of recosting ?
Thanks
Sachin -
Read Sales Order Price with Pricing Date (PRSDT)
Hello ABAP Gurus,
I have once requirements and is, I need to extract sales order prices with a given Pricing Date (PRSDT).
Could you please tell me if these is Function Module or BAPI that I can use?
Regards,
MuraliMaintain a condition record for Rs.10/- with a validity date (only as an example) as 1st March'14 to 15th March'14. Another condition record for Rs.15/- with validity date as 16th March'14 to 31st March'14.
Now create a sale order for 500 nos. with one line item and change the pricing date as 15th March'14. Similarly, create another line item for the same material with 500 nos. and here, change the pricing date as 16th March'14 at line item level. By doing so, system would fetch the pricing in billing accordingly.
I told as per my knowledge System will bring old price only for reserved stock if you want to apply new price for reserved stock just 411 e return the stock from reservation and now create sales order
i hope this right
Your understanding is incorrect. System will never validate pricing based on age of the stocked material but based on validity period what you maintain in condition record.
G. Lakshmipathi -
Sales Order Created with reference to Contract - Exchange rate Issue
When Sales Order created with reference to contract VBKD fields KURSK and KURSK_DAT gets copied from contract and not redetrmined based on pricing date and Exchange rate type. I expected it to be determined based on pricing date is standard. What I am missing, should it be controlled by data transfers
If Document currency and condition currency are different it cause problems with incorrect condition values are calculated, as KOMP-KURSK are copied from VBKD-KURSK
Any help or directions would be greatly appreciated . We are on 4.7 ISOIL
Sincerely JuliettaWell,
and if we have the same issue, but we don't have OIL Version, but simple 4.6C, which solution has to be applied then?
Thank you
Standa -
BAPI SALES ORDER & Copy with reference
Hello,
I'm creating sales order copied with reference to an invoice. My problem is that the data item is empty. When I create the sales order manually and use the option 'Create with reference' and choose an invoice, the sales order is created with all data item. I don't know how I can get to copy the data item from the invoice in the new sales order. The code that I'm using is the following:
DATA: order_header_in LIKE bapisdhd1,
order_partners LIKE bapiparnr OCCURS 0 WITH HEADER LINE,
order_text LIKE bapisdtext OCCURS 0 WITH HEADER LINE,
order_header_inx LIKE bapisdhd1x,
order_item_in LIKE bapisditm OCCURS 0 WITH HEADER LINE,
order_schedules_in LIKE bapischdl OCCURS 0 WITH HEADER LINE,
order_conditions_in LIKE bapicond OCCURS 0 WITH HEADER LINE,
extensionin LIKE bapiparex OCCURS 0 WITH HEADER LINE,
partneraddresses LIKE bapiaddr1 OCCURS 0 WITH HEADER LINE,
order_cfgs_ref like BAPICUCFG occurs 0 with header line.
DATA: salesdocument LIKE bapivbeln-vbeln.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
order_header_in-doc_type = 'ZA09'.
order_header_in-sales_org = '1700'.
order_header_in-distr_chan = '01'.
order_header_in-division = '01'.
order_header_in-BILL_DATE = '20060701'.
order_header_in-ref_doc = '0900000019'.
order_header_in-refdoc_cat = 'M'.
*order_header_in-REF_DOC_L_LONG = '0900000019'.
order_header_in-purch_no_c ='prueba'.
*order_header_in-ord_reason = '003'.
*order_header_in-pmnttrms = '0002'.
*order_header_in-sales_off = '2800'.
order_header_in-ref_doc_l = 'FACTURA ES'.
*order_header_in-fix_val_dy = '20060701'.
*order_header_in-currency = 'USD'.
*order_header_in-exchg_rate = '1.2'.
order_partners-partn_role = 'AG'.
order_partners-partn_numb = '0000000001'.
order_partners-langu = 'EN'.
order_partners-name = 'El corte aleman'.
order_partners-country = 'ES'.
APPEND order_partners.
order_partners-partn_role = 'RE'.
order_partners-partn_numb = 'ARR000'.
order_partners-addr_link = '0000030044'.
APPEND order_partners.
CALL FUNCTION 'ADDR_GET_COMPLETE_ALL_TYPES'
EXPORTING
addrnumber = order_partners-addr_link
PERSNUMBER =
address_object_type = '1'
IV_CURRENT_COMM_DATA = 'X'
IMPORTING
ADDR1_COMPLETE =
ADDR2_COMPLETE =
ADDR3_COMPLETE =
ADDR1_COMPLETE_BAPI = partneraddresses
ADDR2_COMPLETE_BAPI =
ADDR3_COMPLETE_BAPI =
EXCEPTIONS
PARAMETER_ERROR = 1
ADDRESS_NOT_EXIST = 2
PERSON_NOT_EXIST = 3
INTERNAL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
data: vl_texto(40) value 'NUEVOOOOO'.
partneraddresses-name = vl_texto. clear vl_texto.
partneraddresses-name_2 = vl_texto.
partneraddresses-name_3 = vl_texto.
partneraddresses-name_4 = vl_texto.
partneraddresses-langu = 'E'.
APPEND partneraddresses.
DATA: vl_cantidad LIKE bapisditm-target_qty.
vl_cantidad = 1.
order_item_in-itm_number = 10.
order_item_in-material = 'HONORARIOS'.
order_item_in-ref_doc = '0900000019'.
order_item_in-ref_doc_it = 10.
order_item_in-ref_doc_ca = 'M'.
APPEND order_item_in.
order_schedules_in-itm_number = 10.
order_schedules_in-req_qty = vl_cantidad.
APPEND order_schedules_in.
order_text-text_id = 'Z001'.
order_text-ITM_NUMBER = ''.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, CARACOLAcola'.
APPEND order_text.
order_text-text_id = 'Z001'.
order_text-langu = 'EN'.
order_text-text_line = 'Adios caracol'.
APPEND order_text.
order_text-itm_number = '000010'.
order_text-text_id = '0001'.
order_text-langu = 'EN'.
order_text-text_line = 'Hola, POSICIÓN'.
APPEND order_text.
extensionin-structure = 'BAPE_VBAK'.
extensionin-valuepart1 = ' BCL 7'.
APPEND extensionin.
order_cfgs_ref-posex = '10'.
order_cfgs_ref-config_id = '10'.
order_cfgs_ref-root_id = '00000001'.
append order_cfgs_ref.
CALL FUNCTION 'ZBAPI_SALESORDER_CREATEFROMDT2'
EXPORTING
SALESDOCUMENTIN = salesdocument
order_header_in = order_header_in
ORDER_HEADER_INX = order_header_inx
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
salesdocument = salesdocument
TABLES
return = return
order_items_in = order_item_in
ORDER_ITEMS_INX =
order_partners = order_partners
order_schedules_in = order_schedules_in
ORDER_SCHEDULES_INX =
order_conditions_in = order_conditions_in
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF = order_cfgs_ref
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
order_text = order_text
ORDER_KEYS =
extensionin = extensionin
partneraddresses = partneraddresses
PERFORM report TABLES return.
*DATA: salesdocument LIKE bapivbeln-vbeln.
*DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
*refresh return.
*CALL FUNCTION 'BAPI_SALESDOCUMENT_COPY'
EXPORTING
salesdocument = '0400000191'
documenttype = 'ZA04'
TESTRUN = ' '
IMPORTING
SALESDOCUMENT_EX = salesdocument
TABLES
RETURN = return
*PERFORM report TABLES return.
*write: / salesdocument.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
*& Form report
text
-->P_MENSAJE text
FORM report TABLES p_mensaje STRUCTURE bapiret2.
DATA: vl_mensaje TYPE string.
LOOP AT return.
CLEAR vl_mensaje.
MESSAGE ID return-id
TYPE return-type
NUMBER return-number
INTO vl_mensaje
WITH return-message_v1
return-message_v2
return-message_v3
return-message_v4.
WRITE: / vl_mensaje.
ENDLOOP.
ENDFORM. " reportHi Manuel,
There are some function modules which is there to copy the order details. I am not sure about the function module name. But you can search in SE37. But bapi for creating the sales order does not have the functionality of copying the data from one document to another document.
You can try using this function module.
BAPI_SALESDOCUMENT_COPY
Data will be copied based on the copy control routines that is set between the two document types.
Thanks,
Arun -
Combining 2 Sales Orders - 'Complete' with 'Partial' Delivery into 1 Delv
Hi folks,
I have a typical requirement from my client and it is as follows:
My client want to combine 'Sales Orders' marked with 'Complete Delivery' indicator(VBAK-AUTLF check-box is checked) at the Header -> Shipping, with Sales Orders marked for 'Partial Delivery' (VBAK-AUTLF is not checked) in the Header-> Shipping.
Although all the other business conditions/fields values at the Header levels,like Ship-To_party, Shipping Conditions, Incoterms, etc. are same across both these Sales Orders; SAP as a standard Business Process Flow, doesnot allow <u>COMBINING</u> of 2 such orders into a <u>SINGLE Delivery</u>, since their 'Headers' seem to differ for that ONE field value.
I have searched through all user-exits, SAP Help forums as well as OSS notes to get a solution to this problem but could not find any (bad luck).
Will anyone of you who has come across this particular scenario or know a way to get around this problem, be able to contribute with his/her ideas? I would be
grateful, thanks in advance.
Regards,
ShripadHi iim nava,
Thanks for your reply.
However in our case, the system does throw that error, when i try to combine the second order (partial) into the delivery created for the first order (complete).Here is the log for your reference, when I try to add the second(partial so items) into the delivery created for the first (complete delivery SO):
Diagnosis
Item 000010 cannot be shipped in the same delivery with the
other items in the document because the header data (AUTLF)
is different. The field AUTLF for the item has the value &4,
yet in the delivery it has X.
System Response
The system issues this message if a delivery split is
necessary.
This message either appears in the collective processing log
or during creation of outbound deliveries from projects or
for subcontracting. It informs you that the item specified
will be shipped in a delivery other than the delivery that
includes the other items from the same document. If there was
a general problem with shipment of the delivery, a different
message appears.
If this message appears when you are creating an outbound
delivery with reference to a sales order in the foreground,
it indicates that the order item cannot be shipped with the
current outbound delivery.
By any chance, did you actually try simulating my scenario in your system. If you have and the same works fine in your system, then pls help me by sending your 'copy control' settings, to help me compare. We run SAP 4.6 and my settings for copy control are as follows:
<u>LF <-> OR (Header)</u>:
Data Transfer (VBAK) = 001 [HEADER]
Data Transfer HU = 000 [blank]
Order Requirements (VBAK) = 001 [HEADER]
Combination Requirements = 651 [051 w/o Comp dlv]
<u>LF <-> OR <-> TAN (Item)</u>:
Item Data = 101 [ITEM]
Order Requirements (VBAK) = 101 [ITEM]
Business Data = 2 [BUSINESS DATA]
Buss Data Reqmt = 151 [COMBINATION]
Hope the feedback can you will help me solve my problem. Thanks once again.
Regards,
Shripad -
Q30: Cannot find sales order for a committed stock item
I have a few item numbers which show committed stock in item master data/stock but I cannot find an open sales order or even with an open line on a closed sales order. I have tried various query reports without success.
Does anyone have a key to unlock this problem?
Thanks,
RobinHi,
Sorry but I am pretty new to SAP and on a learning curve so no idea what note 999124 is or even where/how I would use it.
Can you explain further please?
Robin
Lakshmipathi
Posts: 17,513
Registered: 8/9/07
Forum Points: 34,462
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
Re: Q30: Cannot find sales order for a committed stock item
Posted: Jan 12, 2011 3:18 PM in response to: Robin Bellion Reply
Check Note 999124 - Incorrect committed\On order quantity when changing orders
thanks
G. Lakshmipathi -
STOCK RESERVATION AGAINST SALES ORDER IN MAKE TO STOCK SCEANRIO
Presently in our system stock is get blocked or reserved against Sales order in MAKE TO STOCK sceanrio.
Now we required to remove the stock resrvation against sales order,where we have to make the changes in SPRO?
Please specify.
regards,
NITINHi Nitin
Try with MB1B movement type 411 E
This will pull back from the sales order reserved stocks back to unrestricted
I dont understand your comments of how the MAKE to STOCK process is getting reserved for sales orders automatically
somebody has to make atleast a sales order to reserve ?is it so?
Or somebody is saving a sales order and saving delivery too without PGI?
In OVZ9 for your combination (checking rule A and checking group pf your material as maintained in MMR) you can remove the tick from the check box of include sales requirements
Regards
Raja -
Sale Order Subcontracting & Vendor wise stock
Dear Gurus,
I have one doubt we are doing sale order subcontracting transfer posting by 311 E to vendor. so is it really need to create vendor wise storage locations to track the stock at vendor end, as we have no. of vendors for subcontracting and storage location is part of organization structure.
so is it advisable to go like that ? or please suggest me any other way to track the stock at vendor end sale order wise.
Thanks & regards,
AkshayHello Sir ,
As it is not possible to send material which are already in special stock (sale order stock ) to subcontractor by 541 movement type , it is recommended to transfer by 311 E my MB1B or MIGO...
while doing good receipt 101 E and 543 E will going to happen , for 543 E system will automatically ask storage location. i have done already this but there only one subcontractor was there,
and in this client we have more than 80 subcontractor so i am hesitating to do this....
Subcontracting for Sales Order Stock and Project Stock - Managing Special Stocks (MM-IM) - SAP Library
Sale Order Subcontracting & Vendor wise stock -
FM to get sales order details with billing document .
hi ,
is there any standard FM or BAPI to get the sales order details with input as billing document ?
i have the billing document number now i need to get the sales order number and its details ..
is that possible ..
i very well know how to get it by using query, i need standard FM.
Points will be awarded for sure , if it helps .
Thanks and regards
JKHere is the list of BAPIs
BAPI_QUOTATION_GETDETAILBOS
BAPI_INQUIRY_GETDETAILBOS
BAPI_SALESORDER_GETDETAILBOS
SALES ORDER->
BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
BAPI_ORDER_CHANGE_STATUS_GET Change status for order
BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
BAPI_SALESORDER_GETSTATUS Sales order: Display status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order -
Sales order report with order attachments
Hi All
I am writing a program for a 2 part report that gives a list of sales orders with attachment flags and a list of invoices that do not have the output processed due to the presence of attachment flag.
Firstly i need help regarding few queries in the process of writing this program.
1. How can i distinguish between a sales order with attachement and one without an attachment.
2. What is the related field for attachment in sales header/sales item table(s) or any other sales related table which will contain information of the attachment in the sales order.
3. If I have an attachment in sales order, will it have an effect in the output being processed for the invoice for that order.
Thanks in Advance
--MikeHello Erik,
is there a sales order report with the complete line-item pricing
breakdown. For example, In VA05 I'm only able to get the Net
Price and Net Value as an output. I would also like to view the
breakdown of the conditions (e.g. disounts, tax, etc.)
Is there another report in SAP that will show this? Or a backend
table I can pull this information from to create a query?
The best way to handle your requirement is to create a Custom report using the standard table for Sales Order i.e. VBAK and you can pick up the Document Condition Number. You can pass this number to table KONV and pull up all the values for the active contion type which was responsible for Sales Order price calculation. Please reach out to a ABAPer to develop this sort of a custom report.
Just FYI, if you want to check out all the value for a specific condition type, then you can use the standard report i.e. V/LD.
Please update your post after carrying out this exercise.
Regards,
Sarthak
Maybe you are looking for
-
I had to reset my iPhone. How do I get my apps and music back?
I had to reset my iPhone. How do I get my apps and music back? It is backed up on iCloud. Thanks
-
Why can't I make a selection with my path selection tool?
While following a tutorial, I am now unable to make a path selection. I know how to select a path, have done it before, but now my path selct tool does not select a path. Did I change settings or something else that I am not aware of? Any help wou
-
I am new to Java, hence I would like to know the reason behind the error produced by the codes given below: --- Scenario 1 --- public class MTServer{ //Main Method // Creates a socket, accepts the socket. ServProtocol sp = new ServProtocol(client); s
-
Invalid external process reference: TaskDefinition Approval Notification Ev
I am getting following Exception while deleting the User from LDAP through sun IDM. com.waveset.util.WavesetException: Invalid external process reference: TaskDefinition Approval Notification Evaluator I have configured subject as Configurator in dep
-
Hi, when i try to see a preview of a purchase order , i get a error message saying No contact address could be determined. I checked the vendor master in backend system and all the required data are maintained there. what could be the reason b