Using SQVI to generate report of open and released delivery schedule lines
All,
I'm using SQVI to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.
Hi Mark,
I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
After generating SQVI program in DEV , I assigned that program to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
About authorization , if its not sensitive report, BASIS can restrict at transaction level.
Regards,
Ravi.
Similar Messages
-
Generating reports in RTF and using scandic letters.
Hi,
I'm having problems generating reports in RTF and using scandic letters in column/table comments (Description field). For example word "käyttäjätunnus" transforms in "käyttäjätunnus"!
PDF works well.
Thanks,
user12957891Hi,
I've just tested and looks like display problem.
Both MSWord and WordPad are showing "käyttäjätunnus" instead of "käyttäjätunnus". But if you open RTF file with some text editor you will find "käyttäjätunnus" not "käyttäjätunnus" inside. So I suppose Word (Windows?) needs some filter(s) for scandic or something like that. But I guess you already have it ...
I will search solution and if I find I'll write here.
BTW: What do you use to open RTF, version ? -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Generating reports in RTF and Excel on Sun Solaris
hi,
Could any one of u out there kindly tell me if it is possible to generate reports in RTF and Excel formats on a Report Server running in Sun Solaris machine. We use Reports 6i.
Because I am able to generate a report in RTF format on report running in Windows NT machine, but on Solaris i get a message that the Reports Server terminated abnormally!.
Thanks,
Prabhu SCould you please tell us whether you fllowed any special procedures
or made some specific settings to launch RTF reports ?Can't help much, I'm afraid. The report and web server settings were
all made before I got here, and are not visible to me.
We can get RTF from report builder/generate-to-file and when running
reports on the web. Our servers are all Sun/Solaris boxes, although
we display on DOS boxes. Excel we get from a program, not from the
report server.
Report builder 6.0.8.10.1, database claims to be 8.1.7.0.0.
Sorry I can't help much more than saying "yes, it can be done".
Allan Plumb -
About selecting Scheduling Agreement and Forecast delivery schedule
Hi Experts,
i want to write a Report, with 2 parameters for the selection : Sold-to-party and Period
For this Sold-to-party/Period, I want to list all scheduling agreement + Forecast delivery schedule.
I already found the Function SD_VBEP_READ_WITH_VBELN to read all Forecast delivery schedule lines using Sales Doc.No. , but how can I select all Scheduling Agreement for the Period ?
Regards,
DavidSolution:
by selecting data from table VEPVG (Delivery Due Index) and using function SD_VBEP_READ_WITH_VBELN for each SD Document.
Regards,
David -
Why GR performed on MRP generated delivery schedule line (unconfirmed)?
Hi Gurus,
Need some advice from you all, I have a scenario here which MRP generated the delivery schedule lines for material A on 10.08.2011 - 124 KG.
User review the MRP result and didnt confirm the line, but she added in manual line on 11.08.2011 - 124KG.
On 11.08.2011, warehouse performed GR on the delivery schedule lines. It's found that GR was actually updated into the delivery schedule line generated by MRP (10.08.2011) and not the manual line confirmed by user. (11.08.2011).
User is questioning now why the GR able to be performed on MRP generated line which had not been confirmed? Any guru can share with me the fact and good note regarding this on MRP? Thanks!
MichelleHi,
Since we are talking here about schedule lines, these are open for GR when the delivery schedule is send to the vendor.
In your case you had a quantity open for 10/08/2011 generated by MRP, then the user added manually another line on 11/08/2011. After this the user will have transmitted the delivery schedule which makes that both the items where marked as transmitted and thus open for GR.
Now when the goods come in the system will post against the first open schedule line that is found until this is fulfilled and then switch to the next open line at the moment of GR. So this is why the GR was put against the MRP generated schedule line as this one was the one with the earlier date.
Regards,
Peter -
Link between Delivery and Sales Order Schedule Line
Hi Gurus,
I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
Report should be something like this
Sales Order Item Schedule Line Delivery Del Item Confirmed Order Qty
O1 10 1 D1 10 5
O1 10 2 D2 10 5
O1 10 3 D3 10 4
How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
Please help.
Regards,
GauravHi,
I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
Sale order Item Schedule line qty
SO1 Item1 Sch1 10
SO2 Item1 Sch2 10
Delivery Item QTy
DO1 IT1 15
DO2 IT1 5
In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
So I am not sure if you can establish a one to one link, please check with your SD consultants.
Regards,
Ashwin G -
MRP Type P1 and late firm schedule lines
Hello All,
We are using MRP Type P1 which firms our schedule agreement schedule lines within the planning time fence (as desired). However, sometimes the supplier is late on delivery and the firm schedule line goes into the past.
Is it possible to have MRP move the firm schedule line delivery date to today instead of going into the past?
Thank you,
JerryHi ,
Bring process forward (reschedule in)
Within this rescheduling horizon, the net requirements calculation checks whether, after a requirement, a firmed receipt exists, which can be used to cover this requirement. Then the system displays a rescheduling date as well as the exception message Bring process forward for this receipt. The net requirements calculation then uses this receipt and the system will only create another procurement proposal if the receipt quantity is not sufficient to cover the complete requirement. Several firmed receipts can be used to cover one requirement.
It does not take in to account the GR processing time and it is purely based on the stock requirement date , parameters in Procurement and Scheduling in the Material Master
So it will consume the requirement backward scheduling and bring the Process forward.
Kumar which strategy are you using ? scheduling agreement is of weekly , daily or monthly bucket ?
How many days SA bring to Production and How many days SA for forecast you are doing ?
Are you using any Program to convert these SA in to PIR and upload ( using any program ) .
Regards,
Jayavimal
Edited by: jaya vimal on Jun 16, 2010 1:33 PM -
Deletion and creation of Schedule line for Line Item
Hi BW Experts,
In P.S.A. when i have checked for first schedule line 001 reqdelqty is 50 , after deleting 001 and after creation of second schedule line in R/3 there are two records transferred from R/3 for schedule line 002 first with reversal indicator 'X' and delivery quantity -50 and next record with Reversal Indicator blank with value 50. which in turn results Reqdelqty zero.
Reason of wrong data in BW: -
Schedule line category for an item is being deleted forcefully. R3 doesnt allow deletion of a schedule line category if delivery is already created. Here user is creating one same schedule line and then he deletes the order quantity from earlier one. This forces system to pick up schedule line 2 in the document flow
· User shouldnt delete schedule line.Hello Ganesh,
Schedule line number sequence will not be in control of the user.
once delivery for a schedule line is completed, no way you can delete the schedule line (except renumbering case). This is general SAP logic relates to schedule lines.
Let me know how they are deleting the schedule lines even though delivery is completed.
Now coming to Data load problem in BI.
When you delete schedule line 001, the generated record should be with schedule line 001 with Reversal Indicator as R and delivery quantity -50.
And for new schedule line 002, reversal indicator as blank and delivery quantity 50
Regards,
Nandakumar.A -
Forecast delivery schdule and JIT delivery schedule difference
Hi All,
What isthe difference between Forecast delivery schdule and JIT delivery schedule in JIT scheduling agreement (LZJ)??
I am doing JIT Inbound process now. Is it necesary to update both the schedule lines(Forecast delivery schedule&JIT delivery schedule)??
Thanks,
Anbazhagan EHello,
Forecast Schedule updates your planning , i.e. in MD04 you could see system is planning for quantities updated in forecast schedule.
regards,
amol -
Link between Delivery schedule line counter from PO and the material docume
Dear Gurus,
I have one PO with single line item having delivery schedule -
Material 1 -
delivery schedule 01.01.2009 2000
01.03.2009 5000
I have received quantity against this Po
I want to know where I can find the link between Delivery schedule line counter from PO and the material document
Best regards
SarThere is no link from the MAterial document line item (Table Mseg) to the PO Schedule Line (EKET).
If this is for Evaluating an on time delivery or GR, you may consider the following approach.
PO details Po Date QTY
Sch1 01Jun2009 200
SCH2 08Jun2009 100
GR Details
GR1 01Jun2009 180
GR2 07Jun2009 110
GR3 09Jun2009 10
Calculate a *** total qty for the PO Line.
PO details Po Date CUMUL QTY
Sch1 01Jun2009 200
SCH2 08Jun2009 300
Calculate a *** total qty for the ontime GR.
PO details Po Date CUMUL PO QTY CUMUL GR on time
Sch1 01Jun2009 200 180
SCH2 08Jun2009 300 290 (180+110) the 3rd GR was too late
Evaluate the PO SChedule Lines as follows:
Po SCL qty + CUMUL GR QTY - CUMUL PO QTY = ADJ GR ON Time Qty
SCH1 01Jun2009
200 + 180 - 200 = 180 on time for 01Jun2009 date ( 90% fill rate)
SCH2 08Jun2009
100 + 290 - 300 = 90 on time for 08Jun2009 date (90 % fill rate) the first 20 of the GR on 07Jun2009 went to fill the late, early date.
Best of luck !
SCH2 100 +290 - 300 = 90 on time for 07Jun2009 date -
Generate report on server and open it in a client report viewer, possible?
Hi guys,
We are new to Crystal report so please feel free to correct me if I had the idea wrong.
Our client-server application was written in a language other than Java and Dot Net. We want to use Java and Crystal SDKs to glue our application, the Crystal Report Server and Report Viewers together...
We are planning to collect report parameters within the client of our own application (due to attributes of our application and parameters we need) and then pass it back to the server side (our server, not Crystal server). Our server will then generate a XML file and run a Java program talks to the Crystal Report Server (XI R2) to run a report with the XML file and store the result on the server side. Then it will send a message back to the client, tells it the report has been generated. Then our client program will fire up the Crystal Report Viewer to view the report.
I was just wondering if it is possible to do what we wanted with Java SDKs that are available to us (JRC, Viewer SDK and Report Application Server SDK)? Has anybody done the similar thing before?
Also we would like to have some drill-down reports with XML as report data source. Would it be possible to intersect drill-down event fired in a report viewer(Java and Web)? I would imagine the report viewer will then call some Java program talk to our application server to generate XML file for the drill-down section and then some how programmatically tell the viewer to display the drilled down report with the XML file just generated... Will my design work? Any advice or thought will be highly appreciated.
Thank you,
DongIf you are using Crystal Reports Server, you can do almost everything you want using the RAS Java SDK. RAS will accept XML as a runtime datasource, and then manipulate the report at the server end and render the report in the DHTML viewer. If you want your client to call the viewer, have it call the JSP file that the viewer code has been added to.
The RAS SDK doesn't have any ability to intercept or manipulate drill down events, so the second part of what you would like to do may not be possible. Because our viewers are dynamically generated there is no source code to look at or use to make changes to the viewer outside of what is available in the viewer SDK.
Below is a link to the developer library with the Report Application Server SDK that has sample code and tutorials to do what you need to do, as well as the Java Docs of the RAS SDK.
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm -
COPA reporting with open and closed projects
Dear All,
I am designing a COPA solution for an infrastructure providing company using project systems and posting to/settling out of projects on a monthly basis. Projects run for long periods and continually incurr costs and earn revenue untill they are closed. The requirement is to report by common characteristics (say customer group) and separately for open and closed projects. My issue is how to separate the line items of projects where status changed to closed (having posted with the status REL previously), from the open ones, without entering the projects individually in the selections screen.
Any ideas will be greatly appreciated.
Thanks,
MaddyDear Satya,
http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee0bbd55c811d189900000e8322d00/content.htm
An item of a purchase requisition is only regarded as Closed if the requested order quantity has been included in a purchase order.
You can also set an item to Closed manually. <b>This item will then not be taken into account by the materials planning and control system.</b>
You can set the Closed indicator manually at the following points (it can later be cancelled if necessary):
When changing a purchase requisition, on the item detail screen
When creating a purchase order referencing a requisition, on the item detail screen of the PO
You can still create purchase orders by referencing a requisition if this indicator has been set in the requisition concerned.
The indicator can also be set in the case of automatic PO generation from purchase requisitions. On the initial screen of the requisition, you can specify that the requisition is to count as closed as soon as an associated purchase order has been generated, even if the complete quantity requested has not been ordered, for example (Set reqs. to "closed" indicator).
Analyses of Purchase Requisitions:
http://help.sap.com/saphelp_erp2005/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm (visit section under Reporting in Purchasing)
Hope this will help.
Regards,
Naveen. -
Using SQVI To Generate Program in DEV
I have read a lot about the merits of using SQVI for simple queries and then generating the code and assigning to a transaction code so that others can run the query/report. I have found posts in this forum that suggest using SE93 to create a transaction code and assign the SQVI generated program is the only way that an SQVI query can be shared. I certainly hope they were not assuming that users have SE93 in a production environment??
My question is, if I create this query and generate the program in our DEV environment and then assign it to a transaction code, can this be transported from DEV to TST to PRD intact? Will this work?
One other question, when the program is generated does it also create the required authorization checks? I am using USR* tables for this report, nothing considered sensitive, would any additional authorizations be required to allow just about any user to run the transaction?
Disclosure, I am a power user and not an ABAP specialist.
I appreciate a speedy reply if that is possible.
Thanks
MarkHi Mark,
I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
After generating SQVI program in DEV , I assigned that program to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
About authorization , if its not sensitive report, BASIS can restrict at transaction level.
Regards,
Ravi. -
Report for open and shipped qty
hi,
any standard report to show open and shipped qty by SO no.?
pls advice. thanksHi jojo
For list of open orders t.code is VA05
Incomplete delivery - V_UC
Reward if useful
Regards
Srinath
Edited by: sri nath on Apr 16, 2008 10:31 PM
Maybe you are looking for
-
Can I install Windows (7) on my iMac SSD (late 2013) ?
I'm about to take delivery of my new iMac (late 2013) with the following specs : 27-inch Core i7 3.5 GHz with 16gb RAM 256 GB flash storage (pure SSD, NOT Fusion) I've googled and found that some say that Windows cannot be installed on the Fusion Dri
-
How to save settings in the front panel to different files and retrieve it later?
How to save the front-panel controllers' settings to different files and retrieve it later? What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but no
-
I am working on a scenario where XI will send the xml to the receiver via e-mail. I am not getting any e-mail from the XI system. Can I specify gmail or yahoo account ids along with the property settings? Do I have to do anything on the SCOT transact
-
Quotation output through email,
HI All, How can I send quotation output through email, Can some one provide me a step by step configuration guide for Output determination via email.
-
Global vars in as3 and code run order
two questions: 1)how can i declare a global variable in as3, like in as2 i could write for example : _global.variableName = "variableValue" and then access the var from anywhere. 2)how can i tell a part of the code from the root to run only after the