Sales order - update line status to close the document with DTW
Hi everybody,
yesterday i tried to update the line status of sales order lines from "O" to "C" with DTW. At first he ask me for DocRate. Then set DocRate to "1". After then DTW wrote, that I can't update the lines, during update the document... Can someone help me..., maybe with an example for DTW.
Happy new year to everyone.
Best regards
Stefan
Hi Stefan Ressel,
Welcome To SAP Community Network Forum
Sales Order line status close that means for particular line Item Quantity Delivered through Delivery document and sales order line status open to close.
OR
You have to manually close Sales Order line status without delivered Quantity.
Check in your case Item Quantity are to be delivered through Delivery document. Right click on line & check Target document.
If Sales Order Item Quantity are to be delivered through Delivery document then SAP restrict to update line status.
Thanks,
Srujal Patel
Similar Messages
-
Sales Order Schedule line not populating in the Production order
Queation: Is there a way to tell the system to look at the sales order, line item AND schedule line. It is displayed in MD04 but it doesn't carry over to the Production Order. We are a MTO and this information is relevant in a number of ways.
Please Help.Vickie,
If you are using MTO scenario then when you run the MRP for the material, it will create a planned order for that sales order based on the dates calculated from the sales order schedule line (Shipping tab)...
So now when you convert the planned order to production order, all the sales order details will get copied.
try and revert back.
Swapnil -
Error on Sales Order - u201Cyou cannot open rows in the document"
Hi everyone,
Does anyone have any idea why this error would be occuring when a user tries to add a sales order?
u201Cyou cannot open rows in the document [sales order u2013Rows u2013 Rows status] [line0] [Message131 -194]?
If the user closes the sales order and then recaptures it, the sales order goes through. As you can imagine, the order clerks are getting a bit angry when their large orders have to be closed.
Thanks.
Kind regards,
Simon CarolinHi
If it is affecting your business severly ,log a support to SAP .Meanwhile ,
Lets start some troubleshooting your system
1.Are you using formatted search in Sales Order
2.Are you using sp_transaction notification
3.Did you do any changes in your system recently like upgrade ,
4.Is it happen only to certain item or BP
Hint :
1.Disable all addon
2.Disable your formatted search
3.Disable sp_transaction notification
4.Try to create a sales order and .,
Does error occur again? Please also specify your SBO version and Patch level
<Note> Try test your issue test environment
This will help to narrow down
Thank you
Bishal -
Manually Enter the Sales Order Schedule Line
Dear All,
I have a requirement where Sales Order will be created by Customer Service with Quantity and customer requested delivery date. Subsequently Planning department will go to the sales order schedule lines and enter manually the delivery date and confirmed quantity (multiple schedule lines) based on the stock/availability. They also need to do some changes in the shedule line if required. But when I try, the manually entered schedule lines are disappeared. Could any one advice how to set this up?
Thanks,
Regards,
VenkatHi Venkat
A schedule line gets grade out because this has been determined . through schedule line determination. . Now in the shipping data tab you can change the schedule line tab if you want . manually you can change the request delivery date also.
But it is not advisable to change the schedule line because again the affect of availability check will vary.
But can we know for what purpose you want to change the schedule line when you create the sales order. Any reason .For what purpose you are going for that customization ?For what purpose?
Regards
Srinath -
Transfer Posting problem with "sales order stock type" status
Hello, i have this problem, i spend 2 days looking in the forum, but
nothing, the question is:
The SD users sell an item, and the item get the status of "sales order
stock type" in the MMBE, but at the same time, the MM user made a
trasfer posting in two steps, he take out material with transaction
MIGO, mvt 351, to another plant, but the materail was already
compromised with SD; now he cant sell the items, because he dont
realize that the material was in sales order stock type, and he already
transfer it to another plant. how can i block this? if a material in
MMBE is with "sales order stock type" status, he CANT transfer it with
351 mvt type, what config i have to make? thanks a lot!!!!
now the quantity of the unrestict use
stock is lower than the sales order, we dont want to have this issue,
thanks again
Edited by: Alex Arti on Aug 6, 2008 7:14 PM
Edited by: Alex Arti on Aug 6, 2008 7:16 PMHi!
Have you recently upgraded to EHP4? In this case, please, check the note 1441195. This note should solve the issue that you are reporting.
I hope this helps,
Esther. -
Sales order schedule line quantity update
Hi
I'd like to know if there is a FM to update the Sales order schedule line quantities.
In particular, the fields in VBEP: WMENG, BMENG, LMENG, CMENG.
Thanks.Hi Lily,
Can you please tell us how you updated BMENG using the BAPI BAPI_SALESORDER_CHANGE?
Thanks,
Vitz. -
Sales Order Schedule Lines getting updated
Hi,
In my system when I am changing the delivery date of 'AB' confirmation in the Purchase order Item level confirmations, the corresponding Sales Order' schedule line is also getting updated with the delivery date.
So, my question is is this a standard SAP functionality or this fuctionality has been implemented through BADI, Exits etc.
Regards,
RachitRachit,
This is standard SAP behavior. In 3rd party sale process, the changes done to PO (qty, dates) are updated automatically in the sales order.
TW -
What's the name of FM for getting Sales Order Header / Item Status info
Hello All:
Do you know what's the name of Function Module for getting Sales Order Header / Item Status Overview ? Any sample code will be very much appreciated.
Basically, I am trying to create a Webpage where user can enter the Sales Order document number and will return the Sales Order: Status Overview.
Thanks,
Dipankar BiswasThanks everybody ! Appreciate for your prompt response. I was also looking for some sample code, and I did find some on. And here is one. I still have to try the code, but here is for all your reference:
*& Report ZBAPI_SALESORDER_GETSTATUS *
*& Read and Display the Sales Order Items and Status of the Order *
REPORT zbapi_salesorder_getstatus NO STANDARD PAGE HEADING LINE-SIZE 200 LINE-COUNT 33(3).
TABLES: vbap. "Sales Document Item Data.
DATA: wa_bapireturn TYPE bapireturn,
wa_bapisdstat TYPE bapisdstat,
it_bapisdstat LIKE STANDARD TABLE OF wa_bapisdstat.
TYPES: BEGIN OF ty_mat_name,
matnr TYPE makt-matnr,
maktx TYPE makt-maktx,
END OF ty_mat_name.
DATA: wa_mat_name TYPE ty_mat_name,
it_mat_name LIKE TABLE OF wa_mat_name WITH KEY matnr .
PARAMETERS: p_vbeln LIKE vbap-vbeln DEFAULT 5573.
START-OF-SELECTION.
SELECT matnr maktx FROM makt INTO TABLE it_mat_name.
CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
EXPORTING
salesdocument = p_vbeln
IMPORTING
return = wa_bapireturn
TABLES
statusinfo = it_bapisdstat.
IF wa_bapireturn IS INITIAL. " Successful Execution.
WRITE: / 'Document No: ' COLOR 1, 20 'PO Number : ', 40 'Status' , 50 'Delv.Stat',60 'Item No', 80 'Material', 90 'Material Description', 130 'Net Price' COLOR 2.
ULINE.
LOOP AT it_bapisdstat INTO wa_bapisdstat.
WRITE: / wa_bapisdstat-doc_number. " Sales Document Number.
READ TABLE it_mat_name INTO wa_mat_name WITH KEY matnr = wa_bapisdstat-material.
WRITE: /20 wa_bapisdstat-purch_no, " Customer Purchase Order Number
40 wa_bapisdstat-prc_stat_h, " Processing Status
50 wa_bapisdstat-dlv_stat_h, " Delivery Status
60 wa_bapisdstat-itm_number, " Item Number
80 wa_bapisdstat-material, " Material
90 wa_mat_name-maktx, " Material Description
130(10) wa_bapisdstat-net_price. " Net Price
CLEAR wa_bapisdstat.
ENDLOOP.
REFRESH it_bapisdstat[].
ELSE.
WRITE: wa_bapireturn-message.
ENDIF. -
Sales Order - Returns change the sales order item delivery status
Hi All,
we have the following requirement from our users:
after creating a return, the original sales order should have the
delivery item status changed.The system should permit that a new
delivery can be created for sales order item already delivered / billed (a new delivery with the quantity that has being returned) but has a return document,
without increasing the sales order quantity.
Does any body got the same requirement ?
Thanks in advance,
MarcusHi Marcus,
After creating return order you have to do the goods receipts.But this doesn't mean that you will be able to create a delivery with the old order itself.
You have to create the order again and ahve to create a new delivery,goods issue and billing.
Another option is as Roberto said that you have to reverse the goods issue thru VL09 and then cancel(delete) your delivery and then you can create a new delivery wr.t to your original sales order.
Reward points if it helps.
Regards
Karan -
Creating Outbound deliveries based on the sales order schedule lines
Dear all.
Is it possible to create outbound delivery documents based on the sales order schedule lines?
Eg:
Let's say I have sales order line item 10 with below mentioned requested delivery dates in its schedule line level.
30.07.2009
10.08.2009
20.08.2009
30.08.2009
Will it possible for me to create different deliveries for those 4 schedule lines individually? I should be able to create 10.08.2009 delivery without clubbing 30.07.2009 delivery with it.
Appreciate your help!I'm not sure because I'm not before SAP but try transaction VL10E that is to create delivery for schedule lines. I'm not sure what are the split criterias.
Please check OSS note 113411 tha has many OSS note reference in this subject.
Regards,
Csaba
Edited by: Csaba Szommer on Jul 29, 2009 2:38 PM -
Complete MRP status according to Sales order schedule line data
Dear All,
Please help me to get technical configuration releted to
"complete MRP status according to Sales order schedule line data"
or MRP w.r.t. Schedule line
Please send fields and table and logic specification .
Thanks & Regards,
Ashish GautamYou can use following Fm for change sales order
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = p_vbeln
order_header_in = s_order_header_in
order_header_inx = s_order_header_inx
behave_when_error = 'P'
TABLES
return = it_return
order_item_in = i_order_item_in
order_item_inx = i_order_item_inx
schedule_lines = i_sched
schedule_linesx = i_schedx. -
Sales Order schedule line from CN to CP
Hi,
When i update the sales order schedule line from CN to CP , the quantity is not showing in the MDO4.
Can any one help me.
Thanks in advance
Suresh SOnce the schedule line category is changed to CP, just hit the enter key and save. Now check in MD04
thanks
G. Lakshmipathi -
Link between Prod Order and Sale Order schedule line
Dear all,
Ours is a MTO (81).
In Scheduling Agreement / Sale Order , there are multiple schedule lines for a single item .
Production Orders are generated for every schedule line of the Item.
The client wants to know (for a custom developed report) , against which schedule line of the Sched Agreement/ Sale Order, the Production Order is generated ?
This Information can be seen in MD04.But I am not able to fetch from the tables .
The schedule line field (KDEIN ) is not updated in AFPO table & the order no (AUFNR) is not updated in VBEP table .
Say,
Sale Doc No : 42000506
Schedule line/Dely date Order qty Prod Order No
06.10.09 500kg 100170
15.10.09 300kg 100171
Pls give your valuable inputs.
Regards,
SheikHi,
Only Sales Order No & Sales Order Item No is updated in the table.
Whereas , I want to know the Sales Order Schedule Line no.
Regards,
Sheiki -
Hi All,
I am facing problems while updating a sales order. I have some custom actions in the middle. I am loading another custom window when tabbing out of Quantity field in Salesorder matrix. In that window I am updating batch quantity for the Sales order line from which I tabbed out using DI API to zero quantity. After that action,I am trying to update the Sales Order. Then I am receiving the error "There is a difference between the document total and its components. [Sales Order - Document Total (FC)] [Message 439-138]". Please help me on this issue.
Thanks
JishaHi John,
Thank you for the updation. Yes. I am working with an addon.
Let me explain my current environment and requirments.
I have 2 cases which I am mentioning below. In the given 2 cases , first case(adding Sales Order works well for me). Problem occurs while updation.
Adding Sales Order
When I am adding a new Sales Order, I am updating the batch allocation for the line items using DI API in the FORM_DATA_ADD_Event - Action success true section. (This section work successfully)
Updating the Sales Order
In the update mode, If I am changing the quantity for the Sales Order lines(I am mentioning here only the case when I am reducing quantiy) , the custom window opens for me to reallocate the batches for the new quantity. In this window, I am not updating the new batch allocation. Just I am clearing the existing batch allocation using DI API so that I can give the new batch allocation in the Sales Order window - FORM_DATA_UPDATE_Event - Action success true section.
After this step, when I am trying to update the Sales Order , I am getting the error"There is a difference between the document total and its components. [Sales Order - Document Total (FC)] [Message 439-138]".
Can you please give me a solution for this?
One more thing to note, If the unit price field for the line item is zero, the Sales Order is getting updated successfully. If the price is greater than zero, then only the problem occur.
Please let me know, if you need further details.
Thanks
Jisha -
Sales order some line items are showing not relavant
Hi SD Guys,
In sales order some line items are showing not relavant.
Why are they showing a status of not complete or "not relevant"?
Thanks
SunnyHi sunny,
plz check the each line item in the sales order controls by the item category, so check the item category , depends on the item category, pricing,delivery and billing takes place.
regards,
ram.
Maybe you are looking for
-
Error while deploying the application
Hi, I am trying to deploy an application on WLS 9.0 on Windows XP. I get the following error while deploying. "Cannot set web app root system property when WAR file is not expanded" Here is the command I used and the output. C:\bea\weblogic90\server\
-
Audigy 2ZS ongoing issue/need help ba
Specs:Intel Celeron D @ 2.93 ghzAsus P4S800D-XSB Audigy 2 ZSXFX GeForce 6600GT430W CoolerMaster2 x 52MB Kington?I recently upgraded my motherboard to the one listed above and now after installing my Audigy 2ZS card, my computer locks up during games
-
Folder sign every time i start my 30 gb ipod video!
I keep getting the folder sign everytime I start my Ipod video 30 gb then it goes out after it showes a file with a ! with a white backround then it goes off! can someone please help me.
-
BADI me_process_po_cust, no obtain decimals of menge field
Hi all !, I can´t obtein decimals in menge field when i use get_data method in badi me_process_item. it´s my code in process_item method. ref TYPE REF TO if_purchase_order_mm , re_items TYPE purchase_order_items ,
-
OBIEE 11g Application Performance Monitoring
Are there any best practices or recommendations for Application Performance Monitoring for OBIEE 11g? I see that from Fusion MiddleWare Control, we can navigate to Business Intelligence -> CoreApplication (right click) -> Monitoring -> Performance An