Report for open orders and amount of product confirmed
Hi All,
Can some one give me an idea on a report which shows open orders and also shows amount of product confirmed against these open orders?
Thanks,
Neelima.
Hi Veni,
Incomplete order are the order's in which some data is missing so that particular order can't be further processed, that is what you could check through "Incompletion Log". Whereas Open orders are the orders which are open for further processing viz. deliver billing(but open order is a complete order i.e. no data missing).
Check this program:
*& Report ZGM_OPENPO *
REPORT ZGM_OPENPO NO STANDARD PAGE HEADING LINE-SIZE 132 LINE-COUNT 36(2).
TABLES: t001w, "Plants/Branches
ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
marc, "Plant Data for Material
mara. "General Material Data
DATA:
BEGIN OF itab OCCURS 0,
matnr LIKE marc-matnr,
werks LIKE marc-werks,
beskz LIKE marc-beskz,
mmsta LIKE marc-mmsta,
END OF itab.
DATA: BEGIN OF iekpo OCCURS 0,
ebeln LIKE ekpo-ebeln,
menge LIKE ekpo-menge,
aedat LIKE ekpo-aedat,
wemng LIKE eket-wemng,
END OF iekpo.
DATA: BEGIN OF iekko OCCURS 0,
ebeln LIKE ekko-ebeln,
lifnr LIKE ekko-lifnr,
bedat LIKE ekko-bedat,
ekgrp LIKE ekko-ekgrp,
END OF iekko.
selection-screen:begin of block b1 with frame title text001.
SELECT-OPTIONS werks FOR ekpo-werks OBLIGATORY.
SELECT-OPTIONS matnr FOR ekpo-matnr.
SELECT-OPTIONS beskz FOR marc-beskz.
SELECT-OPTIONS bsart FOR ekko-bsart.
selection-screen:end of block b1.
INITIALIZATION.
AT SELECTION-SCREEN ON werks. "Validate for werks
SELECT SINGLE * FROM t001w WHERE werks IN werks.
IF sy-subrc 0. MESSAGE e429(mo). ENDIF.
AT SELECTION-SCREEN ON matnr.
SELECT SINGLE * FROM mara WHERE matnr IN matnr.
IF sy-subrc 0. MESSAGE e429(mo).ENDIF.
START-OF-SELECTION.
SELECT * FROM marc INTO CORRESPONDING FIELDS OF TABLE itab WHERE werks IN werks AND beskz IN beskz AND
matnr IN matnr.
SELECT ebeln FROM ekpo INTO CORRESPONDING FIELDS OF TABLE iekpo
FOR ALL ENTRIES IN itab WHERE matnr = itab-matnr AND loekz EQ space.
SELECT ebeln lifnr bedat ekgrp FROM ekko INTO CORRESPONDING FIELDS OF
TABLE iekko
FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln AND bsart IN bsart.
SELECT ebeln menge aedat FROM ekpo INTO CORRESPONDING FIELDS OF iekpo
FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln. MODIFY iekpo INDEX sy-dbcnt.
ENDSELECT.
SORT iekpo BY aedat.
DELETE ADJACENT DUPLICATES FROM iekpo COMPARING ebeln.
SELECT wemng FROM eket INTO CORRESPONDING FIELDS OF iekpo FOR ALL ENTRIES IN iekpo WHERE ebeln = iekpo-ebeln.
MODIFY iekpo INDEX sy-dbcnt.
ENDSELECT.
END-OF-SELECTION.
DATA : file_name TYPE string.
file_name = 'c:\pay_det\open_po1.xls'.
DATA : BEGIN OF it_join_fields OCCURS 0,
field_name(20),
END OF it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'ebeln'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'menge'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'aedat'.
APPEND it_join_fields.
CLEAR it_join_fields.
it_join_fields-field_name = 'wemng'.
APPEND it_join_fields.
CLEAR it_join_fields.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = file_name
filetype = 'ASC'
APPEND = 'X'
write_field_separator = 'X'
TABLES
data_tab = iekpo
FIELDNAMES = it_join_fields
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT iekpo.
IF iekpo-menge NE iekpo-wemng.
WRITE:/4 iekpo-ebeln,21 iekpo-menge ,46 iekpo-aedat, 56 iekpo-wemng.
ENDIF.
ENDLOOP.
if sy-subrc 0. write / 'no data exist for this plant'. endif.
TOP-OF-PAGE.
uline 1(80).
WRITE :/ sy-vline, 20 ' OPEN purchase ORDERs report' color 5,
80 sy-vline.
uline 1(80).
WRITE:/ sy-vline , 4 'PURSCHASE ORDER' COLOR COL_HEADING,
20 sy-vline, 21 'ORDER QUANTITY' COLOR COL_HEADING,
45 sy-vline, 46 'item change' color col_heading, 55 sy-vline,
56 'RECIEVED QUANTITY' COLOR COL_HEADING, 80 sy-vline.
uline 1(80).
END-OF-PAGE.
WRITE :/ 'PAGE NUMBER' ,SY-PAGNO.
Hope this helps you.
Regards,
Chandra Sekhar
Similar Messages
-
Report for open order and shipped qty summary
Dear Folks,
Can any one please help me.
Report for open order summary Vs shipped quantity
what are the related programs to it.
throw some light on it.>
arpita b wrote:
> Dear rohit
>
> Iam asking about any report which compares or give details of open order vs shipped qty.
>
> Any sis report is available for this?
Hi Arpita,
There is no such sis report available. You will have to configure and create two seperate reports and do the comparison.
If you want, I will send you the list of all T.codes used to generate reports in SD.
Revert back to me if you need the same.
Regards,
Swapna D. -
Report for Open PO and ASN.
Hello All,
We need a report that shows all parts ordered and not received. It would be a combination of the open orders and open ASN's.
Do we have any report that can satisfy this request.
Thanks in advance.
Forum ShahHello All,
Thanks for your reply.
I want to create a new report
The RECORD SELECTION FIELDS in this new report should include the following:
1. Plant Number = (should be mandatory field)
2. Vendor Number =
3. Material Number =
4. Purch Doc Type =
5. Purch Doc Number =
6. Material Type =
7. Item Category =
8. Account Asgn Category =
9. Confirmation Cntl Key =
10. Due Date =
The OUTPUT COLUMNS in this new report should be export-ready to Excel (ALV), and include the following columns:
1. Plant Number =
2. Plant Name =
3. Vendor Number =
4. Vendor Name =
5. Purch Doc Number (both PO and SA) =
6. Line Number =
7. Material Number =
8. Material Description =
9. Material Type =
10. Item Category =
11. Account Asgn Category =
11. Confirmation Cntl Key =
12. Qty Due = Original qty u2013 received qty
13. Date Due =
(repeat QTY and DATE for all open releases)
14. ASN Number (if ASN has been recorded in SAP) = EKES-VBELN
Now i am having issue while developing logic for delivery dates, Inbound delivery and GR.
When i create IB my remaining open quantities should be seen. And when I am doing GR whole line should get disappear.
I tried MDBS, EKET and EKES table. But i am not able to link delivery dates, due qty, inbound delivery and GR qty.
Please suggest.
Thanks in advance,
Forum Shah -
Standard report for Open Orders & JIT lines
Hi,
I need a standard report that will list out all open Purchase Orders and All Open JIT lines for a Supplier for Perticular plant.
Is there any standard report that can pull this data.
Regards
SandeepUse ME2M / ME2N and ME2L reports with selection parameters WE101 and scope of list EINT
-
Report for Purchase orders and deliveries
Hi all,
Is there any report in SAP that gives me the list of purchase orders and the deliveries associated with those PO's.
Please advise.
Thanks in advance
SruthiHi,
What kind of delivery are you looking for ??
If it's inbound delivery, use VL06I tcode & for outbound, try VL06O
Thanks & Best Regards,
Devendra Gaware
PS - Reward if found useful. -
Report showing Open Orders and Open deliveries
Hi all,
i need a report that shows open orders - whether with subsequent delivery or not.
Is there such a report?
regards
RMHi,
Goto the T.Code VA05/VA05n T.Code.In this T.Code select the option as "Open orders".
Execute.
It will give you all the orders that are open means doesn't have any subsequent orders.
Goto the T.Code "VF04".
In this select the check box "Delivery related".
Execute.
It gives you all the orders which have delivery but doesn't have any billing document.
Regards,
Krishna. -
Report for open process orders
Dear SAP experts,
As the period of the process order from open to close is not short, will take 1 or 2 months in our business case, so we want to find a report which can get the information just like the output of KSPP(for planned orders) .
I tried to analysis the logic of program KSPP, and it seems the function modules based on the planned orders only.
Is there any way to get the similar report for open process orders?
Many Thanks,
Lisa YaoIs there any clues?
-
Report to show open orders and valuation type
Hi,
Is there a report in SAP that shows the open orders and the valuation type of the materials in those orders?
thanksHi jay,
What is the definition of Open orders according to your company?
Is it Sales orders created but not delivered? or
Is it Delivery created for the Sales order but not done PGI? or
Is it Sales orders but not billed?
Accordingly you must decide. Just VA05 will give list of orders where you can take from the Status updation whether it is delivered or not. But apart from that, if you need any report relating to Open orders, you need to develop a Z report which will help your company. Just ask your business user how he wants. Based on that you can decide.
Thanks and regards.
Augustine Ponraj -
Calculation of open orders and shipped not billed orders amount
Hi All,
I have a requirement to arrive at the values of Open Order and Shipped not billed .
This is an interface program and the output will be sent to a target server.
Input : Company code, Customer Code , Document date.
Output Fields are:
Customer Code
Sum of all open orders value
Sum of all shipped not billed orders value
To give an example
A Customer has 50 orders and the number of line items are 200 .
Overall order amount for 200 line items is 10,000.
70 line items have been delivered (amounting to 5,000) and
30 line items among the 70 delivered have been invoiced. (amounting to 3,000).
I need to know the best way to get to:
(1) Total "Open order" amount for the customer which is 5,000 in this example.
(2) Total "Shipped not billed" amount for the customer which is 2,000 in this example.
(3) Total "Invoiced" amount for the customer which is 3,000 in this example.
We are looking for the tables to access and the sequence of access
Since the interface is to be executed more than once in a day ,
the execution time should be optimum
Please suggest
Thanks
Venucheck table VBUK
GBSTK ne 'C' "over all processing status
and FKSTK ne 'C' "open billing orders
at header level
and
for item level check
Vbup tbale
make a join on Vbrk and VBuk in the where condition in addition to the selection criteria add the above two conditions and check the same.
once you have all the open orders enable the items and do the subtotalling and grand total on the item loop.
regards,
vijay -
Standard report(for open PO order items) with estimated Delivery dates
hi friends
i would like to know if there is any standard report(for open PO order items) with estimated Delivery dates on it.
thanks
alahariME2M (by material)
ME2L (by vendor)
ME2N (by number)
Use selection parameter WE101 for open GR
and scope of list EINT (scheduling lines) -
Report for shedule vs supply and report for opening stock at back date.
Dear All Guru,
please can anybody reply me is there any standard report is available for
1) Report for shedule vs supply
2) and report for opening stock at back date.(ex- opening stock at last month 16th july or two months back on 10th may
pl suggest if any standard report is available or how we can data for this
Regards,
VimleshHi,
To see the opening stock at a particular date use T.Code: MB5B,
To see the scheduled quantity & delivered quantity use table EKET with the filed names MENGE & WEMNG.
Regards,
Prabu -
Report for Asset number and its Purahcse order number
Hello Friends,
Please give me details of report for Asset number and its Purchase order number .
Regards
Nilesh Vakilhi,
GO to ME2N...
use SHIFT + F4..
there check for the acc. assign cata. field and input the asset and execute..
Regards
Priyanka.P -
How to create a report for open sales orde documents which are not invoiced
Hi Experts this is urgent,
+pls give the Logic for document flow+
My requirement is create a report for sales orders which are not invoiced using the following table.
VBAK : sales order header
VBAP : sales order item
VBFA : sales document flow
VBUK for processing status
KOMV for duties value and sales order value
LIKP : delivery not header
LIPS :delivery note item
For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
Case A : When a sales order is invoiced we can display information on the header status :
Overall status : Completed and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following : Overall status Completed
Delivery status Fully delivered
Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
Case C :
When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
With regards
ravi
Edited by: ravik ravik on Jun 25, 2008 3:29 PMHello Ravi,
U neednot develop any report..
there is std report with txn V.02
or copy this and make necessary changes.
Reward, if helpful.
Rgds,
Raghu. -
Interactive Report for Pending Order
Hi Gurus,
Iam new to ABAP.
I have Requirement to display the Interactive Report for Pending Order Status Report which displays pending of purchase orders for material wise and Vendor wise .Using ALV. Can Any one help ...me which table data i need to read and what are the field required.
Thanks in advance.Hi G K,
For pending order : VA05 (select open sales orders).
cheers,
Hema. -
Data reconciliation for Open Orders in SD
Hi,
Can any one give me a step by step approach for doing the data reconciliation for open orders in the Sales Infocube.
Regds
tanuHi Tanu,
Reconcilation:
Reconcilation is the process of comparing the data after it is transferred to the BW system with the source system. The procedure to do reconcilation is either you can check the data from the SE16 if the data is coming from a particular table only or if the datasource is any std datasource then the data is coming from the many tables in that scenario what I used to do ask the R/3 consultant to report on that particular selections and used to get the data in the excel sheet and then used to reconcile with the data in BW . If you are familiar with the reports of R/3 then you are good to go meaning you need not be dependant on the R/3 consultant ( its better to know which reports to run to check the data ).
I will give you a scenario to help you understand it better. Lets say BW extracts FI data from R/3. To make sure that all the records has been extracted from R/3 we can create a report in R/3 which will show the year-to-date balance of all the documents posted and we can create a BEx query on the BW cube which will also display the trial balnce. Any difference between the two balance will identify the records missing from R/3.
Similary you can model other scenarios as per your requirement. If you are extracting from 2 or more different sources from R/3 then create a multicube on top of the individual cube and produce the report. You need to also create a similar report in R/3 as well.
check this How to Doc:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14
Hope this helps.
Regards,
Ravikanth
Maybe you are looking for
-
Is Creative Cloud billing hopeless?
As an Adobe shareholder and 15-year customer, I dismay for the future of the company if they are betting on Creative Cloud. At my company, I signed up for the one-year CC membership. Everything was great until I decided to leave my company, four m
-
List workflow Error Occurred when more than 10 fired at the same time?
SPF 2010 I have created a list workflow that simply copies the value from Columns A, B, C to D, E, F respectively then it compares that D, E, F match A, B, C if TRUE, then NUL A, B, C then if confirms A, B, C "is empty" if TRUE, then complete the wor
-
I have the Volume control application , but it works for reading.. and note to select record , to set input line volume !! thanks
-
IPhone 5 video recordings have alot of digital noise. Do i need a new phone?
Hi everyone!. Well i preordered a iPhone 5 and after a few days use i got what was a dead mic and had to get the phone replaced. Apple gladly gave me a new phone but it seems to have developed some sort of issue where any video recording i do seems t
-
I am stunned. The Apple help crew was terrific over the past month of problems installing Leopard in my iMac, the most alarming of which was its increasingly frequent habit of just shutting down cold. Turns out that the problem was known to Apple, wh