How to implement this Planning sequence ?
Hello guys,
I have a requirement something like this.
A = B * C / D
where
A = a KF from InfoProvider IC1
B = a KF from Infoprovider IC2
C = a KFfrom inforprovider IC3
D = a KF from infoprovider IC4
this is how i am planning to do it.
1. create a multiprovider over all the Infocubes IC1, IC2, IC3, IC4 & a dummy IC5.& an aggregation level on this multiprovider
2. Do a Copy function with filters to copy the KF B from IC2 to dummy IC5.
3. Do a Copy function with filters to copy the KF C from IC3 to dummy IC5.
4. Do a Copy function with filters to copy the KF D from IC4 to dummy IC5.
5. Implement a Fox formula to do the calculations.
i wanted to know, whether what i have planned is correct ?
or is there a better way to do it ?
Pls give in your suggestions,guys
Thanks
John
Hello Bindu,
I fear i wont be able to do that.
Kf A is a KF which has value at a day level. e.g. distribution key for each day of the week
Kf B is a KF which has a value at a week level.e.g. distribution key for each week of the year.
will then, your logic work ?
Thanks
John
Similar Messages
-
How to implement this planning function using Fox formula
Hello,
I am new to Fox.
I want to implement this complex logic in a planning function
i have A (Kf X from infoprovider Z_A), B (Kf Y from infoprovider Z_B) & moreover there is one more condition,
If current FISCPER > variable value of FISCPER
KF Z = KF Z1 (from Cube C1)
Else KF Z = KF Z2 (from Cube C2).
for a particular calender week,
X = ( Y * Z ) / (summation of (Y * Z) for each week of the whole year)
I know it is complex.
but i have to implement this in a planning function.
The aggreagtion level is built on a multiprovider having A, B , C1 & C2.
Can someone help me out with the FOX formula for this? or is there any better way to do this.
Thanks johnHi Gerardo,
Thanks for that.
I have tried something similiar to it
DATA CHA_CALWEEK TYPE 0CALWEEK.
DATA CHA_COMP_CODE TYPE 0COMP_CODE.
DATA CHA_FISCPER TYPE 0FISCPER.
DATA VAR_PERIOD TYPE 0FISCPER.
DATA SUM_YEAR TYPE F.
DATA TEMP_D TYPE F.
DATA SUM_WEEK TYPE F.
CURRENCY IS LOCAL CURRENCY. FOR DATA SELECTION TO BE RIGHT, NECESSARY TO DERIVE FROM CC.
DATA UN_LOC_CURRCY TYPE 0LOC_CURRCY.
UN_LOC_CURRCY = VARV(Z_U_I100).
CHA_COMP_CODE = VARV(Z_U_I100).
To Calculate the D
VAR_PERIOD = VARV(Z_U_I010).
SUM_YEAR = 0.
TEMP_D =0.
IF CHA_FISCPER > VAR_PERIOD.
TEMP_D = {ZSA_BUD2X,CHA_COMP_CODE,CHA_FISCPER,YBUDG_01X,CHA_CALWEEK}.
FOREACH CHA_CALWEEK.
SUM_YEAR = SUM_YEAR + TEMP_D * {ZCREENTSV,CHA_COMP_CODE,CHA_FISCPER,ZIP_RREF1} .
ENDFOR.
ELSE.
TEMP_D = ({ZSAEXCUSV,CHA_COMP_CODE,CHA_FISCPER,YRT_C02X} - {ZCREENTSV,CHA_COMP_CODE,CHA_FISCPER,YRT_C02X}).
FOREACH CHA_CALWEEK.
SUM_YEAR = SUM_YEAR + TEMP_D * {ZIP_INDEX,CHA_COMP_CODE,CHA_FISCPER,ZIP_RREF1}) .
ENDFOR.
ENDIF.
But i am getting a syntax error
Formula error: } expected
Syntax error in row 21, column 20
i have marke line21 in bold. above.
I feel it is correct, still wonder why i am getting this error.
can you pls help ? -
How to implement this in Oracle Apps 11i
Hello Friends
I am working as a consultant for a manufacturing company.
They have a format for charging Excise and Sales tax on their products (example below). I dont know how to implement this using oracle apps. Please help me ASAP.
eg.
Product A:
MRP = Rs. 100
Assessable Value (i.e. the value at which I have contract with the Government to pay Excise Duty) = 60% of MRP = Rs. 60 in this case.
Excise Duty = 16% of AV =0.16*60 = Rs. 9.6
Now, lets suppose I am selling my product to a dealer at 30% discount.
Therefore, Sale Price = 70% of MRP = Rs. 70
Sales Tax = 4% of Sale Price = 0.04*70 = 2.8
Therefore, total revenue from the deal = 70-9.6-2.8 = Rs. 57.6you can use Advance Pricing or creating discount or attiribute while calculating.
this is not much complex, possible even with Advance Pricing too. Thanks
Shiv -
How to implement this code in labview?
How do implement this pseudo code in labview? Please keep in mind "a" and "c" in the code below ARE VARIABLES
for i =0 to i=maxvalue
if i <= a
output = output2
else if i > a AND i<=c
output = output2
else if i < c
output = output3
else i = d
output = output4
I understance i can use a case structures and modify the label, but i do not know how to make the label dependent on a variable value.
ThanksTry an array of boudaries and use threshold array. See this old example:
Now just iterate over an array of values using a FOR loop.
LabVIEW Champion . Do more with less code and in less time . -
How to implement this attribute ?
Hi,
I've this problem.
In our application to control healthcare expense I've implemented a cube with 6 dimensions. (here for who knows Italian : http://www.oracle.com/global/it/customers/profiles/profile_77.html )
The biggest dimension is the "patient" one, with 1.500.000 units at 5th level, grouped in geographic aggregates, until the entire city at highest level.
Now customers wants to have the possibility to select patiens with chronic disease from these. There are about 500 kinds of chronic diseases.
Every patient can have no one, one, or (and this is the problem) more then one of these chronic disease.
How to try to implement this? as a new dimensions or as an attribute ?
I've thought that best way is to introduce a new (chronic diseases) dimension, to have a way to select one or more of these diseases at all levels of patient dimension.
I'm asking how to solve the problem that a single patien can also have more than one disease.
Is there any way to implement this ?thanks to everyone for the answers
I've some questions.
to olapworld:
have you any sample code to show me how to implement the dimensionalized valueset and the customizations needed ??
to scott:
I think I'm not understanding your suggestion:
my target is to add the "ilnesses" selection to other ones. The most important cube of my applications analyze
healthcare expenses from six dimensions. Customer wants analyze cube "adding" a way to select only "ilnesses" patients and elvaluate their expense.
I'm in doubt becouse a patient can also have more then one ilness, so I can't simply add a "ilnesses" dimensions to the cube and mapping it to an "ilness_id" in the fact table.
How can the two dimensioned cube to help me in this ?
to Rafalm1:
in any case, implementing Count(Distinct patient) would be useful for me, to have a way to count the number of patients who had a healthcae assistence. Can you suggest me how to implement this ? -
How to implement this aggregate logic at target column in odi inteface mapp
sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
how to implement this aggregate logic at target column in odi inteface mappingsHi
if you don't want to aggregate try to define a user function
analytic_sum($(value))
implémented by
sum($(value))
after that
replace your
sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
by
analytic_sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row) -
Which planning function i have to use and how to write this planning fucnti
Hi Bi Guru's,
I have rolled out BW SEM-BPS Planning Layout's for the Annual Budget in my organistaion.
There are two levels of layout given for the each sales person.
1) Sales quantity to be entered Material and country wise for all 12 months ( April 2009 to March 2010)
2) Rate per unit and to entered in second sheet, Material and country wise for the total qty entered in the first layout.
Now i need to calculate the sales vlaue for each period and for the each material.
Which planning function i have to use and how to write this planning fucntion.
Please suggest me some solution ASAP.
Thanks in Advance,
NileshHi Deepti,
Sorry to trouble you...
I require your help for the following scenario for caluclating Sales Value.
I have Plan data in the following format.
Country Material Customer Currency Fiscyear Fiscper Qty Rate Sales Value
AZ M0001 CU001 # 2009 001.2009 100.00
AZ M0001 CU002 # 2009 001.2009 200.00
BZ M0001 CU003 # 2009 001.2009 300.00
BZ M0001 CU003 # 2009 002.2009 400.00
BZ M0002 CU003 # 2009 002.2009 300.00
AZ M0001 # USD 2009 # 10.00
BZ M0001 # USD 2009 # 15.50
BZ M0002 # USD 2009 # 20.00
In the Above data the Rate lines are entered in the Second Layout, Where the user enters on the Country Material Level with 2009 value for FISCYEAR.
I am facing problem with this type of data.
I want to store the sales value for each Material Qty.
Please suggest some solution.
Re
Nilesh -
How to find what planning sequences/functions update data in a cube?
Hi, Experts:
We have a real time cube being updated by planning sequences/functions. How can I find what planning sequences/functions are updating this cube?
Thanks,
JennyHi,
You can go the transaction code: rsa1 and then select "Meta data Repository" option on the left side.
You can use Meta data repository to view the dependent objects for a infocube or any other BW object.
In your case, you can select "Infocube" option on the left side and then go on selecting your infocube.
Now you will get all dependent objects created on this infocube, which will include your plannign functions also.
Refer top the following link for more details on "Meta data Repository",
http://help.sap.com/saphelp_nw04/helpdata/en/4e/ea683c25e9096de10000000a114084/frameset.htm
Regards,
Balajee -
How to implement this calendar function in ABAP code
Hi everyone,
Our requirement is : Give a date (e.g. YYYY.MM.DD, 1983.12.26), then we need to know which weekday it is. Is there a existing FM for this fuction? or how to implement it in ABAP?
Thanks a lot for any hint
Best regards
DeyangHi Deyang Liu,
Could you please check these the below links they would give you some idea ....[SAP Calendar Control|http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCCICALENDAR/SAP_KALENDER.pdf]
[Calendar functions |http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa00f6493111d182b70000e829fbfe/content.htm]
[SAP Functions|http://abap4.tripod.com/SAP_Functions.html]
[Determine calendar |http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa00e9493111d182b70000e829fbfe/content.htm]
Regards,
S.Manu -
How to implement this logic in odi
suposse my table is like this
a b c
1234 01-JAN-09 0
1234 02-JAN-09 1
1234 05-JAN-09 1
1244 06-JAN-09 1
1234 10-JAN-09 0
1234 13-JAN-09 1
1234 25-JAN-09 0
1234 27-JAN-09 1
1234 30-JAN-09 1
1235 01-JAN-09 1
1235 02-JAN-09 0
1235 05-JAN-09 1
1245 06-JAN-09 1
1235 10-JAN-09 1
1235 13-JAN-09 3
1235 25-JAN-09 2
1235 27-JAN-09 0
1235 30-JAN-09 0
i want out put like this
a b c
1234 01-JAN-09 0
1234 02-JAN-09 1
1234 05-JAN-09 2
1244 06-JAN-09 3
1234 10-JAN-09 3
1234 13-JAN-09 4
1234 25-JAN-09 4
1234 27-JAN-09 5
1234 30-JAN-09 6
1235 01-JAN-09 1
1235 02-JAN-09 1
1235 05-JAN-09 2
1245 06-JAN-09 3
1235 10-JAN-09 4
1235 13-JAN-09 7
1235 25-JAN-09 9
1235 27-JAN-09 9
1235 30-JAN-09 9
to get out put like that iam using this query
select a,b,sum(c) over(partition by a order by b) from table.
how to implement "sum(c) over(partition by a order by b)" in odi interface mappingsHi
if you don't want to aggregate try to define a user function
analytic_sum($(value))
implémented by
sum($(value))
after that
replace your
sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row)
by
analytic_sum(NOTICES) over ( partition by property order by RELAVANTDATE range between interval '30' day preceding and current row) -
How to implement this function in JSP/Servlet env?
Hi all,
I working on a project, it provides functionality to upload file using JSP/Servlet. In the first JSP page, there is file location and submit button. After user select a file to upload and click submit button, a message, like "sending file to XXXX", will be shown on the screen. Once uploading and validation are done on the server-side, a successful/error msg will be shown to user.
Here I have a question for the "sending..." msg and the successful/error msg. They should be put in one jsp page or in two separate page? how to implement them?
Thanks for any help!
TranquilFor the sending message... Well, the thing is, when you click submit, it's sending the file to the server and the server is processing it, and this is all done before the "complete" page is sent to the server. So one would need to use some Javascript on the page before the actual submit happens to show some message. This is done on Ebay when you put something for sale, you can upload an image, and there is a little popup message telling you that it's uploading, and it is removed when the process is done. Now, I'm not sure the exact details of how this works, but my educated guess is this:
1) The onsubmit function of the form checks that the file upload fields have a value (no need to popup a message if no file upload, since that's what usually takes the time, although it could just be assumed there is a file). If a file is to be uploaded, or just want to show the message anyway, a new popup window is opened with the window.open method and the "sending" message is shown (either written via Javascript or just load a small web page to the window).
2) The popup window, since you can't transfer the window object from the form page to the next page, has to check window.opener for some value that the success/error page would have to set. The success/error page could use it's body onload function to set a variable in it's own window object to denote that the page is loaded. The popup window can use a looping check using setTimeout or setInterval in Javascript to check for window.opener.isLoadedVariable to be present, and if so, close itself.
I've never done that, but I see no reason why it wouldn't work. -
How to implement this typical sign workflow? Urgent
Hi Adobe Experts,
I am new to LC (two months only). Recently company is doing some evaluation on LC 8.2 and my boss assigned the following task to me (I simplified it):
Form: (Enclosed)
* Two text fields: CommentTextField1 and CommentTextField2
* Two signature fields: SignatureField1 and SignatureField2
I've associated the SignatureField1 to lock CommentTextField1 and associated the SignatureField2 to lock CommentTextField2.
The progress to implement is:
Step 1) Ray Woodard open the form in workspace, type in CommentTextField1, Sign the SignatureField1, Submit.
Step 2) Alex Pink open the form in workspace, type in CommentTextField2, Sign the SignatureField2, Submit.
Any suggestions on how to implement the progress? Please help! Thanks a lot!
(What I am able to accomplish so far is the step 1, but I am not confident about that. Please point me the right solution. Should I use xfaForm or Document Form, render/submit as default or PDF, submit as XDP or PDF etc...? I am so confused and frustrated now!)Steve, thank you so much!!!
Your example helped me a lot. I am able to run the process, but I still have three doubts:
1) When I set "Submit As" to "PDF" rather than "XDP" by default, I am not able to submit the form in the workspace client with "Adobe Reader" installed. But I am able to submit the form in the workspace client with "Adobe Acrobat" installed. Is it normal?
2) What does "Form Bridge" do in this whole process here?
3) If I don't want to hard code the submit URL in the form, do I have another option, like using other renders?
Thanks again!
Wayne -
How to implement this requirement
Greetings!!!
The following are my tables
CREATE TABLE SHIPMENT_CARTON(
SSSD_ID NUMBER(10) NOT NULL,
CTN_MEAS_ID NUMBER(10),
SSSD_NO_CTN NUMBER(10),
SSSD_GW NUMBER(10,2),
SSSD_NW NUMBER(10,2),
CONSTRAINTS PK_SHIPMENT_CARTON PRIMARY KEY(SSSD_ID))
TABLESPACE order_data01
STORAGE(
INITIAL 10K
NEXT 10K
MINEXTENTS 5
MAXEXTENTS 10);
ALTER TABLE SHIPMENT_CARTON ADD CONSTRAINTS FK_SHIPMENT_CARTON1 FOREIGN KEY(CTN_MEAS_ID)
REFERENCES CARTON_MEAS(CTN_MEAS_ID);
CREATE TABLE ITEMS_IN_CARTON(
IIC_ID NUMBER(10) NOT NULL,
IIC_QTY NUMBER(10),
SSSD_ID NUMBER(10),
OI_ITEM_ID NUMBER(10),
CONSTRAINTS PK_ITEMS_IN_CARTON PRIMARY KEY(IIC_ID))
TABLESPACE order_data01
STORAGE(
INITIAL 10K
NEXT 10K
MINEXTENTS 5
MAXEXTENTS 10);
ALTER TABLE ITEMS_IN_CARTON ADD CONSTRAINTS FK_ITEMS_IN_CARTON1 FOREIGN KEY(SSSD_ID)
REFERENCES SHIPMENT_CARTON(SSS_ID);
ALTER TABLE ITEMS_IN_CARTON ADD CONSTRAINTS FK_ITEMS_IN_CARTON2 FOREIGN KEY(OI_ITEM_ID)
REFERENCES ORDER_ITEM(OI_ITEM_ID);
REQUIREMENT:
More than 1 itemcode(s) will be put in 1 carton.
Solution:
I did it's master detail entry wherein the user will initially select the carton size(CTN_MEAS_ID), enter no of carton(SSSD_NO_CTN),
gross weight(SSSD_GW), net weight(SSSD_NW) and primary key (SSSD_ID sequence generated) in table SHIPMENT_CARTON(Master Block Entry).
Afterwhich, user will select itemcodes(OI_ITEM_ID), enter the quantity(IIC_QTY) and primary key (IIC_ID sequence generated) in
ITEMS_IN_CARTON (Detail Block Entry).
MY NEW REQUIREMENT:
More than 1 itemcode(s) will be put in 1 carton.
User will initially select the itemcode(s)and quantity , then select the carton size,enter the no of carton, gross & net weight.
How to implement it in reverse manner.
I hope somebody out there can suggest how to do it in Forms10g.
Thank you in Advance...It depends on what the front end should look like and whether the carton details are known immediately after the items have been entered or not. I'll assume the carton details will not be known for some time.
Presumably you have other tables in the model, for example there would probably be a table above shipment_carton. "Shipment" perhaps? If not then create it and foreign key both tables here to the Shipment table. When you add items you add them to a shipment and when you add cartons you add them to a shipment. Then you just have to assign items to cartons within that shipment. The foreign key from items to cartons must now include the Carton AND Shipment primary key columns so you know that the items are not being put into another shipment's carton. -
How to implement this need help
I created a datacontrol for a named query which (using Ejb entity beans) which accepted a employee id and click on find show me the respected employee details in a table.
case 1: In one single page
when i added the form consisting of a single text box , button and the table to show the result of the find method in one single page it worked out perfectly,,,
case 2 : using 2 different pages
But then i tried adding only the form in one page named page1 and and the table to show the result in another page i.e page2 , Also in the command action of find button of page1 i asked it to redirect to page 2 and show result . But it never showed me any results..
Question :
1) How to implement case2 i.e to have a form on one page and the resultant table to be show on another page i.e When users sees first page he adds the employee id in text box and clicks find .The user then needs to be redirected to page2 and the result of search should be shown in table...
Can anyone guide me over this... ???Hi,
you use a method on the EJB that takes a argument (e.g. the employee ID). You then put the method result set on page 2 (the method argument shall be pointed to a request or session attribute using EL : #{sessionScope.EmployeeId}
On the search page - when the user hits the search button - you set the attribute "EmployeeId" in the session before navigating to the next page
Frank -
How to implement this Java Script?
Hello,
I have this script to remove the link from titles of web parts. I am new to SharePoint 2013 development. I am not sure where to put it. Not sure what file to put it and how to implement it. How can ensure this code gets run on pages through out
my SharePoint 2013 site.
jQuery(document).ready(function () {
$('a').filter("[href='###']").each(function () {
$(this).replaceWith($(this).html());
Reference
https://expectedexception.wordpress.com/2012/01/30/how-to-remove-the-list-view-web-part-title-bar-link/
PaulGet the page Url from the website and go to Sharepoint Designer and browse the page and add the script within a scritp tag <script>jQuery(document).ready(function
$('a').filter("[href='###']").each(function () {
$(this).replaceWith($(this).html());
});</script>
how to open a site in SP Designer:
https://support.office.com/en-ie/article/Open-a-SharePoint-site-94d33d70-3f07-4a8e-b5b5-1137a9c36e74
another option is to find the global file that contain the scripts and add it as a method there. You can check these files by viewing source of the page.
note also that the Jquery reference is needed for this code to execute.
Fouad Roumieh
Maybe you are looking for
-
?( I have KT3 Ultra with 512meg 2x 256 in Sockets 1 and 2. XP home and Athlon XP1800 I am trying to increase the RAM with another 256 in socket 3. When there is a module in the 3rd socket the machine will crash. I have tried 3 different memory modul
-
Hi All, I need your inputs to create report which display the error messages. Actually i am sending IDCO (MATMAS) from R/3 system to PI system and then after i am just sending that data to onother system MDM. Here my requirement is to create
-
I am using a flash template that includes a menu bar. However, after I changed the names of the tabs in the menu bar, none of the words show up. Everything else loads correctly (sound, logo, images), but no words on the menu bar. I see them on the ac
-
SmartSync MDK Tutorial in MI 2.5
i tried the smartsync tutorial in the mdk, but when i follow the steps to build the application from the xml file, i eventually found out that the code it generates uses an application name of SMARTSYNC_SIMPLE_TECHED. the steps say to use "mdk_tutori
-
I recently got a macbook pro. I used to be able to go into the itunes store and look at apps for the computer. Now I am only seeing sections for the iphone and ipad. even if I serch mac apps nothing comes up for the computer. Does anyone know why tha