Close open sales order with no subsequest documents
Hi,
I have a scenario where line items in a sales order have been rejected citing a reason. But for two of these line item materials in a report are showing up as open with zero quantity (comes up as error in report). The quantity of all line items in the sales order is zero. These line item description column is complete.
how can this be corrected. how the sales orders can be made completed, without deleting line items.
Thanks
Sharan
Just a quick check,
do all items you rejected have been assigned the same reason for rejection.
Similar Messages
-
Change open sales order with new condition schema
Hi SD Experts,
I have to change condition type on condition schema. For example, now we have ZPVI (Discount %). I have to change with ZPFI (Discount %). But we have some open sales orders with old schema. Can I correct old sales orders with new condition schema? Is it possible?
Thank you.
Gulay Celik>
Shai Sinai wrote:
> 3) The item categories of document items are assigned to billing plan types. This customization does create separate billing plan for each item, but the billing plans of item are refrenced to the header billing plan (according database field FPLA-RFPLN and screen field RV60F-KFREL), what means that item's values are not taken into consideration.
>
In this case it is obvious that it's not possible to have an item on the same document, which would have a billing plan different from the header. Unless, of course, you are ready to change the existing configuration or create a new item category, which would be independent from the header billing plan.
If, despite configuration, such entry is possible in VA41/VA42, then you'll have to use BDC instead of BAPI. Unfortunately, BAPIs do not have all the same functionality that might be available in the transaction. -
Hi,
We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
One way is to reject the open line items. However, rejection reduces the original customer sales order value.
Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
Would appreciate inputs from the forum
ThanksHi
In standard itself this can be achieved
In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
Then those rejected values will not be reflected in sales order
Suppose a sales order contains three materials say
Material A qty 3 units
Material B qty 3 units
Material C qty 2 units
Each and everything is priced as 10 US dollars
then the nett value of this order will be 80 US dollars
Suppose if you reject Material C qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will be 80 US dollars and will not become 60 US dollars
This is what you are looking for (i hope so)
Please try this
Regards
Raja -
SD report for the open sales orders with items
Hi,
Is there any standard SAP report which display open sales order togeather with the open items. I want to have columns target quantity, delivered quantity and open quantity.
Any tip?
BR
SasoDear Saso,
I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
Best Regards,
Amit
Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd. -
Creating Query to show items from open sales orders with a/p invoice
Hi experts,
I am trying to create a query that will show what items/quantities are still in open sales orders that can now be filled by an incoming shipment of goods, processed through the a/p invoice.
This needs to be done using subqueries, which I have no experience with. I am trying to do this using the ORDR and RDR1 tables to show the open items from the sales orders and the OPOR and POR1 tables to show items just received in to inventory. I would like the query to show exactly the open item's, their quantities, the posting date from the sales order and the customer name that can now be filled from the new shipment through the a/p invoice.
I appreciate the assistance,
Hayden (on behalf of Todd)Hello,
try this
SELECT T0.[DocDate], T1.[ItemCode], T1.[Dscription],( T1.[Quantity] - T1.[DelivrdQty]) As "Open Qty" FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDueDate] <= [%0]And ( T1.[Quantity] - T1.[DelivrdQty]) != 0
Try this query in query manager.
Thanks
Manvendra Singh Niranjan
Edited by: Manvendra Singh Niranjan on Jul 13, 2011 6:27 AM -
Query for all open sales order with a date range
Hi Experts!
I wrote this query that will look up all open sales order of a particular customer and how much was served:
SELECT T0.[DocNum] 'OS #', T0.[DocDate] 'Posting Date', T0.[CardName] 'Customer', T1.[Dscription] 'Item Description',T4.[SalUnitMsr] 'Sales UOM', T4.[InvntryUom] 'Invty UOM', T1.[UseBaseUn] 'Use of Invty UOM' , T1.[Quantity], T1.[Quantity]-T1.[OpenQty] 'Served Qty', T1.[OpenQty] 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.[DocStatus] = 'O' and T0.[CardName] =[%0]
However, I don't know how to input a parameter for the date range in a query. Can anyone help with this issue?
Your input will be highly appreciated.
Warm regards,
JenHiiiiiii
Try This.....
SELECT T0.DocNum 'OS #', T0.DocDate 'Posting Date', T0.CardName 'Customer', T1.Dscription 'Item Description',T4.SalUnitMsr 'Sales UOM', T4.InvntryUom 'Invty UOM', T1.UseBaseUn 'Use of Invty UOM' , T1.Quantity, T1.Quantity, T1.OpenQty 'Served Qty', T1.OpenQty 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.DocStatus = 'O' and T0.CardName ='[%0]' and (T0.DocDate>='[%1]' and T0.DocDate<='[%2]')
Regards, -
Deleting Sales order with no subsequent documents
Hi Gurus,
As part of the development work , I have created many sales orders, few of which do not have any following documents. I would like to know the T.Code or process to get the list of all the sales order which do not have followHi Kumar,
One way is to Goto VA02 T.Code.
Enter the order number.
Click on sales order which is present in menu bar.
Click on delete.
But it is not advisable.
another way is to provide the reason for rejection for the salesorder.
These are the ways of deleting a sales order one by one.
For bulk deletion the ways are:
One way is to use the T.code MASS to delete the sales orders .
Another way is , go to VA05 and in the Menu->select the Reason for rejection and put reason for rejection and close the sales orders .
Regards,
Krishna. -
How to close automatically sales order with open items ?
Hi,
There is a request from a client:
he would like to be able to close the open items of a sales order which are not billed automatically according to a specific calendar. Moreover he would like to specify that ,generally speaking, the customer does not want to be delivered another time if there are leftovers in the sales order.
I read in other posting that manually you can close open items in a sales order by adding a reason of rejection for the line item. Nevertheless, I do have one question about that. Imagine we only have one line of 100 pieces and we only deviver 90 pieces. When we put a reason of rejection in the sales order item of 100 quantity, what exactly will happen? How the system will know it only has to reject the 10 non delivered pieces and not the 100 pieces mentionned in the line item ? I also read that the price would change to zero but how can this be correct if we have 90 pieces to bill ?
Thanks a lot for all your answers.
StéphanieDear Stephanie,
the reason for rejection change the status of the item itself to completed and it move the item from "active to be processed" to a simply statistical status.
In the scenario you mentioned, as the reason for rejection is applied to the full item, you will set the full item as statistical, but your 90 pieces will continue being delivered and even eventually invoiced.
Some discrepancies you may find only running some statistical reports, where also the net values information would not be in line as per your expectation.
In order to prevent this discrepancy issue, I would advice you to contact a good abaper and develop a program that may massively rejects open items with not confirmed quantities, creating a new item for the open quantity if the sales line is partially confirmed.
It means that, in your scenario:
Order A > Item 1 for 100 pieces
> only 90 pieces delivered & invoiced
> 10 pieces open
the result would be the following:
Order A > Item 1 for 90 pieces
> 90 pieces delivered & invoiced
> Item 2 for 10 pieces rejected
In this way you keep under control any report you may generate out of your sales and you can set as statistical items only quantities not processed further.
I hope this explanation may help you.
For any additional information on the reason for rejection I would remind you to SAP documentation and if you have the possibility to try to customize ans set your system with reason for rejection in order to discover directly with your eyes how these work.
Regards, -
Dear Guru,
In our company scenario we have created one contract of 200 quantity and with reference to this contract we have created sales order of 100 quanitty out of 100 quantity 50 was delivered and invoiced. If we closed this open (50 quantity) sales order by selecting reason for rejection then fully quantity of sales order becomes 0 and full quanity of contract shown open.
For Example.
Contract quantity: 100 Quantity
Sales Order Quantity: 10 Tons
Delivery & Invoiced Quantity: 9 Tons
If I put a reason for rejection for this item I expect to have the quantity which has not been delivered / invoiced and has been rejected added to the open quantity (90 + 1=91). However, after selecting a reason for rejection, the total quantity of the item goes back to the contract (Contract with 100 Tons).
Thanks in advance,
Kind Regards,
Viru MHi Viru,
Please consider reducing the sales order item quantity.
Best regards. -
SQL Queries for open sales orders with no invoice.
Hello all!
Is there a way to make a query to find out if there are any uninvoiced sales orders older than 5 days? I am having difficulty figuring out how the invoice is linked to the sales order.
I am more familiar with excel than SQL but I'm guessing it will be similar to the following:
SELECT * FROM ORDR WHERE today's date - posting date>5 AND (not sure what to check here for the invoice having been created)
**Note: my syntax is of course not exactly correct, this is just to give you an idea of what I'm looking for
Has anyone had to do this before or know how it would be done? It would be very useful for me.
Thanks!
MikeHi Mike
The document link is built on row level so the RDR1 should be used instead of ORDR to server your propose.
You could use this query to get all the lines do not link to a invoice.
*targettype 13 refers to target document invoice
select t0.docentry,t0.docdate,t0.linenum,t0.itemcode,t0.quantity,t0.price,t0.linetotal
from rdr1 t0 join ordr t1 on t0.docentry= t1.docentry
where t0.trgetentry is null and t0.DocDate < dateadd("d",-5, getdate()) and t1.docstatus = 'O'
or just use this query instead to find those lines do not link to any document
select t0.docentry,t0.docdate,t0.linenum,t0.itemcode,t0.quantity,t0.price,t0.linetotal
from rdr1 t0 join ordr t1 on t0.docentry= t1.docentry
where t0.targettype !='13' and t0.DocDate < dateadd("d",-5, getdate()) and t1.docstatus = 'O'
Please modify the code according to your needs.
Regards,
Syn Qin
SAP Business One Forums Team
Edited by: Syn Qin on Aug 11, 2008 5:20 AM -
Open sales order with changed Division
Dear All ,
here we have one query :
material X , common in plant 1000 & 2000 .
in plant 1000 we have division 40 , created sales order and partially delivered , after partial deliver i have changed division to common 00,
now is it possible to deliver the remaining partial ?
RegardsDear Venky
First of all you should be aware that if you change the Division in basic data 1 for plant 1000, it will change for plant 2000 also
Second, in order to do further delivery,
- Assign the division 40 to 00 in VOR2
- Assign the sales area in OVAZ (with cross division 00)
thanks
G. Lakshmipathi -
Open sales order report with billing date.
Hi,
I want to know if there's an available report for open sales order with billing date field.
Thank you.Hi,
If your case is "Order-related" Billing,you can use the T.Code "VF04" for this purpose.
One more way is to go for a custom report.
Make a copy of code of the T.Code "VA05n"(Program Name is "SD_SALES_ORDERS_VIEW").
Change the code as per your requirement to display the field "Billing Date" in the report.
Check with your ABAPer if you wish to go for a custom report.
Regards,
Krishna. -
Dear
Expert,
My client wants to close all the open sales order, I tried with VKM3,VA02, VA05, MASS, given the reason for rejection,but after that when I am going to VA02 and giving a line item and then going for VL01n, its working.
Now I want to stop that thing.
That is don't want to process any thing even though a line item is added after VKM3,VA02, VA05, MASS, alternatively any solution to close open sales order whether it is fully delivered or partially delivered.
I searched in forum but I didn't got any proper solution.
Waiting for earliest reply
Thanks in advance
Regards
Deepankar SenguptaSo you want to prevent the possibility to add new items when some items have been rejected?
Then you should use an user exit:
Adding new Line Items to Sales Order from a closed period
If you want to prevent rejected items from appearing in subsequent documents, use requirement 301:
SALES ORDER REASON FOR REJECTION NOT WORKING . -
Mass update exchange rate type (not rate) in open sales orders
Hi all,
Our requirement is to update the exchange rate type at sales order header (VBAK-KURST) for all open sales orders with a new type created. (Z001). This field does not appear in MASS transaction for sales orders despite being present in the structure MASSSDHEAD.
This field cannot be located even in VA02 transaction (I am not sure if standard SAP masks or shows this field at header; I also can't find any transaction variants assigned).
Can anyone suggest how this field can be updated for sales orders either individually or in mass mode.
Regards,
KC
SAP SDYou are correct in indicating that Exchange rate type field is not seen in Header data of sales order. I checked screen layouts for various screens for sales order data and this field is not suppressed. The only reason could be that this field is not used in sales order screens
If you are interested, you could also check in the following way
1. Go to SE11, enter database table as VBAK
2. Once inside data dictionary table, click where used list button, select programs and screens and execute
3. click continue (don't select background)
4. now you would have list of programs and screens, this table is used
5. now start another session and go to transaction SE51
6. indicate program name as SAPMV45A and screen numbers as listed in step 4. you can check all screen numbers to see whether Exchange rate type field is listed in sales order layout.
7. Of particular interest would be screen number 4311 as this contains Financial accounting data & 4303 Billing data
8. you can check screen layout for screen 4311 & 4303. you would see Exchange rate type field is not indicated.
9. in case you could find this field in any screen, you could ask your ABAP consultant to add this field in the layout screen.
Hope this answers your question -
Dear Experts,
I have a similar requirement i.e. A good Volume of Open Sales Orders which are to be Closed. The Status of these Sales Orders being Partially Delivered, Not Delivered and Being Processed. Can I have a best solution to close them via an SAP transaction or with an ABAP Program. Kindly give us a detailed Solution to proceed.
Regards
HariHi,
As i understood, you want the STATUS of the orders to be COMPLETE.
For this you have to do some settings in the ITEM CATEGORY in VOV7
Goto the Transaction code VOV7 and select the ITEM CATEGORIES for all those documents and maintain the *COMPLETION RULE as A.*
Now check creating the new documents after executng the full cycle.
thanks,
santosh
Maybe you are looking for
-
how can I find what the charges aree to my credit card from the apple store? I get multiple charges every month and don't know what they are for...I want to cancel whatever is being charged to me...how do I do it?
-
10133 ADF: How to stop search button to execute when there is an error
Hi, I have two dropdownlists in a search criteria on a search page. The search result is at the bottom of the same page. The two values in the dropdownlists need to be validated when the search button is clicked. The validation logic is put in the se
-
Why are my images no longer in their folders?
My photos are all within lightroom, all 24,000+ images. I had them organized them in folders by year, month and date. For some reason, my folders for April 2014 were being downloaded in another place in the library. I was having to move them down
-
How to allow page visitors to download a whole photo album
hi guys i think i have seen on mobile.me hosted websites an option to allow visitors to download a whole photo album as a zipped file. i would like to offer the same to my visitors but host my site not at mobile.me but a private hosting company. is t
-
Custom screen in BBP_CUF_BADI
Hi, I know that this topic was discuss a million time on the forum, but I still didn't get how to put my customer fields in customer screen. I append the structures as it's describe oss note 458591 and 672960 and use badi bbp_cuf_badi. Everything is