Sales status Report
Dear Experts,
I have a requirement where I need to display the Delivery status ( Delivered or undelivered ) and invoice status ( Invoice created or not created ) against the created Sales order.
Kindly tell me the fields and tables from which we can get the specified Info.
Thanks & Regards,
Murthy.
Hi,
Checkt the table VBUK and the field Delivery status and Billing status at the header level.
Check VBUP also if required.
You can also use the following tables which is combination of VBAK and VBUK.
Also VBRK and VBUK.
VBAKUK Sales Document Header and Status Data
VBRKUK Billing Document Header and Status Data
Edited by: Bhaskar C.R on Apr 6, 2009 2:53 PM
Similar Messages
-
Dear Expert.
I want Sales Order Status report as below mentioned format required quarry base report from Date to To Date.
Location-OrderSeries-OrderNo-CardCode-CardName-ItemCode-Item Descripotion-Inv.UOM-Order Qty-Allocated Qty-DeliverQty-Peniding Qty adn Pending Order Value.Hi,
You can check this :
select t3.location as 'Location',t0.series as 'Order Series',
t0.docnum as 'Order No.',t0.cardcode as 'Business Partner Code',
t0.cardname as 'Business Partner Name', t1.itemcode as 'Item',
t1.dscription as 'Item Name', t2.invntryUom as 'Inventory UoM',t1.quantity as 'Order Qty',
t1.QtyToship as 'Allocated Qty- Qty to Ship', t1.delivrdQty as 'Delivered Qty',
t1.OrderedQty as 'Ordered Qty', t1.openCreQty as 'Pending Qty',
t1.Opensum as 'Pending Order Row Value'
from ORDR t0 inner join RDR1 t1 on t1.docentry = t0.docentry
inner join OITM t2 on t2.itemcode = t1.itemcode
inner join OLCT t3 on t3.code = t1.loccode
where t0.docdate >= '2011.01.01' and t0.docdate <= '2011.12.31'
Hope it helps.
Kind Regards,
Jitin
SAP Business One Forum Team -
Hi,
Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced.
Scenario is- I have to populate report columns like
0-25000 25001-50000 50001-100000 100001-200000 200001-500000 500000>
And analysis has to be shown in the report rows : Sales District. In Columns only number of sales order in each district would be entered as a number. Example- of for district ZMJT there are 3 order are in pending stage having quantities 35000 then entry 3 will come in first column and so on. Following are other columns for drill down purpose.
Input Fields:
Date Range
Company Code
Currency Type
Sales District
Sales Group
Analytical Fields-
Sales Org.
Distribution Ch.
Division
Sales Order No.
Sales Order Dt.
Sales District
Tube Dia
Tube Length
Laminate Structure
Application Category
Customer
Customer Group
Sales office
Sales region
Sales Order Qty
Sales order Value
Regards,
RitikaHi,
We have standard extractor 2LIS_11_VASTI (Sales Document Item Status) for getting the status.
Regards,
Vamsi Krishna -
I Need Sales Order Status Reports using ALV
Hi I Need Sales Order Status Reports using ALV.
HI!
For alv use REUSE_ALV_GRID_DSPLAY function module.
For the given report fetch data from the tables:
VBAK - sales order header
VBAP - sales order details
VBUK - sales order header status
VBUP - sales order items status
Regards
Tamá -
Sales order delivery status report
Hi,
i have to give a report on sales order delivery status report which displays the sales order information and delivery status details. and also please let me know the tables.
thanking you in advance.Hi,
For the document header and document items, VBAK and VBAP, you can find the delivery status in the table VBUK and VBUP respectively.
The fields are VBUK-LFSTK
In VBUP, the field is VBUP-LFSTA which can take values, null, A, B, C for not relevant, Not yet processed,Partially processed and Completely processed
Based on this, you can write your report.
Hope this helps. You can reward if this helps. -
Sales Analysis report results are being affected (or eliminated) by SQL
When running Sales Analysis by Item (Item Tab), the client keys in item 15454*
in the From and To Field and selects the first and last Item Codes listed
in the result set. The first item code is The results of the Sales Analysis report includes items from 15454-048E-1-41.3 through 15454E-XC-10G.
The result set stops at itemcode 15454-EIA-SMB-B84 despite that fact that there
are many items with sales with Item Codes higher than the 15454-EIA-SMB-B84.
The SAP support rep highlighted that the application is ignoring the dash in it's filtering priority even thought the item lookup is accounting for the dash. The response is that this is the behavior of SQL server.
It is true that SQL does ignore dashes and possibly other special characters in sorting nvarchar fields. However, it is important that the lookup (to select a range of items) and the result set remain consistant in the application regardless of the database/datatype.
With no ability to customize (or fix) the report from the field, we are requesting this a a design change. We recommend testing with all other special characters as to ensure that the report is actually producing accurate results.Hi Peter.......
Welcome to SAP Forum....
You can try this report which gives you result of Sales Order regardless of Current Status...
Select * From ORDR T0 Inner Join RDR1 T1 on T0.DocEntry=T1.DocEntry
Put the desired field in place of * which ever you want in report......
Regards,
Rahul -
What is table field name for order status report of rate per unit and bal
hi i want to make FS for order status report i almost get all table and field but i don't get only two field rate per unit and balance value table field didn't get please help me searching in field and table
i want to develop my status reportHi,
Check tables VBAK and VBAP wherein you will get all header and item details.
VBUK and VBUP for header and line item statuses.
KONV would give you rates/pricing details for each condition type determines in the sales order.
VBAK-KNUMV = KONV-KNUMV is how you relate both of them.
Hope that helps.
Regards,
Amit -
Hi,
What are the tables I should use for the following reports.
1. I want to create sales order status report for given sales office, sales group and creation date.
2. Open sales order report which covers all organizational levels, delivery status, invoice status shipping details and partner function details.
thanks in advance
with regards,
VCFor 2nd Q, you can find the open sales orders in the same VBUK table.
Delivery status field is LFSTK.
Invoice status field is RELIK
The partner information is available in Sales Document: Partner table VBPA. -
Credit Block released Sales order report
Hi Experts,
My client is given few sales orders (around 4)no and requesting us, to prepare the credit block released sales orders report (include released person user ID).
*.No change logs is existing for all sales order and deliveries.
For above requirement I am using CDHDR table data but I am not getting credit block released sales order report.
Below fields I am using in CDHDR Table.
Change doc.Object (objectclas) : VERKBELEG
Document No (CHANGENR): Sales order no XXXXXXX
Transaction no (TCODE) : VKM1,VKM2,VKM3
Date(UDATE) : 25.09.2011 to 09.11.2011
Experts, Can you please help me out for this.
Thanking you!!!!
Regards,
Vijaykumar Kola
*.I'm already aware of this is a new development.Try this, simple report... Here we check the new value of credit status field VBUK-CMGST and if it is 'D' we know that someone used VKM* transaction to release the document. Also you need to format the sales order number with leading zeros so it occupies all 10 digits and pass it to CDHDR-OBJECTID field (and not CHANGENR field). In the below code I am using select option for sales order number, so I know it will be formatted with leading zeros and so select on CDHDR will be successful.
*& Report ZTV_TEST
REPORT ztv_test.
TABLES: vbak, cdhdr.
SELECT-OPTIONS: s_saldoc FOR vbak-vbeln OBLIGATORY,
s_udate FOR cdhdr-udate.
RANGES: r_objid FOR cdhdr-objectclas.
DATA: ls_cdhdr TYPE cdhdr,
ls_cdpos TYPE cdpos.
IF NOT s_saldoc IS INITIAL.
LOOP AT s_saldoc.
MOVE-CORRESPONDING s_saldoc TO r_objid.
CONDENSE: r_objid-high, r_objid-low.
APPEND r_objid.
ENDLOOP.
ENDIF.
CHECK NOT r_objid[] IS INITIAL.
SELECT *
INTO ls_cdhdr
FROM cdhdr
WHERE objectclas = 'VERKBELEG' AND
objectid IN r_objid AND
udate IN s_udate AND
tcode LIKE 'VKM%'.
SELECT SINGLE *
INTO ls_cdpos
FROM cdpos
WHERE objectclas = ls_cdhdr-objectclas AND
objectid = ls_cdhdr-objectid AND
changenr = ls_cdhdr-changenr AND
tabname = 'VBUK' AND
fname = 'CMGST' AND
value_new = 'D'.
IF sy-subrc = 0.
WRITE:/ ls_cdhdr-objectid(10), ls_cdhdr-username,
ls_cdhdr-udate, ls_cdhdr-utime.
ENDIF.
ENDSELECT. -
Regarding Sales Order Report in SD
Hii
I want to create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details.
Any inputs would be appreciated
Regards,
GuruHello Guru,
Please use basic SD transactions VA01,VA02,VA03(Create/change/display Sales order).
Here, places the mouse cursor on any of the fields and hit F1.
You will be given Technical help info (Table name ,field name,screen name)
For example in VA03 when we hit F1 on Sales order number input help field, we get the following information.
Table name VBAK
Field: VBELN
Data element: VBELN_VA
Also as mentioned in the previous threads, please go through the tables VBAK,VBAP,VBFA,VBRP for the information required.
Please mark as answered if my suggestion helped in resolving your problem.
Regards,
Himanshu Limaye -
Javamail delivery status report HELP
This is the mail delivery status report that is given back to me....
how do i determine which is valid and which is not valid
// Actual detail of the mail, eg, from, to, send date etc
public void dumpEnvelope(Message m, PrintWriter out, InMailBean inMailBean) throws Exception {
Util util = new Util();
System.err.println("In dumpEnvelope");
out.println("<P>" + "This is the message envelope"+ "</P>");
out.println("<P>" + "--------------------------"+ "</P>");
Address[] a;
// FROM
if ((a = m.getFrom()) != null) {
for (int j = 0; j < a.length; j++){
out.println("<P>" + "FROM: " + a[j].toString()+ "</P>");
inMailBean.setSender(a[j].toString().trim());
// TO
if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
for (int j = 0; j < a.length; j++) {
out.println("<P>" + "TO: " + a[j].toString()+ "</P>");
//inMailBean.setReceipient(a[j].toString());
/* InternetAddress ia = (InternetAddress)a[j];
if (ia.isGroup()) {
InternetAddress[] aa = ia.getGroup(false);
for (int k = 0; k < aa.length; k++)
System.err.println(" GROUP: " + aa[k].toString());
FROM: [email protected] (sender)
TO: [email protected] //<<<-----this is (valid)
TO: [email protected] //<<<<----this is (invalid)
if i open my outlook express...it will shows
Reporting-MTA: DNS; emg-mrk04.localdns.com
Arrival-Date: Fri, 6 Apr 2007 15:10:44 +0800
Original-Recipient: RFC822; <[email protected]>
Final-Recipient: RFC822; <[email protected]>
Action: failed
Remote-MTA: DNS; mx2.hotmail.com
Last-Attempt-Date: Fri, 6 Apr 2007 15:10:43 +0800
Message number: 0
This is the message envelope
FROM: Mail Delivery Subsystem
TO: [email protected]
SUBJECT: Returned mail: response error
SendDate: Fri Apr 06 14:52:49 SGT 2007
FLAGS:
X-Mailer NOT available
CONTENT-TYPE: multipart/report; report-type=delivery-status; boundary="[email protected]"
This is a Multipart
CONTENT-TYPE: text/plain
This is plain text
The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
The following addresses had permanent fatal errors -
Transcript of session follows -
... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
This is a string
The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
The following addresses had permanent fatal errors -
Transcript of session follows -
... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
CONTENT-TYPE: message/delivery-status
This is a Multipart Report -
CONTENT-TYPE: message/rfc822
This is a Nested Message
This is the message envelope
FROM: [email protected]
TO: [email protected]
TO: [email protected]
SUBJECT: sending mail exception 2
SendDate: Fri Apr 06 14:52:11 SGT 2007
FLAGS:
X-Mailer NOT available
CONTENT-TYPE: text/plain
This is plain text
sending mail exception 2
This is a string
sending mail exception 2
Message was edited by:
yzme yzme
Message was edited by:
yzme yzmeFor this, you need to answer the following:-
a) where the customer required date is being captured in sale order ? Is it Requested Delivery Date ??
b) If it is RDD, will there be any manual change in that ?? If so, how will you track the changes
I feel, for the above questions, you have to develop a zee table where you need to capture the original delivery date and the change date so that you can compare this with the actual despatch date.
There is no standard report to make use of the requirement what you had narrated.
G. Lakshmipathi -
Sales Analysis Report - Items -- blank result
Hi,
I'm testing a setup and running the sales analysis report. It works for the Customer version but I get no results when running on Items.
I'm on SBO 2007A SP01 PL07. There are open and closed invoices for inventory items; no credit memos have been posted. All Item type invoices.
When I run by Customer, I get the correct data - open and closed invoices for that customer.
When I run by Items, I get no results. The date range is the same for both reports.
When I run the purchase analysis on Items, I get data for the same items I am trying to see in the sales analysis.
Any ideas what could be causing this?
Thank you,
HeatherHI Gordon,
I left the default settings:
- Annual Report, Invoices, Individual Display, No Totals
- Posting Date: whole fiscal year
- Main selection: left blank/default (group = all, no properties)
I have double/triple/quadruple-check even the Secondary SElection to make sure there's nothing there.
I have also run it on Due Date instead of Posting Date, still no results (if run on Items).
As I mentioned, the selection criteria is what I want but for some reason that one version, Items, does not work. The other 2 tabs work with the same selection.
Heather -
Hi,
Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
ThanksHello,
Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
If your basic requirement is find out the open Sales Order then you can look out for the below standard report:
VA05/VA05N
If your requirement involves some values to be included then kindly urge you to go for SQVI technique involving tables like VBAK,VBAP,VBUK and other Sales table based on requirement.
Regards,
Sarthak -
Hello..
my client wants to have the open sales Order report in following format :
======================================================================================================
Customer Name | Item 1 code | Item 2 code | Item 3 code | Item 4 code | Item 5 code | Item 6 code | Item 7 code |
=======================================================================================================
Jack Inc.......................987.................865.....................654.................543.......................739..................543...................987
Colt Inc.......................237.................213.....................799..................321.......................875...................187...................122
IOUU LLC...................127.................535.....................654..................777.......................211...................345...................777
=====================================================================================================
.................................1351..............1613...................2107.................1641.....................1825.................1075..................1886
=====================================================================================================
pls help me to create sql query for the above
rekha
Edited by: Rekhatiwari on Dec 16, 2010 10:46 AM
Edited by: Rekhatiwari on Dec 16, 2010 10:47 AMHi,
Try this:
SELECT T0.CardName,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%2\]') Item1,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%3\]') Item2,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%4\]') Item3,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%5\]') Item4,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%6\]') Item5,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%7\]') Item6,
(Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%8\]') Item7
FROM ORDR T0
WHERE T0.docdate between [%0\] and [%1\]
That might be the only way close to your requirement.
Thanks,
Gordon -
PURCHASE & SALE SUMMARY REPORT
hi....
i want T-codes for getting PURCHASE & SALE SUMMARY REPORT ALONG WITH VENDOR & CUSTOMER WISE ALSO.
Thanks & Regards
Rekha Sharmahi...
by these t.code i not found any result pls do needful.
i want vendorwise/customerswise purchase/sale summry. It should show Purchase/Sale Qty. & amount.
Thanks & Regards
Rekha sharma
Maybe you are looking for
-
Crystal report .dll files required on server.
Hi. I'm new to Crystal Report and I have a "small" problem. I'm developing an windows app. that should be accesed from a Windows Server 2003 R2 Standard x64 Edition. When I run my app. om the server and want to see a report created with Crystal Repor
-
I get an error code -8003 when I try to empty the trash
I was about to run TechToolPro to defrag etc my external HD when I decided to reduce the size of the Time Machine file by removing the earliest two or three backups which date back to a year ago or so. I realize the error of my ways now but my thinki
-
Can any one tell me after downloading jdeveloper 11g how to upgrade jsf dvt lib to 2.0 because by default it jsf dvt 1.0 due to which i am unable to see graph in pop-up menu I have download latest version 11.1.2 and i want to upgrade dvt libraries in
-
Hi, Is it possible to have multiple line items in MIGO by purchase order. Issue is PO (UB) created with 10 qty. Issued in 3 different qtys (351-mvt) with different material docs. while doing GR by PO in MIGO (101) instead of commulative i want it sho
-
Pictures automatically saved as jpg.rem
Hello! For some apparent reason, the pictures that I take with my BB are now being saved as jpg.rem photos. When I attempt to transfer them to my computer, the photos are not visible at all. Does anyone have the same problem? If so, what's the sol