How to retrive the user name when we know the user ID in BPM 10g ?
Hi All,
I want to retrive the participants name by the participant's id. I have a drop down list where the participants ID is present. Now I will invoke a method on change of this drop down and it will return the name of the choosen Participant ID. Can any body help me to write tha exact code to retrive the exact Name in BPM 10g.
Thanks in advance~
Anupam
Edited by: Anupam on May 15, 2012 9:52 AM
Hi,
DirHumanParticipant part = DirHumanParticipant.fetch(session : DirectorySession.currentEngineSession, id : "test");
logMessage("The display name is "+part.displayName);
logMessage("The first name is "+part.firstName);
logMessage("The last name is "+part.lastName);
HTH
Edited by: Ruben Vidaurre on 14-may-2012 23:19
Similar Messages
-
MessageFileUpload how to retrive the file name?
Hi there guys,
maybe it's a stupid question but i cannot find the answer :_( any of you knows how to retrive the file name i am going to upload from the messageFIleUpload item?
Thank You, Pier Paolo.
Edit: Found in another post!! eeheh LAZY ME!! :_)
Message was edited by:
PandreoLNice to know that you found the solution. You could have as well used the javadoc for the same.
--Shiv -
hey guys
i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
"copy if newer"
can anyone please help? i appreciate that !Hello,
From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
you need to copy that file into storage folder before reading data. Please try the following code snippets.
private async void Button_Click_9(object sender, RoutedEventArgs e)
//check if file exists in storage folder, and then copy to local storage
bool flag = await FileExistsAsync("Data.db3");
if (!flag)
var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
// open sqlite and read data
public async Task<bool> FileExistsAsync(string fileName)
try
await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
return true;
catch (FileNotFoundException)
return false;
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
How to retrive the deleted data in Z table
Hi Gyes,
How to retrive the deleted data in Z table.
Thanks & Regards,
SureshHello Suresh
If you have not activated the technical setting "Log data changes" in the definition of your z-table (which is unlikely) then there will be no change documents available.
If you have downloaded your z-table entries sometimes you could use these data for recovery.
Otherwise your last change is to ask your <b>basis team</b> when the last backup has been made.
Regards
Uwe -
How to retrive the overwritten SAP Default Configuration
Hi There,
I was trying to enhance the component BT115IT_SLSO to add some new fields into the table view Items.
I copied the view configuration to my Z config key but by mistake & added the fields into the default view and saved the changes. Now the default configuration is screwed up.
Can some one point out how to retrive the SAP standard configuration( where it is stored ). In the configuration tab of the view the configuration looks ok but in Web UI I see all the columns available in the context node, and makes the view useless, when I go to the personlization of the view all fields shows the message < Error in Meta data > and I can not see the details of the fields.
I have already backed off my enhancement. Now I want to retrive the view configuration.
Your help will be highly appreciated.
Thanks,
Vikash.Issue resolved.
Solution was In BSP workbench when I went to choose configuration I saw that just next to std conf there was column for cust conf. and both were marked X so I deleted the conf and that gave me the standard conf back.
Thanks,
Vikash. -
How to retrive the archive PR
or
anyway that user can view it in display mode
Edited by: shakir on Jun 5, 2010 2:07 PMCheck this link
[retrive the archive PR|http://help.sap.com/erp2005_ehp_03/helpdata/EN/8d/3e4b63462a11d189000000e8323d3a/frameset.htm] -
Can you please how to retrive the new netprice from the new validity period
Hi,
When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
and each period will have different netprice in it.
One will be old date before the PO was created and the other new one which has validity till 31.12.999..We want to fetch the netprice for the new validity date but currently the program is fetching this data from the table EKPO which is having the netprice of the old date only..
Can you please how to retrive the new netprice from the new validity periodThank you so much.
But I need more help specific to my problem.
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the netprice from the validity period which always matches with the PO creatio date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
<u>what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date</u>..
Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
p_c_k_bstyp TYPE ebstyp
p_p_bukrs TYPE bukrs
p_p_ekorg TYPE ekorg
p_p_ekgrp TYPE bkgrp
*Begin of Mod-004
fp_p_cernam type ty_r_ernam
p_p_cernam TYPE ernam
*End of Mod-004
p_s_werks LIKE s_werks[]
p_s_matnr LIKE s_matnr[]
p_s_lifnr LIKE s_lifnr[]
p_s_val_dt LIKE s_val_dt[].
*mod-002
data : l_amount type BAPICURR_D, " Net price
l_waers TYPE waers, " Currency Key
l_eff_amount type BAPICURR_D. " Effective value
data: l_v_netpr type bprei.
*mod-002
SELECT ebeln
bukrs
bstyp
aedat
ernam
lifnr
zterm
ekorg
ekgrp
waers
wkurs
<b>kdatb
kdate</b>
inco1
INTO TABLE i_ekko
FROM ekko
WHERE ebeln IN p_s_cebeln
AND bstyp EQ p_c_k_bstyp
AND bukrs EQ p_p_bukrs
AND ekorg EQ p_p_ekorg
AND ekgrp EQ p_p_ekgrp
*Begin of Mod-004
AND ernam EQ p_p_cernam
AND ernam IN fp_p_cernam
*End of Mod-004
AND lifnr IN p_s_lifnr
AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
IF sy-subrc EQ 0.
Populates internal table i_ekpo using EKPO table.
SELECT ebeln
ebelp
loekz
txz01
matnr
werks
ktmng
menge
meins
bprme
netpr
peinh
webaz
mwskz
uebto
untto
erekz
pstyp
knttp
repos
webre
konnr
ktpnr
ean11
effwr
xersy
aedat
prdat
INTO TABLE i_ekpo
FROM ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln
and aedat = i_ekko-aedat
AND werks IN p_s_werks
AND matnr IN p_s_matnr.
LOOP AT i_ekpo INTO rec_ekpo.
MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
MOVE rec_ekpo-loekz TO rec_contr-loekz.
MOVE rec_ekpo-txz01 TO rec_contr-txz01.
MOVE rec_ekpo-matnr TO rec_contr-matnr.
MOVE rec_ekpo-werks TO rec_contr-werks.
MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
MOVE rec_ekpo-menge TO rec_contr-menge.
MOVE rec_ekpo-meins TO rec_contr-meins.
MOVE rec_ekpo-bprme TO rec_contr-bprme.
MOVE rec_ekpo-netpr TO rec_contr-netpr.
move l_v_netpr TO rec_contr-netpr.
mod-002
read table i_ekko into rec_ekko with key
ebeln = rec_ekpo-ebeln.
l_waers = rec_ekko-waers.
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-netpr
IMPORTING
AMOUNT_EXTERNAL = l_amount.
rec_contr-netpr = l_amount.
mod-002
MOVE rec_ekpo-peinh TO rec_contr-peinh.
MOVE rec_ekpo-webaz TO rec_contr-webaz.
MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
MOVE rec_ekpo-uebto TO rec_contr-uebto.
MOVE rec_ekpo-untto TO rec_contr-untto.
MOVE rec_ekpo-erekz TO rec_contr-erekz.
MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
MOVE rec_ekpo-knttp TO rec_contr-knttp.
MOVE rec_ekpo-repos TO rec_contr-repos.
MOVE rec_ekpo-webre TO rec_contr-webre.
MOVE rec_ekpo-konnr TO rec_contr-konnr.
MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
MOVE rec_ekpo-ean11 TO rec_contr-ean11.
MOVE rec_ekpo-effwr TO rec_contr-effwr.
mod-002
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-effwr
IMPORTING
AMOUNT_EXTERNAL = l_eff_amount.
rec_contr-effwr = l_eff_amount.
*mod-002
MOVE rec_ekpo-xersy TO rec_contr-xersy.
APPEND rec_contr TO i_contr.
CLEAR: rec_ekpo,rec_contr.
mod-002
CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
mod-002
ENDLOOP.
Modifying i_contr using i_ekko.
SORT i_ekko BY ebeln.
LOOP AT i_contr INTO rec_contr.
READ TABLE i_ekko INTO rec_ekko WITH KEY
ebeln = rec_contr-ebeln
BINARY SEARCH.
MOVE rec_ekko-bukrs TO rec_contr-bukrs.
MOVE rec_ekko-bstyp TO rec_contr-bstyp.
MOVE rec_ekko-aedat TO rec_contr-aedat.
MOVE rec_ekko-ernam TO rec_contr-ernam.
MOVE rec_ekko-lifnr TO rec_contr-lifnr.
MOVE rec_ekko-zterm TO rec_contr-zterm.
MOVE rec_ekko-ekorg TO rec_contr-ekorg.
MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
MOVE rec_ekko-waers TO rec_contr-waers.
MOVE rec_ekko-wkurs TO rec_contr-wkurs.
MOVE rec_ekko-kdatb TO rec_contr-kdatb.
MOVE rec_ekko-kdate TO rec_contr-kdate.
MOVE rec_ekko-inco1 TO rec_contr-inco1.
MODIFY i_contr FROM rec_contr.
ENDLOOP.
ENDIF.
REFRESH: i_ekko,
i_ekpo.
CLEAR : rec_ekko,
rec_ekpo,
rec_contr.
ENDFORM. "select_contracts
Thanks. -
How to retrive the deleted entries in the ztable
please let me know how to retrive the deleted entries in the ztable.
>
Naseer uddin wrote:
> Hi,
>
> While creating a table have u activated the buffering (full).
> if not then it is not possible to retrive the lost data, and if u have activated the full buffering of table then it is possible to retrive data, up to some extent, using transaction Code se14.
Complete Nonsense.*
buffering doesn't mean that it will buffer the records back in database ,once you deleted.it means it will allow the buffer the table to memory only while read access. -
hi all
please help how to save a movieclip in flash to svg...and how
to retrive the saved svg to movieclip in flash?
thanksDo you mean from flash in a web page or do you mean
converting the swf file format (maybe with a decompiler or
whatever).
If you're meaning to do it from flash in a web page:
You can't save a movieclip from flash to svg. You could
perhaps record drawingAPI commands and create the appropriate svg
output in an internal xml object which you then send to the server.
But I don't know of any pre-built classes to do that (disclaimer:
because I don't know of any doesn't mean they don't exist).
Going from svg to flash is doing it the other way around.
Converting the svg paths back to actionscript drawing commands. I
think I've seen some examples of this online somewhere. -
How to retrive the purchase agreement/promotion using sale order number
Hi ,
I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
My query is how to retrive the purchase agreement/promotion (VBAK-KNUMA is blank for all ) using sale order number ?
Thanks
Sree
Edited by: Sree Merugu on Sep 11, 2008 6:58 PMHi ,
I am an ABAPER . I need a flow for *sale order to purchase agreement/promotion *
My query is how to retrive the purchase agreement/promotion (VBAK-KNUMA is blank for all ) using sale order number ?
Thanks
Sree
Edited by: Sree Merugu on Sep 11, 2008 6:58 PM -
How can I remove unread messages when I know I don't have any?
How can I remove "unread messages" when I know I do not have any?
Hit the num lock button again. Num lock forces only the numeric keypad underlying keys to work as a numeric keypad, and the rest of the keyboard won't work. Unfortunately Apple stopped including the numeric keypad hidden keyboard key labels on its keyboards. They used to include them. They are known as mouse keys: http://docs.info.apple.com/article.html?path=Mac/10.5/en/cdb_moskys.html
-
How to find function module exit name when i know the Include
As per my requirement i should change the existing exit. I know the include name but i want to
know exit name. How to find out exit name based on include name. I tried Where-used list but it
is not giving the exit and function module name.Please let me know.
Regards
RajithaHello Rajitha,
1. You can do a "where-used" for the include & get the corresponding name of the exit function module.
2. Goto table MODSAP & in the field MEMBER pass the name of the function module & you will get the Exit Name in the NAME.
Hope this helps.
BR,
Suhas
Edited by: Suhas Saha on Mar 16, 2009 3:08 PM -
How to Retrive the content from Archive folder ???
Hi,
1. I was working on the archiving of the documents and was able to archive the docs into a local archive folder.
Then I had to test a scenario where when the user wants to search for a document with a specific ContentId, if the ContentId was not present in the content repository, then the content manager has to search for the same in the archived documents. Is this achievable?
While testing the above, the UCM server had stopped indexing and started giving a Interrupted exception for indexing. While we do a normal checkin also the documents are in DONE status and are not getting published. Tried restarting the indexer also but in vain. How can we restart the indexing so as to publish the docs?
2. indexing not working even for normal checkin the content.its showing error "indexing aborted" ? content never gets released after checkedin the content ? its struch in done status ?
while importing the content to ucm serverl, i have deleted "testarchive " (which was exported from contentserver) from Archive folder in UCM install directory.. then many contents were in done status at contentmanagement-> workin progress. Errors showing in content server ...
Indexing aborted. Error: Directory 'C:/UCM/archives/testacrchive' does not exist. Directory 'C:/UCM/archives/testacrchive' does not exist. [ Details ]
An error has occurred. The stack trace below shows more information.
!csIndexerAbortedMsg!syGeneralError!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
intradoc.common.ServiceException: !syGeneralError
at intradoc.common.FileUtils.testFileSystem(FileUtils.java:452)
at intradoc.server.archive.ArchiveUtils.readFileEx(ArchiveUtils.java:215)
at intradoc.server.archive.ArchiveUtils.readFile(ArchiveUtils.java:193)
at intradoc.server.archive.ArchiveUtils.readArchiveFile(ArchiveUtils.java:158)
at intradoc.server.IndexerReplication.readArchiveProperties(IndexerReplication.java:279)
at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:156)
at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
Caused by: intradoc.common.ServiceException: !syFileUtilsDirNotFound,C:/UCM/archives/testacrchive!syFileUtilsDirNotFound,C:/UCM/archives/testacrchive
at intradoc.common.FileUtils.validatePath(FileUtils.java:801)
at intradoc.common.FileUtils.validateDirectory(FileUtils.java:781)
at intradoc.common.FileUtils.testFileSystem(FileUtils.java:437)
... 10 more
Error showing in Archive logs
Instance idc with archive testAcrchive is no longer being exported. Exception type is 'java.lang.Throwable'. [ Details ]
An error has occurred. The stack trace below shows more information.
!csReplicationInstanceRemoved,idc,testAcrchive!syExceptionType,java.lang.Throwable
java.lang.Throwable
at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:81)
at intradoc.common.Log.addMessage(Log.java:268)
at intradoc.common.Log.errorEx2(Log.java:216)
at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:97)
at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:462)
at intradoc.common.SystemUtils.errEx(SystemUtils.java:547)
at intradoc.server.IndexerReplication.doExport(IndexerReplication.java:196)
at intradoc.server.IndexerReplication.doReplication(IndexerReplication.java:169)
at intradoc.server.IndexerReplication.doWork(IndexerReplication.java:92)
at intradoc.indexer.Indexer.doIndexing(Indexer.java:431)
at intradoc.indexer.Indexer.buildIndex(Indexer.java:340)
at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
Please resove the above issues,
Please helpme out... this is pretty urgent as i am strucked at my work ? how to get relase the content ?
thanks inadvance.
Thanks,
yt
Edited by: 792821 on Oct 28, 2010 12:17 PMhi,
We wanted to achieve the following.
1) Data which is older more than 2 months should be sent and stored in a different storage device[ example: SAN storage / oracle storage etc ].
2) When user requests for the contentId and if its older more than 2 months, the request has to search / retrieve the secondary storage system and get the documents.
As of now, we need not required archival things, we just need retrive documents from out side devices. it can be SAS or any other storage device/unit.
i just need to retrive the content based on metadata from other storage device.
lets say one example , we have large amount data which is stored in one device or hard disc
it can be SAS or any storge unit, using UCM, i need to retrive to the content from storage device/unit.
how to retrive document from out side device ? how i need to configure for other storge unit ? is it possible through provider for providing other system information in UCM server ? is there any other alternate way ???
how it be achived ? how to config to other storage device using ucm ?
this requirement is very very urgent and we need proper soluation, so could please let me know soluation with a in detail description.
thanks in advance -
How to retrive the Direct purchase entries from table level? S_ALR_87012050
Hi All
In our current project we need to retrieve the direct purchase report from table level. Can you please provide me the direct purchase related table? Normally we are executing the standard report S_ALR_87012050
to extract the direct purchase entries. We need to know which table has the direct purchase entries.
Regards
K.GunasekarK,
Your problem description is still insufficiently detailed.
It appears now that you are searching for asset numbers. Please confirm.
Your selection criteria "Inventory Number NE 0" doesn't appear to make much sense. Inventory number is not a quantity, it is the name of an object. I guess it is meaningful you have some inventory numbers named as '0'. I don't think this setting is causing your problem though.....
You didn't mention which table you accessed to discover that you had a perceived discrepancy. Which table did you browse to see the results you mentioned? Please describe the selection parameters for each table you reviewed, and the results for each table that you examined.
It is also the practice of many companies to archive asset data. If this is the case in your company, then the archived data will not reside in the 'A*" tables.
You mentioned that you used the same parameters to select the data. How did you select "Report Date" when you did the table extract? I am not aware of a field that is named "report date' in any of the tables mentioned.
Rather than slog through tables, you might want to try SE16, view "V_ANLAZ". This is a preconstructed linkage of ANLA and ANLZ that is used by S_ALR_87012050 as a starting point.
I really think you should consult with your ABAPers. In two minutes they can give you your answers. It will take me several messages and probably several days to get you the same answers.
Best Regards,
DB49 -
How to add attribute to UME and how to retrive the attribute value
Hi Gurus,
I have developped an application that retriving the data from back end for that we need to give input values .
I have got the Logged user from the Iuser But Sales Organization of User [from user profile] and Brand value [from user profile] I want these input put values need to pass as a input .
For this how can get the sales org and Brand value.
Give me suggestions for this or how to pass attributes to UME and how to capture it.
Advance thanks.
thanks
Lohi.Check if there are any available function modules for this functionality. One of the FM that comes to my mind is:
a) BAPI_USER_GET_DETAIL
Check with your SD guys , if there exists any such function module.
Regards,
Subramanian V.
Maybe you are looking for
-
Trying to restore Time Machine back-up from WD MyBookLive - whats the Password?!
Hi all, my son has a Macbook Pro running Lion. Yesterday it hung when downloading the 10.7.3 update and wouldn't reboot properly. We logged in via safe mode and managed to sort this out, however I was initially looking at doing a restore from his tim
-
Does ALDSP 2.5 supports INOUT cursor??
Hi, We are using ALDSP 2.5 and trying to connect to oracle stored procs. Some of these stored procs have INOUT Cursor, INPUT cursor and associate array types. Does ALDSP 2.5 supports this?? If not please let me know whether other versions support thi
-
Apple Pro Speakers extension cable? Anyone?
Sorry. Meant to post this in the G4 forun instead, and I don't want to cross-post. Perhaps someone here can help... Looking to extended the distance from the G4 under my desk to the Apple Pro Speakers sitting on top. I've come up empty on my research
-
Dear All Pls help advise. My company recently engaged a datawarehouse architect and he proposed the below design. However from my (limited) understanding, this is against the best practise. So just hope to confirm my belief here. Can some experienced
-
Anyone know how to get a list of users that are connected to WebLogic? Specifically, we have this application that we run, all servlet based. When a user first connects to the URL they are authenticated. Is there anyway for us to find out all the use