How to go about with a finance project in BW - very urgent
Dear Guru's
As i need to extract the data from R/3 for the first time, how should i decide to go for extractors. those are financial datas. should i go to COPA or FISL or Generic Extraction. how to proceed with, kindly help me in this regards, it's very urgent.
Thanks and Regards
C.S.Ramesh
Edited by: cs ramesh on Feb 14, 2008 6:12 PM
Hello Ramesh,
Please find the links of the datasources,Infocubes etc
5. Business Analytics to be available at single click of a button giving important business insights such as
a. Vendor wise expenditure
b. Customer wise revenue
[Customer / Vendor Analysis (FI-AP & FI-AR)|http://help.sap.com/saphelp_bw33/helpdata/en/ea/cd143c5db89b00e10000000a114084/content.htm]
c. Revenue streams for varying time windows (monthly, quarterly, annually)
d. Comparison reports (against similar time windows)
e. Category wise expenses
[General Ledger Accounting |http://help.sap.com/saphelp_bw33/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm]
f. Statistical reports (highs, lows, averages etc
)
1. [Overhead Cost Controlling|http://help.sap.com/saphelp_bw33/helpdata/en/83/7593020c9b9d468746a2e4a132838b/content.htm]
Statistical key figure analysis
Thanks
Chandran
Edited by: Chandran Ganesan on Feb 14, 2008 8:59 AM
Similar Messages
-
How to write code for this logic in a routine, very urgent --help me
hi all,
i want to apply this logic into one subroutin ZABC.
here i m giving my logic ,can any body help me in coding for this, this is very urgent, i hv to submit on wednesday.
4.1 Read the company code number BSEG-BUKRS from document line item.
4.2 Fetch PRDHA from MARA into GV_PRDHA where MATNR = BSEG-MATNR.
4.3 Fetch Business area (GSBER) from ZFIBU into GV_GSBER where (PRDHA = GV_PRDHA and BUKRS = BSEG-BUKRS) OR (PRDHA = GV_PRDHA and BUKRS = SPACE).
4.4 If business area match is found, go to step 3.9. Else continue.
4.5 If BKPF-BLART IN set ZVS_POSDT OR BKPF-XBLNR starts with I0*, execute steps below. Else, go to Step 3.6.
i. MOVE: BSEG-BKURS TO work area field WA_ZFIBUE-BUKRS,
BSEG-MATNR TO work area field WA_ZFIBUE-MATNR,
GV_PRDHA TO work area field WA_ZFIBUE-PRDHA,
BSEG-HKONT TO work area field WA_ZFIBUE-HKONT,
BSEG-GSBER TO work area field WA_ZFIBUE-GSBER,
BSEG-PSWBT TO work area field WA_ZFIBUE-PSWBT,
BKPF-BUDAT TO work area field WA_ZFIBUE-BUDAT,
SY-DATUM TO work area field WA_ZFIBUE-CREDATE,
SY-UZEIT TO work area field WA_ZFIBUE-CRETIME,
Fetch running serial number (WA_ZFIBUE-SERIALNO) from ZFICO. This number will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "ZFIBUE" and KEY1 = "SERIALNO". The actual serial number will be stored in the field VALUE1.
i. Insert WA_ZFIBUE INTO ZFIBUE.
ii. Send email notification to the user (if it is not already sent to user on the same posting date).
Use function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
Fetch email address and date of last email from ZFICO. These values will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "EMAIL" and KEY1 = "<USERNAME>". The email address will be stored in the field VALUE1 and posting date in VALUE2. Once mail is sent, VALUE2 is updated with latest posting date (BKPF-BUDAT).
iii. Increment the running serial number and update ZFICO with new serial number.
a. GV_ SERIALNO = WA_ZFIBUE-SERIALNO + 1
b. Update ZFICO Set value1 = GV_SERIALNO
Where PARAMTYPE = "BPM030307" AND
SUBTYPE = "ZFIBUE" AND
KEY1 = "SERIALNO".
iv Move VDFT to BSEG-GSBER.
v. Exit routine.
4.6 Fetch MTART into GV_MTART from MARA where MATNR = BSEG-MATNR.
4.7 If SY-BATCH = INITIAL AND GV_MTART <> ROH, issue the error message - Maintain the mapping of product hierarchy <PRDHA> from article <MATNR> for <BUKRS>. Else, go to step 3.8.
4.8 If SY-BATCH <> INITIAL AND GV_MTART <> ROH, issue the error message - Maintain product hierarchy on article master. Go to step 3.10.
4.9 Move GV_GSBER TO BSEG-GSBER.
4.10 Exit Routine
plz give me reply asap --this is very urgent
thanks in advance
swathiHi Swathi,
If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop. -
How to write code for this logic, plz help me very urgent
Hi All,
i am new to sap-abap, i got this work and i m working on this can any body help me in writing code, plz help me, this is very very urgent.
here i m giving my logic, can anybody send me the code related to this logic.
this is very urgent .
this program o/p should be in ALV format and need to create one commond 'SAVE" on this o/t list if user clicks save processedon and processedby fields in ZFIBUE should be updated automatically.
i am creating one custom table zfibue having fields: (serialno, bukrs, matnr,prdha,hkont,gsber,wrbtr,budat, credate, cretime,processed, processedon, processedby,mapped)
fields of zfibue:
serailno = numc
bukrs = char
matnr = char
prdha = char
hkont = char
gsber = char
wrbtr = char
budat = date
credate = date
cretime = time
processed= char
processedon = date
processedby = char
mapped = char are belongs to above type data types
and seelct-optionfields: s_bukrs for bseg-bukrs
s_hkont for bseg-hkont,
s_budat for bkpf-budat,
s_processed for zfibue-processed,
s_processedon for zfibue-processedon,
s_mapped. for zfibue-mapped
parameters: p_chk1 as checkbox,
p_chk2 as checkbox.
p_filepath type rlgrap-filename.
1.1 Validate the user inputs (S_BUKRS and S_HKONT) against respective check tables (T001 and SKB1). If the validation fails, provide respective error message. Eg: Invalid input for Company Code.
1.2 Fetch SERIALNO, BUKRS, MATNR, PRDHA, HKONT, GSBER, WRBTR, BUDAT, CREDATE, CRETIME, PROCESSED, PROCESSEDON, PROCESSEDBY, MAPPED from table ZFIBUE into internal table GT_ZFIBUE where BUKRS IN S_BUKRS, HKONT IN S_HKONT, BUDAT IN S_BUDAT, PROCESSED IN S_PROCESSED, PROCESSEDON IN S_PROCESSEDON, and MAPPED IN S_MAPPED.
1.3 If P_CHK2 = X, go to step 1.11. Else continue.
1.4 If P_CHK1 = X, continue. Else go to step 1.9
1.5 Fetch MATNR, PRDHA from MARA into GT_MARA for all entries in GT_ZFIBUE where MATNR = GT_ZFIBUE-MATNR.
1.6 Sort and delete adjacent duplicates from GT_MARA based on MATNR.
1.7 Loop through GT_ZFIBUE where PRDHA = blank.
Read Table GT_MARA based on MATNR = GT_ZFIBUE-MATNR.
IF sy-subrc = 0.
Move GT_MARA-PRDHA to GT_ZFIBUE-PRDHA.
Modify Table GT_ZFIBUE. Update Product Hierarchy
Endif.
Fetch PRDHA, GSBER from ZFIBU into GT_ZFIBU for all entries in GT_ZFIBUE where PRDHA = GT_ZFIBUE-PRDHA.
Read Table GT_ZFIBU based on PRDHA = GT_ZFIBUE-PRDHA.
IF sy-subrc = 0.
Move GT_ZFIBU-GSBER to GT_ZFIBUE-GSBER.
Move X to GT_ZFIBUE-MAPPED.
Modify Table GT_ZFIBUE.
Endif.
Endloop.
1.8 Modify database table ZFIBUE from GT_ZFIBUE.
1.9 Fill the field catalog table GT_FIELDCAT using the details of output fields listed in section Inputs/Outputs (above).
Eg: LWA_ FIELDCAT -SELTEXT_L = 'Serial Number.
LWA_ FIELDCAT -DATATYPE = NUMC.
LWA_ FIELDCAT -OUTPUTLEN = 9.
LWA_ FIELDCAT -TABNAME = 'GT_ZFIBUE'.
LWA_ FIELDCAT-FIELDNAME = 'SERIALNO'.
Append LWA_FIELDCAT to GT_FIELDCAT
Note: a) The output field GT_ZFIBUE-PROCESSED will be editable marking INPUT = X in field catalog (GT_FIELDCAT).
b) The standard ALV functionality will be used to give the user option for selecting all or blocks of entries at a time.
c) The PF-STATUS STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN will be copied to the program and modified to include a SAVE button.
1.10 Call the function module REUSE_ALV_GRID_DISPLAY passing output table GT_ZFIBUE and field catalog GT_FIELDCAT. Additional parameters like I_CALLBACK_PF_STATUS_SET (= ZFIBUESTAT) and I_CALLBACK_USER_COMMAND (=HANDLE_USER_ACTION) will also be passed to handle user events. Go to 2.14.
1.11 Download the file to P_FILEPATH using function module GUI_DOWNLOAD passing GT_ZFIBUE.
1.12 Exit Program.
Logic to be implemented in routine Handle_User_Action
This routine will have the following interface:
FORM Handle_User_Action USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
ENDFORM.
Following logic will be implemented in this routine:
1. If r_ucomm = SAVE, continue. Else exit.
2. Loop through GT_ZFIBUE where SEL_ROW = X. Row is selected
a. IF GT_ZFIBUE-PROCESSED = X.
i. GT_ZFIBUE-PROCESSEDON = SY-DATUM.
ii. GT_ZFIBUE-PROCESSEDBY = SY-UNAME.
iii. MODIFY ZFIBUE FROM work area GT_ZFIBUE.
Endif.
Endloop.Hi Swathi,
If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop. -
How to enable RFC and how to use it in Report..please tell its very urgent
Dear Techie's,
Please tell its very urgent..
How to enable RFC and how to use it in Report. ??
Virendrahi,
pls chk any of these links.
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
rgds
Anver -
Problem with Accessing Deployed Servlets Please help, very urgent.
Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
Please help, this is very Urgent.
Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
Thanks in advance,
Regards,
Kavita.
nullHi Kativa,
In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
Apache/htdocs/mydir/myJSP.jsp
you'd point your browser to
server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
null -
How to use "like" with variables at right hand side ?.Urgent Pls..
How can I compare a column with a combination of columns.
columns are character
select ...from table1 t1,table2 t2 where
t1.col1 like t2.col1 || t2.col2
eg:
where p.upc = '0' ||r.upc_ccode||r.upc_mnum|| r.upc_mcode
this restricts LHS to start with 0 and values starting with non zero are not taken for comparison.I need to include those values also in comparison
p.upc can start with any char 0 -9.
p.upc ->char(12)
r.upc_commod_code||r.upc_mfg_num|| r.upc_mfg_it -> total char(11)
Any Help would be highly appreciated !
Thanks In Advance!Hi ,
There is a simple solution to your problem....Its name is Regular Expressions.
Read the docs found in links:
http://www.oracle.com/technology/pub/articles/saternos_regexp.html
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_regexp.htm
http://www.oracle.com/technology/oramag/oracle/03-sep/o53sql.html
NOTE: You have to use Oracle10g version!!!!!
Regards,
Simon -
Master data attributes with direct update...its very urgent
Hi all,
Could anyone tell me how to laod the master data attributes with direct update in the infopackge..
provide steps to create master data attributes and how to load..
Thanks,
ManjulaHi Manjula,
Flexible Uploading
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( Transaction data )
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to create ODS( Data store object ) or Cube.
Specify name fro the ODS or cube and click create
From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
Click Activate.
Right click on ODS or Cube and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets.
4. Monitor
Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used
honor with points if this helps,
Sudhakar -
How to clear invoices posted in foreign currency in APP VERY URGENT
Hi Sap Gurus,
I have posted 2 invoices , one is in inr (local curcy), another one in usd and i have run the app using the t.code f110
local currcy incoive was cleared but usd curcy invoice went to exception list
Why this happened?
how can i clear foreign cuurcy invoices in app ?
How can see the exception list ?
can i edit r delete the payment proposal ?
what is the use of additional log in f110 screen?
thanks in advance for ur answer
points wil b assigned
Regards,
RajeshHi Rajesh,
Pls. check following in your payment program configuration. Configuration of Payment Program can be access through APP Tcode F110. Go to Environment --> Maintain Configuraiton.
Check Following:
1) Payment Method for Country : Whether Foreign currency (USD) is added in the list of permitted currency for the payment method specified in the APP Run. If not, add USD as a permitted currency for the payment method.
2) Payment Method for Company Code : Select Foreign Currency / Foreign Payment indicator for the company code/ payment method combination. Select all three indicator.
3) Check the house bank configuration : Whether house bank determined for the company code/ payment method combination in ranking order is set up for any specific currency payments. Keep teh currency field blank if you want to pay in multiple currency from the house bank determined in ranking order.
Hope this helps. Pls reward points if this is useful.
With Regards,
Chirag -
How to nullify the NullPointerException in my code. plz help Very Urgent!!
hi,
I registered the crystl32.ocx properly and the previous errors were gone.
thank you for your suggestions.
and right now I have an error as shown below.
Exception in thread "main" java.lang.NullPointerException
at crystal.CrystalReport.aboutBox(CrystalReport.java:4466)
at javaapplication10.CrystalClient.main(CrystalClient.java:25)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
how to overcome this.Thanks a lot mike.
I have attached some part of the source code here.
package crystal;
import com.linar.jintegra.*;
* COM Class 'CrystalReport'. Generated 11/10/2006 4:16:13 PM
* from 'C:\WINDOWS\system32\Crystl32.ocx'<P>
* Generated using com2java Version 2.6 Copyright (c) Intrinsyc Software International, Inc.
* See <A HREF="http://j-integra.intrinsyc.com/">http://j-integra.intrinsyc.com/</A><P>
* Description '<B>Crystal Report Control</B>'
* Generator Options:
* AwtForOcxs = True
* PromptForTypeLibraries = False
* RetryOnReject = False
* IDispatchOnly = False
* GenBeanInfo = False
* LowerCaseMemberNames = True
* TreatInStarAsIn = False
* ArraysAsObjects = False
* OmitRestrictedMethods = False
* ClashPrefix = zz_
* ImplementConflictingInterfaces = False
* DontRenameSameMethods = False
* RenameConflictingInterfaceMethods = False
* ReuseMethods = False
* Command Line Only Options:
* MakeClsidsPublic = False
* DontOverwrite = False
public class CrystalReport extends com.linar.jintegra.Ocx implements com.linar.jintegra.RemoteObjRef, crystal.CrystalCtrl {
private static final String CLSID = "00025601-0000-0000-c000-000000000046";
protected String getJintegraVersion() { return "2.6"; }
// Interface delegates
private crystal.CrystalCtrlProxy d_CrystalCtrlProxy = null;
/** Access this COM class's crystal.CrystalCtrl interface */
public crystal.CrystalCtrl getAsCrystalCtrl() { return d_CrystalCtrlProxy; }
/** Compare this object with another */
public boolean equals(Object o) {
if(java.beans.Beans.isDesignTime()) return super.equals(o);
else return getJintegraDispatch() == null ? false : getJintegraDispatch().equals(o);
/** J-Integra for COM internal method */
public com.linar.jintegra.Dispatch getJintegraDispatch() { return d_CrystalCtrlProxy; }
* addCrystalReportEventsListener. Listen to events generated by this class.
* @param theListener An object that implements the crystal.CrystalReportEvents interface.
* @exception java.io.IOException If there are communications problems.
public void addCrystalReportEventsListener(crystal.CrystalReportEvents theListener) throws java.io.IOException {
if(d_CrystalCtrlProxy == null) {
queuedListeners.addElement(new Object[] { "00025603-0000-0000-c000-000000000046", theListener });
} else {
d_CrystalCtrlProxy.addListener("00025603-0000-0000-c000-000000000046", theListener, this);
* removeCrystalReportEventsListener. Stop listening to events generated by this class.
* @param theListener An object that implements the crystal.CrystalReportEvents interface.
* @exception java.io.IOException If there are communications problems.
public void removeCrystalReportEventsListener(crystal.CrystalReportEvents theListener) throws java.io.IOException {
d_CrystalCtrlProxy.removeListener("00025603-0000-0000-c000-000000000046", theListener);
* Constructs a CrystalReport.
public CrystalReport() {
super(CLSID);
try {
if (super.getObjRef() == null) {
return;
d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
} catch(java.io.IOException ioe) {
throw new RuntimeException("Unexpected: " + ioe);
* Constructs a CrystalReport.
public CrystalReport(Object o) {
super(CLSID, o);
try {
if (super.getObjRef() == null) {
return;
d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
} catch(java.io.IOException ioe) {
throw new RuntimeException("Unexpected: " + ioe);
private java.util.Vector queuedListeners = new java.util.Vector();
public void addNotify() {
super.addNotify();
try {
if (super.getObjRef() == null) {
return;
if (d_CrystalCtrlProxy != null) {
return;
d_CrystalCtrlProxy = new crystal.CrystalCtrlProxy(super.getObjRef());
zz_doQueuedSets("d_CrystalCtrlProxy", d_CrystalCtrlProxy);
for(java.util.Enumeration e = queuedListeners.elements(); e.hasMoreElements(); ) {
Object[] l = (Object[])e.nextElement();
d_CrystalCtrlProxy.addListener(l[0] + "", l[1], this);
queuedListeners.setSize(0);
} catch(java.io.IOException ioe) {
throw new RuntimeException("Unexpected: " + ioe);
* Release a CrystalReport.
public void release() {
com.linar.jintegra.Cleaner.release(d_CrystalCtrlProxy);
* getPropertyByName. Get the value of a property dynamically at run-time, based on its name
* @return The value of the property.
* @param name The name of the property to get.
* @exception java.lang.NoSuchFieldException If the property does not exit.
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public Object getPropertyByName(String name) throws NoSuchFieldException, java.io.IOException, com.linar.jintegra.AutomationException {
try {
return d_CrystalCtrlProxy.getPropertyByName(name);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
} catch(NoSuchFieldException noSuchFieldException) {
noSuchFieldException.fillInStackTrace();
throw noSuchFieldException;
* getPropertyByName. Get the value of a property dynamically at run-time, based on its name and a parameter
* @return The value of the property.
* @param name The name of the property to get.
* @param rhs A parameter used when getting the proxy.
* @exception java.lang.NoSuchFieldException If the property does not exit.
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public Object getPropertyByName(String name, Object rhs) throws NoSuchFieldException, java.io.IOException, com.linar.jintegra.AutomationException {
try {
return d_CrystalCtrlProxy.getPropertyByName(name, rhs);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
} catch(NoSuchFieldException noSuchFieldException) {
noSuchFieldException.fillInStackTrace();
throw noSuchFieldException;
* invokeMethodByName. Invoke a method dynamically at run-time
* @return The value returned by the method (null if none).
* @param name The name of the method to be invoked.
* @param parameters One element for each parameter. Use primitive type wrappers.
* to pass primitive types (eg Integer to pass an int).
* @exception java.lang.NoSuchMethodException If the method does not exit.
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public Object invokeMethodByName(String name, Object[] parameters) throws NoSuchMethodException, java.io.IOException, com.linar.jintegra.AutomationException {
return d_CrystalCtrlProxy.invokeMethodByName(name, parameters);
* invokeMethodByName. Invoke a method dynamically at run-time
* @return The value returned by the method (null if none).
* @param name The name of the method to be invoked.
* @exception java.lang.NoSuchMethodException If the method does not exit.
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public Object invokeMethodByName(String name) throws NoSuchMethodException, java.io.IOException, com.linar.jintegra.AutomationException {
return d_CrystalCtrlProxy.invokeMethodByName(name, new Object[]{});
* getReportFileName. The filename of the report to be printed
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public String getReportFileName () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
String[] retVal = new String[1];
zz_get("ReportFileName", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getReportFileName();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setReportFileName. The filename of the report to be printed
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setReportFileName (
String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setReportFileName", (String)px);
return;
try {
d_CrystalCtrlProxy.setReportFileName(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getWindowLeft. The coordinate of the left side of the print window, relative to its parent window
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public short getWindowLeft () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
short[] retVal = new short[1];
zz_get("WindowLeft", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getWindowLeft();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowLeft. The coordinate of the left side of the print window, relative to its parent window
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowLeft (
short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowLeft", (short)px);
return;
try {
d_CrystalCtrlProxy.setWindowLeft(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getWindowTop. The coordinate of the top of the print window, relative to its parent window
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public short getWindowTop () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
short[] retVal = new short[1];
zz_get("WindowTop", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getWindowTop();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowTop. The coordinate of the top of the print window, relative to its parent window
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowTop (
short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowTop", (short)px);
return;
try {
d_CrystalCtrlProxy.setWindowTop(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getWindowWidth. The width of the print window
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public short getWindowWidth () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
short[] retVal = new short[1];
zz_get("WindowWidth", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getWindowWidth();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowWidth. The width of the print window
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowWidth (
short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowWidth", (short)px);
return;
try {
d_CrystalCtrlProxy.setWindowWidth(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getWindowHeight. The height of the print window
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public short getWindowHeight () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
short[] retVal = new short[1];
zz_get("WindowHeight", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getWindowHeight();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowHeight. The height of the print window
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowHeight (
short px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowHeight", (short)px);
return;
try {
d_CrystalCtrlProxy.setWindowHeight(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getWindowTitle. The title of the print window
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public String getWindowTitle () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
String[] retVal = new String[1];
zz_get("WindowTitle", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getWindowTitle();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowTitle. The title of the print window
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowTitle (
String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowTitle", (String)px);
return;
try {
d_CrystalCtrlProxy.setWindowTitle(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* isWindowControlBox. If set to TRUE, the print window will have a control box
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public boolean isWindowControlBox () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
boolean[] retVal = new boolean[1];
zz_get("WindowControlBox", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.isWindowControlBox();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowControlBox. If set to TRUE, the print window will have a control box
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowControlBox (
boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowControlBox", (boolean)px);
return;
try {
d_CrystalCtrlProxy.setWindowControlBox(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* isWindowMaxButton. If set to TRUE, the print window will have a maximize button
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public boolean isWindowMaxButton () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
boolean[] retVal = new boolean[1];
zz_get("WindowMaxButton", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.isWindowMaxButton();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowMaxButton. If set to TRUE, the print window will have a maximize button
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowMaxButton (
boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowMaxButton", (boolean)px);
return;
try {
d_CrystalCtrlProxy.setWindowMaxButton(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* isWindowMinButton. If set to TRUE, the print window will have a minimize button
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public boolean isWindowMinButton () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
boolean[] retVal = new boolean[1];
zz_get("WindowMinButton", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.isWindowMinButton();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setWindowMinButton. If set to TRUE, the print window will have a minimize button
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setWindowMinButton (
boolean px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setWindowMinButton", (boolean)px);
return;
try {
d_CrystalCtrlProxy.setWindowMinButton(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* getPrintFileName. The filename for output when printing to file
* @return The px
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public String getPrintFileName () throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
String[] retVal = new String[1];
zz_get("PrintFileName", retVal);
return retVal[0];
try {
return d_CrystalCtrlProxy.getPrintFileName();
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
* setPrintFileName. The filename for output when printing to file
* @param px The px (in)
* @exception java.io.IOException If there are communications problems.
* @exception com.linar.jintegra.AutomationException If the remote server throws an exception.
public void setPrintFileName (
String px) throws java.io.IOException, com.linar.jintegra.AutomationException {
if(d_CrystalCtrlProxy == null) {
zz_queueSet("d_CrystalCtrlProxy", "setPrintFileName", (String)px);
return;
try {
d_CrystalCtrlProxy.setPrintFileName(px);
} catch(com.linar.jintegra.AutomationException automationException) {
automationException.fillInStackTrace();
throw automationException;
} -
How to add PDF on itunes 12.0.1? VERY URGENT!!!
Can someone please explain to me, where I can find iBooks on the new iTunes 12.0.1 (Yosemite)? Or at least to tell me how to put PDF file in iTunes so I can transfer it on my iphone and ipad. IT IS VERRY URGENT!!! Thank you!
You have a separate app on you Mac called iBooks. You import the pdf in iBooks.
(this is what the icon of iBooks looks like)
Then you start iTunes and connect your iPad of iPhone. You click on the iDevice icon on the white top bar (right next to the three dots). In the sidebar you select books. In main screen you select "Synchronize books" and "selected books". You will be able to select all the books and PDF's you imported in the iBooks-app.
Then you sync your iDevice and PDF will be put on that device. (the picture is in Dutch, but you get the idea...) -
How to get the icon type of a JTree node, very urgent
hi,
i need to get the type of a JTree node but don't know how. this is quite an emergency. please help. thank you all.
-joeythere are several icons defined in the DefaultTreeCellRenderer class, such as closedIcon, leafIcon, openIcon. i was wondering if there is any way to get the icon type of a node. thanks for your reply.
-joey -
About planning system-9 download it is very urgent
hi
this is srikanth
i want to install the planning system-9 but when i downloaded the software from the following link http://www.oracle.com/technology/software/products/bi/performance-management/hyperion_planning.html it is only patch for the planning so please kindly post the actual link of the planning system-9(which includes the setup.exe).Hi,
All downloads are avialable from http://edelivery.oracle.com/
For System 9 once you have logged in they are under the heading "Hyperion Performance Management and BI"
Cheers
John
http://john-goodwin.blogspot.com/ -
I finalized a project (iMovie 11), shared with iDVD just as a test. Then I came back to the project, included A LOT of things, finalized again and when I shared to iDVD i just show the first finalized project. How can I work with my hole project in iDVD?
I tried to save as my project, but there is not this option.
Please HELP me. The old iMovie was much better. :-(.
Tks a lot
GilTry first sharing to Media Browser from iMovie in the Large Size.
After it is finished, you should be able to see it in the Media browser on the iDVD side of things. Drag it into a new project and continue working in iDVD. -
How to encrypt password with hash function in Java?
Hello, everybody!
I will need to store user passwords in a database, but for stronger security I want to store these passwords hashed, so I know I will need a column for the password and for the salt value.
So, I'd like that you indicate me a very good article or tutorial (preferable from Sun) that shows me how to use Java to encrypt and decrypt passwords with hash. It doesn't necessarily need to deal with database. I can implement this part myself after seeing how Java manage encryption with hash functions.
Thank you very much.
MarcosI will tell you more precisely what I want to get better for you to help me.
As I said I implemented in .NET what I need to implement in Java now. In my
database I have a table with this structure (I omitted that columns that are not
necessary to our discussion):
CREATE TABLE EMPLOYEES
ID NOT NULL PRIMARY KEY,
PASSWORD VARCHAR(40), -- password encrypted
HASH_SALT VARCHAR(10) -- salt value used to encrypt password
So, in the table I have a column to store the password encrypted and a column to
store the salt value.
Below is a little utility class (in C#) that I use to generate the salt and
the hashed password.
public static class PasswordUtilities
public static string GenerateSalt()
RNGCryptoServiceProvider encoder = new RNGCryptoServiceProvider();
byte[] buffer = new byte[5];
encoder.GetBytes(buffer);
return Convert.ToBase64String(buffer);
public static string EncryptPassword(string password, string salt)
string encryptedPassword =
FormsAuthentication.HashPasswordForStoringInConfigFile(
password + salt, "SHA1");
return encryptedPassword;
}As you can see, the class is fairly simple. It only has two methods: one to
generate the salt value that will be used to encrypt the password and another
one to encrypt the password. The method HashPasswordForStoringInConfigFile of
the FormsAuthentication class is what really hash the password with the salt
value. This class belongs to the .NET library, so we can't see its source code,
but it doesn't matter for our discussion as I know that we can implement
something similar in Java.
Below is a little sample code showing the use of the utility class above to
encrypt a password.
public class Encrypt
public static void Main(string args[])
string password = "Secret";
string salt = PasswordUtilities.GenerateSalt();
string encryptedPassword = PasswordUtilities.EncryptPassword(password, salt);
// now I store 'encryptedPassword' in the PASSWORD column and 'salt'
// in the HASH_SALT column in the EMPLOYEES table.
}To verify if a password is correct I can use the code below:
public class VerifyPassword
public static void Main(string args[])
string password = GetPasswordFromUser();
// Let's assume that employee is an instance that corresponds to a row
// in the database and the properties HashSalt and Password correspond
// to the HASH_SALT and PASSWORD columns respectively.
Employee employee = GetEmployeeFromDatabase(1);
string salt = employee.HashSalt;
string encryptedPassword = PasswordUtilities.EncryptPassword(password, salt);
bool passwordMatch = employee.Password.Equals(encryptedPassword);
System.Console.WriteLine(passwordMatch);
}The only thing that interest me in this discussion is the PasswordUtilities class.
As you saw its code is in C#, using the .NET framework libraries.
What I want is to have this same little class coded in Java, to generate the salt
value and to encrypt the password passed in using salt value generated. If you could
help me to do that with articles that have what I want or with code that already do
that I would really appreciate.
Thank you in advance.
Marcos -
Its very urgent:how to insert data into database tables
Hi All,
I am very new to oaf.
I have one requirement data insert into database tables.
here createPG having data that data insert into one custom table.
but i dont know how to insert data into database tables.
i wrote the code in am,co as follows.
in am i wrote the code:
public void NewoperationManagerLogic()
ManagerCustomTableVOImpl vo1=getManagerCustomTableVO1();
OADBTransaction oadbt=getOADBTransaction();
if(!vo1.isPreparedForExecution())
vo1.executeQuery();
Row row=vo1.createRow();
vo1.insertRow(row);
in createPG processrequest co:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.NewoperationManagerLogic();
process form request:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.getParameter("Submit")!=null)
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.getOADBTransaction().commit();
please help with an example(sample code).
its very urgent.
thanks in advance
Seshu
Edited by: its urgent on Dec 25, 2011 9:31 PMHi ,
1.)You must have to create a EO based on custom table and then VO based on this EO eventually to save the values in DB
2.) the row.setNewRowState(Row.STATUS_INITIALIZED); is used to set the the status of row as inialized ,this is must required.
3.) When u will create the VO based on EO the viewattributes will be created in VO which will be assigned to the fields to take care the db handling .
You must go thtough the lab excercise shipped with you Jdeveloper ,there is a example of Create Employee page ,that will solve your number of doubts.
Thanks
Pratap
Maybe you are looking for
-
Is it possible to do a 100 minute edit and then export to mpeg 2 or h264.
I'm having difficulty with a long edit - 100 minutes or so. It keeps quitting during the export. Have now cut it down to two separate files but having difficulty opening the mpeg 2 file. Any suggestions? Thanks, Jo
-
It was located just to the right of the backward/forward buttons in the upper left of the screen. This was very convenient and allowed one to go directly to a past screen without having to click on the "back" button repeatedly until there. If I am ri
-
All, Pls clarify the below. Recently we closed a Plant. So planning to remove all the open PRs for that Plant? is it enough to set the indicator " closed " in the PR or do we need to delete the PR items ?? which is best practice ? What is "firmed PR"
-
Displaying percentage total in ALV
Hi, We have a requirement where we have to display a percentage value along with the subtotal and the totals. We are doing the subtotal using the sort table LVC_S_SORT-SUBTOT. Is there any way for displaying the percentage value in the same line it
-
Hi all, I was wondering if it is possible to filter a data provider in the WAD. I want to be able to filter out a hierarchy node u201C1000MMARKCOMM 0HIER_NODEu201D for InfoObject Cost Center u2013 so that when I run the WAD the 1000MMARKCOMM 0HIER_NO