How to transfer value?
I am facing a technical issue about Essbase calculation.Anyone who have essbase knowledge please kindly give me a reply,the detail is as below:
First,I wanna get this "Final HC" which be fixed at some condition.
Eg:
Fix( (@levmbrs("Scenarios", 0) AND @idescendants("Scenarios"))
,"Geography"
,"Organization"
,@genmbrs("Time", "FY")
/* calculate all Job function and all the members underneath */
"Final HC";
Endfix
Second,I wanna use the fixed value of "Final HC" to calculate anther member which be fixed at anther condition.
Eg:
Fix( (@levmbrs("Scenarios", 0) AND @idescendants("Scenarios"))
,"Geography"
,((@uda("Indicators", L1YBG) OR @uda("Indicators", udaAGG2)))
,(@genmbrs("Organization", "BG") OR (@genmbrs("Organization", "BU") AND ("ADM" OR "FAO" OR "HFS" OR "WAD" OR "BPO")))
,@genmbrs("Time", "FY")
/* calculate all Job function and all the members underneath */
"Headcount"="Final HC"*"HC%";
Do you know how to get "First" "Final HC" transfer to "second" "Final HC"
thank you very much.with your help,I have get the value which I want.
Now anther issue,I show case as below:
outline:
Measures
-Headcount
-Average Salary
-HC%
Indicators
-Misc Targets
---Job Function
-----Admin(uda udaAGG2)
-----Business Planning(uda udaAGG2)
-----Engineering(uda udaAGG2)
Time
-FY06
-FY07
-FY08
Scenarios
-Aspire
---Draft
---Submission
Organization
-EXE
-FIN
-WWA
-GIT
I have individual "Headcount" values relating with Job Function under FY08 ,"Submission",EXE.
Now,I just change EXE to Organization,and want it show Organization's Headcount ,I mean rolling up EXE,FIN,WWA...to Organization,I try to do like this:
Fix(@levmbrs("Scenarios", 0)
,(@uda("Indicators", udaAGG2))
,"Organization" AND (@genmbrs("Organization"))
,"Headcount"
calc dim (time);
endfix
Fix(@levmbrs("Scenarios", 0)
,(@uda("Indicators", udaAGG2))
,"Headcount"
"EXE";
"FIN.";
"WWA";
"GIT";
"HR";
"IPG";
"LEGO";
"OST";
"OTH";
"PSG";
"TSG";
"Unknown BG";
"Organization";
endfix
I ran the script, But it doesn't work,I mean the organization can't roll up,what's wrong with that.I'm sorry for I can't clearly understand Essbase's calculation logic,could you help me? thank you in advance.
Message was edited by:
user622214
Similar Messages
-
PLD. How to transfer value from Repetetive area to Start of Report
Hi.
Is it possible to get data fromfield in Repetetive Area to field Start of Report. I need to get value of some user field in Start of Report. I can get it in Repeptetive area but I can't in Start of Report.
With regards,
Maxim GrunisHi Maxim Grunis,
The answer is: there are no way to transfer them. PLD works from top down to the end of report. It is building printing file on the fly. The Start of Report know nothing about the other areas.
Thanks,
Gordon -
how to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method. thanks
INSERT targetdb.dbo.tbl (col1, col2, col3, ...)
SELECT col1, col2, col3, ...
FROM sourcedb.dbo.tbl
Or what is your question really about? Since you talke about foreign keys etc, I suspect that you want to transfer the entire table definition, but you cannot do that with an INSERT statement.
Erland Sommarskog, SQL Server MVP, [email protected] -
How to transfer R/3 transaction screen values to crm web client Identificat
Hi
how to transfer Notification (iw52) screen values BP, contract, Premise to CRM webcleint 50 screen i.e to , when i click on identification tab my fields should populate into the screen.
please guide.
thanks
ramThis will involve customisation, there is no standard way to do it.
Ben -
How to transfer parameters from one ivew to another-both are in diff. page
Hi All,
My requirment is pass the parametrs from one ivew to another ivew(both are different PCD paths). now i am able to see the value in second ivew using java script .Here my problem is come.
How to transfer varibles from one i vew to another ---Afetr seeing so many forums in SDN.I came to know that EPCM is Best. Using EPCM i am able to transfer the varible and able see the vlues in javascripts(Using alert command).
From java script how to transfer varible to bean-----afetr seeing forums i came to know that using HTTPSession we can pass parameters to bean. but i am unable to code where i need to call httpsession api methods,it mean that i need to code under java script , JSp and controller page.
it is very urgent for me,
thanqs in advanceHi,
Goto LT01 transaction with Movment type = 999 and stock category = Required stock category. Create a PCN and process the remaining process so as to change the stock type.
Regards,
Dilli Babu R -
How to send values from a "Report Column" instead of a "Page Item" ?
Hi there,
Here's my case: Two pages A and B.
Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
I'm a bit lost cause I don't know how to transfer/send this value to the second page.
Do you have any clue ?
Thanks again for your time !
BR
UlrichUlrich,
Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
Have you verified that you have the :P4_DEPARTMENT_ID in session?
Does your SQL run in SQL Commands when provided a Department ID?
Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
Jeff -
How to transfer a set of data from Excel spread sheet to an Access database
hi,
Can any one please tell me how to transfer a set of data from Excel spread sheet to an Access database using SQL query.I'm using java API currently. I have done all sorts of ODBC connection in administrative tools.The file is in correct location. I have done certain coding but with errors.Help me to get rid of these errors,
Coding:*
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection datacon=DriverManager.getConnection("jdbc:odbc:exdata","",""); *//For Excel driver*
Connection datacon1=DriverManager.getConnection("jdbc:odbc:stock1","",""); *// For mdb driver*
Statement datast=datacon.createStatement();
Statement datast1=datacon1.createStatement();
ResultSet excelrs=datast.executeQuery("select item_code,sdata,closing_stock from phy "); *//phy is the excel file*
while(excelrs.next())
String ic=excelrs.getString("item_code");
System.out.println(ic);
String d=excelrs.getString("sdate");
double cs=excelrs.getDouble("closing_stock");
int dbrs=datast1.executeUpdate("insert into second values('"+ic+"','"+d+"',"+cs+")"); *//second is the mdb*
excelrs.close();
}catch(Exception e)
System.out.println(e);
Error:*
java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'C:\JavaGreen\phy.xls'. Make sure the object exists and that you spell its name and the path name correctly.
thanks,
kumar.JAVA_GREEN wrote:
No i haven't mixed up.But the file from where i have to retrieve the data is in csv format.Even though i created another csv driver.and tried but i cud not find a solution to load/transfer a set of records from one file(in Excel/csv format) to another file(in mdb format).plz help me.Is there any other methods for this data transfer.A csv file is NOT an excel file.
The fact that Excel can import a csv file doesn't make it an excel file.
If you have a csv file then you must use a csv driver or just use other code (not jdbc) to access it. There is, normally, a ODBC (nothing to do with java) text driver that can do that. -
In jsp file, how to transfer parameter between two javabean?
In jsp file, how to transfer parameter between two javabean?
for example
Bean1 has a attribute A
Bean2 has a attribute B
how to transfer the value of A to BHave you tried something like...
<jsp:setProperty name="Bean2" property="B" value="<jsp:getProperty name="Bean1" property="A" />" /> -
How to transfer a string from sub sequence to main sequence
Hi,
How to transfer a string from sub sequence to main sequence, My main sequence has included a sub sequence, the sub sequence is return a string value after running done, I need to get this string value from sub sequence to main sequence, I check the defined that look like seem the two
sequence have themself local variable,but I don't know how to defined a globe variable to cover main sequence and sub sequence like VC++'s Main App ,Please kindly help me,thanks in advance...Hi,
I hope this small example will help you.
Regards
Ray Farmer
Regards
Ray Farmer
Attachments:
Sequence File1.seq 36 KB -
How to pass value to select-option parameter using SET PARAMETER Command
Hi,
Am passing values to selection-screen fields in report RV13A004 ( used in VK11, VK12 and VK13). using below statement but material number is select-option in this report. am able to pass MATERIAL FROM using SET PARAMETER ID, can i know how to pass values MATERIAL TO range in select-options fields using SET PARAMETER Command ??
Passing values to parameter id
set parameter id 'VKS' field kschl.
set parameter id 'VKO' field vkorg.
set parameter id 'VTW' field vtweg.
set parameter id 'KDA' field erdat.
set parameter id 'MAT' field matnr_from.
Change condition price.
call transaction 'VK12' and skip first screen.
Thanks in advance.
Regards,
Balamurugan.Hi,
instead of using set parameters and dden call transaction use this..........
submit RV13A004 WITH SELECTION-TABLE rspar
Effect
If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
SELNAME (length 8),
KIND (length 1),
SIGN (length 1),
OPTION (length 2),
LOW (length 45),
HIGH (length 45).
To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
Notes
In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
Cheers
Will. -
Hi ! How is an infocube created in DP? How are the values populated ?
Hi !
Thank you so much for the reply!
Could you please explain:
1) How is an infocube created in Demand Planning?
2) How to store values for Characteristics and Key figures ?Hi,
Basically Info cube is created in to APO-BW..If you want to store the data of planning area in to Info Cube..then you have to create whole data extraction process..see the steps below..
1. Create data source under the planning area. T-code: /n/sapapo/msdp_admin..Click on planning area. Go to extras select data extraction tool. Create data source, test it & replicate it in to APO BW..
2. Go to RSA1..create Infopackage under the data source & enter appropriate planninf version in selection criteria.
3. Create Application component in Info Source modelling..Then create info source under the application by coping data source..so automatcially all the info objects will come in to info source.
4. Create transformtion between IS & DS.
5. Create Info Area in infoprovider modelling..Create Info cube, in that you need to add all the info objects (Char, Key figure, Time Char) same like info source.
6. Create transformation between IC & IS.
7. Create data transfer process.
8. Now you can able to extract data from planning area.
Regards
Sujay -
How to transfer IDOC - E1EDL24 segment data into my_itab?
Hi Experts,
Am trying to transfer data from a Segment-E1EDL24 to an itab of fs_itm_data.
data: begin of fs_itm_data,
tapos(6),
nista(18),
altme(3),
end of fs_itm_data.
So, when u see this E1EDL24 segment in WE31, there are lot of fields in it.
And am getting the data as,
idoc_data-segnam = E1EDL24
idoc_data-sdata = 00001012345678 (i.e. POSNR+MATNR)
So, to do dump this segment data into itab, am wrting code by using OFF SETTIng ; like,
fs_itm_data-tapos = edidd-sdata+0(6).
fs_itm_data-nista = edidd-sdata+146(15).
fs_itm_data-altme = edidd-sdata+161(3).
1 - but, I dont think that, this is correct practice
2 - if there is no value for Alt UNIT of edidd-sdata+161(3), wht happens?
3 - If MATNR varies in its length, like 1 - 18?
so, let me know that,
1 - How to transfer this segment data into this itab?
THANQIf I understand ur requirement correctly then u need to move idoc_data-sdata to an internal table itab.In that case no need to move data from idoc_data-sdata to itab directly using OFF SETT.
1st declare one wrokarea of type E1EDL24.
data: w_E1EDL24 type E1EDL24.
Now move the content of idoc_data-sdata to the workarea.
move idoc_data-sdata to w_E1EDL24.
Now u can do field by field assignment to move data from w_E1EDL24 to ur table.
fs_itm_data-tapos = w_E1EDL24-tapos.
fs_itm_data-nista = w_E1EDL24-nista.
fs_itm_data-altme = w_E1EDL24-altme.
Here I am assuming that field names in the structure fs_itm_data are same as field names in the segment w_E1EDL24.
Regards,
Joy. -
How to transfer excel files(on ftp server) into internal table?
hello,everyone
pls tell me how to transfer excel files those on a ftp server into internal table?
ps.i know the function 'ftp_server_to_r3',it can help to transfer flat file.Hi,
I believe you want to get the data from the FTP Server to R3.
I am also sending the code. Have a look and it would help you.
First get the Password and user name and the FTP Server Path where file is stored and FTP Server Host name
FUNCTION zfi_ftp_get.
*"*"Local Interface:
*" IMPORTING
*" VALUE(I_FILENAME) TYPE C
*" TABLES
*" T_BLOB STRUCTURE ZFI_TLM_LENGTH OPTIONAL " is a table type with a field called line of length 992
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
DATA : i_password(30) TYPE c,
i_user(30) TYPE c,
i_host(30) TYPE c,
i_rfc_destination TYPE rfcdes-rfcdest,
i_length TYPE i,
i_folder_path(100) TYPE c.
DATA: lv_blob_length TYPE i.
DATA: lv_length TYPE i, "Password length
lv_key TYPE i VALUE 26101957,
lv_password(30) TYPE c,
lv_ftp_handle TYPE i,
lv_cmd(80) TYPE c.
DATA: BEGIN OF result OCCURS 0,
line(100) TYPE c,
END OF result.
TYPES: BEGIN OF ty_dummy,
line(392) TYPE c,
END OF ty_dummy.
DATA: lt_dummy TYPE TABLE OF ty_dummy,
ls_dummy LIKE LINE OF lt_dummy.
i_password = 'vnhdh'.
i_user = 'sdkgd'.
i_host = 'sbnksbg'.
i_rfc_destination = 'SAPFTP'.
i_length = '992'.
i_folder_path = '/hioj/hohjk/hh'.
lv_length = STRLEN( i_password ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = i_password
sourcelen = lv_length
key = lv_key
IMPORTING
destination = lv_password.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = i_user
password = lv_password
host = i_host
rfc_destination = i_rfc_destination
IMPORTING
handle = lv_ftp_handle
EXCEPTIONS
not_connected = 1
OTHERS = 2.
IF sy-subrc = 1.
return-type = 'E' .
return-message = 'FTP Connection not Successful'.
APPEND return.
ELSEIF sy-subrc = 2.
return-type = 'E' .
return-message = 'FTP Connection not Successful'.
APPEND return.
ELSEIF sy-subrc EQ 0.
return-type = 'S' .
return-message = 'FTP Connection Successful'.
APPEND return.
CONCATENATE 'cd' i_folder_path INTO lv_cmd SEPARATED BY space.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = lv_ftp_handle
command = lv_cmd
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc = 1.
return-type = 'E' .
return-message = 'Command Error Occured during open of FTP Folder'.
APPEND return.
ELSEIF sy-subrc = 2.
return-type = 'E' .
return-message = 'TCIP Error Occured during open of FTP Folder'.
APPEND return.
ELSE.
REFRESH t_blob.
lv_blob_length = 992.
TRANSLATE i_filename TO LOWER CASE.
CALL FUNCTION 'FTP_SERVER_TO_R3'
EXPORTING
handle = lv_ftp_handle
fname = i_filename
IMPORTING
blob_length = lv_blob_length
TABLES
blob = lt_dummy.
t_blob[] = lt_dummy[].
ENDIF.
ENDIF.
ENDFUNCTION.
Regards
Sajid
Edited by: shaik sajid on Nov 16, 2010 7:25 AM -
How to transfer an internal table from one FUNCTION to another
Hi,
In Normal Enabled Function, I have created an External Parameter as
ZTEMP LIKE ZSTR. (ZSTR is a structure).
In Source Code, am using an Internal Table(ZINT) which is of the same structure type.
I have populated the internal table. Now I have to export these internal table values to another function.
I tried to assign the internal table to the exporting parameter. But this shows error as ZTEMP is not an internal table.
So, How to transfer this??
Give me sample Code.
Regards,
Kalai.
Message was edited by:
Kalaivani PachiappanHi Ramesh,
Thanks for ur reply. Actually I am a beginner. So I dint get u. Can u first clear me one doubt: If I give ZTEMP LIKE ZSTR as export parameter, will it create ZTEMP as a table with all fields as in ZSTR ( or ) ZTEMP itself as a structure???
Then How can I transfer the internal table using Import/Export?
Actually FUNCTION1 is giving some input to FUNCTION2. FUNCTION2processes and stores the result in Internal Table. Now I have to export these internal table contents to FUNCTION1.
How can I do this??
Thanks and Regards,
Kalai -
How to transfer a string with \' and \" to an Oracle table?
An MS Access column contains characters such like \' and \". How to transfer this column to an Oracle table? Thank you.
sqlCommand="insert into jobposition values (\'"+rsSrc.getString(1)+"\')";Sure, as a Java programmer, I undertand
(1) All of \\, \' and \" are single characters,
but here you have to understant
(2) I'm making a SQL command (not a java statement!) with ' or " (not \) !!!
Please pay attention, I don't need \, I need ' ONLY!
So, the following sqlCommand can be run properly.
aString="programmer bad boss";
sqlCommand="insert into mytable values (\'"+aString+"\')";
But, the following sqlCommand can NOT be run properly?
aString="programmer\'s \"bad\" boss"; // programer's "bad" boss
sqlCommand="insert into mytable values (\'"+aString+"\')";
DO NOT tell me you want to modify them like this:
aString="programmer\'s \"bad\" boss"; // programer's "bad" boss
sqlCommand="insert into mytable values (\\'"+aString+"\\')";
PLEASE!
(If so, you can't get a correct SQL command!
Note: an incorrect SQL command is shown as following:
insert into mytable values (\'programmer\')
The \\ will give you a single \ in your String.
The \ is an escape character so in a String you must
double them.
Maybe you are looking for
-
updated iTunes makes m4b (homemade audiobooks) show 0:00 time -- even though file size shows old size -- and files will not play. Immediate past version of iTunes showed at 0:00 but would play. updated iPod will not play pre update present m4b audiob
-
I recently ordered a Gateway computer in June and I got it yesterday. I can't update my sound card drivers because I don't know what my sound card is. I've looked in device manager and all it says is Creative SB?X-Fi. I need to know which one I have
-
Cannot install in existing database
Hi all- I'm trying to install GC in an existing database. When I run the installer (10.2.0.3), the top three options (install in new DB, install in existing DB, add management service) are all disabled; the only one I can choose is "add additional ag
-
How to link CRMD_ORDERADM_H and CRMD_ORDERADM_I
Hi, I am new to CRM and I am not sure how to use the two tables CRMD_ORDERADM_H and CRMD_ORDERADM_I. What is the relation between the two tables? Can i use the GUID in CRMD_ORDERADM_H to get details from CRMD_ORDERADM_I? I am not sure how to link the
-
Hey, I have a project in which I want to play a movie (this works already). But it now only plays the movie, I also want to see my app. So i want to have a movie playing and at the same time want to go through my application.