From where i can run script logic file.
Dear All,
I am new to BPC.
I have a code for currency translation in my Script logic (Default.lgf).
From where i should run this file. Can any help me.
thanks a lot in advance,
Regards,
Satish.
Typically the Currency rates are stored in the "RATE" application. This application is what the script logic or Business rule will call during the conversion process. The rates are only stored by MONTH and by TYPE in a typical planning application. If you need more granular rate details, then you may need to make you time dimension by weeks or days, or add more "TYPES" that are assigned to ACCOUNTs in th ecorressponding account dimension.
But in a simple planning world, most companies will use a monthly rate, one for an AVG and one for END account types, enter this into the RATE application, and run the Defualt logic on submission of data to compile the FX value. Whne you wish to view the results, make certain that you select the correct REPORTING CURRENCY in the report. Many time users forget that data is "normally" entered to an ENTITY,, the ENTITY defines the currency it assumes data is entered, so the plan is loaded to the "LC" member, and converted to USD; or entered in LC, and converted to RS.
But the RATE application will store all the rates required and you may need to open the INPUT template in that application to load the data at the correct intersections.
Hope this helps.
Similar Messages
-
Where I can download the .sca files
Hi All,
Can some one tell me from where I can download the following files from the service marketplace.
SAP_JTECHS.sca
SAP_BUILDT.sca
SAP-JEE.sca
Let me know the exact path to reach this files in the marketplace.
Thanks,
SrinivasHello,
You can download the files from following links, select NetWeaver04 or NetWeaver04s as per your requirement.
SAP_JTECHS.sca
service.sap.com/swdc --> Support Packages and Patches --> " SAP NetWeaver" --> SAP NETWEAVER" --> SAP NETWEAVER 2004S" --> Entry by Component" -->Application Server Java --> SAP JAVA TECH SERVICES 7.00 --> #OS independent
SAP_BUILDT.sca
service.sap.com/swdc --> Support Packages and Patches --> " SAP NetWeaver" --> SAP NETWEAVER" --> SAP NETWEAVER 2004S" --> Entry by Component" -->Application Server Java --> DI BUILD TOOL 7.00 --> #OS independent
SAP-JEE.sca
service.sap.com/swdc --> Support Packages and Patches --> " SAP NetWeaver" --> SAP NETWEAVER" --> SAP NETWEAVER 2004S" --> Entry by Component" -->Application Server Java --> SAP J2EE ENGINE 7.00 --> #OS independent
please reward points.
Cheers,
-Sunil -
Can we run script logic at the time of preparing reports.
Helo Everybody!
I am new to SAP BPC.
Can we run script logic at the time of preparing reports.
Thanks & Regards,
Satish.If you mean, "Can we run script logic at the time of preparing reports" is equivalent to entering data into the report and sending it to the database, then yes, you may run logic as Marcel indicates. Defualt logic is ALWAYS run for ANY and EVERY set of data that is sent via an input template from the field. You may also run logic when posting a jOURNAL entry as well. But be careful....if default logic attempts to perform to MANY or COMPLEX calculations, the time it takes to complete the process may not be in expectations with the users plans. There is a fine design balance required when planning to run logic at the time of input, as opposed to running in a package or at specific times during the day.
Hope this helps. -
How to run stored procedure IC Data / to define according script logic file
We want to execute the stored procedure IC Data before the IC Booking. Could anybody tell me, how we have to define the script logic file in detail?
We try it with this code (that runs without any error, but 0 rows are calculated, 0 rows are updated)
*Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','Input','I','%logtable%','%scopetable%')
*commit
We also had tried with this code:
*Run_stored_procedure=spicdata('%App%','%C_Category_Set%','%time_set%','','%entity_set%','','','','','%logtable%','%scopetable%')
*commitstep 1.
Create a store procedure in back end.
step2.
Create a ssis package to execute the store procdure.
step3.
call this ssis pacakge in the data manager package and run the package. -
Can u tell me where we exactly use the logical file.
hi,
this is pandu,can u tell me where we exactly use the logical file,
what is the use of the logical file in detailed explanation.
regards,
pandu.http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm -
Greater Than Function in Script Logic File
BPC Experts,
I've got a pretty simple script logic file to calculate salary amounts, overtime, etc. The purpose of this logic is for forecasting. I have two referenced dimensions, TIME and SCENARIO, where TIME.MONTHNUM is equal to its relative month number (eg: Jan monthnum = 1), and SCENARIO.CURRMONTH is equal to the relative amount of actual months data, (eg Jan currmonth = 0, Feb = 1) because if you are completing a February forecast, you have one month of actual.
The ACTUAL scenario is never touched, but after a month closes, we copy the ACTUAL data to, for example, FEB_FCST. So, after January closes, its actuals are copied to the FEB_FCST scenario so we can complete an actual/forecast (one month actual, 11 months forecast).
Currently, the default logic skips anything in the ACTUAL scenario, by stating "*WHEN SCENARIO, *IS <> "ACTUAL" yada yada yada.
However, when the default logic runs on the forecast scenarios, it takes the same inputs from the months that are copied over from the ACTUAL scenario and adds to the original amount, essentially doubling the value--ultimately causing an incorrect actuals number in the forecast scenario.
My script right now looks like this:
*XDIM_MEMBERSET DATASRC=INPUT
*XDIM_MEMBERSET PRODUCT=NO_PRODUCT
*XDIM_MEMBERSET SHIFT=NO_SHIFTS
*XDIM_MEMBERSET MEASURES=PERIODIC
*WHEN SCENARIO
*IS <> "ACTUAL"
*WHEN TIME.MONTHNUM
*IS > SCENARIO.CURRENTMNTH
*WHEN ACCOUNT
*IS "SALARIED_MANPOWER"
*REC(EXPRESSION=((([ACCOUNT].[SALARIED_AVG_WAGE] * (1 + [ACCOUNT].[SALARY_TIMEAHALF]))* [ACCOUNT].[SALARIED_MANPOWER])),ACCOUNT="01100")
*ENDWHEN
*ENDWHEN
*ENDWHEN
*COMMIT
When it hits line 9 (*IS > SCENARIO.CURRENTMNTH) during validation, it errors. How can I use a "greater than" function to dictate whether or not a given scenario should run default logic on a specific month?
If not, is there a different/better way to do it?
Thank you!
ABFHi Alex
Take this sample logic, check the properties in your Time dimension to trouble shoot your issue.
*SELECT(%CAT_VAR%, "ID", CATEGORY, ID= PLAN_APRIL)
*XDIM_MEMBERSET CATEGORY = ACTUAL, PLAN, %CAT_VAR%
*SELECT(%CATMTH%, "STARTMTH", CATEGORY, ID= %CAT_VAR%)
*SELECT(%ACT_PERIOD%, "ID", TIME, MONTHNUM < %CATMTH% AND LEVEL = MONTH AND YEAR = 2010)
*SELECT(%PLAN_PERIOD%, "ID", TIME, MONTHNUM >= %CATMTH% AND LEVEL = MONTH AND YEAR = 2010)
*XDIM_MEMBERSET TIME= %ACT_PERIOD%
*XDIM_MEMBERSET CATEGORY=ACTUAL
*WHEN CATEGORY
*IS ACTUAL
*REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
*ENDWHEN
*XDIM_MEMBERSET TIME= %PLAN_PERIOD%
*XDIM_MEMBERSET CATEGORY=PLAN
*WHEN CATEGORY
*IS PLAN
*REC(EXPRESSION=%VALUE%, CATEGORY = %CAT_VAR%)
*ENDWHEN
Thanks -
Unable to identify from where the listener run
Hi,
In my env we have 2 oracle binaries&4 dbs. one listener is configured for all databases. I have modified the listener (Delete all entries) and start the listener.
Few minutes it is showing that no services added to the listener. After 3 minutes, automatically all database services added and went to ready state. I can't able to identify from where the services added.
Incase if i added any entries in the listener.ora file, that services went to unknown state. Then what could be issues?
OS-solaris
NO CLUSTER/RAC.
oracle 10g.
I am new to this env. so i cant able to find from where the listener file read ,from where the services running as ready?
Note:- if i check lsnrctl status,it shows the perfect listener file what i edit.
Please help me.
Thanks in advance.LOG FROM listener.log
TNSLSNR for Solaris: Version 10.2.0.5.0 - Production on 13-FEB-2013 17:14:29
Copyright (c) 1991, 2010, Oracle. All rights reserved.
System parameter file is /app/oracle/product/10.2.0/db_2/network/admin/listener.ora
Log messages written to /app/oracle/product/10.2.0/db_2/network/log/listener1.log
Trace information written to /app/oracle/product/10.2.0/db_2/network/trace/listener1.trc
Trace level is currently 0
Started with pid=19832
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test.world.az)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
WARNING: Subscription for node down event still pending
13-FEB-2013 17:14:30 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER1)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:14:36 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:14:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:14:46 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:14:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:15:13 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:15:16 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
13-FEB-2013 17:15:23 * service_register * test_db1 * 0
13-FEB-2013 17:15:23 * service_register * test_db2 * 0
13-FEB-2013 17:15:23 * service_register * test_db * 0
13-FEB-2013 17:15:23 * service_register * test * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:15:36 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0
13-FEB-2013 17:17:44 * service_update * test * 0
WARNING: Subscription for node down event still pending
13-FEB-2013 17:18:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=test)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870592)) * status * 0 -
How and where I can build the logic to calculate between cal days?
Hi
I have the cube having data like below. When I run the report based on calendar day as input, I would like to get output data how many Line Items based on my selection (status, Trans status) from between calendar day to calendar day+150 days.
0Calday Sold-to-Party Status Trans No Trans Status Line Items
03.10.2008 2000028074 50 216270 28 1
05.11.2008 2000024917 40 216281 15 1
06.10.2008 2000006277 33 216292 28 1
15.12.2008 2000019927 33 216303 10 1
If I provided calendar day as input at query how and where I can build the logic u201Cbetween calendar days to calendar day+150 daysu201D?
For example, If I run a report as caleder input 03.10.2008 with selections status = 40,33, Trans statu =15,10, with above data, I can get the output below.
05.11.2008 2000024917 40 216281 15 1
15.12.2008 2000019927 33 216303 10 1
Please help me to build the above logic?
Thanks,
MannevHello,
There are some informtion in SDN that can be useful regarding customer exit for variables in BEX, for example:
need clarification on BEX variable usage in customer exit.
you can also try to use the variable offset:
variable offset in Bex
Best Regards,
Ricardo -
UJBR Backup lead to corrupted (?) script logic files
Hi all,
I made a backup of an environment on BPC 10 and all of the script logic files in this backup seem to be corrupted as you can see on the screenshot below:
What could be wrong?
Thanks,
MicheleYes, this is a regular behavior, nobody promise that you will be able to read scripts from backup file.
Options:
1. Instead of backup save scripts directly from UJFS - you will have normal text files.
2. Write code in any language to unzip the scripts from backup files using publicly available zip libraries. Just remember that the file is zipped content without header and footer (you can binary compare the same script zipped by standard zip and the script you have in backup).
Vadim -
What is directory where I can put in jar file without specify classpath ?
hi,
Is there any directory in weblogic similar to the directory of WEB-INF/lib/ where I can throw a jar file in without specify classpath explicitly.
The reason I'm looking for such directory is :
-- I do not want to specify classpath explicitly
-- I'd like it outside of an application so that it stay even if the application redeployed.
ThanksHi Aacc,
The domain library directory that you are looking for is usually $DOMAIN_DIR/lib, for example "C:\Oracle\WLS_Middleware10.3.4\user_projects\domains\test_domain_1\lib" (Windows) or "/u01/weblogic/domains/my_domain/lib" (Linux/Unix).
The jars located in this directory will be picked up and added dynamically to the end of the server classpath at server startup. The jars will be ordered lexically in the classpath. The domain library directory is one mechanism that can be used for adding application libraries to the server classpath.
You can override the $DOMAIN_DIR/lib directory using the -Dweblogic.ext.dirs system property during startup. This property specifies a list of directories to pick up jars from and dynamically append to the end of the server classpath using java.io.File.pathSeparator as the delimiter between path entries.
-Cris -
Test script logic file - Errror "Invalid Dimension Account"
Hi BPC Experts,
I am a new bee in BPC and have developed HCM applicaton in BPC 5.1. The Appset contains Finance, Rate & HCM applications.
I am working on HCM and wants to write a script logic file for HCM and it is giving an ERROR "Invalid Dimensin Account".
I have following dimensions in HCM Application:
account_hc --> type A
category_hc --> type C
company_hc --> type E
time_hc --> time t
costcenter_hc --> type u
datasrc_hc --> type d
employerole_hc --> type u
geography_hc --> type u
rptcurrency_hc --> type r.
I had defined Dimensions in system_cnstants file as mentioned below.
// application constants
*FUNCTION CATEGORYDIM =CATEGORY_HC
*FUNCTION TIMEDIM =TIME_HC
*FUNCTION CURRENCYDIM =RPTCURRENCY_HC
*FUNCTION ENTITYDIM =COMPANY_HC
*FUNCTION ACCOUNTDIM =ACCOUNT_HC
*FUNCTION INTCODIM =INTCO
*FUNCTION CATEGORYDIM =CATEGORY
*FUNCTION TIMEDIM =TIME
*FUNCTION CURRENCYDIM =RPTCURRENCY
*FUNCTION ENTITYDIM =ENTITY
*FUNCTION ACCOUNTDIM =ACCOUNT
// This part is needed when a RATE cube
// is associated to the application
// (FX = single or multi currency)
*FUNCTION THISAPP =HCM
*FUNCTION RATEAPP =RATE
*FUNCTION RATEENTITYDIM =RATESRC
*FUNCTION RATEACCOUNTDIM =RATE
*FUNCTION INPUTCURRENCYDIM =INPUTCURRENCY
*FUNCTION RATEENTITYMBR =RATEINPUT
*FUNCTION RATESRCCALCMBR =RATECALC
*FUNCTION AVGRATEID=AVG
*FUNCTION ENDRATEID=END
I tried to validate and save standard default script logic. But it gives me an error " NO match defined for lookup dimension Category"
So I could not use default logic file to write my script logic. Hence I have created HCM logic file. and Given the following script logic.
*XDIM_MEMBERSET ACCOUNT = XYZ_INC_RetPlan
*WHEN ACCOUNT
*IS XYZ_INC_RetPlan
*REC(FACTOR = 1.1, ACCOUNT)
*ENDWHEN
*COMMIT
While validat & save, I get an error "Invalid Dimension Account".
I do not understand why these errors occuring.
I have checked Category & Account dimensions checked. Every thing is ok. I have created Input schedules and they are working ok. It means the dimensions are fine.
Then why the error ?
Can you guys please guide me.
Appreciate your kind help.Eswara,
try to close down BPC for ExCEl in case your IS/Reports are trying to access the APPlication.And also any other BPC ADmin screens accessing the same Application/Dimension.
1)try to only do a "process " on the account dimension without including the processing for Applications...
2)then try to do a process on the application.
Now your script should be able to recognize Account dimension and validate fine..
hope this helps... -
MDB deployed on a separate WLS/machine from where JMS is running
I'm trying to deploy an MDB on a separate WLS/machine from where
JMS is running. How and where to put the reference to the queue to read messages.
Also please share the versions of ejb-jar.xml and weblogic-ejb-jar.xml files that
are more practical and meaningful than they are in BEA samples.
Thanks a lot.If the MDB's WLS instance and the JMS WLS instance are in the same
cluster, then you shouldn't need to do anything. (The clustering will
present a unified JNDI tree and that's how it finds it.)
If they're not clustered, you need something like this in your
weblogic-ejb-jar.xml:
<message-driven-descriptor>
<destination-jndi-name>Bids</destination-jndi-name>
<provider-url>t3://jms_server:7001</provider-url>
</message-driven-descriptor>
-- Rob
Alan wrote:
I'm trying to deploy an MDB on a separate WLS/machine from where
JMS is running. How and where to put the reference to the queue to read messages.
Also please share the versions of ejb-jar.xml and weblogic-ejb-jar.xml files that
are more practical and meaningful than they are in BEA samples.
Thanks a lot. -
Can I use headphones/headsets with my ipad3 because they arnt included in the ipad box so any of u used it and from where I can have them ?
Yes you can use earphones or earbuds. You can use iPhone or iPod earbuds and there are many other headphones that will work with the iPad - and bluetooth headphones wiill work as well.
-
From where i can get itunes gift card code?
I don't believe Apple has an online store in Israel. You'll have to look elsewhere, where, I can't say. But, the gift card must be purchased in Israel. Could be they are simply not sold there.
Look here:
http://www.icongroup.co.il/ -
From Where I Can Get The Vmware 6.5 Serial # Or Crack.
Hello there,
can anybody tell me that from where i can get the crack or serial # of vmware 6.5. or if u can send me then plz.
regards.
Asif Iqbal
Software Engineer ( Karachi, Pakistan )If you go to their web site (vmware.com) with a credit card they will happily provide you with a serial number. You can also get an evaluation licence for free which will give you a serial number that will work for 30 days. Most other options that you are suggesting are likely to be illegal or infringe copyright.
Maybe you are looking for
-
Script works for one frame but not another
I set up 2 keyframes, each one loads a different text file into a dynamic text box. The text box for the first keyframe is named "session" and the text box for the second keyframe is named "oneptq". The text file for the first text box is named Title
-
hi, i want to display second page in smartforms with different condent in that, i called second page in main window of 1st page using command,the problem is i want to display total window of 1st page after the end of main window,but now the second pa
-
How to get item's cost price?
I want to get Item's cost price. I get a business boject 'item',g_oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems),There are two key to decide one cost price,one is 'itemcode',another is 'whscode',How to get one record by using 'GetByKey'
-
Document Object for HELP_OBJECT_SHOW
Hi Experts, I need to program an F1 help. For this i want to use the FM HELP_OBJECT_SHOW. eg. CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'TX' doklangu = sy-langu dokname = 'DEMO_FOR_F1_HELP'
-
Hi All, I'm trying to download and save an Excel file using URLConnection. The below code works and I can open the resulting file in Excel. However, the resulting file is about twice the size of the same file downloaded though the browser. Also, I ca