URGENT:FI_AP Critical Query
Hi gurus
Can any body explain How to derive following scenario
I have following characterstics & kefigure from 0FI_AP_04 and DSO is 0FIAP_O03
Key figure: Dr/cr amount
Charactestics: Company code, 0FISCPER, 0PMTTRMS, 0PMT_BLK ,posting date and Clearing date
I have restrictions on amount like some values from pmt terms and pmt block. The conditions are for a given fiscal period(like jan 2007 to dec 2007) with posting date <= month end date and clearing date >month end date or blank. as per this scenario i have to get values for all the 12 months. I am putting an example here
Comp code 0FISCPER(jan 2007 to DEC2007) dr/CRAmount(with above said restrictions)
01 DEC2006 600
JAN2007 1000
FEB2007 1200
MAR2007 400
APRIL 1500
LIKE this Upto december2007. Assume that for the month of january there are some posting dates which are posted in december but not cleared in jan2007 all that accumulate and show in Jan2007 closing balance(1i.e 1000). After this threre might be some clearing entries in january(for open items of dec06 and jan07) those amounts should not appear in FEB. but the items which are opened in dec jan feb which are not cleared till end february should appear in bebruary. Like this manner I have to calculate for an user specified period.
Can any body can explain how to achieve this. any can mail me at [email protected]
points will be awarded.
Thanks in advance
UC
I have not worked in FI-BW
So it is just a guess.
Restrict the values in the respective keyfigures with time characteristics and the other statuses that you desire.
That will fetch the records accordingly for the particular month.
May be I am wrong.
Regards
Gajendra
Similar Messages
-
URGENT : Challenge questions query: Oracle Access Manager 10g
Hi all,
This is a query regarding password challenge questions in Oracle Access Manager 10g. We have created password policies for a specific container in OID (say cn=xxx,cn=users,dc=oracle,dc=com) and it is working fine.
In order to exclude certain set of users (say user ABC ) for password policies, we have set the obpasswordchangeflag to false for those users which are in same container for which password policy is created.
When we try to login to the application with the user say ABC, I am not seeing any reset password page - I am happy till this point. However it is showing Configure Challenge questions page. Is there any way to bypass this page? Or is this the expected behavior?
This is very urgent and prompt reply is very much appreciated.
-MahendraHi Mahendra,
This is expected behaviour. In order to exclude the password policy management for some certains user for particular domain/container. please add the below configuration parameter to your OAM10g password policy.
Password Policy Filter Field (!(|(cn=xxx)(cn=abc)))
----Ajay -
URGENT !( jdbc query problem)
Hi Forum
i made an application which run on JRun server.
In many of my jsps i used sql query like this:
" select id, name, rollno from student where add = 'jj';"
and retrieve the record from resultset like this:
rs.getString("id");
rs.getString("name");
rs.getString("rollno");
I got no error.
BUT WHEN I RETRIEVE THE RECORDS LIKE THIS
rs.getString("name");
rs.getString("id");
rs.getString("rollno");
i got the error:
java.sql.SQLException: [Oracle][ODBC]Invalid column number <1>.
I can not understand what is the problem ?
all the datatypes are correct.
all coding is correct.
and everything is correct.
pls help me & suggest a solution.
is there any problem of jdbc API OR of JRUN SERVER SETTINGS?
thanks
mail me at [email protected]
Arvind GoelHere is a part of my code in which i got error:
(all variables are defined)
It is the working code. BUT when i change the sequence of retrieving fields as i select then problem occurs.
pls help me, i need it urgently.
if(st.equals("YES")){
rs=stmt.executeQuery("select r.na_WPN, m.MK_WPN, m.tp_WPN, m.REC_NO, m.ISSUED, r.dte_del, r.ps from amm_issue r,armentry m where r.ent_srno=m.srno and r.ps='"+username+"' and m.issued='YES' ");
else if(st.equals("NO")){
rs=stmt.executeQuery("select r.na_WPN, m.MK_WPN, m.tp_WPN, m.REC_NO, m.ISSUED, r.dte_del, r.ps from amm_issue r,armentry m where r.ent_srno=m.srno and r.ps='"+username+"' and m.issued='NO' ");
else if(st.equals("BOTH")){
rs=stmt.executeQuery("select r.na_WPN, m.MK_WPN, m.tp_WPN, m.REC_NO, m.ISSUED, r.dte_del, r.ps from amm_issue r,armentry m where r.ent_srno=m.srno and r.ps='"+username+"'");
while(rs.next())
String tp_wpn=rs.getString("na_WPN");
String mk_wpn=rs.getString("MK_WPN");
String no_wpn=rs.getString("tp_WPN");
String rec_no=rs.getString("REC_NO");
String issued=rs.getString("ISSUED");
dte_del =rs.getString("dte_del");
ps= rs.getString("ps");
if(i==0){
out.println("<tr><th>Police Station </th> <th>Type of Weapon</th><th>Make of Weapon</th><th>No of Weapon</th><th>Recipt No</th><th>Issued Status</th><th>Date of Receiving");
}i++;
out.println("<TR><td>"+ps+" <td>"+no_wpn+" <td>"+mk_wpn+"</td> <td>"+tp_wpn+"</td> <td> "+rec_no+"</td><td>"+issued+"<td><center>"+dte_del+" </td>");
thanx
Arvind -
URGENT: Error with query on MultiProvider
Hi,
I am designing a query on a MultiProvider that combines a cube and ODS. the common characterisitics in the cube & ODS are Material, fiscal period, country.
I have 2 rows & 1 column and several free characterisitics (mostly navigational attributes of Material).
Rows: KF1 (from cube) & KF2 (from ODS)
Column: Fiscal Period
I have done all the selections & Identification in the multiprovider and set the ODS for BW reporting.
I am not able to get data from ODS with query on MultiProvider.
And i need to add another row that calculates the product of KF1 & KF2. KF1 is sales quantity and KF2 is price identified uniquely by Material/Country combination. When we report at Country level wihtout any material selection the output revenue should be SUM of individual products between KF1 & KF2 (if there are 3 materials (A) sold that have a price of X and 2 materials (B) sold that have a price of Y, the answer should be 3X + 2Y instead of (32) * (XY)/2.
and also i have geographical hierarchy for 0country which is used in ODS & cube. can i use the geographical hierarchy for ODS as well for aggregation of values?
Regards
EmilHi, i have solved the issue by impementing an SAP note.
and the issue is the in Query i need to calculate a key figure based on the other 2 key figures.
KF3 = KF1 * KF2
the only issue here is i need to find the KF1 for each material/country/fiscal period from cube 1 and KF2 for each material/country/fiscal period.
and multiply and then aggregate according to the filter & selection conditions.
can anyone let me know how to do it..
its very urgent..
thank you
Emil -
Urgent help required: Query regarding LC Variables
Hi All
Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
export LC_COLLATE=en_US.ISO8859-1
export LC_MESSAGES=C
export LC_MONETARY=en_US.ISO8859-1
export LC_MONETARY=en_US.ISO8859-1
export HZ=100
export LC_CTYPE=en_US.ISO8859-1
export LANG=en_US.UTF-8
Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
1. Can someone please tell me, what each of these variable mean and how these values make a difference.
2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
Appreciate your help in this regard.
Thanks
Amit
Hi All
A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
Request everyone to please give their inputs as it's a bit urgent.
Thanks for all the help in advance.
Thanks
Amit
Some help required please...
Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
Edited by: amitsinhaengg on Jul 22, 2009 2:06 AMLC_CTYPE
Controls the behavior of character handling functions.
LC_TIME
Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
LC_MONETARY
Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
LC_NUMERIC
Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
LC_COLLATE
Specifies a collation order and regular expression definition for the locale.
LC_MESSAGES
Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
You can use command
# locale -k LC_CTYPE
to see more detail about each type. -
Urgent Requirement-- ABAP Query
Hi,
I have a developed ABAP Query by the name "YCOPM_Bill_PUR".
In this query, I have an additional field "indicator". For this field, there is some code written, wherein either of the values "N" or "O" are assigned to this "indiactor" field. Now, the query should generate the output, only when indicator = N i.e. only those records should be displayed in the output for which the indicator field has value 'N'.
Records having indicator field value as "O", should not be displayed.
I want to know the place where I can write this condition and keep a control on the records displayed in the output.
Currently, the query output displays all records (irrespective of whether indicator = 'N' or 'O').
I have added the field indicator on the selection screen.
But, I want to know where can I write the condition :
if indicator = 'N'.
endif.
In "SQ02", there would be some place where i can write the above condition so that the output is trigerred only for those particular records. If possible, please do let me know.
In short, I need to know, where are the output fields getting populated and where can I write this code to control the output.
Please help me out.
Thanks & Regards,
Tejas SavlaHi Pooja,
Thanks a lot for your quick reply.
I have done the same . i.e. i have written the code for that particular field (indicator) in SQ02 and generated the infoset. Now, the correct value ('O' or 'N') gets assigned to the indicator field.
But, my problem is different.
I need to find the location, where the all the output(report output) fields are getting populated, so that I can place a condition on my additional field (indicator) and control the fields to be displayed in the output.
In short, I need to know, if there exists a location where I can place a condition such as "Display the output, only if field indicator = 'O' ".
I hope you got my query.
Thanks in advance.
Regards,
Tejas Savla -
Reports...critical query problem
Dear All,
want to generate a report in reports 6i..the output is as below...
SRNO SALARY COMM DIFF_SALARY
1 5000 50 4500
2 4400 100 4400
3 4400 400 4000
4 4000 500 3500
actually the diff of (salary-comm) should be displayed in the salary column in next line. For understanding i hv shown the output in a separate column.
Iam usingForms 6i so i can't use the lastest functions of Oracle9i.
How to do this..please help outRegardless of version of Forms/Reports you are using, if the DB version you are usion is at least 9, use the LAG function in your query.
http://www.oracle-base.com/articles/misc/LagLeadAnalyticFunctions.php -
Urgent: regarding insert query problem
i have a one table say "item_master_old" its structure is like
item_master_old (item_name, item_rate, item_qty, item_desc)
second table say "item_master" its structure is like
item_master(id, item_name, item_rate, item_qty, item_desc)
i want to insert item_master_old values in item_master using the following insert query :
insert into item_master ( (select nvl( max(id), 0) + 1 from item_master ),
item_name,
item_rate,
item_qty,
item_desc
from
item_master_old)
but i update the id column with 1 in all column but i want the max(id) + 1
how it can be possible ?
Regards
stry this!
insert into item_master
select (select nvl(max(id),0) from item_master)+rownum,
item_name, item_rate, item_qty, item_desc
from item_master_old;
"Not tested"Message was edited by:
Jameel -
Urgent: how to query/index xml files to retrieve information belonging to a section?
os: linux
db: oracle 9iR2
Hi,
how can I extract -> only <- the matching entry information from within a xml file, that belongs to the result of a query?
For example, given the following xml:
<QualifierRecordSet>
<QualifierRecord QualifierType = "1">
<QualifierUI>Q000002</QualifierUI>
<QualifierName>
<String>test1</String>
</QualifierName>
<DateCreated>
<Year>1973</Year>
<Month>12</Month>
<Day>27</Day>
</DateCreated>
</QualifierRecord>
<QualifierRecord QualifierType = "1">
<QualifierUI>Q000003</QualifierUI>
<QualifierName>
<String>test2</String>
</QualifierName>
<DateCreated>
<Year>1975</Year>
<Month>10</Month>
<Day10</Day>
</DateCreated>
</QualifierRecord>
<QualifierRecordSet>
I would like to query for '/QualifierRecordSet/QualifierRecord/QualifierName[String = "test2"]' and retrieve ONLY the second 'QualifierRecord' - entry, i.e.:
<QualifierRecord QualifierType = "1">
<QualifierUI>Q000003</QualifierUI>
<QualifierName>
<String>test2</String>
</QualifierName>
<DateCreated>
<Year>1975</Year>
<Month>10</Month>
<Day10</Day>
</DateCreated>
</QualifierRecord>
...but not the' id' or 'name' of the xml-document(I have only one document).
Thanks for your help in advance.
Best Regards,
Danextract() would do what you want. But your whole approach of only have 1 document makes no sense when working with an XML database. See my reply to the other post for more reasons.
-
i have a table having business_name,sales,SIC the data is shown below
business_name sales sic
xxx 30 1300
yyy 45.5 2000
zzz 65 8769
i need to generate a report the number of business having sales between 0-50 and
sic between 000-3000 and 3000-5000 and 5000-7000...
like sales between 50-100 and having sic 000-3000 ,3000-5000...
how to write this in query. could anybody please help me.
0000-3000 3000-5000 5000-7000
0-50
50-100
100-150i have a table having columns businessname,sales in millions and sic code.
sic code ranges from 0000-9999
i want to generate a report that how many businesses having a sales between
0-50 and sic between0000-3000, and no of businesses having sales between
0-50 and sic between 3000-5000 ,and sales0-50 and sic 5000-7000 son on
and also
Businesses have sales 50-100 and sic 0000-3000,3000-5000....
the report should be like this
SIC
0000-3000 3000-5000 5000-7000
SALES
0-50 2 3 5
50-100 9 1 8
100-150 0 18 2 -
Urgent: Simple packages query.
I have two .java files (Assign1.java, Support.java) in the same package (cis.unisa) and need an instance of Assign1 to access a class in Support.java (FileAccess). I thought this would be simple but not so far.
I tried just FileAccess.method() but I get 'cannot resolve symbol. symbol: variable FileAccess' I've also tried unisa.cis.FileAccess.method() and importing unisa.cis.* but I get the same message in all. It seems as if it just can't find the FileAccess class but it is there.
Any help would be greatly appreciated, A.S.A.P. thanks.Don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
Besides, unless the entire Bolivian army is about to chase you over the edge of a cliff, your problem probably isn't as urgent as you think. :o) -
How to get the process tasks for any user & IT Resource combination. e.g. if I want to know whether "Change Password" was initiated for the user for Active directory or not, how can I use the OIM APIs to find out the same.
Please help. THis is very urgent.
ThanksOr even if I get the Resource Profile for the user, it would be helpful.
I need the "Resource Name" and "Description" column data from OIM Admin Console >>User Detail >> Resource Profile -
Hi Guys,
I have some problem in this query...
select decode(sign(1100-1000),-1, '-1',
sign(1100-2000), +1, 'N. A.',
sign(1100-1001), +1, 1100)
from dual;
If I use 800 instead of 1100 the query results fine but with 1100 instead of 800 I receive this message:
sign(1100-2000), +1, 'N. A.',
ERROR at line 2:
ORA-01722: invalid number
I will apprecieate if someone help me for solving this problem.
Thanks in advance
Bill
nullThe last query mentioned by your works becuase of the following reason.
Decode can be simplified as below.
IF SIGN(800-1000) = -1 THEN
RETURN(-1)
ELSIF SIGN(800-1000) = SIGN(800-2000) THEN
RETURN(+1)
ELSIF SIGN(800-1000) = 'N.A.' THEN
RETURN(SIGN(800 - 1001)
ELSIF SIGN(800-1000) = +1 THEN
RETURN(800)
END IF
This query executes because the first IF condition is satisifed and the query returns with -1.
In other case the query goes on to execute the third IF condition and so the query fails.
Hope this answers your question.
Thanks,
Gana -
URGENT:Deletion of Query from QA
I want to delete query from Quality system.
Proposed solution is deleting query in dev and then transporting same to QA.
I am confused little bit if i use RSZDELETE command will it ask for request or i should simply delete query from query deisgner after assigning it to one request.
Please provide me inputs regarding same as soon as possible.
RahulRahul, you cannot Delete the already deleted Object again in Dev. SO, you are getting that error.
You may have inconsistencies between Dev and QAS. Look at the transport log of the Query. In the Log, it will state if the Query is deleted in QAS or it couldn't.
If you need to re-transport the deletion, don't try to collect the deleted Query again. It won't work. Instead, talk to BASIS and COPY the Transport Request (the already released one with the Query deletion) into a new transport request and move it to BQ3 again.
Also, sit with basis if neede dand analyze the transport log carefully. It will tell you what you need to know.
NOTE: IF you are using the same query in workooks, etc in BQ3, it cannot be deleted. This is a problem, so also go to BQ3 and see a where else you are using the that Query different from DEV.
Good luck
Uday Chamarthy -
URGENT - Does Select Query Sort based on RowId ?
Does Select Query Sort based on RowId ?
Eg: Select * from Employee;
RowId primkey name
aaaa 1 kiran
aaab 2 kumar
aaac 3 someone
Now when i delete the primkey: 2 row.
I will have:
RowId primkey name
aaaa 1 kiran
aaac 3 someone
Now when i insert a new record:
RowId primkey name
aaaa 1 kiran
aaac 3 someone
[Comment: Here the rowid can either be a new one like 'aaad' or 'aaab' is also reused.]
aaad 4 somename
My requirement is that the 'aaab' should not be reused.
Can any one pls suggest some way.Dear Friend,
Plese gothrougth once following steps... (One by One)
Hope you can understand how Rowid Creating and Updting in you table.
SQL> select rowid,enumber from t;
ROWID ENUMBER
AAAJ4oAABAAAWlyAAA 1
AAAJ4oAABAAAWlyAAB 2
AAAJ4oAABAAAWlyAAC 3
AAAJ4oAABAAAWlyAAD 4
SQL> select rowid,enumber from t where enumber = 2;
1 row deleted.
SQL> insert into t values(9):
1 row created.
SQL> select rowid,enumber from t;
ROWID ENUMBER
AAAJ4oAABAAAWlyAAA 1
AAAJ4oAABAAAWlyAAC 3
AAAJ4oAABAAAWlyAAD 4
AAAJ4oAABAAAWlyAAE 9
SQL> delete from t where enumber = 3;
1 row deleted.
SQL> insert into t values(3);
1 row created.
SQL> select rowid,enumber from t;
ROWID ENUMBER
AAAJ4oAABAAAWlyAAA 1
AAAJ4oAABAAAWlyAAB 3
AAAJ4oAABAAAWlyAAD 4
AAAJ4oAABAAAWlyAAE 9
Regards,
G V Sreenivasulu
Maybe you are looking for
-
Help with iPhoto version 7.1.5
some iphoto pictures show on the library but not in the albums (only the MB)
-
Sorry, we can't get that information right now ECP page
We are running in coexistance mode with exchange 2010 and 2013. I was working with vendor to resolve some config issue and they had me redo the certificate . Upon completion when i went to log back into the ecp or even owa page i get the following er
-
GOS(Generic Object Services) for Custom program ?
Hi All, My requirement is to have GOS option to attach document for Custom program against each record. Do anybody have faced the same kind of requirement,please let me know how to do. Bharathi.J
-
Accessing many databases with HTML DB from a single Apache Server
Hello; I am planning the install of 10g and HTML DB on a HPUX server with many databases running out of many Oracle Homes 9.2.0, 9.0.1 and 8.1.7. I will be upgrading a number of the existing databases to 10g and want to access them with HTML DB. My q
-
How to view large videos on BB 8800
Hello Everyone, I need help in viewing large videos on my BB 8800. I know only Videos - Up to 320 x 240, up to 800 kbps, up to 30 frames per second are compatible, but all large videos have a higher resolution. It shoots an error when tried playing.