Can't open sales order for a deleted customer number
Dear all ,
i have deleted a customer cos it was repeated ,now there were some sales orders where that customer is a sold-to-party
when ever i try to open thous sales orders the systems gives an error message [ no customer record exist for sold to party ******* ]
the sales orders that does not open because of this error are no more wanted
would you advise about how to delete them ?
thanks and best regards
well,
thanks for the fast reply but
the customer no. is generated automatically and I can't assign the same number again .
Similar Messages
-
How can i get the open sale orders for given material no and plant
Hi,
I have to retrieve the open sale orders depending on the material number and plant.
For only open sale orders at header level and item level.
I want to use VBUK-GBSTK to find open sale order at header level and
VBUP-GBSTA at item level.
Can any one suggest me the best logic as performance is concerned?
Thanks,
Kumar.hi Prasanth,
select werks matnr from ZVSCHDRUN into table it_plant.
sort it_plant by matnr werks.
select
vbeln
posnr
matnr
werks
erdat
kbmeng
vrkme
from vbap
into table it_vbap
for all entries in it_plant
where matnr = it_plant-matnr and
werks = it_plant-werks.
and again i have to write one more select query for vbup.
am i right? -
BAPI:Create sales order from an existing open sales order for open items
Dear All,
Could any one suggest me any BAPI that can create sales order from an existing OPEN sales order for OPEN items. since we are closing all open orders and creating new orders with reference to existing open orders. please suggest, its would be great help.
Regards,
Reddyhi suresh,
we are changing tax procedure from formula to condition based, so this is the reason we have close all the open orders and recreate in TAXINN procedure, it is going to be large number of records( open orders), so....
Regards,
Reddy -
Total of particular items of various open sales orders for particular cust
HI.. following are my Items code :
2009, 8010, 8016, 9831, 27363, 27361, 27360, 27181, 16095.
i want the report that consists of all items to be delivered to the customer. I have created the following query :
SELECT T0.CardName AS 'Dept_Name',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '2009') '2009',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8010') '8010',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8016') '8016',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '9831') '9831',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27363') '27363',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27361') '27361',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27360') '27360',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27181') '27181',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '16095') '16095'
FROM ORDR T0
but i want the total of particular items of various open sales orders for particular customer.
pls improve the above query.
thanks
reemaHi,
Try this
SELECT T0.CardName AS 'Dept_Name',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '2009') '2009',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '2009') 'All 2009',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8010') '8010',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8010') 'All 8010',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8016') '8016',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '8016') 'All 8016',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '9831') '9831',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '9831') 'All 9831',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27363') '27363',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27363') 'All 27363',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27361') '27361',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27361') 'All 27361',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27360') '27360',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27360') 'All 27360',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27181') '27181',
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '27181') 'All 27181',
(Select SUM(isnull(T1.OpenQty,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '16095') '16095'
(Select SUM(isnull(T1.Quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '16095') 'All 16095'
FROM ORDR T0
Regards,
Bala -
Searching for Sales Order for the given Customer PO Number Pattern in BAPI
Hi,
I have developed a BAPI which retrieves all the Sales Orders for a given Customer (Sold-To). The Following are the Input Parameters given in the Function Module (RFC).
Customer Number (Mandatory)
From Date (Optional)
To Date (Optional)
Sales Order Number(Optional)
Customer PO Number(Optional)
Now, when the Customer PO Number is populated, it will come as a Pattern, say 9ab* and I need to retrieve all the Sales Orders with PO Number starting with 9ab.
When I am trying to retrieve, it is giving different set of output based on the Case specified in the Customer PO Number Pattern. Lets say, if I give 9ab, I get 200 Records but if I give 9AB, I get only 5 to 6 Records.
As I have understood from the Standard Transaction VA03, it has a Search Help VMVAA which retrieves all the Sales Orders for the given PO Number pattern irrespective of the Case, that is Lower Case, Upper Case or Mix of Upper and Lower Case.
I can see the Code in the Search Help Exit but couldn't find useful piece of code which I can implement in my BAPI to simulate the same.
Can somebody help me on this?
Thanks,
Venkat.Hi Sudhir,
I think you did not understand what my problem is. What I mean to say is, for Customer X, the PO Number could be 9abc and for Customer Y, the PO Number Could be 9ABC.
So, according to your logic, if I translate it to Upper Case, it will give the Sales Order details of Customer Y to Customer X.
And more over, SAP stores the PO Number as it is entered in the Sales Order Screen (VA01).
What if the Customer PO Number for Customer X is 9aBcDeFgH? and the PO Number for Customer Y is 9AbCdEf?
Hope you've understood my question.
Thanks,
Venkat. -
Retrieve the sales orders for a particular customer in selection screen
Hi
I want to retrieve the sales orders for a particular customer(entering customer number field in the selection screen and then clicking on f4 help on sales order field in the selection screen I should get only sales order numbers for that particular customer number).How can I achieve this through search helps?Are there any standard search helps that I can use.
<removed_by_moderator>
Edited by: Julius Bussche on Apr 9, 2009 12:55 PMHi,
try this:
at selection-screen on value-request for p_par.
select * from vbak
into itab
where kunnr = p_par.
then use the FM 'F4IF_TABLE_VALUE_REQUEST'.
with
retfield = 'VBELN'
dynprog = sy-repid
dynpnr = sy-dynnr
dynprofield = <name of parameter>
value_org = 'S'
tables = itab.
Regards,
Leo. -
Display list of sales orders for one particular customer using BAPI in WD
Friends,
i want to display list of sales orders for one particular customer, the materials ordered, quantity ordered, goods issue date of that particular order and contact information about that particular customer, using Webdynpro.
Please somebody send me related info,blogs,help links , to complete this task, this is very urgent.
Please help
PeterFind the WD tutorials here...
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20sample%20applications%20and%20tutorials.htm">Tutorials</a> -
Hi all,
As everyone must be knowing in FD32 we can see Sales value ( Open sales orders + Open deliveries).
For one of my customers i can see an amount in open sales orders field, but i could not find the SO in VA05 report.
Can anyone help me to find list of Open sales orders which are reflected in FD32 sales value field.
Thanks all.
RajeshDear Rajesh sandbhor ,
First please check whether there is any value in FD32>Extras>Sales Value.
If YES, then Instead of going for VA05, in fd32, go to environment>sales and distribution documents>open orders.
Please check and revert back if there is any issues.
Thanks & Regards,
Hegal K Charles -
Table Name to take report of Open Sales Order items&its relevant GL Number.
Hi,
I wanted to take a report with Output as Open Sales Order Items and its relevant GL account numbers. is there any T Code in the Standard or atleast the table name.
I have already fetched the Open Sales Order Items from T code VA05, but i need the relevant GL account numbers also.
Any pointers on this will be appreciable.
Rgds,Hi
There are no standard reports where in you can fetch the data of the open sales order items and its G/L accounts with the output. But by creating your own report using LIS then it is possible
Regards
Srinath -
Can not open sales order balance from BP master data
Hello All,
for a particular customer i am not able to open the sales order balance field in BP master data.
It is showing the amount but the orange arrow does not appear.
can any one please tell me why i am not able to drill down into Sales order field in BP master data?
Thanks in advance.
Prachi Kulkarni.HI Gordon,
All the users are getting this issue for the particular customer.
even my self (super user) also not able to drill down into the sales order field.
we have assigned Professional Licenses to all the users.
Thanks,
Prachi. -
Need Standared report for Open Sales order for all customers
VA05 is not useful as it gives this list for individual customers.
We need to see a list of all open orders for asll customers in one report only.
Thanx in advance.Hello,
did you try with transaction SDO1 - Orders Within Time Period? If it doesn't fit your requirements I suggest you to create a query.
Best regards,
Andrea -
How to create a sales order for one-time customer
Hi all,
I have a requirement where in creating a sales order, I have to add the tax code for one-time customer. This is not the tax jurisdiction but it is a text field that you can see in Further attributes and it will store in VBPA3 table.
My plan was create sales order first using SD_SALESDOCUMENT_CREATE or BAPI_SALESORDER_CREATEFROMDAT2. Then I used BDC of va02 for changing the salesdoc. But the problem is, we can't proceed because there's a message "TAX HAVE REDETERMINED" that it doesn't included in recording a transaction.
Another one is, instead of calling the standard bapi, I used BDC for VA01. Again, upon recording there was anothe message popped up "FREIGHT REDETERMINED". And it's not in the recording so we can't proceed.
Would you know what field is for the tax code when I use SD_SALESDOCUMENT_CREATE or any standard bapi? Is there other way aside from calling a standard bapi or bdc?
Points will be given..Thanks!Good afternoon Bella,
We are in a project that exactly need this solution. Could yoy please explain me how you solve the issue ?
Kind regards -
Single invoice against mutiple sales order for a single customer PO
Hi all,
Customer provide a single order via EDI per Depot. When the order is received into SAP these are split into multiple order based on the Production or distrubtion location of the products. The customer will receive a number of deliveries to the depot from the various locations. Each delivery has his own SAP sales order and delivery note. This creates mutliple invoice against a single Purchase order sent by the customer.
We have a requirement from two customers that they only wish to receive a single invoice per depot per day. This means we need to change the way we currently invoice the customers(no multiple invoices needed).We need to be able to combine multiple deliveries with the same PO to a single invoice. This would mean that the invoice can't be generated until all the deliveries relating to the single PO have been POD flagged or 7 days have passed from PO date and invoicing is due.
how to achieve the above,whether through user exit in billing or data transfer routine in copy control(delivery to billing) or through config and how ??
regards
sachinFor generating collective invoice from deliveries, you can customize the copy control (VTFL) as per your need. Please see the copy requirement 004 and data routine 001.
Bye
Ellath -
Single invoice against multiple sales order for a single customer PO
Hi all,
Customer provide a single order via EDI per Depot. When the order is received into SAP these are split into multiple order based on the Production or distrubtion location of the products. The customer will receive a number of deliveries to the depot from the various locations. Each delivery has his own SAP sales order and delivery note. This creates mutliple invoice against a single Purchase order sent by the customer.
We have a requirement from two customers that they only wish to receive a single invoice per depot per day. This means we need to change the way we currently invoice the customers(no multiple invoices needed).We need to be able to combine multiple deliveries with the same PO to a single invoice. This would mean that the invoice can't be generated until all the deliveries relating to the single PO have been POD flagged or 7 days have passed from PO date and invoicing is due.
how to achieve the above,whether through user exit in billing or data transfer routine in copy control(delivery to billing) or through config and how ??
regards
sachinHi Sachin,
You will have to create a new data transfer requirement on the copy control between the delivery and the invoice. In the new data transfer requirement, you will need a programmer to code when there should be an invoice split.
Regards,
Finbarr -
Open email, search for text, delete X number of lines and/or paragraphs?
How would one go about this?
I have existing code that uses the objActionsMenu.Execute to "resend" the message, essentially creating a new email that I can edit.
I would like to be able to:
1) Search for a keyword
2) Move to the end of the line and/or paragraph
3) Delete the contents
The reason is that I often receive important emails with 50+ lines of names and email addresses on the "To:" or "CC:" lines. I want to quickly and easily remove these so I can get to the important part of the email.
Am I going about it the right way? If so, how would I accomplish this? Thanks.
How would one go about this?
I have existing code that uses the objActionsMenu.Execute to "resend" the message, essentially creating a new email that I can edit.
I would like to be able to:
1) Search for a keyword
2) Move to the end of the line and/or paragraph
3) Delete the contents
The reason is that I often receive important emails with 50+ lines of names and email addresses on the "To:" or "CC:" lines. I want to quickly and easily remove these so I can get to the important part of the email.
Am I going about it the right way? If so, how would I accomplish this? Thanks.
I think you maybe in the wrong forums :). This is for Excel and not Outlook. This is a general VBA question though. The easiest way to do this is the following:
-Assign the content of the email body to a string variable.
-Use the split function to split at the keyword, and keep the string portion BEFORE the keyword.
-Assign the split string back to the email body so something like this:
Public Sub ReplyWithAttachments() ' Ensure reference to Word Object model is set
Dim rpl As Outlook.MailItem
Dim itm As Object
Set itm = GetCurrentItem()
If Not itm Is Nothing Then
Set rpl = itm.Reply
rpl.BodyFormat = olFormatHTML
rpl.display
End If
Dim objDoc As Word.Document
Set objDoc = rpl.GetInspector.WordEditor
Dim txt As String
txt = objDoc.Windows(1).Document.Range.text
txt = Split(txt, "To")(0) '
objDoc.Windows(1).Document.Range.text = txt
End Sub
Function GetCurrentItem() As Object
Dim objApp As Outlook.Application
Set objApp = Application
On Error Resume Next
Select Case TypeName(objApp.ActiveWindow)
Case "Explorer"
Set GetCurrentItem = objApp.ActiveExplorer.Selection.Item(1)
Case "Inspector"
Set GetCurrentItem = objApp.ActiveInspector.CurrentItem
End Select
GetCurrentItem.UnRead = False
Set objApp = Nothing
End Function
Maybe you are looking for
-
User Exits for transaction VF01 before saving the billing document
Can any one say is there any user exit which exits before saving the billing document since i want to check the net value of the billing with the net value of sales order so that it should not go beyond the total amount specified in sales order.
-
Error "FI 606 no commitment items selected" during Goods Receipt
Hi, We use Fund Management and Material Ledger in ECC 6.0. Posting goods receipt for material with price control S (Standard price) were successful, but whenever we post goods receipt for material with price control V (Moving average price), the foll
-
How do I clear history on firefox on my android
hpw do i clear history on my android
-
Adobe AIR application certificate
Hello, I want to get adobe AIR signed certificate for my AIR application. While searching on web i came across different different sites who are offering adobe AIR certificate. Can any one tell me which one is good and authentic. Can i buy certificat
-
Editing date in Organizer - but how can i 'hard' write that new date to the actual files?
Hi, i have a number of files which were created by digitizing about 40 anolog tapes. These tapes have been 'split' into clips(largish) using AV cutty software [it worked v well] and therefore have about 25 avi files per tape. I have now imported all