Need help in pulling ADLDS user details
Hi,
I am trying to pull all the user details with a certain search criterea from a ADLDS with more than 20 user attributes. I tried both directory searcher and Powershell for gathering the information (out of this powershell works fast). Due to formating the
attributes it takes more than 30 minutes to run the script. Could some suggest me a better solution for this.
Thanks
Pradeep
Richard,
I started using Directory searcher and the result was less than 50 percent less than the time taken for Get-aduser. But in below script total time taken is more than three hours where as in VB and Perl it takes less than 20 minutes for the
total execution including the 5 minutes of wait time. Could you help me increase the time taken. Total of around 50 plus attributes . When i go into for loop only it takes time
==========================
$config="E:\Powershell\CONFIG"
$logdir="E:\Powershell\LOGS"
$scriptdir="E:\Powershell\FEEDS"
$outdir="E:\Powershell\OUTBOX"
$configfile="$config\config.txt"
$configfile="$config\config.txt"
$date = Get-Date
$date2=$date.ToString("MMddyy")
$F_FeedFileName="Transfer_full.txt"
$F_FeedBackupFileName="Transfer_full_bak.txt"
$file3="Transfer_temp.txt"
$global:scriptname="GeneralFeedD.ps1"
$script = $scriptname.Split(".")
$name=$script[0]
$global:date = Get-Date
$log= "$logdir\$name"
$global:flag=0
$searchbase="ou=people,o=xxxx"
$adldsServer=get-content $configfile
$F_FeedAttrCfg=get-content "Feed_Attributes.cfg"
$strFileName="$log\$name.txt"
$Backuplogfile="$log\$name"+"_bak.txt"
#File Details
$EmployeeFeedNormal = "EmployeeFeedNormal"
$ContractorFeedNormal = "ContractorFeedNormal"
$VendorContractorFeedNormal = "VendorContractorFeedNormal"
$EmployeeFeedNormalwithUID = "EmployeeFeedNormalwithUID"
$ContractorFeedNormalwithUID = "ContractorFeedNormalwithUID"
$VendorContractorFeedNormalwithUID = "VendorContractorFeedNormalwithUID"
$EmployeeFeedNormalwithUIDandGUID = "EmployeeFeedNormalwithUIDandGUID"
$ContractorFeedNormalwithUIDandGUID = "ContractorFeedNormalwithUIDandGUID"
$VendorContractorFeedNormalwithUIDandGUID = "VendorContractorFeedNormalwithUIDandGUID"
$EmployeeFeedNormal_bkp = "EmployeeFeedNormal.bak"
$ContractorFeedNormal_bkp = "ContractorFeedNormal.bak"
$VendorContractorFeedNormal_bkp = "VendorContractorFeedNormal.bak"
$EmployeeFeedNormalwithUID_bkp = "EmployeeFeedNormalwithUID.bak"
$ContractorFeedNormalwithUID_bkp = "ContractorFeedNormalwithUID.bak"
$VendorContractorFeedNormalwithUID_bkp = "VendorContractorFeedNormalwithUID.bak"
$EmployeeFeedNormalwithUIDandGUID_bkp = "EmployeeFeedNormalwithUIDandGUID.bak"
$ContractorFeedNormalwithUIDandGUID_bkp = "ContractorFeedNormalwithUIDandGUID.bak"
$VendorContractorFeedNormalwithUIDandGUID_bkp = "VendorContractorFeedNormalwithUIDandGUID.bak"
# FUNCTIONS
# Message
Function message ([string] $line)
$date = Get-Date
$line = "$scriptname | INFO | $date | $line"
$line| Out-File $strFileName -Append
Function error ([string] $line)
$date = Get-Date
$line = "$scriptname | ERROR | $date | $line"
$line| Out-File $strFileName -Append
# Reading Configuration Files
if((Test-Path $configfile) -ne 0)
$adldsServer=get-content $configfile
foreach($en in $adldsServer)
if($en -match "server")
$server=$en.split("=")
$HOST1=$server[1]
if($en -match "password")
$pass=$en.split("=")
$PASSWD=$pass[1]
if($en -match "user")
$user=$en.split("=")
$ADMIN=$user[1]
$PWord = ConvertTo-SecureString –String $PASSWD –AsPlainText -Force
$Credential = New-Object –TypeName System.Management.Automation.PSCredential –ArgumentList $ADMIN,$PWord
else
Error ("Configuration File $configfile is not present");
Message ("Calling script SendMail.pl for sending mail");
$global:errormsg="Configuration File $configfile is not present"
Invoke-Expression "$scriptdir\SendMail.ps1"
Error "Script failed"
Exit
# Checking Log Directory
if((Test-Path $log) -eq 0)
#cd "$logdir"
mkdir "$logdir\$name"
If ((Test-Path $strFileName) -eq 0)
New-Item $strFileName -type file
message "New log file created"
else
Copy-Item $strFileName $Backuplogfile
Remove-Item $strFileName
message "Backup of log file created"
# Checking Script Directory
if((Test-Path $scriptdir) -eq 0)
Error ("Script Directory $scriptdir is not present");
Message ("Calling script SendMail.pl for sending mail");
$global:errormsg="Script Directory $scriptdir is not present"
Invoke-Expression "$scriptdir\SendMail.ps1"
Error "Script failed"
Exit
# Checking Outbox Directory
if((Test-Path $outdir) -eq 0)
Error ("Outbox Directory $outdir is not present");
Message ("Calling script SendMail.pl for sending mail");
$global:errormsg="Outbox Directory $outdir is not present"
Invoke-Expression "$scriptdir\SendMail.ps1"
Error "Script failed"
Exit
message "*****Beginning of module*****"
$FeedHeaderAttribs = @(0..64)
$FeedHeaderAttribs = $F_FeedAttrCfg.split("|")
$FeedAttrLength = $FeedHeaderAttribs.length
# Taking Back up of the files
# Check for previous day output.csv file and take back up of it if present
if((Test-Path $EmployeeFeedNormal) -ne 0 )
copy-Item $EmployeeFeedNormal $EmployeeFeedNormal_bkp
Remove-Item $EmployeeFeedNormal
if((Test-Path $ContractorFeedNormal) -ne 0 )
copy-Item $ContractorFeedNormal $ContractorFeedNormal_bkp
Remove-Item $ContractorFeedNormal
if((Test-Path $VendorContractorFeedNormal) -ne 0 )
copy-Item $VendorContractorFeedNormal $VendorContractorFeedNormal_bkp
Remove-Item $VendorContractorFeedNormal
if((Test-Path $EmployeeFeedNormalwithUID) -ne 0 )
copy-Item $EmployeeFeedNormalwithUID $EmployeeFeedNormalwithUID_bkp
Remove-Item $EmployeeFeedNormalwithUID
if((Test-Path $ContractorFeedNormalwithUID) -ne 0 )
copy-Item $ContractorFeedNormalwithUID $ContractorFeedNormalwithUID_bkp
Remove-Item $ContractorFeedNormalwithUID
if((Test-Path $VendorContractorFeedNormalwithUID) -ne 0 )
copy-Item $VendorContractorFeedNormalwithUID $VendorContractorFeedNormalwithUID_bkp
Remove-Item $VendorContractorFeedNormalwithUID
if((Test-Path $EmployeeFeedNormalwithUIDandGUID) -ne 0 )
copy-Item $EmployeeFeedNormalwithUIDandGUID $EmployeeFeedNormalwithUIDandGUID_bkp
Remove-Item $EmployeeFeedNormalwithUIDandGUID
if((Test-Path $ContractorFeedNormalwithUIDandGUID) -ne 0 )
copy-Item $ContractorFeedNormalwithUIDandGUID $ContractorFeedNormalwithUIDandGUID_bkp
Remove-Item $ContractorFeedNormalwithUIDandGUID
if((Test-Path $VendorContractorFeedNormalwithUIDandGUID) -ne 0 )
copy-Item $VendorContractorFeedNormalwithUIDandGUID $VendorContractorFeedNormalwithUIDandGUID_bkp
Remove-Item $VendorContractorFeedNormalwithUIDandGUID
message "Backup of files is taken"
$hash1=@{}
for ($i=0;$i -lt $FeedAttrLength;$i++)
$hash1.Set_Item($FeedHeaderAttribs[$i],$i)
$FeedFileHeader="employeenumber|cn|pregisteredname|givenname|pmiddlename|sn|title|telephonenumber|mobile|pager|facsimiletelephonenumber|pmaildrop|pnotesfullname|mail|pmanagerid|manager_name|manager_mail|manager|ppersontype|employeeType|pemploymentstatus|pemploymentstatus_cd|pemploymentstatusdate|pcompany|plocalorganization|pbusiness_cd|pbusiness_descr|punit_cd|punit_descr|pdepartmentid|pdepartment|pcc-cd|pcc_descr|pbuildingcode|pbuildingname|postaladdress|postalcode|l|st|c|vcid|pvendorcompanyid|pvendorcompany|pcompanydesignation|pjobcode|pdeactivationdate|pband|pleaderindicator|uid|pguid|hiredate|pstartdate|createtimestamp"
$FeedFileHeader = $FeedFileHeader -replace "employeetype","employeeType"
$FeedFileHeader = $FeedFileHeader -replace "pcc-cd","pcc_cd"
message "Filehandle for output file opened"
$FeedFileHeader | out-file $EmployeeFeedNormal -Append
$FeedFileHeader | out-file $ContractorFeedNormal -Append
$FeedFileHeader | out-file $VendorContractorFeedNormal -Append
$FeedFileHeader | out-file $EmployeeFeedNormalwithUID -Append
$FeedFileHeader | out-file $ContractorFeedNormalwithUID -Append
$FeedFileHeader | out-file $VendorContractorFeedNormalwithUID -Append
$FeedFileHeader | out-file $EmployeeFeedNormalwithUIDandGUID -Append
$FeedFileHeader | out-file $ContractorFeedNormalwithUIDandGUID -Append
$FeedFileHeader | out-file $VendorContractorFeedNormalwithUIDandGUID -Append
# Function to fetch the attributes
Function DLookUp(){
$Result=$o=$objitem=$null
$Strfilter="(&(obuseraccountcontrol=ACTIVATED)(pcompanydesignation=xxxx)(|(ppersontype=C)(ppersontype=vc)))"
$use=$ADMIN.Split("\")
$u=$use[1]
$Domain="LDAP://$Host1/ou=people,o=aexp"
$objDomain = New-Object System.DirectoryServices.DirectoryEntry $Domain,$u,$PASSWD
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher
$objSearcher.SearchRoot = $objDomain
$objSearcher.PageSize = 1000
$objSearcher.Filter = $strFilter
$objSearcher.SearchScope = "Subtree"
$colPropList=@("employeenumber","cn","pregisteredname","givenname","pmiddlename","sn","title","telephonenumber","mobile","pager","facsimiletelephonenumber","pmaildrop","pnotesfullname","mail","pmanagerid","manager","ppersontype","employeeType","pemploymentstatus","pemploymentstatuscd","pemploymentstatusdate","pcompany","plocalorganization","pbusinesscd","pbusinessdescr","punitcd","punitdescr","pdepartmentid","pdepartment","pcc-cd","pccdescr","pbuildingcode","pbuildingname","postaladdress","postalcode","l","st","c","vcid","pvendorcompanyid","pvendorcompany","pcompanydesignation","pjobcode","pdeactivationdate","pband","pleaderindicator","uid","pguid","hiredate","pstartdate","createtimestamp"");
foreach ($i in $colPropList){$a=$objSearcher.PropertiesToLoad.Add($i)}
$colResults = $objSearcher.FindAll()
$objItem = $Colresults.Properties
if ($objItem -eq $null) {
$result = "NoMatch"
else {
$result = $objItem
return $result
$objSearcher.Dispose()
message "Querying LDAP started"
$dObj = DLookup "obuseraccountcontrol" "DEACTIVATED"
$GlobalCount=0
$ProcessedProfiles=0
$LogCounter=0
$LineArray=@(0..64)
$OutputArr=@(0..64)
$entryn=@(0..2)
foreach($entry in $dObj)
$GlobalCount=$GlobalCount+1
$ProcessedProfiles=10000*$LogCounter
if ( $GlobalCount -eq ($ProcessedProfiles+1) ){
message "Processed $ProcessedProfiles profiles so far"
$LogCounter = $LogCounter+1
$pmanagerid=$entry.Item("pmanagerid")
$manager=$entry.Item("manager")
$manager_name=""
$manager_mail=""
if($manager)
$TempEhash=$manager.split(",")
$ehashval1=$TempEhash[0]
if(($ehashval1.IndexOf("pehash=") -eq 0) -or ($ehashval1.IndexOf("cn=") -eq 0))
$ehashval2=$ehashval1.split("=")
$attr=$ehashval2[0]
$val=$ehashval2[1]
$man = Get-ADuser -Server $HOST1 -Credential $Credential -Filter {$attr -eq $val} -searchbase $searchbase -Properties cn,mail
if($man -ne $null)
$manager_name=$man.cn
$manager_mail=$man.mail
for ($i=0;$i -lt $FeedAttrLength;$i++)
if($FeedHeaderAttribs[$i] -eq "manager_name")
$LineArray[$i]=$manager_name
elseif($FeedHeaderAttribs[$i] -eq "manager_mail")
$LineArray[$i]=$manager_mail
elseif ($FeedHeaderAttribs[$i] -eq "pbusinesscd" )
$LineArray[$i]=""
elseif ($FeedHeaderAttribs[$i] -eq "punitcd" )
$LineArray[$i]=""
elseif ($FeedHeaderAttribs[$i] -eq "punitdescr" )
$LineArray[$i]=""
elseif ($FeedHeaderAttribs[$i] -eq "pbusinessdescr" )
$LineArray[$i]=""
else
$Record=$entry.Item($FeedHeaderAttribs[$i])
$Record=$Record -replace "`n$",""
$Record=$Record -replace "`n",""
$Record=$Record -replace "`r",""
$Record=$Record -replace "%{1,}","%%"
$LineArray[$i]=$Record
for ($j=0;$j -lt $FeedAttrLength;$j++)
$NameAttr=$FeedHeaderAttribs[$j]
$NumberAttr=$hash1.Get_Item($NameAttr)
if ( (($NumberAttr -ne "") -and ($NumberAttr -ne "null")) -or $NumberAttr -eq 0 )
if ($NameAttr -eq "uid")
$l=$j
$uid=$LineArray[$NumberAttr]
$OutputArr[$j]=""
elseif ($NameAttr -eq "pguid")
$m=$j
$guid=$LineArray[$NumberAttr]
$OutputArr[$j]=""
elseif ($NameAttr -eq "ppersontype")
$p=$j;
$OutputArr[$j]=$LineArray[$NumberAttr]
else
$OutputArr[$j]=$LineArray[$NumberAttr]
else
$OutputArr[$j] = ""
for ($i=0;$i -lt $FeedAttrLength;$i++)
if($OutputArr[$i] -eq "" -or $OutputArr[$i] -eq "null")
$OutputArr[$i]=""
else
$OutputArr[$i] = $OutputArr[$i] -replace "`n"," "
for ($x=0;$x -lt 3;$x++)
$ent=""
if ($x -eq 1)
$OutputArr[$l]=$uid
if ($x -eq 2)
$OutputArr[$m]=$guid
for ($y=0;$y -lt $FeedAttrLength;$y++)
if($y -eq $FeedAttrLength -1)
$ent=$ent+"`""+$OutputArr[$y]+"`""
else
$ent=$ent+"`""+$OutputArr[$y]+"`""+"|"
$entryn[$x]=$ent
#$entryn[0] = $entryn[0] -replace "`r",""
#$entryn[1] = $entryn[1] -replace "`r",""
#$entryn[2] = $entryn[2] -replace "`r",""
if ($OutputArr[$p] -eq "E")
$entryn[0] | out-file $EmployeeFeedNormal -Append
$entryn[1] | out-file $EmployeeFeedNormalwithUID -Append
$entryn[2] | out-file $EmployeeFeedNormalwithUIDandGUID -Append
elseif ($OutputArr[$p] -eq "C")
$entryn[0] | out-file $ContractorFeedNormal -Append
$entryn[1] | out-file $ContractorFeedNormalwithUID -Append
$entryn[2] | out-file $ContractorFeedNormalwithUIDandGUID -Append
elseif ($OutputArr[$p] -eq "VC")
$entryn[0] | out-file $VendorContractorFeedNormal -Append
$entryn[1] | out-file $VendorContractorFeedNormalwithUID -Append
$entryn[2] | out-file $VendorContractorFeedNormalwithUIDandGUID -Append
Message "Total $GlobalCount records were processed"
Message "Script ActivatedGeneralFeed.ps1 executed successfully"
Pradeep
Similar Messages
-
I need help updating credit card. Details as its not sllowing me to get any apps
Accepted forms of payment > http://support.apple.com/kb/HT5552
Changing Account Information > http://support.apple.com/kb/HT1918
If necessary... Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
Need help on exporting oracle users
Hi,
we currently on oracle ver. 7.3.3 with quite a number of oracle users created. We are in the midst of migrating over to Oracle ver. 8.1.7. We want to preserve the user details, so we don't have to recreate all of them again.
How do I export the users from ver. 7.3.3 over to ver. 8.1.7, preserving the user passwords, profiles, rights, etc?
Any help would be appreciated.
Thanks.Hi Mr. Hian,
Take a Full database export from 7.x by connecting as SYS user (with FULL=Y) and import in the same in 8.1.7. Only thing u need to do here is to create all the required tablespaces(tablespaces used in 7.1.x DB) in 8.1.7 DB before importing the Db.
Hope this helps,
regds,
Suresh.A -
Need help on how a user can control a video clip using their mouse
I need help. I've got a video clip of a rotating 3D
object(left to right) and i would like the user to be able to
control the rotation of the object using their mouse. I've looked
everywhere and i'm at a lost. Can anyone help me
Here is a link to what i'm trying to achieve:
http://www.sun.com/servers/blades/6000/gallery/index.xml?p=1&s=2
I know they use Java but i'm sure this can be done in Flash.
Thanks
RayJust use the plain linear fit!
(If you are discussing something you found in the forum, you should always include a link so we can see what you area talking about. What you probably found was a workaround that forces an intercept of zero for a special scenario. If you want to use general linear fit anyway, your matrix simply also needs a constant term)
If you still have problems, show us your code and some data.
LabVIEW Champion . Do more with less code and in less time . -
[Locked] Really need help trying to log users
I really need help trying to show when members have logged in. This is my second post and and the code that I was given, didn't work and now I can't get anyone to tell me what is wrong with it. Here is the code and error message:
Error message is "Unknown column 'billsmith' in 'where clause'
Here is the code I am using:
mysql_select_db($database_connRegister, $connRegister);
$logged_in_user = "-1";
if(isset($_SESSION['MM_Username'])) {
$logged_in_user=$_SESSION['MM_Username'];
$query_online_now = "UPDATE users SET logged_in='Online', last_login_date=NOW() WHERE user_name=$logged_in_user";
$online_now = mysql_query($query_online_now, $connRegister) or die(mysql_error()); }
$query_not_online_now="UPDATE users SET logged_in='Offline' WHERE last_login_date<NOW() - INTERVAL 60 MINUTE";
$not_online_now=mysql_query($query_not_online_now, $connRegister) or die(mysql_error());
Can someone please tell me why it isn't working?This question has been answered here: http://forums.adobe.com/message/2351465#2351465.
Locking this thread to avoid duplication. Please reply in the original thread if any further help is needed. -
Need help in dispalying work item details
hi friends
I am Displaying work items with some details like work flow item text ,user ,agent and all
Her along with these i need to display responsibility object(OTYPE = RY) mapped with work item ..
For this i have Responisbility (HRS1000-stext) and responsibility object(HRp1240-objid) on selection screen .
So finally i need to relate these responsibility and responsibility object and work item ..
any one have experience on these type of situation please help me .Hi
your answer is helpful to me ..
I am getting the RY objects from HRP1001 .
And when i go to HRP1218 No records for the OBJID from HRP1001.Is it the data problem ..
If i have the records in HRP1218 ,if we pass the TABNR in HRT1218 ..can i get the work item with TABNR.
Becuase when i see in HRT1218 all records have PLANT as re field . -
Need help in creating a user exit variable
Hi all,
I have created a query in which a key figure needs to be automated with an user exit variable.I want to derive the value of this key figure 'x' based on calender month.
This key figure should get the cumulative value from the first month of the fiscal year till the calender year month entered while executing the query.
I got a basic understanding on the User exits from SDN. But Im not sure how to implement this logic.
I would really appreciate if you could provide me a detailed explanation of how to do this.
Thanks in advance,
VinothHi
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2d99121a-0e01-0010-e78c-b1ae566a2413
http://sap.ittoolbox.com/groups/technical-functional/sap-bw/how-can-i-set-bex-variables-in-i_step3-exit_saplrrs0_001-335232 -
Need help in Sales order Header Details
Hellp Experts,
I need to modify data on 'Additional Info B' in Sales Order Header (VA03 Transaction) . As it is a Standard program I am aware that we have to use user Exits. But before that I have to debug the code to that point. I wish to know info from where a particular data is coming in the field (End User). How should I proceed for debugging? Can anybody help me?
Moderators,
I could n't found any similar question when searcher. If it is can you please provide me the links?
Best Regards,
Harish
Moderator message: debugging is standard developer practice, enhancement of this screen has been discussed many times, it seems you did not look in the right places.
Edited by: Thomas Zloch on Nov 30, 2010 5:48 PMHi Harish,
Perhaps have a look at the following thread...
Additional Data B tab blank in VA01
Have a look at some of the includes mentioned in the thread and if you don't find the information there, you should at least be pointed in the right direction.
Kind Regards,
Richard. -
[Urgent] Need help to recover licensed users
Dear all,
Our customer bought B1 2005 A with the license of 2 professional user and 1 CRM user. We assigned a license for only user named "manager" and did not create any users until now. Now we created 2 users more and used License Administration to assign other licenses to new users but not available (availalble licenses are 0 in total number of 3). We tried to re-install SBO and import the license key again but still can not get other licenses from the system. (Customer has only 1 DB).
( License key info:
Released Modules: User Limit Valid to
CRM Sales User (Standalone) 1 31.12.9999
Software Development Kit - Implementation Vers 99999 31.12.9999
SDK Tools 99999 31.12.9999
SAP AddOns 99999 31.12.9999
Compatibility License for AddOns 99999 15.01.2008
Professional User 2 31.12.9999
Please hepl me solve this problem.
Many thanks.
Doan.Hello,
I dont think you need to re-install SAP Business One. Simply delete the <b>B1LicenseFile.txt</b> in the license folder (default is <i>C:\Program Files\SAP\SAP Business One ServerTools\License</i>).
Make sure no one is loggged in to SBO and also, stop the License service before deleting the file. Once you have deleted the license file, download the same license from the Channel Partner Portal or use the old license file that you had downloaded from the portal initially and install it the regular way.
This should take care of the issue that you are facing. Atleast it took care of mine!
Regards,
Gyanesh Rupani -
Need help on to set User status for Operations in Maintenance order
Hi experts,
i am new to PM module.
i need to do BDC for IW31. i want to know some inforamtion
on user status for each opertaion.
my problem is ,, what is user status.
why it is saying order is not yet released when saving and status can not set.
in this cases how can i do BDC.User status are something set in the configuration and specific to the company which SAP hasn't given in the system status.
May be in your system user status are configured to set only after the release of the order.
For doing the userstatus you may need to release the order, you can release the order thru bdc and then do bdc for user status. Also see below link
http://www.sap-img.com/plant/user-status-set-date-in-maintenance-order.htm -
Need help creating many, many users.
Hi,
I need to create around 500,000 users in the iFS schema in the quickest possible way.
The java API will do about 2 a second, which gives me an overhead of a few days?!?
Any suggestions would be greatly appreciated.
Thanks, this list has never let me down yet ;o)
Paul.
nullPaul, we have not tested creating that many users in iFS, so we don't know if you will run into any issues. And I don't have any timed stats for creating users through XML.
But we believe that using the Java API is the fastest way to create users.
You will want to create the users in batch, and disconnect between batches, as the JVM memory will increase during the create.
So you may want to create the users 10,000 at a time, and then disconnect and reconnect to create the next 10,000. Set your java MX setting for the JVM as high as you can (say, 768M), and then measure your memory usage for the first 10,000 users to see close to the MX setting the JVM gets. -
Need help: unable to change user defined dimension
Hi,
I have a problem with BPC. I installed BPC Server and BPC Client NW7.5 SP9. I can duplicate, create and modify all standard dimensions (Account, Category, Entity, Time) in my own application as also in appshell.
I can duplicate or create a user defined dimension, but I cannot modify that user defined dimension. I change the elements, then I process my changes. But after I have refreshed the dimension all changes are reverted.
I looked in UJFS and can see that .xls and .xlt are uploaded on NW correctly. Even on my local machine it is changed, but BPC does not recognize that.
Has anyone an idea what to do? I need not only the standard dimensions but also user defined dimensions.
RegardsWe've got this problem on non-unicode system on SP08, as Frank. Corrected with SP09.
Maybe you have to check if all components patched well (NW, .Net and client):
- In NW Go to System-Status-Component Information. CPMBPC must have level 0009.
- On .Net Server check Server Version in Planning and Consolidation Server utility (.09)
- In client for Excel check ETools-About Planning and Consolidation (7.50.09).
If that's correct, first check, if new records occur in BW object for your dimension (in rsa1). Or maybe that info-object somehow become inactive.
And did you mark checkbox "Process members from member shett" during processing the dimension?
Edited by: Anton Kuznetsov on Oct 26, 2011 4:43 PM -
Challenge - Need help - System Preferences Multiple Users
I absolutely cannot access System Preferences under a newly created user account on my iMac 10.5.8 Leopard.
I've tried to change the rights on the new user account from "Standard" to "Administrator" and it still does not allow me to access System Preferences; the icon for launching it is gray and I cannot access it under the upper right apple icon either.
Do you know what I can do to grant me access to System Preferences this new account?
Please help - been at this for hours! Thank you!Delete it and recreate it.
-
Need help to get the user entered value from a input field in Table in OA
I have a table in my OA page.
Here one column is there which should take in put from user.
i.e an item quantity field text input is there which should take the updated value when the add to cart link which is next column in the table. On clicking of the link I am trying to get the updated value entered by user. for the respected row for which addto cart link get clicked.
For that link I have defined some parameter through SPEL,( like this parameter name: item_quantity value : ${oa.MisibeItemSearchVO.ItemQuantity} ) which has fireaction. But when i am clicking the addto cart link I am not getting the current value entered by the user.
Can any body guide me how to get that related value for which the add to cart link got clicked.
for this when i am doing pageContext.getParameter("item_quantity"));
I am not getting the value entered by user.
please suggest me
Thanks!
SmarajeetThe below is my Vo query for item quanity i am using a dummy query "(select null from dual) as ITEM_QUANTITY"
in the below query and item type is number. and this is a messageTextINput in OA page and is maped to ItemQuantity vo attribute.
SELECT idsi.section_item_id
,idsi.inventory_item_id
,(select concatenated_segments from mtl_system_items_kfv mstk
where mstk.inventory_item_id = idsi.inventory_item_id
and mstk.organization_id =idsi.organization_id) ITEM_NAME
,(select description from mtl_system_items_tl mtll
where mtll.inventory_item_id = idsi.inventory_item_id
and mtll.organization_id =idsi.organization_id
and language = USERENV('LANG') ) ITEM_Description
,(SELECT CASE
WHEN instr(msib.segment6,'NAMED USER') > 0 THEN 'NAMED_USER'
WHEN instr(msib.segment6,'PROCESSOR')>0 THEN 'PROCESSOR'
ELSE msib.segment6
END
FROM MTL_SYSTEM_ITEMS_B msib
WHERE msib.INVENTORY_ITEM_ID = idsi.inventory_item_id
AND msib.ORGANIZATION_ID = idsi.organization_id) LICENSE_TYPE
,(SELECT CASE
WHEN instr(msib.segment6,'1 YR') > 0 THEN '1YR'
WHEN instr(msib.segment6,'2 YR') > 0 THEN '2YR'
WHEN instr(msib.segment6,'3 YR') > 0 THEN '3YR'
WHEN instr(msib.segment6,'4 YR') > 0 THEN '4YR'
WHEN instr(msib.segment6,'5 YR') > 0 THEN '5YR'
WHEN instr(msib.DESCRIPTION,'Perpetual') > 0 THEN 'PERPETUAL'
END TERM FROM MTL_SYSTEM_ITEMS_B msib
WHERE msib.INVENTORY_ITEM_ID = idsi.inventory_item_id
AND msib.ORGANIZATION_ID = idsi.organization_id) TERM
,(select qll.operand
FROM qp_list_lines qll
,qp_pricing_attributes qpa
WHERE qll.list_line_id = qpa.list_line_id
AND qpa.product_attr_value = to_char(idsi.inventory_item_id)
AND qll.list_header_id = 439381
AND sysdate between NVL(qll.start_date_active, sysdate) and NVL(qll.end_date_active, sysdate+1)
AND qpa.list_header_id = qll.list_header_id
AND qpa.product_attribute = 'PRICING_ATTRIBUTE1'
AND qpa.product_attribute_context = 'ITEM'
AND NVL(qpa.pricing_attribute_context,'MIXED') = 'MIXED') ITEM_PRICE
,(select null from dual) as ITEM_QUANTITY
,(select currency_code from qp_list_headers_b where list_header_id =439381) currency_code
,(select segment1 from mtl_system_items_b msib
where msib.inventory_item_id = idsi.inventory_item_id
and msib.organization_id =idsi.organization_id) PART_NUMBER
FROM ibe_dsp_section_items idsi
,ibe_dsp_msite_sct_items idmsi
,( select distinct child_section_id
from IBE_DSP_MSITE_SCT_SECTS b
connect by PRIOR child_section_id = parent_section_id
start with parent_section_id =:1
and mini_site_id =1
UNION
select distinct child_section_id
from IBE_DSP_MSITE_SCT_SECTS b
where child_section_id =:1
and mini_site_id =1
) csi
WHERE idsi.organization_id = 101
AND idmsi.section_item_id = idsi.section_item_id
AND idsi.section_id = csi.child_section_id
AND idmsi.mini_site_id = 14409 -
Need help matching CS5.5 users to serial numbers
I have 4 CS5.5 users and a list of 4 serial numbers. I want to upgrade two of them to Creative Cloud but I don't know which Serial was used for each user. Is there a way to find this out?
Short of deactivating the installs with erasing the serial number and typing it in fresh on reactivation - no.
Mylenium
Maybe you are looking for
-
Authenticated Users Group Question
I have a quick question regarding the Authenticated Users "group". I used to be a systems administrator, but I'm a bit rusty since I've been a software developer for the last 10 years. A conflict with data center operations (DCO) group at work lead m
-
Testing a Client Proxy - mustUnderstand=1, is not recognized
Hello, I developed an Application Service in NWDS and tested it in the WebService Navigator. It worked fine u2026 Now I want to call this WebService in ABAP. So I created a Client Proxy (SE80) with the corresponding WSDL and set up a logical port (wi
-
Importing a Burned CD need help!
This has to be the worst problem i have encountered. A friend of mine burned a cd for me. It was burned as a data cd (if that helps at all) As i put the cd into my computer it has a new security setting where i cant listen to those songs that he boug
-
SAP FS-CD Send Information Container FPINFCO1
Hi All, When i do a payment posting i could see that Information container gets Updated and i am able to see that in FPINFCO2 as well and when i use the tcode FPINFCO1 : able to send the Data to Down stream system FS-PM as well by writing the custom
-
How many external certificates server does ACS 5.2 support?
Hi, Just wondering how many external certificates server does ACS 5.2 support? I failed to find the number in user guide. Thanks, -Alejin