VBA to add attribute members
Does anyboy had any problem addind attribute members (Essbase 11.1.2.0)?
To add normal member, is fine.
When I change to attrbute member I got no error, but cannot see my new member.
My code:
Dim init As ESB_INIT_T
Dim ObjDef As ESB_OBJDEF_T
Dim ProcState As ESB_PROCSTATE_T
Dim MbrInfo As ESB_MBRINFO_T
Dim lngCount As Long
Dim strAttrParent As String
Dim strAttr As String
Dim lngInst As Long
Dim lngCtx As Long
Dim lngStatus As Long
Dim lngOutline As Long
Dim lngMember As Long
Dim intItems As Integer
'Init API
init.Version = ESB_API_VERSION
lngStatus = EsbInit(init, lngInst)
'Log in
lngStatus = EsbLogin(lngInst, "EssServer", "admin", "pwd", intItems, lngCtx)
'Open the outline
lngStatus = EsbSetActive(lngCtx, "Sample", "Basic", intItems)
With ObjDef
.AppName = "Sample"
.DbName = "Basic"
.FileName = "Basic"
.hCtx = lngCtx
.Type = ESB_OBJTYPE_OUTLINE
End With
lngStatus = EsbOtlOpenOutline(lngCtx, ObjDef, ESB_YES, ESB_YES, lngOutline)
If lngStatus = 0 Then
lngStatus = EsbOtlFindMember(lngOutline, "Market", lngMember) <-------------- It will work for Market Dim, If I change to "Pkg Type" it wont.
End If
If lngStatus = 0 And lngMember <> 0 Then
MbrInfo.szMember = "Attr1" <-------------------- this is my new member
MbrInfo.usConsolidation = ESB_UCALC_NOOP
MbrInfo.fTwoPass = ESB_FALSE
MbrInfo.fExpense = ESB_FALSE
MbrInfo.usConversion = ESB_CONV_NONE
MbrInfo.usTimeBalance = ESB_TIMEBAL_NONE
MbrInfo.usSkip = ESB_SKIP_NONE
MbrInfo.usShare = ESB_SHARE_DYNCALCNOSTORE
MbrInfo.usStorage = ESB_DIMTYPE_SPARSE
MbrInfo.usCategory = ESB_CAT_ATTRIBUTE
MbrInfo.usStorageCategory = ESB_STORECAT_ATTRIBUTE
MbrInfo.Attribute = ESB_ATTRMBRDT_STRING
lngStatus = EsbOtlAddMember(lngOutline, MbrInfo, ESB_NULL, lngMember, hNewMember)
End If
'Write the outline
lngStatus = EsbOtlWriteOutline(lngOutline, ObjDef)
'Restructure
lngStatus = EsbOtlRestructure(lngCtx, ESB_DOR_ALLDATA)
'Call EsbGetProcessState until completed
lngStatus = EsbGetProcessState(lngCtx, ProcState)
While ProcState.State <> ESB_STATE_DONE
Application.Wait DateAdd("s", 10, Now())
lngStatus = EsbGetProcessState(lngCtx, ProcState)
Wend
'Unlock the outline
lngStatus = EsbUnlockObject(lngCtx, ESB_OBJTYPE_OUTLINE, "Sample", "Basic", "Basic")
'Close the outline
lngStatus = EsbOtlCloseOutline(lngOutline)
'Log out of server
lngStatus = EsbLogout(lngCtx)
'Terminate API instance
lngStatus = EsbTerm(lngInst)
Thanks
hi,
To add user defined attributes to territory management
1. define the additional attribute by appending the additional attributes to CRMM_TERRATTRIB
2. Maintain additional attributes (by giving field name selection group, ref object type)
3.Implement Badi for additional attributes (not mandatory)
4.Activate additional attributes.
spro path:customer relationship management->master data->territory management->additional attributes( for steps 1,2,3 )
customer relationship management->master data->territory management->activate/deactivate attributes ( for 4 th step)
regards,
Priyanka
Similar Messages
-
How to bulk add group members in Open Directory
So the workgroup manager interface is ghey. The + sign to add group members drag&drops users one at a time. I need to bulk add group members.
I tried ldapadd to add all the users quickly and that doesn't seem to work. The ldap group record now has all the users populated, under the multivalued attribute memberUid), but workgroup manager doesn't see the bulk group members.
Any idea how to do this?Use tcsh SHELL builtin command 'foreach' to accomplish this:
$ tcsh
$ which foreach
foreach: shell built-in command.
$ foreach user (`cat users.txt`)
foreach? echo adding $user to group
foreach? /usr/bin/dscl -u diradmin -P [passwd] /LDAPv3/127.0.0.1 append /Groups/yourgroup GroupMembership $user
foreach? end -
How do I add a "members only" function to my site?
Want to add a members only site to my web site, how would i
configure this in dreamweaver?
I'm thinking I would create what was to be inside inside then
somehow configure the link on the main web page to login somehow?
Any help / pointers are appreciated. Can't seem to get it
from the manuals.
thanxHello,
The easiest way is to just put the pages in a password
protected directory
which you can set up in your hosting account. When you click
a link to one
of these pages, you'll get a "Enter Username and Password"
dialog box.
Just check your hosting account's control panel on your
host's website or
contact them.
If you want a login form on your web page you'll need to look
into using a
Server Side Language like PHP, ASP or CF and possibly using a
database if
members require unique passwords. Just find out what SSL your
hosting plan
supports. It's not too difficult to set up using DW and there
are many
tutorials.
Take care,
Tim
"JLOU2" <[email protected]> wrote in message
news:fo3cjc$cuk$[email protected]..
> Want to add a members only site to my web site, how
would i configure this
> in
> dreamweaver? I'm thinking I would create what was to be
inside inside
> then
> somehow configure the link on the main web page to login
somehow? Any
> help /
> pointers are appreciated. Can't seem to get it from the
manuals. thanx
> -
Cannot add multiple members of a failover cluster to a DFSR replication group
Server 2012 RTM. I have two physical servers, in two separate data centers 35 miles apart, with a GbE link over metro fibre between them. Both have a large (10TB+) local RAID storage arrays, but given the physical separation there is no physical shared storage.
The hosts need to be in a Windows failover cluster (WSFC), so that I can run high-availability VMs and SQL Availability Groups across these two hosts for HA and DR. VM and SQL app data storage is using a SOFS (scale out file server) network share on separate
servers.
I need to be able to use DFSR to replicate multi-TB user data file folders between the two local storage arrays on these two hosts for HA and DR. But when I try to add the second server to a DFSR replication group, I get the error:
The specified member is part of a failover cluster that is already a member of the replication group. You cannot add multiple members for the same cluster to a replication group.
I'm not clear why this has to be a restriction. I need to be able to replicate files somehow for HA & DR of the 10TB+ of file storage. I can't use a clustered file server for file storage, as I don't have any shared storage on these two servers. Likewise
I can't run a HA single DFSR target for the same reason (no shared storage) - and in any case, this doesn't solve the problem of replicating files between the two hosts for HA & DR. DFSR is the solution for replicating files storage across servers with
non-shared storage.
Why would there be a restriction against using DFSR between multiple hosts in a cluster, so long as you are not trying to replicate folders in a shared storage target accessible to both hosts (which would obviously be a problem)? So long as you are not replicating
folders in c:\ClusterStorage, there should be no conflict.
Is there a workaround or alternative solution?Yes, I read that series. But it doesn't address the issue. The article is about making a DFSR target highly available. That won't help me here.
I need to be able to use DFSR to replicate files between two different servers, with those servers being in a WSFC for the purpose of providing other clustered services (Hyper-V, SQL availability groups, etc.). DFSR should not interfere with this, but it
is being blocked between nodes in the same WSFC for a reason that is not clear to me.
This is a valid use case and I can't see an alternative solution in the case where you only have two physical servers. Windows needs to be able to provide HA, DR, and replication of everything - VMs, SQL, and file folders. But it seems that this artificial
barrier is causing us to need to choose either clustered services or DFSR between nodes. But I can't see any rationale to block DFSR between cluster nodes - especially those without shared storage.
Perhaps this blanket block should be changed to a more selective block at the DFSR folder level, not the node level. -
How to add attributes in Cost Objects via Data Bridge?
Hi everyone,
I need your help. I want to know if is possible to add attributes via Data Bridge in Cost Objects tables like the country or address of a customer?
Thanks for all.
Sincerely,
Pedro SousaHi,
Jef is right you need to use the different values in the "Attribute Flag" field for creating attribute hierarchy using data bridge.
For attribute Hierarchy you need to use option 12 & 15 depending on your requirement.
12 - Attribute Assignment - Used for assigning attribute to a member of the main hierarchy
15 - Attribute Hierarchy only - used for creating hierarchy within attribute hierarchy.
As mentioned by Jef for details you can refer the Data bridge user guide section 4.3.
Regards,
Niraj -
Report script with attribute members
<BR>In a report script, is there a way to output the attribute members associated with a base mbr. For example, the base member I'm interested in is item codes which is in a sparse dimension with 500k members. Each code has been tagged with 5 attribute members of buyer, warehouse, vendor, product line, and date of last receipt. Desired output is:<BR><BR>Item Code, Buyer, warehouse, vendor, product, and date of last receipt. <BR><BR>Right now I don't care about data at any intersections, rather I just want to output the various attributes associated with each item code. I tried doing dimbottom on items, buyers, warehouse, vendor, etc, but as expected the report would not run. <BR><BR>Thanks in advance for any suggestions.
<p>Maybe you can use the Outline Extractor, you can download itsomewhere on this website...</p>
-
500 Internal Server Error when trying to add new members
My Workspace is working correctly but when I try to add new users, I get the following error:
500 Internal Server Error
Thanks
Michel C.Hello Michel,
How are you processing to add new members?
You should be manager of your workspace and
- go to http://beehiveonline.oracle.com
- click on buttom "Create Group or Add New Members"
- Choose your group
- CLick on the link "Add new member"
regards
Fred -
How to add Attributes to an asset? [URGENT]
Hi,
We are developing an application that need to add attributes to an asset depending on Product associated. Someone knows how to add the attributes automaticlly?
FYI. We have not licensed the Configurator module.
Please need an answer ASAP.
ThanksHi,
We are developing an application that need to add attributes to an asset depending on Product associated. Someone knows how to add the attributes automaticlly?
FYI. We have not licensed the Configurator module.
Please need an answer ASAP.
Thanks -
How to add attributes to a DATS type characteristic
I need to add some attiributes to a 0CALDAY type of characteristic. I need to be able to do automatic time conversion in my transformations (e.g. from Cal Day to Cal Month or Cal Year). I also need to have intelligent variable offsets in my queries too (e.g. the month of January-01 with a negative offset of 1 would be 12, not 00).
However I need to add some attributes to this Calendar Day characteristic such as "day of the week", "Week Number", etc...
I need this as attributes and not as seperate InfoObjects such as 0CALDAY, 0CALMON, AND 0CALYEAR. I need to be able to use the same date throughout my entire report, but then using the nav attributes, restrict based on what they selected in the variable screen.Hi Adam,
It is not possible to define your own time characteristics or add attributes to any time characteristic.
Time characteristics form the time reference frame for many data analyses and evaluations. They are delivered with Business Content.
Examples:
-->Timecharacteristic with the largest granularity: Calendar Day
(0CALDAY)
-->Time characteristic with the smallest granularity: Calendar Year
(0CALYEAR) or Fiscal Year (0FISCYEAR).
-Vikram -
How to add attributes in the xml tag
hi,
i have two tables employee,department
employee table
empno number,
empname varchar2(100),
deptno number,
department table
deptno number,
deptname varchar2(100)
i want xml file in the above mentioned two tables.The xml file is as follows,
<?xml version="1.0" encoding="UTF-8" ?>
<EmployeeInfo>
<Data type="employee">
<empno>1</empno>
<empname>siva</empname>
<deptno>10</deptno>
</data>
<Data type="department">
<deptno>10</empno>
<deptname>IT</empname>
</data>
</EmployeeInfo>
can anybody please give plsql code for this requirement.i need to add attributes in the xml tag.Its urgent
By
SivaA general example (based on the OE sample data/tables)
SQL>SELECT XMLElement("Emp",
2 XMLAttributes(employee_id AS "id"
3 , '10' "dept"),
4 first_name||' '||last_name) as result
5 FROM employees e
6 WHERE department_id = 10;
RESULT
<Emp id="200" dept="10">Jennifer Whalen</Emp> -
How to add attribute to groups.
When I add a groups, Identity askme name of group and member for suscrib. I need add attribute to groups, attribute that not exits in groupsofuniquenames.
ThanksHi Venkat,
We don't make any design changes in production box. Usually you make changes in Development box then transport that object with request to Quality box. You test the changed object there, if no inconsistancies found you will transport the object to Production box with same request.
In development box, if you want to add the new attribute to the characterstic, you need to delete the complete data in the characterstic.
Thanks
Sreekanth -
How to add attribute to Element with SAX
Hi,
I'm parsing XML document with SAX using DefaultHandler.
How can I add attribute to start tag?Is this right????????????Yes, it's right. Everything everybody except you has said in this thread has been right.
-
How to add attribute to already existing tag?
Hello!
Could you help me, please. I need to add attribute maxlegth to <h:inputTextarea>, but I don't know how to do it. Maybe, you know?<textarea> don't support maxlength by spec. You can use JavaScript instead.
Or if you really want to create a custom component with this attribute added, check following tuts:
http://www.jsftutorials.net/components/index.html
http://www-128.ibm.com/developerworks/java/library/j-jsf4/
http://java.sun.com/javaee/javaserverfaces/customcomponents.html -
How to add attribute to Item ?
Hi,
I have a problem concerning OCS -> Content Service. I try to find out how scaleable the tool is. Do you know is it possible to add attribute to the Item? For example how to add some link to Document in repository?
Best regardsContent Services support adding attributes (we
support Categories which are named collections of
attributes) to documents.
We also have support for document and folder links.so, there is no problem with adding an attribute to a document? Attribute could consist of a collection of links to any Document (Document, Folder etc.)?
Regards -
Deploying app.view in BPMA does not add dimensions/members to application
Hello,
I've searched the forum for a solution to this problem, but I couldn't find any.
Problem:
I'm working on Hyperion Planning 9.3.1.0.66, EPMA version is 9.3.1.0.0.73, Workspace version is 9.3.1.0.0.248. I've created a classic application that was later upgraded. Now, I need to make some changes to dimensions (add some generic dimensions) and add some members to an existing dimension. Everthing is set in workspace and added to the application view. Validation of the application view is successful, so is the deployment (both create outline and refresh outline were tested, in all combinations), however when I open the application, or verify the outline in Essbase, there is no changes in the outline (no new dimensions/dimension members added, etc.)
Does anyone know the reason for such application behaviour?
Is there any solution/fix to solve the problem?
Best regards
Marcin StawnyHi,
I would definitely recommend patching EPMA and Planning to the latest patches, many issues have been addressed with EPMA and it is should always be the first steps if you have issues.
You can download the following patches from Metalink3
8211868 - System 9 Release 9.3.1.1.10 Service Fix
7305465 - EPMA 9.3.1.1.5 Service Fix
7272558 - EPMA 9.3.1.1.4 Service Fix
7209507 - EPMA 9.3.1.1.3 Service Fix
7161248 - EPMA 9.3.1.1.2 Service Fix
7227802 - EPMA 9.3.1.1 Service Pack
7110941 - EPMA 9.3.1.1.1 Service Fix
They include readmes instructing on how to patch.
This maybe related to your issue which was fixed in patch 9.3.1.1.6
7117173 - You cannot incrementally deploy Oracle’s Enterprise Performance Management Architect (EPMA) applications to Planning.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Sale order not consuming sale forecast
Dear Gurus, I have created a sale forecast using T-code MD81, 'CusReq" is reflected in MD04...I conduct a planning run and planned orders are generated and subsequent process orders and this stock is now credited to WH stock... But the "CusReq" is no
-
Hi, it is said that AppleTV streams ONLY content purchased via either AppleTV or iTunes. Given this exclusivity, I cannot use AppleTV for streaming unrelated movies and music from my iMac to the HDTV even if it is contained in the iTunes library. Is
-
I am trying to make Safari the default app to open SWF files. I click on a SWF file. I click on get Info. I say open with Safari. Then I click always use this application tom open and click Change ALL. Then it just defaults back to what was there bef
-
I wanna buy iPhone 6 Plus in Japan, but not sure if it can work in Hong Kong and if it can use 4G LTE provided by Smartone-vodafone Hong Kong? Is Hong Kong using GSM system? Does it mean any unlocked phone from any provider that uses GSM would work i
-
IPhoto Crashes when trying to select rating
Hi there, is there anyone that can help?... Everytime I select an image and try to give it a rating as soon as my pointer gets to "rating" in the menu the whole app crashes. Is there anything I can do about this????.... Many thanks. Regards Piers Le