How to Create & Manage data slices easily?
Hi All,
We have lots of Business units; everyone works independent to each other, so they might be in different versions at any point of time.
My requirement is to lock all previous versions, should allow them to work on current version.... so it should be a combination with Business Unit and Version.
For ex:
Business Unit 100 has current version 5
Business Unit 200 has current version 3
Business Unit 500 has current version 15
So how can I create simple data slice to manage every business unit with their respective versions locked.
After reading some of the threads:
I considered creating data slice for each Business unit but we have 45 units.. with one VERSION customer exit variable to populate the variable from my ztable.
I want to know more about how to use exit class? (CL_RSPLS_DS_EXIT_BASE)
Will that help me much better than what I have considered above?
OR any better way to tackle my problem?
Thanks in advance
Guptha
Hi,
I think here a simple exit data slice implementation would work. No variables would be needed at all. A feature often overlooked is the 'is_overlapping' method. Here one will get the filter of the planning function, query before the 'is_protected' method is called per record. So when the query / planning function is called the method 'is_overlapping' is called. Here one can read the Z-table with the allowed business unit, version combinations allowed to plan. This Z-table can be read using the restrictions form the filter (i.e. i_tsx_selder table or call seldr_to_range to get a easier to consume range table). Buffer the result in an internal table.
In the 'is_protected' implementation simply lookup the internal table records and decide whether the records is protected or not.
Using the 'is_overlapping' method on can set R_IS_OVERLAPPING = rs_c_false if the filter of the planning / function query has not non-empty intersection with the Z-table. Then the system will not call the is_protected method at all.
Regards,
Gregor
Similar Messages
-
How to creat a Data provider based on different fields in SAP BW ?
Hi,
Experts,
There are 20 fields of Plant Maintainace like :
SWERK
BEBER
STORT
TPLNR
EQUNR
INGRP
QMDAT ---peroid
STTXT
QMDAT - Date of Notification
QMNUM
QMTXT
QMART
AUSVN
AUZTV
AUSBS
AUZTB
AUSZT
ERNAM
QMDAB
AUFNR
I want to creat a Report based upon these fields ?
For that I h'v checked the relevant Fields to the existing standard Datasource in Bw side &
Checked cubes created based upon these Datasource in Bw side !
i h'v found some fields are existing different cubes & some are missing .
How to creat a Data provider based on different fields in SAP BW ?
plz suggest !!!!!!!
Thanx,
Asit
Edited by: ASIT_SAP on Jul 15, 2011 6:25 AM
Edited by: ASIT_SAP on Jul 15, 2011 6:27 AM
Edited by: ASIT_SAP on Jul 15, 2011 12:37 PMHi Lee, Please see below..
DECLARE @Machine2 TABLE
DispatchDate DATE
INSERT INTO @Machine2 VALUES ('2014/02/01'), ('2014/02/02'), ('2014/02/03')
DECLARE @DateFrom DATE
SELECT @DateFrom = DATEADD(D,1,MAX(DispatchDate)) FROM @Machine2
SELECT @DateFrom AS DateFrom
Please mark as answer, if this has helped you solve the issue.
Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles. -
How we create new data base in oracle 10g express edition
hello every body.. i student of B tech n new user of oracle so please help me how we creat new data base in oracle 10g express edition
Hello, Oracle XE can not create more than one instance, the other editions yes, but like other editions XE allows you to create database schemas, schemas logically grouped objects like tables, views, indexes created by a user. By creating an Oracle user is associated with a schema of the same name.
Using SYS or system accounts for creating user accounts.
Syntax to create a user:
create user Your_user
IDENTIFIED BY password
default tablespace users;
grant connect, resources to your_user;
Edited by: rober584812 on Jun 25, 2010 9:03 PM -
How to create a Date or time field that automatically saves current date or time?
hello,
i want to know that how to create a Date/Time field that automatically shows current Date/Time when .pdf form is opened.
also want to how to stop user to give input in Date/Time field
currently im putting a Date field but it is accepting user input.
hoping for quick response
Thanks in advance!You can place the below code in the initialize event of the field to display the current date and time.
Set the language to FormCalc.
You can play around the formats to get the desired format of date and time.
if($.rawValue eq null or $.rawValue eq "") then
$.rawValue = Concat(Num2Date(Date(), "MM/DD/YYYY")," ", Num2Time(Time(), "h:MM:SS A"));
endif
You can not restrict the input area in Date time field instead you can validate the input while existing the field.
(OR) set the field to either readOnly or protected mode.
Thanks
Srini -
How to create Hive data source?!!
I am trying to create hive data source connection.
I am stack on creating connection profile and configuring "Generic JDBC Driver" .. after i added drivers i keep getting " Required property in driver definition missing value: Driver Class." error.
I am adding a screenshot with the list of drivers.Kevin
In Jdbc node create a Jdbc Connection Pool with the
Url=jdbc:borland:dslocal:/jbuilder6/samples/Ejb/db/esite.jds
and driver=com.borland.datastore.jdbc.DataStoreDriver. Create a Datasource
using a Jndi & Jdbc Connection Pool.
Deepak
Kevin Gao wrote:
in jbuilder6 samples instructions,there is instruction as:
Create a WebLogic data source named ESiteSource. You will need to check
your WebLogic documentation on how to create a data source. You will need
the following settings
1.The database URL should be of the following format:
jdbc:borland:dslocal:/jbuilder6/samples/Ejb/db/esite.jds, ensuring that you
have the correct path to esite.jds.
2.The driver will be com.borland.datastore.jdbc.DataStoreDriver.
3.This JDataStore is not password protected, but you must still specify a
user; any user will do, e.g., user=Frank;password=
but how to create a data source in weblogic?
help me please!
thanks in advance!
Kevin Gao
EMAIL:[email protected] -
How to create JNDI data source name in Tomcat 6.0.18 server?
Hai,
How to create JNDI data source name in Tomcat 6.0.18 server?
Regards,
MariMuthu.A[http://google.com/search?q=jndi+site:tomcat.apache.org+6.0]
-
Urgent : How to create Manager and Reportee of a User in Embedded LDAP in W
Hi All,
I have created user in Weblogic Server Embdeed LDAP (Console-->SecurityRealm)
however how can I assign another user as Manager of this user and some other user as reportee of this user.
Basically how to create Manager and Reportee of a User in Embedded LDAP in Weblogic 10.3.5
ie I have a user A and user B created in Security Realm.
Now I want user A to be as Manager of User B so that when I use getManager() function in Human Task,I get A as Manager of B.
Thanks
Edited by: Vivek on 28 Sep, 2011 3:54 AMTo get an idea check these links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/aaa1a890-0201-0010-eb93-ae3d2bb74a78
BSP/HowTo - Customizing the design of System Logon page in NetWeaver '04
-Aman -
How to create new .dat file and its contents?
Hi There
Can anybody let me know the procedure of how to create new .ctl or .dat file to load data to tables.
i working on 2day dba chapter 8. it shows me how to creat table and use .dat file to load data. but doesnot giv any clue how new .dat file and its contents can be created. please help.
thanks in advance.Thanks for ur help
I ve created txt file in notepad and saved it as dat file. tried to load that data thru Enterprise manager. used load data from User files everything went well and job was showing suceeded but dont know why that data is not showing in the table. i ve tried it now for three four times. used right table and pathe but dont know. has anybody got idea why that ll be?
Thanks -
How to create a date object with a specific time?
How can I create a date with today's date but with a specific time, say: 20:00:00?
Thanks in advance.Don't forget about those pesky milliseconds!I'd have gotten away with it too.. if it hadn't been
for that pesky BigDaddyLoveHandles.I'm in top form today. On the drive in to work I managed to
push two scooter riders off the road and gave the finger to
a Prius owner. -
How to create generic data source in R/3
hi experts !
i m a beginner in BIW.
i wan to create a generic data source in my R/3 system. since there exists a Z table which i want to use in designing an infocube in my BI system. please someone help me how should i begin with doing it ?
thanx in advance
akankshaAkanksha,
Here am providing you with a scenario when we go for Generic Datasource and also the steps to create a Generioc DS:
We can create datasource based on View, Table, SAP Query or ABAP Query, and Function Module.
Scenario for Generic Datasource.
One of the Manager who using reports wanted to have the report which will him the list customers and sales document numbers created by them.
In this case we can use of VIEW where kna1 and vbak tables were combined in the View definition or else u can say that ABAPer had given the required view.
How to create the generic Datasource.
Goto RS02, select the Transactional Data, it will takes us to the next screen, where we need to give application component name say SD (01), then give the name of the Datasource that u wanted, select view and give the view name. Below that field we need give 3 descriptions. Then save and activate the datasource.
Go back to the RSA6 screen transport it to BW system. Replicate the DS.
Hope it helps..
Assign Points if it helps
Regards,
Gattu -
How to create a data load file from Excel !!!
Hi All,
I'm new to HFM and would like to load data into an HFM application. As I have an Excel file with all the data. When I'm directly loading the data it throws an error saying "No section has been specified to determine if this is data, description or line item detail". How can I convert this excel file into proper format (.dat) file understandable by HFM ?There are several ways to get this data into HFM.
1) FDM - best option if you have it
2) Webforms/Data Grids
3) HsSetValue formulas in Excel
4) DAT file loads
5) JVs, etc
If you wish to use DAT files created via Excel, you will likely want to use Excel VBA macros to create your DAT file to load. We do this on occasion for special projects and it works quite well. What you can do is set up an Excel file with your data inputs to look however you want, then link your POV members and amounts to another tab (we commonly call this the Export tab and it is set up in an HFM-friendly format).
Create a macro to write a DAT file to a specified location using data from the Export tab. The DAT file will need to be formatted as below. For a specific sample, you can extract data from your HFM app and see the format.
!Data
Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
Scenario;Year;Period;View;Entity;Value;Account;ICP;Custom1;Custom2;Custom3;Custom4;Amount
Brush up on Replace, Merge, or Accumulate load options in the HFM Admin and User Guides, then upload your new DAT file. -
How to create master data source for Profit center group in source system
Profit center group information is available in SAP(T-code:kch3). But, I want to have this information in BW too.
Can anyone tell me how to create a datasource for Profit center group? And which SAP table is able to feed master data for this information?
Many thanks
rajatina.HI ,
It looks lilke we need to use the FM like 'G_SET_LIST_SELECT' to get the Profit
Here ais note from the forums to get profit center group from table
From Table SETLEAF, Field SETCLASS = '0106'. Field SUBCLASS with controlling area. Profit center in Field VALFROM.
You will get Group name in Field SETNAME.
Regards,
Sathya -
How to create a data connection with dynamic XML file?
Thanks for all reply first!
I have formatted the submitted data into an XML file on the server side,this file can be import to PDF form correctly.
I try to send this XML file to the user to let him can review what he has submitted.
I guess that I should create a data connection to the XML file so that it can be reviewed by the user.
But the question is that the XML file is dynamic generated.
How can i do?
give me some clus or examples,please.
thanks,
Jasper.Hi Jasper,
To show user back the result, you can use PDF instead of XML. You can store the PDF template in server and you can merge XML data with PDF template by Livecycle Form Data Integration service.
We, as KGC, can generate huge number of Adobe Livecycle forms in small periods. Also we give consultancy on Adobe Livecycle ES products and Adobe Livecyle Designer. In case of any need, do not hesitate to contact us.
Asiye Günaydın
Project Consultant
KGC Consulting Co.
www.kgc.com.tr -
How to create XML data source/ and load data from a web service to BI
All,
I m trying to find a 'how to' document (or any document) that shows how to create an XML data source to load data directly from a web service or from an XML file.
I appreciate any help.Hi Mike,
Two more for you:----
/thread/111488 [original link is broken]
http://help.sap.com/saphelp_nw70/helpdata/en/e6/1dd53bb90cbb1ae10000000a11402f/content.htm
Regards,
Suman -
How to create a Date field with specific date limitations
Hello, im new to creating forms in Acrobat.
My question is, how do i create a date field and at the same time have a restriction on which dates to put.
ie; i want the date field to only enter dates from Jan 01 2015 - Dec 31 2015.
Thanks for your help.Thanks!
I tried and it worked.
but what are these numbers after the 2015?
var minDate = new Date(2015, 0, 1, 0, 0, 0, 0);
var maxDate = new Date(2015, 11, 31, 23, 59, 59, 999);
Maybe you are looking for
-
Any advice would be helpful regarding this subject.....
-
I am in a fix and desperately need Macromedia Captivate assistance! I have reviewed the Adobe Online Forum and no one can provide an answer. I have spent the entire day yesterday on the phone with Adobe Customer Service. No one else seems to be exper
-
Login Password - Allowed Characters?
Hey, the other day I had to work myself out of a bit of trouble; I changed the password for my admin account to my newly thought up super-password. OS X accepted my new password. Hooray! Skip forwards 10 minutes, to see me with a panicked expression,
-
Defining and using new listener insted of the current one
Dear my database suddenly become not working and when i open oracle EM i found it down because of the listener is down and i foun the port number is 1521 while my creation of the data base the port that i used was 1525,so, How can I manually create a
-
Supported HPUX B.11 compiler for OCCI 9.2?
Does anyone successfully get OCCI 9.2 to work on HPUX B.11.00 A ? If yes, can you give details of the compiler and the version? Thanks in advance, Minh