Report to get PO from type of operation WE
Hi all
I need a standard report to get all the purchase orders from type of operation WE (Goods Receipt).
Do you know any?
Thanks in advance
Hi,
You can get the list of POs with GR in ME 2L/M etc with selection parameters WE102 .Also in SE16N browse the table EKBE with Trans./ev. type as 1(Goods Receipt) and give a date range as per requirement.This will generate the list of POs with GR .
Dhruba
Similar Messages
-
Get URL from Chrome and Opera.
Hello,
I need to extract the URL and title of currently active tab in Google Chrome and Opera browsers. I manage to do this with Internet Explorer and Mozilla Firefox but having troubles with those two.
Can someone help me with this issue?
Would be grateful for a code sample.
Thanks in advance.As far as I know Opera uses QT for the UI (or at least used to use QT in older versions and now uses an different UI frameswork). I assume Chrome also used QT or a similar UI framework. QT is completely different from the normal Windows Controls. You will
not find anything in a Opera or Chrome Window using SpyXX.
Therefore there are only a less ways getting the URL. A suitable way could be taking a screenshot and finding the URL bar and doing an OCR on this URL bar.
Best regards
Bordon
Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar. -
Can not get data from actionscript db operation class?
DBOperation.as:
import flash.events.*;
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
import flash.net.Responder;
import mx.collections.ArrayCollection;
import mx.controls.List;
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
public class DBOperation
private var nc:NetConnection;
private var responder:Responder;
public var list:ArrayCollection;
public function DBOperation():void{
nc = new NetConnection();
nc.objectEncoding = ObjectEncoding.AMF0;
nc.connect("rtmp://localhost/ins");
public function getSolutionData(sql:String):Boolean
responder=new Responder(getSolutionList,null);
nc.call
("dbo.getSolutionData",responder,sql);
return true;
public function getSolutionList
(solution:Object):void{
var solutionList:Array = new Array();
for(var items:String in solution)
solutionList.push
({label:items,title:solution[items].title,owner:solution
[items].owner,submitTime:solution[items].submitTime,image:solution
[items].image,imgInstruction:solution[items].imgInstruction});
list = new ArrayCollection(solutionList);
datagrid.mxml:
<mx:Script>
<![CDATA[
import DBOperation;
import mx.collections.ArrayCollection;
[Bindable]
private var solutionList:ArrayCollection;
private function initDG():void{
var dbo:DBOperation=new
DBOperation();
dbo.getSolutionData("some sql
strings");
solutionList=dbo.list;
]]>
</mx:Script>
my problem is I can get the data using DBOperation class,but
I can not
assign it to solutionList by "solutionList=dbo.list;"
The debug information says dbo.list=null, however inside
DBOperation
the "list" is full of data.
What's wrong with it??
Thanks!hi,
if u r using bukrs and hkont as parameters in selection screen then
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs = p_bukrs
AND hkont = p_hkont.
this will work.
if u r using then as select-option then the above does n't work.
bcoz select-options work as internal table bcoz of that u have use the query like this
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs IN p_bukrs
AND hkont IN p_hkont.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM -
Conversion from type 'CalculatedFieldWrapperImpl' to type 'Integer' is not valid._
Hi,
I'm using SSRS 2008 to create a relatively simple report with a stored procedure as the dataset. The SP runs fine (no errors) but when I try to run the report I get "Conversion from type 'CalculatedFieldWrapperImpl' to type 'Integer' is not valid. "
error message. The data type is declared as int in SQL. I'm using several other int fields in the report without a problem. Anyone familiar with this error? Thanks.
Robert BocconeHmm, my research also suggests multi-value parameters may be the cause, but you say there aren't any in the report. These sings can sometimes be generated automatically though, even if you haven't knowingly created one. You could try checking the .rdl
file directly (if you're using BIDS, just go to View > Code, otherwise load the report into wordpad or similar) and searching for the term 'Parameter' to see if there is anything there. Otherwise, I'm afraid I'm getting a bit lost for ideas
too.I work to UK time. If this post, or another, answers your question, please click the 'Mark as answer' button so others with the same problem can find a solution more easily. -
Values not getting displayed from first page of the report.
Values in the report is getting displayed from second page.
First page in the report only displaying the report title and column names.
Secone page onwards, data and column names are generated.
Can any one please help me, with the cause of the problem.what reporting tool?
Interactive Reporting
Financial Reporting -
How to get data from an existing Excel file using report generation toolkit
I'm trying to use the Excel Get Data vi from the report generation toolkit, but i can't figure out how to turn a browsable path into the right type for the VI. I've tried using the New Report.vi, but that doesn't work unless you use a template. It won't open an existing excel file and make it an open report to pull data from.
Essentially, i have a bunch of excel files that have data in them and i want to use a VI to analyze the data. So, i'm trying to pull in all the data directly from the excel file so i don't have to reproscess them all into text so i can use the more standard spreadsheet VIs. But to even convert the excel file programtically in labview won't i still need to be able to open the excel file and get the data?
Solved!
Go to Solution.I C.
Got it,
the reason why I can view it using my Excel file because its in .CSV.
I open Microsoft Excel to open .CSV file.
But you can also open .csv file with notepad.
So, you cannot open .xls with Read Spreadsheet File
I learn something everyday
Best regards,
Krispiekream -
Get variantclass from KMAT in report
Hello Community,
I want to program a "F4-valuelist-function" in my zreport where the user can find
all dependent characteristics from the variantclass (type 300) of the
KMAT. The KMAT is the select-option in my report. So the program
should find the right class and then use a bapi to list all characteristics,
so the user could choose the chosen characteristic for his request.
I can't find the association between KMAT (MARA) and CLASS in SAP.
Can anybody guide me?
Thanks
Markus PawlinkaHello Markus,
For a KMAT , you can get the link via the following tables and fields
Enter materials number as OBJEK in table INOB. From that you can get CUOBJ.
With that CUOBJ , please check table KSSK. Enter KSSK-OBJEK as INOB-CUOBJ.
You will get CLINT from table KSSK. Which is the class ID.You can the access the characteristics from table KSML.Please be carefull with overwritten characteristics.
As for the object values , you can simply use BAPI BAPI_OBJCL_GETDETAIL_KEY or BAPI_OBJCL_GETDETAIL.
Also please review note 1547034 - How are characteristic values updated in table AUSP?
It has detailed information on how the characteristics are saved,
Thanks
Amber -
Get information from a row in a report region to be used in conditions
Hi,
I have a page with 2 regions.
First region is a report from a table (departments) and the other region is another report region (employees).
One of the columns in the departments report is a link that when I click on it, it will refresh the second region to show the employees by department.
My issue is when I open the page for the first time or get back from another page, I want to show by default the employees for the first department. I don't know how to get this value and assign it to a a Page Item and use this page item in the second report.
I appreciate any help.
Thanks
andreseAndrese
For page item (which you populate when user clicks on department report link), write default value as plsqlfunction body and try something like
DECLARE
v_dummy tbl_dept.dept_id%TYPE;
BEGIN
SELECT dept_id INTO v_dummy FROM tbl_dept WHERE ROWNUM = 1;
RETURN v_dummy;
END;I take it you populate dept_id into page item, when users click on department report link. You can change this according to your requirement. Also make sure that the SELECT query matches with your department report query so that first row of your department report always matches with above SQL query output.
Please note that this may not work if your department report query contains any GROUP BY/ORDER BY/HAVING clauses
Cheers,
Hari
Edited by: Hari_639 on Oct 5, 2009 9:04 PM -
Requesting help-On a report Getting ora-00920 invalid relational operator.
Hi everyone,
I am having a report region with the following query:
select CASE
WHEN ISITRECENTADDENDUM(meckey_fk,code)
THEN
'<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:61:&SESSION.::NO::P61_MECKEY_FK:'
|| &P60_MECKEY.
|| ''', 700, 700);">'
|| '<img src="#IMAGE_PREFIX#gobut.gif">'
|| '</a>'
ELSE NULL
END EditAddendum,
'<a href="javascript:popURL('''
||'&REPORTS_URL.keynewmec&P_1=&P60_MECNUM.'
|| ''', 700, 700);">'
|| '<img src="#WORKSPACE_IMAGES#printer.jpg">'
|| '</a>'
PrintMEC,
"CODE",
"MECKEY_FK",
"ADDENDUM",
"WHO_CREATED",
"WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = v('P60_MECKEY')
And my function returning boolean is as follows:
create or replace FUNCTION "ISITRECENTADDENDUM"
(meckeyi in number,
codei in varchar2)
return Boolean
is
x varchar2(1);
begin
select max(code) into x from c_addendums where meckey_fk = meckeyi;
if x = codei then
return true;
else
return false;
end if;
exception
when others then
return FALSE;
end;
But I am getting ORA-00920 invalid relational operator. Can anyone please help me out? I am not knowing where the error is. When I run the function by itself I am getting "False" returned as expected. Appreciate any advice on this.
Rgds,
Suma.Suma,
It looks like what you are trying to do is display a link for the record with the highest value in the Code column, and nothing for the other records.
If that is the case, you can eliminate the function and just use a SQL query like this:
(not tested)
select CASE
WHEN code = Max(code) over (partition by meckey_fk)
THEN
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>'
ELSE NULL
END EditAddendum,
'<a href="#">'
|| ' '
|| '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>' PrintMEC,
"CODE", "MECKEY_FK", "ADDENDUM", "WHO_CREATED", "WHEN_CREATED"
from "C_ADDENDUMS"
where "MECKEY_FK" = :P60_MECKEYIs that what you're trying to do?
Doug -
How to get values from a stored package variable of type record ?
Sir,
In my JClient form, I need to get values from a database stored package variable of type record. And the values are retained in the JClient form for the whole session. The values are copied only once when the form is started.
What is the best way to do that ?
Thanks
StephenStephen,
not sure what your model is, but if it is Business Components, I think I would expose the properties as a client method on the application module. This way all JClient panels and frames will have access to it. You could use a HashMap to store the data in teh app module.
If JDBC supports the record type, then you should be able to call it via a prepared SQL statement. If not, you may consider writing a PLSQL accessor to your stored procedure that returns something that can be handled.
Steve Muench provides the following examples on his blog page
http://otn.oracle.com/products/jdev/tips/muench/stprocnondbblock/PassUserEnteredValuesToStoredProc.zip
http://otn.oracle.com/products/jdev/tips/muench/multilevelstproc/MultilevelStoredProcExample.zip
Frank -
Not able to get the value from type defined in other progarm
Hi All,
I have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
But i am not able get the value
Type declaration
Declared in package Spec
TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE;
t_aa_derive t_aa_derive_tbl_type;
Package 1
Package1. PROCEDURE name(
some parameters);
is
Cursor
c1 is Select * from dual;
begin
OPEN c_aa_derive;
FETCH c_aa_derive
BULK COLLECT INTO t_aa_derive;
CLOSE c_aa_derive;
END get_aa_derive;
In My second package
I am calling
Package1. PROCEDURE name(
some parameters);
and then i am trying to
for i in 1 .. package1.t_aa_derive.COUNT
LOOP
end loop;
I am not able entered the loop for some reason.
Could some one guide me if anything i missed.
Cheers,
SanI have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
Why?
1. Why aren't you just using SQL to do the work?
2. Why don't you just open a CURSOR and pass that instead?
BULK COLLECT INTO t_aa_derive;
3. Why aren't you using a LIMIT clause? Are you sure that only a very small number of rows will be queried?
4. Why aren't you using a PIPELINED function instead of passing a collection?
Using collections with potentially unlimited numbers of rows is not scalable. Also, using collections can be more difficult for 'data consumers' to work with than if you just use a CURSOR or PIPELINED function.
Make sure you are using the proper architecture so that your code is both modular, scalable and easy to use. -
Getting a report in excel format from oracle report builder 10gDS release2
I want to get a report in excel format from oracle report builder 10gDS release2.
Is there ne method by which minimum effort is required for changing already made reports .
I have searched for it on internet :-
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
Example, given in the last of the page opened from the above url, is not working.
Can neone plz explain the example and how to use it
Thanks & Regards
JDOk, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
declare
pl_id ParamList;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
v_rep_status VARCHAR2(20);
v_repsrv VARCHAR2(100):= 'yourreportserver';
v_serv varchar2(50) := 'yourservername' ;
begin
pl_id := Get_Parameter_List('tmpdata');
if not id_null(pl_id) then
Destroy_Parameter_List( pl_id );
end if;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
repid := FIND_REPORT_OBJECT('yourreport'); SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
set_report_object_property(repid,REPORT_DESTYPE,CACHE );
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
end;
I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
The rest remains untouched.
Hope it helps. -
Hello.
Help. Help. Help.
I have to get value from APEX_ITEM.SELECT_LIST_FROM_QUERY - column on a report.
SELECT DISTINCT ROLE AS GET_ROLE,
JOB AS GET_JOB,
APEX_ITEM.SELECT_LIST_FROM_QUERY
( 1, '%', 'SELECT DISTINCT CODE c,
MODE m
FROM T2
WHERE ROLE = ' || ROLE ) AS GET_CODE
FROM T1
WHERE AGE >30 AND
SEX = 'M' ;
I was trying to use javascript :
for (var i = 0; i < selectlist_name.options.length; i++)
if (selectlist_name.options[ i ].selected)
result=selectlist_name.options;
But I don't know is that correct:
"selectlist_name" - APEX_ITEM.F01
(of my APEX_ITEM.SELECT_LIST_FROM_QUERY)?Just as a note, but you want to make sure your APEX_ITEM call is closed. The code snippet you posted isn't complete.
APEX_ITEM.SELECT_LIST_FROM_QUERY(6,c020, 'select DISTRIBUTION_NAME, DISTRIBUTION_NAME from DISTRIBUTIONS','style="", SEQ_ID <-- No closing )In the documentation - http://www.utoug.org/i/doc/api099.htm - (though it isn't necessarily the easiest to read) it gives this explanation of the syntax:
APEX_ITEM.SELECT_LIST_FROM_QUERY(
p_idx IN NUMBER,
p_value IN VARCHAR2 DEFAULT,
p_query IN VARCHAR2,
p_attributes IN VARCHAR2 DEFAULT,
p_show_null IN VARCHAR2 DEFAULT,
p_null_value IN VARCHAR2 DEFAULT,
p_null_text IN VARCHAR2 DEFAULT,
p_item_id IN VARCHAR2 DEFAULT,
p_item_label IN VARCHAR2 DEFAULT,
p_show_extra IN VARCHAR2 DEFAULT)
RETURN VARCHAR2;
What you want to look at is p_value to set an initial value. It should come from your data, but you could consider doing an NVL or DECODE to substitute your default.
In this case it would modify your query to be:
SELECT distinct apex_item.hidden(1, seq_id), c003,c004,c005, c006,
APEX_ITEM.SELECT_LIST_FROM_QUERY(6,c020, 'select DISTRIBUTION_NAME, DISTRIBUTION_NAME from DISTRIBUTIONS','style=""),
SEQ_ID
FROM APEX_collections
WHERE collection_name = 'ARGYLL_INVOICES'
order by seq_id If the value is always NULL, you can use the p_show_null, p_null_value, and p_null_text to put in a "default"
SELECT distinct apex_item.hidden(1, seq_id), c003,c004,c005, c006,
APEX_ITEM.SELECT_LIST_FROM_QUERY(6,NVL(c020,0), 'select DISTRIBUTION_NAME, DISTRIBUTION_NAME from DISTRIBUTIONS','style="",YES, 100, 'Default'),
SEQ_ID
FROM APEX_collections
WHERE collection_name = 'ARGYLL_INVOICES'
order by seq_id -
When I try to move files from my imac (v10.8.5) to my external harddrive I get the error message "The operation can’t be completed because an unexpected error occurred (error code -50)." How can I resolve this? Thank you.
Some other things to look at.
https://www.google.com/search?btnG=1&pws=0&q=The+operation+cannot+be+completed+b ecause+an+unexpected+error+occurred+(error+code+-50 -
Getting the file type from a placed file
Hi
I am trying to get the file type from items placed on a page. I know the types available has one of the three interfaces "IImageAttributes", "IEPSAttributes" or "IPDFAttributes", but how can i test whether the placed image is a TIF, JPG ... Of course i could test on the suffix or the file type (mac), but that isnt "secure" enough, since InDesign can place files with no filetype or extension, if they are in an importable format.
What I want in short, is to read the filetype shown in the Info palette, any one knows how to do this?
JonThanks, I did take a look in these interfaces, but that didnt solve the problem for eps, pdf and other none raster types.
Instead I found the:
IDataLink->GetNameInfo()
Which gives me the string from the Info palette.
Maybe you are looking for
-
Stock Special Q valuated , problems
hi guru´s I´ve several problems. In first place I create a WBS from PS . My material master is a valuated material. After this, I create a PR, creat a PO with reference to PR and save. Problem: when I did the Goog Receipt the special stock Q is in m
-
Help with Servlet/HTTP/Database
Hi, I am an 18 year old student, about to enter university and very new to JAVA. Would anyone be kind enough to put down the script for a simple servlet/HTTP login page that is connected to a database and explain some of the key features of it for me
-
How theme-based text search work?
Hello all, I want to use the theme-based text search feature of interMedia. I am not too understand about how it works. Is that I need to build up my own threasrus that map a word to a concept. e.g. Concept 'Internet' include words such as 'Computer'
-
Address in invoice output.
Hi Experts, Here, when I look at the print preview of invoice (credit note) output, there is no address appearing in it. Please help. Points will be rewarded.
-
Premiere Pro CS3 Vs Premiere Element (latest version)
Hi there, I need need help on whether to buy Premiere Pro CS3 or Premiere Element (latest version) ? 1. Can the Element run multiple videos at the same time ? For example, I wanted to run say 4 videos at the same time on different part of the screen.