Payscale Reclassification report RPIPSR00 giving error
Hi Experts,
We are implementing OM/PA in SAP ehp6
We are trying to use standard Payscale Reclassification report RPIPSR00 based on Age.
whenever we run this report for an employee we get a balnk putput,it does not upadte the IT0008
we have mainatined values in the view V_T510_PSRCL as SAP documentation suggests.
Kindly suggest the correct method to run this report successfully
Regards
Shravani R
Dear Amit,
Thanks for your reply..
I have maintained the TARIFF and LGMST properly..
One employee has joined 02.01.2011.In configuration i have maintained the condition 1 year(11 months)..I have maintained the IT0041.
If run report RPIPSR00 i am getting the error..
Please correct me..
Regards,
R.Rajesh
Similar Messages
-
Making Canada specifi changes to RPIPSR00 Payscale Reclassification Report
Hi Guru's,
We got the requirement to work around the standard SAP report Payscale Reclassification which RPIPSR00. Since this is not suits to our client specific Canada changes we are required to create a custom program or need to impliment BADI. Please find the following changes that we need to impliment in the custom progrem.
1.The program should automatically progress full-time employees which have reached the threshold (time in level or hours worked) to progress to the next level.
2. Employees that are part-time and must meet a certain number of actual hours to jump to next step in the progression program and this is done manually by HR. These employees should be excluded from the progression program but are included on the progression report.
3. Employees that require an examination prior to moving to the next level do not progress automatically. The manager notifies HR once they have completed the appropriate training and HR manually progresses them to the next step. These employees should be excluded from the progression program but are included on the progression report as due to progress pending examination. Need an indicator within the rules configuration to be able to note levels which require an examination prior to progression
3. Check for a temporary rate higher than next step rate
4.Not progress any employees that are part-time or require certification.
5. Program needs to read the IT0019 Date stored in u201CStep Progression Base Dateu201D field to determine when the previous progression date was. Step Progression program will need to update this date when the program is run to match the begin date (BEGDA) of IT0008 Reason Code u201CStep Progressionu201D.
6.Program should run report to automatically update the Pay Scale/Level for eligible employees and reflect this update on their IT0008 basic pay record.
Could you please advise me on this whether do we have any BADI's or Enhancements to achieve this requirement or need to go for Custom program with the prototype soluiton.
Thanks in advance for your time.
Regards,
J.
Moved the thread from SAP HCM to SAP North AmericaDear Amit,
Thanks for your reply..
I have maintained the TARIFF and LGMST properly..
One employee has joined 02.01.2011.In configuration i have maintained the condition 1 year(11 months)..I have maintained the IT0041.
If run report RPIPSR00 i am getting the error..
Please correct me..
Regards,
R.Rajesh -
Report Server giving error http404
roblem with Report Server :
I have installed report server and i am using CGI not web cartridge.I have
followed all the stpes of installation and when i call report through URL,I am getting
following error :
HTTP-404 File not found
The URL is,
http://brio1:4444/webcache/rwcgi60.exe?server=repserver+report=emp.rdf+userid=scott/tiger@db_8+destype=cache+desformat=cache
where
webcache is a virtual directory defined in the directory structure of listner with port no. 4444
which is pointing to, F:\orant\report60\server\cache
repserver is a report server with the same tnsname in tnsname.ora file
Following environment variables have also been set,
REPORTS60_VIRTUAL_MAP = /webcache/ , which is again defined in the directory structure of listner with port no. 4444
and pointing to, F:\orant\report60\server\cache
REPORTS60_PHYSICAL_MAP = F:\orant\report60\server\cache
REPORTS60_SHARED_CACHE= yes
1.How do i use report server efficiently when i call report through calling form using RUN_PRODUCT?You must map the directory /bin of the DEVELOPER 6.0(where you store rwcgi60.exe) as a CR(CGI RECURSIVE) directory (do not copy the rwcgi60.exe to the bin directory of OAS 4.0.8 also map usual as /ows-bin/)
From your error seems that you don't refer correctly the mapping of rwcgi60.exe. desformat=HTML odesformat=PDF. -
XML Report output giving error "word cannot open the file because....
Hi All,
Greetings!
I have a standard report, 'Payables Posted Invoice Register".
The report was going in to warning beacuse of some Invalid characters in the Data.
I corrected the invalid characters and then ran the report ; it completed fine.
But now when I try to open the report output, the output is not getting open but its allowing me to save the file.
When I save it on my local machine and try to open it, I am getting an error as "word cannot open the file because it is larger than 512 megabytes".
The document size showing is 664MB when I saved it on my machine. And the output type of the report is RTF and not PDF.
Can anybody please help?
Thanks,
Sachinnot sure, if the Microsoft word has limitation of file size.
-
Migrating from crystal report 8.5 to 10.0 giving error
migrating from crystal report 8.5 to 10.0 giving error
I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providingmigrating from crystal report 8.5 to 10.0 giving error
I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providing -
Migrating from crystal report 8.5 to 10.0 giving error 01S00:error
migrating from crystal report 8.5 to 10.0 giving error
I am working in migrating my cr application to 10th ver from the existing 8.5 where we have to explicitly make a query in query builder and then attach it. I was using dsn in ms odbc for oracle driver to connect the DB. Now in 10.0 i have removed the query file created using 8.5 query builder and trying to write directly to command editor. the report as stand alone is working fine. but when i try to generate the pdf using my vb application then on .export option it is giving error as "Logon failed.
Details: 01S00:[Microsoft][ODBC driver for Oracle]Invalid connection string attribute". i think the problem might be with cddb_oracle.dll or crdb_oracle.dll file as i am using a evaluation version of crystal report 10. as input to dsn i am providing
1.dsn
2.usid
3.database
4.password
what else is missing . plz help.....Well, you can migrate, you can not upgrade (semantics I suppose). E.g.; the RDC was deprecated in CR XI r1 and retired in CR 2008. Thus there is no way for you to upgrade to version 12 of the RDC as there is no such thing. So, from here, you have two options: migrate / port the app to .NET, or Java SDKs.
Re. RDC, see my blog here:
/people/ludek.uher/blog/2008/10/20/report-designer-component--past-present-future
For porting the app to .NET, see this article:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0eb394f-931e-2b10-3b82-9413bfc3f457
Ludek -
Why this query is giving error in report
I have a simple query ...
SELECT &P_FLEXDATA C_FLEXDATA,
CHART_OF_ACCOUNTS_ID C_NUM
FROM GL_CODE_COMBINATIONS
It is running fine in SQL prompt but when I create it as a report query then it is giving error: ORA-00904 "C_FLEXDATA": invalid identifier
Please advise ....
I shall be ever thankful...
Best RegardsHello,
You are using a "lexical" reference in the SQL query (&P_FLEXDATA).
You must set a default value for P_FLEXDATA in order the SQL Query to be parsed successfuly
Regards -
Report giving error when the alias in the sql statment is long
Hi,
When I am writing a select statement with long alias name, report in portal is giving error, and is working fine with sqlplus
Any idea,
Thanks,
MansoorHi
when i run in foreground it is working perfectly. The Spool is not getting created.
regards
madhuri
Edited by: madhuri_2000 kumari on Nov 26, 2008 2:00 PM -
Report giving error after 10g upgrade
We have a custom report which is erroring out after 10g upgrade. Following is the log file-->
**Starts**24-APR-2009 04:11:21
ORACLE error 3113 in FDPSTP
Cause: FDPSTP failed due to ORA-03113: end-of-file on communication channel
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R.Status_Code, P
APP-FND-01564: ORACLE error 1000 in AFPGRG
Cause: AFPGRG failed due to ORA-01000: maximum open cursors exceeded.
The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
Start of log messages from FND_FILE
End of log messages from FND_FILE
ORACLE error 3114 in AFPRSR-Resubmit_Time
Cause: AFPRSR-Resubmit_Time failed due to ORA-03114: not connected to ORACLE
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R
SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R.Status_Code, P.A
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected to ORACLE
Contact your system administrator or support representative.
Shutting down Concurrent Manager : 24-APR-2009 04:11:51
ORA-01041: internal error. hostdef extension doesn't exist
ORACLE error 3114 in AFPRSR-Resubmit_Time
Cause: AFPRSR-Resubmit_Time failed due to ORA-03114: not connected to ORACLE
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R
List of errors encountered:
_ 1 _
Routine AFPCMT encountered an ORACLE error. ORA-01041: internal error.
hostdef extension doesn't exist
Review your error messages for the cause of the error. (=<POINTER>)
_ 2 _
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected
to ORACLE
Contact your system administrator or support representative.
_ 3 _
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected
to ORACLE
Contact your system administrator or support representative.
However the alert log has following-->
Errors in file /u07/fatstdb/10g/admin/FATST_fatstdb/udump/fatst_ora_10468.trc:
ORA-07445: exception encountered: core dump [qercoStart()+156] [SIGSEGV] [Address not mapped to object] [0x00000087D] [] []
I already increased the cursors from 700 to 900
How to fix it?Hi,
However the alert log has following-->
Errors in file /u07/fatstdb/10g/admin/FATST_fatstdb/udump/fatst_ora_10468.trc:
ORA-07445: exception encountered: core dump [qercoStart()+156] [SIGSEGV] [Address not mapped to object] [0x00000087D] [] []Refer to the lookup to get more details about this error.
Note: 153788.1 - Troubleshoot an ORA-600 or ORA-7445 Error Using the Error Lookup Tool
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=153788.1
I already increased the cursors from 700 to 900
How to fix it?Is it possible to increase OPEN_CURSORS to a higher value? Enable trace on this concurrent program, and see if this collects more details about the error.
Regards,
Hussein -
Crystal Report 7 with Access 97 giving Error - 20536
Our client is getting an error at his machine.
Application is in VB 6.0 with Access 97 as database and while generating reports,it gives error "Runtime Error 20536 Unable to Connect: Incorrect Log On Parameters" .Report version is Crystal Report 7.
Also client has Win XP sp3 OS.
This error was not reproducible at our machines which has the same OS.
Please if anyone could help in this regard ,that will be really great.Hello Prachi,
Crystal Reports 7 reached End of Life for patch support in August, 2002. CR7 was released in 1998 - long before the XP operating system was released. Back then Crystal Decisions rarely went back and added OS support for the older versions of Crystal Reports. There weren't major changes to Windows until Vista/Win7, so that's probably why it's working on your machine.
The KB article links that don't work can be found with manual searching. You can go to [http://service.sap.com/support|http://service.sap.com/support], click on the Help & Support link, and then click on the SAP xSearch link. Use the "C-number" listed in the document in the Search For field and click on Go. The KBA that corresponds to that particular "C-number" will have that "C-number" in the Keyword section of the article. Other articles may reference that "C-number" so your search may return more than one result. It is unlikely that the document with the links will be updated due to its age.
You can use a utility called Modules to see if you can find any DLL differences between the working and non-working machine. You can download it from SAP at this link: [https://smpdl.sap-ag.de/sapidp/012002523100006252802008E/modules.zip|https://smpdl.sap-ag.de/sapidp/012002523100006252802008E/modules.zip]. There are instruction in the ZIP archive. Run the utility on the non-working machine and the working machine. Save the two results and then compare them and address any differences.
I'm rusty on database connectivity issues so perhaps Ludek or someone else can throw in some additional suggestions related to OLE DB connectivity.
Sincerely,
Dan Kelleher -
WIS 10901 error while running WEBI Report but no error in the DESKI report
Hi,
Can anyone please help me to resolve this issue.
we have recently migrated BOXIR2 - BOXI3.1. many of the reports are from SQL Server and Oracle databases.
Oracle Database connection universe reports error:
i'm getting WIS 10901 error while running WEBI report for some particular objects not for all the objects but the same time i could able to pull the same object in the DESKI.
those particular objects having lenthy data's for ex:100 bytes. but i tried same 100bytes some other objects refreshing fine and displaying results.
i don't know where we ar missing.
SQL Server Connection universe reports:
These reports are giving mismatched results from the original but the callculation are done by the reporter side by creating variables. other than that there are no issues with these reports.
Please we are struggling lot on these issues, can anyone please help us.Hi,
For your issue 2 check whether any filters used in XI R2 are missing in XI R3. As during migration some filetrs might be missed. To check this in slice and dice panel in both bo versions.
Cheers,
Suresh Aluri. -
Reporting Point Backflush Error
Hi Friends,
I have a specific question. I am using a material in which Batch Mangement is active. Now when I use MF42N as collective backflush, I enter following data
Scene 1: Input Data in MF42N Screen
Plant
Posting Data & Document Date (Current Date)
Material
backflush Qty
Version
Reporting Point
When I enter this data System posts it without asking me Batch Number though Batch Management is active in Material Master.
Scene 2: Input Data in MF42N Screen
Plant
Posting Data & Document Date (Current Date)
Material
backflush Qty
Version
When I enter this data (No Reporting Point), then System gives me error as Enter Batch (Which is correct as Batch Management is Active in Material Master)
Please tell me why system is not giving error in Scene 1 where I am not entering Batch details.
Please let me know if you want any more details on this.Dear Nilesh,
In this case I feel may be by debugging we may be able to identify why the system is allowing you to post the material along
with batch without mentioning the reporting point without error.
Logically it should look for both the objects like reporting point as well as batch number(provided if you have assigned a REM
profile with reporting point and activated the batch management for the product).Is the REM profile containing the reporting point
as mandatory or optional?
Regards
Mangalraj.S -
Activity report failed(Communication error)- while check-in Activity
Hello SDN,
I am getting following error while Checking in activity from open activities .currently we are using NWDS7.3
CHECKIN Finished24s.9Files scuceeded.
ACTIVATE Activation Performed.Build request ID : 166
Internal Problem(Activity report failed(Communication error
[cause: Unalble to open connection to host<host>:<port>][reason:Address already in use : connect]]))
Check-in completed successfully but Activation is not completed and giving connectivity error described above. Again
I activated activity from Activation view. Still I am getting following error description.Plesae provide me solution
to resolve this issue.
GET_STATUS could not retrieve activation status of request '166' (Unable to connect to
host:port-Address already in use:connect(Service call exception; nested exception java.io.
IOException: Unable to connect to host:port-Address already in use:connect))
regards,
Sree.Just check the full hostname of your DTR server, should be like
hostname.company.com
and check if somewhere only
hostname
is being used.and both are getting successfully pinged. DO not try the NWDS ping. Use command prompt and
ping hostname
and
ping hostname.company.com
Also this happens due to some clash with some other developer. Please check after some time, may be after a desktop restart. things should start working.
Edited by: Varun Biswas on Nov 29, 2011 11:53 PM
Edited by: Varun Biswas on Nov 29, 2011 11:53 PM -
Query Saving takes long time and giving error
Hi Gurus,
I am creating one query that have lot of calculations (CKF & RKF).
When I am trying to save this query it is taking long time and it is giving error like RFC_ERROR_SYSTEM_FAILURE, Query Designer must be restarted, further work not possible.
Please give me the solution for this.
Thanks,
RChowdaryHi Chowdary,
Check the following note: 316470.
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=316470
The note details are:
Symptom
There are no authorizations to change roles. Consequently, the system displays no roles when you save workbooks in the BEx Analyzer. In the BEx browser, you cannot move or change workbooks, documents, folders and so on.
Other terms
BW 2.0B, 2.0A, 20A, 20B, frontend, error 172, Business Explorer,
RFC_ERROR_SYSTEM_FAILURE, NOT_AUTHORIZED, S_USER_TCD, RAISE_EXCEPTION,
LPRGN_STRUCTUREU04, SAPLPRGN_STRUCTURE, PRGN_STRU_SAVE_NODES
Reason and Prerequisites
The authorizations below are not assigned to the user.
Solution
Assign authorization for roles
To assign authorizations for a role, execute the following steps:
1. Start Transaction Role maintenance (PFCG)
2. Select a role
3. Choose the "Change" switch
4. Choose tab title "Authorizations"
5. Choose the "Change authorization data" switch
6. Choose "+ Manually" switch
7. Enter "S_USER_AGR" as "Authorization object"
8. Expand "Basis: Administration"/"Authorization: Role check""
9. From "Activity" select "Create or generate" and others like "Display" or "Change"
10. Under "Role Name", enter all roles that are supposed to be shown or changed. Enter "*" for all roles.
11. You can re-enter authorization object "S_USER_AGR" for other activities.
Assign authorization for transactions
If a user is granted the authorization for changing a role, he/she should also be granted the authorization for all transactions contained in the role. Add these transaction codes to authorization object S_USER_TCD.
1. Start the role maintenance transaction (PFCG).
2. Select a role.
3. Click on "Change".
4. Choose the "Authorizations" tab.
5. Click on "Change authorization data".
6. Click on "+ manually".
7. Specify "S_USER_TCD" as "Authorization object".
8. Expand "Basis - Administration"/"Authorizations: Transactions in Roles".
9. Under "Transaction", choose at least "RRMX" (for BW reports), "SAP_BW_TEMPLATE" (for BW Web Templates), "SAP_BW_QUERY" (for BW Queries and/or "SAP_BW_CRYSTAL" (for Crystal reports) or "*". Values with "SAP_BW_..." are not transactions, they are special node types (see transaction code NODE_TYPE_DEFINITION).
Using the SAP System Trace (Transaction ST01), you can identify the transaction that causes NOT_AUTHORIZED.
Prevent user assignment
Having the authorization for changing roles, the user is not only able to change the menu but also to assign users. If you want to prevent the latter, the user must loose the authorization for Transactions User Maintenance (SU01) and Role maintenance (PFCG).
Z1>Note
Refer to Note 197601, which provides information on the different display of BEx Browser, BEx Analyzer and Easy Access menu.
Please refer to Note 373979 about authorizations to save workbooks.
Check in the transaction ST22 for more details on the Query designer failure or query log file.
With Regards,
Ravi Kanth.
Edited by: Ravi kanth on Apr 9, 2009 6:02 PM -
This is my update query in oracle but it is giving error:
Update (select NM.Nominal_Amount,NM.Number_of_Units,NM.Current_Spot,NM.Published_Spot,NM.Strike_Price
from note_master NM ,
( select NORM.Note_Master_ID, NORM.Asset, NORM.Currency , 50 as Spot_Price_Calc, NVL(TOADD.NA,0) As NA, NVL(TOADD.NS,0)
As NS, NVL(TOADD.NA_P,0) As NA_P, NVL(TOADD.NS_P,0) As NS_P, NVL(TOADD.SA,0) As SA, (50 * (NORM.Strike_Price_Per/100)) as
rike_Price_Calc, (Case When UPPER(NORM.Misc2) = 'Q' THEN (NORM.No_Of_Shares * 50 * (NORM.Strike_Price_Per/100)) Else
NORM.Nominal_Amount End )as Nominal_Amount_Calc, (Case When UPPER(NORM.Misc2) ='N' THEN (NORM.Nominal_Amount /( 50 * (NORM.Strike_Price_Per/100)))
Else NORM.No_Of_Shares End )as NO_Of_Shares_Calc, (Case When UPPER(NORM.Misc2) = 'Q' THEN (NORM.No_Of_Shares * 50 * (NORM.Strike_Price_Per/100) * NORM.Issue_Price )/100
Else (NORM.Nominal_Amount * NORM.Issue_Price )/100 End )as Settlement_Amt_Calc from ( select Note_Master_Id, MIN(Spot_Price) as Spot_Price, Min(Strike_Price) as
Strike_Price, SUM(Nominal_Amount) as Nominal_Amount, SUM(No_Of_Shares) as No_Of_Shares , MIN(Issue_Price) as Issue_Price, MIN(Asset) as Asset, MIN(Currency) as Currency,
MIN(Strike_Price_Per) as Strike_Price_Per, MIN(Misc2) as Misc2 from ( Select Note_Master_Id, Spot_Price, Strike_Price, Nominal_Amount, No_Of_Shares, Issue_Price, Asset,
Currency , Strike_Price_Per,Misc2 from Sample_ADF_FinIQ_Common.Note_Order_RM Where Order_Status_Flag = 'YYYYYYNNNNNNNNNN' And RO_ID = 'R000000002' ) NORM Group by Note_Master_Id ) NORM
Left Outer JOIN Sample_ADF_FinIQ_Common.RATESSPOTBIDASK RSBA On RSBA.PairCode = (NORM.Asset ) Left Outer JOIN ( select Note_Master_ID,sum(Nominal_Amount)
as NA, sum(No_Of_Shares) as NS, sum(NominalAmt_Pending) as NA_P, sum(NoOfShares_Pending) as NS_P,sum(Settlement_Amt) as SA from Note_Order_RM
Where RO_ID <> 'R000000002' group by Note_Master_ID ) TOADD On TOADD.Note_Master_ID = NORM.Note_Master_ID ) RESULT1 where NM.Note_Master_ID = RESULT1.Note_Master_ID )
set Price_Updated_YN = 'Y' ,
Nominal_Amount = RESULT1.NA + RESULT1.Nominal_Amount_Calc , Number_Of_Units = RESULT1.NS + RESULT1.NO_Of_Shares_Calc ,
Current_Spot = RESULT1.Spot_Price_Calc , Published_Spot = RESULT1.Spot_Price_Calc , Strike_Price = RESULT1.Strike_Price_Calc
where NM.Note_Master_ID = RESULT1.Note_Master_ID;
error :
rror at Command Line:17 Column:105
Error report:
SQL Error: ORA-00904: "RESULT1"."STRIKE_PRICE_CALC": invalid identifier
00904. 00000 - "%s: invalid identifier"
can anybody help.
ThanksStill one more typo problem exists in you sql stament , equal to(=) operator is missing in your original statement look below
original
Where RO_ID 'R000000002' group by Note_Master_ID ) TOADD On TOADD.Note_Master_ID = NORM.Note_Master_ID ) RESULT1 where NM.Note_Master_ID = RESULT1.Note_Master_ID )
set Price_Updated_YN = 'Y'
modified
Where RO_ID='R000000002' group by Note_Master_ID ) TOADD On TOADD.Note_Master_ID = NORM.Note_Master_ID ) RESULT1 where NM.Note_Master_ID = RESULT1.Note_Master_ID )
set Price_Updated_YN = 'Y' Ok, once try with this code, some syntax prob i modified it.
Update (select NM.Nominal_Amount,NM.Number_of_Units,NM.Current_Spot,NM.Published_Spot,NM.Strike_Price
from note_master NM ,
( select NORM.Note_Master_ID, NORM.Asset, NORM.Currency , 50 as Spot_Price_Calc, NVL(TOADD.NA,0) As NA, NVL(TOADD.NS,0)
As NS, NVL(TOADD.NA_P,0) As NA_P, NVL(TOADD.NS_P,0) As NS_P, NVL(TOADD.SA,0) As SA, (50 * (NORM.Strike_Price_Per/100)) as
Strike_Price_Calc, (Case When UPPER(NORM.Misc2) = 'Q' THEN (NORM.No_Of_Shares * 50 * (NORM.Strike_Price_Per/100)) Else
NORM.Nominal_Amount End )as Nominal_Amount_Calc, (Case When UPPER(NORM.Misc2) ='N' THEN (NORM.Nominal_Amount /( 50 * (NORM.Strike_Price_Per/100)))
Else NORM.No_Of_Shares End )as NO_Of_Shares_Calc, (Case When UPPER(NORM.Misc2) = 'Q' THEN (NORM.No_Of_Shares * 50 * (NORM.Strike_Price_Per/100) * NORM.Issue_Price )/100
Else (NORM.Nominal_Amount * NORM.Issue_Price )/100 End )as Settlement_Amt_Calc from ( select Note_Master_Id, MIN(Spot_Price) as Spot_Price, Min(Strike_Price) as
Strike_Price, SUM(Nominal_Amount) as Nominal_Amount, SUM(No_Of_Shares) as No_Of_Shares , MIN(Issue_Price) as Issue_Price, MIN(Asset) as Asset, MIN(Currency) as Currency,
MIN(Strike_Price_Per) as Strike_Price_Per, MIN(Misc2) as Misc2 from ( Select Note_Master_Id, Spot_Price, Strike_Price, Nominal_Amount, No_Of_Shares, Issue_Price, Asset,
Currency , Strike_Price_Per,Misc2 from Sample_ADF_FinIQ_Common.Note_Order_RM Where Order_Status_Flag = 'YYYYYYNNNNNNNNNN' And RO_ID = 'R000000002' ) NORM Group by Note_Master_Id ) NORM
Left Outer JOIN Sample_ADF_FinIQ_Common.RATESSPOTBIDASK RSBA On RSBA.PairCode = (NORM.Asset ) Left Outer JOIN ( select Note_Master_ID,sum(Nominal_Amount)
as NA, sum(No_Of_Shares) as NS, sum(NominalAmt_Pending) as NA_P, sum(NoOfShares_Pending) as NS_P,sum(Settlement_Amt) as SA from Note_Order_RM
Where RO_ID 'R000000002' group by Note_Master_ID ) TOADD On TOADD.Note_Master_ID = NORM.Note_Master_ID ) RESULT1 where NM.Note_Master_ID = RESULT1.Note_Master_ID )
set Price_Updated_YN = 'Y' ,
Nominal_Amount = RESULT1.NA + RESULT1.Nominal_Amount_Calc , Number_Of_Units = RESULT1.NS + RESULT1.NO_Of_Shares_Calc ,
Current_Spot = RESULT1.Spot_Price_Calc , Published_Spot = RESULT1.Spot_Price_Calc , Strike_Price = RESULT1.Strike_Price_Calc
where NM.Note_Master_ID = RESULT1.Note_Master_ID;Edited by: darkStargate on Dec 8, 2011 7:42 PM
Maybe you are looking for
-
How to use Oracle partitioning with JPA @OneToOne reference?
Hi! A little bit late in the project we have realized that we need to use Oracle partitioning both for performance and admin of the data. (Partitioning by range (month) and after a year we will move the oldest month of data to an archive db) We have
-
Flash Builder 4 - Web Services
Hi, I am using the Flash 4 beta to connect to web services, my connections are fine and everything works as it should. I added a call to the web services on a button Click event and noticed I need to somehow wait for the response back from the web se
-
Test script for 4.6c to 4.7
hi, can any one help me out to get test script for comparisons between 4.6c to 4.7
-
CREATE TABLE 'geodata' ( 'Id' char(16) NOT NULL, 'Type' smallint(6) DEFAULT NULL, 'Description' varchar(200) DEFAULT NULL, 'Url' varchar(400) DEFAULT NULL, 'Location' point DEFAULT NULL, PRIMARY KEY ('Id') ERRO
-
Create Immediate TO for movement type 344
Hi Gurus , I wanna create immediate TO for movement type 344, so i did the following configs: 1:Go to OMLR, set field "Immed.TO " as "A" for my warehouse and movement type 344. Then , i called up MB1B 344, but no TO was created immediatelly. i checke