GET a members expertise through OData API
Hi fellow JAM-Developers,
is there any way to retrieve a members expertise through SAP JAM OData API?
I checked the Docs and could not find such functionalities in the API.
Thanks.
Bes Regards,
Anton
Hi Robert,
sure!
I am actually writing my master thesis at University of Mannheim on "Designing a Gamified Project Knowledge Management System". I am building and evaluating a prototype in collaboration with a consulting company that is using JAM. I am building a web application on top of JAM that uses a lot of data through the JAM API.
I am building a couple of features, but I am still in the concept phase. One is a "expert locator". The idea was to provide a structure to identify domain experts (e.g. a consultant that is an expert in SAP AII). So it works vice versa to JAM (person --> expertise) from specific expertise to the person. But as I cannot consume the expertise through the API, this could be tricky :-/
I am happy to chat with you about details.
Cheers,
Anton
Similar Messages
-
Is there any way to programmatically get the discussion forum Id using API
Hi,
Can any one let me know how to get and set the Discussion service forum Id / category Id to the discussion task flow programmatically using services API's. Here I am using Web center groupspace API's to create and add members to group space from my fusion app. Added the discussion task flow to my fusion app and need to set the category Id / forum Id assigned to that groupspace and display the corresponding discussions. The test connections to discussion forum is success. I am getting all the forums corresponding to that user in my ui. But I want to get the forum that is associated with my groupspace.
thanks.Never mind. Got the solution, can get this through servicesMetaData api.
-
Assigning roles to LDAP users through BIP API
Hi.
My customer has BIP 11g and OIM 9.1.0.2 running on the same weblogic server (11g). Both authenticate against the same LDAP server.
One of our desired next steps is to provision from OIM the BIP roles to each LDAP user so every user gets the correct roles (and access to the correct reports) according to the groups he has on OIM.
I've been searching for info regarding this without success. The BIP API doc does not show any info about assigning roles to users.
We don't need to manage LDAP users, BIP roles, etc... through OIM. We only need to assign BIP roles to LDAP users.
Is it possible to make that assignments through BIP API?
If not, any other ideas? New ideas or different approaches are welcome.
Thanks in advance.In OBIEE 11g which includes BIP the application roles are applied to LDAP users and groups using the Enterprise Manager Fusion Control.
During the upgrade process from OBIEE 10g to OBIEE 11g the groups do get assigned to these roles transparently so there must be some API to leverage this functionality.
I would start there, http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/admin_api.htm
There are no specific instructions on accomplishing what you seek but if you have some WLST or Java Skills you should be able to get something prototyped.
Let me know if that helps. -
Enabling a User through OIM API
Hi I am trying to enable a user through OIM API, However the end date is already passed for that user, I am setting up a new end date through the Program (showm below). However the update user is not working (i am not sure).
Map usermap = new HashMap();
usermap.put("Users.User ID", User_id );
Map grpmap = new HashMap();
grpmap.put("Groups.Group Name", Group_Name);
tcResultSet ts = userClient.findUsers(usermap); //find all users
String existing_end_date = ts.getStringValue("Users.End Date");
tcResultSet tg = groupClient.findGroups(grpmap); //find requireq group
long ukey = ts.getLongValue("Users.Key");
long gkey = tg.getLongValue("Groups.Key"); //find group key
// ENABLE THE USER
java.util.Date new_end_date = new java.util.Date(111,1,1);
Calendar cal = Calendar.getInstance();
cal.setTime(new_end_date);
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
String Str1 = dateFormat.format(cal.getTime());
String Str2 = existing_end_date + " 12:00:00";
System.out.println(User_id+" OLD End Date:" + Str2 + " New End Date: " + Str1);
Map usermap2 = new HashMap();
usermap2.put("Users.User ID", User_id );
usermap2.put("Users.End Date", Str1);
userClient.updateUser(ts,usermap2);
userClient.enableUser(ukey);
I am getting the following error:
U0000018 OLD End Date:2009-09-30 12:00:00 New End Date: 2011-02-01 12:00:00
2/12/2010 15:02:53 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
Thor.API.Exceptions.tcAPIException: The user cannot be enabled because the end date is passed.
Not sure why it is happening. It looks like the Updateuser is not working, or something else?
Please advise. Thanks in advance.Hi Suren,
thanks for the note.
I found that as soon as I enable the user, I am getting the followimg messages in the opmn logs:
INFO,06 Dec 2010 10:55:41,841,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
INFO,06 Dec 2010 10:55:41,944,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
INFO,06 Dec 2010 10:55:42,402,[XELLERATE.JAVACLIENT],System Event Handler: Enabling the User
INFO,06 Dec 2010 10:55:42,421,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
INFO,06 Dec 2010 10:55:42,427,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
INFO,06 Dec 2010 10:55:42,439,[XELLERATE.JAVACLIENT],System Event Handler: Changing application data based on Organization change.
INFO,06 Dec 2010 10:55:42,442,[XELLERATE.JAVACLIENT],System Event Handler: Auto-Group Membership Event.
INFO,06 Dec 2010 10:55:43,715,[XELLERATE.JAVACLIENT],System Event Handler: Evaluating User Policies
So, the access policies are getting evaluated, triggering provisioning processes.
What I am planning to do is, to disable the access policies and try to run the Program.
Because of this issue, my Program is throwing an error (until I looked into the opmn logs, it doesn't make sense).
6/12/2010 10:55:50 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
Thor.API.Exceptions.tcAPIException: Error occurred enabling Xellerate User instance.
Regards
Vijay Chinnasamy -
Problem in Creating Default Form Through DI API
Hi All,
I am using the below code to create UDO and make it as Default Form through DI API. But the Default Form property is not getting set, that is the Default Form is not being created. The UDO is getting created. Any help is appreciated.
// Verify that UDO is defined
if (!(oCreateUDO.UDOExist(oCompany, "WEB_USER")))
SAPbobsCOM.UserObjectsMD MyUDO = (SAPbobsCOM.UserObjectsMD)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD);
//Set Services
MyUDO.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanFind = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanClose = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanLog = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tNO;
//MyUDO.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES;
MyUDO.Code = "WEB_USER";
MyUDO.Name = "Define Portal User";
MyUDO.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData;
MyUDO.TableName = "PORUSR";
MyUDO.FindColumns.ColumnAlias = "Code";
MyUDO.FindColumns.ColumnDescription = "Code";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "Name";
MyUDO.FindColumns.ColumnDescription = "Name";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_name";
MyUDO.FindColumns.ColumnDescription = "Name";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_Email";
MyUDO.FindColumns.ColumnDescription = "Email";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_Status";
MyUDO.FindColumns.ColumnDescription = "Status";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_TAG";
MyUDO.FindColumns.ColumnDescription = "TAG";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_bp";
MyUDO.FindColumns.ColumnDescription = "BP Code";
MyUDO.FindColumns.Add();
MyUDO.FindColumns.ColumnAlias = "U_password";
MyUDO.FindColumns.ColumnDescription = "Password";
MyUDO.FindColumns.Add();
if (MyUDO.Add() != 0)
MessageBox.Show("Failed to add UDO");
Thanks and Regards,
Noor HussainDear All,
Thanks a lot. I had forgot to add the form columns to the UDO object while creating UDO.
Regards,
Noor Hussain
Edited by: noor_023 on Mar 1, 2012 11:54 AM -
How to Create Highlighted text through the API
I am trying to create a script that goes through a document and cut/pastes specific elements to another document in FrameMaker 7.1.
So far, I can open a document and if an element is already highlighted/selected, i can cut the whole element using F_ApiCut().
I am having problems programatically trying to highlight the element that I want to copy.
So far, I have tried using the exampe from the FDKRef:
//grab the selected element and set it to the elementRange
er = F_ApiGetElementRange(FV_SessionId, docId, FP_ElementSelection);
parentId = F_ApiGetId(docId, er.beg.childId, FP_ParentElement);
er.end.parentId = er.beg.parentId = F_ApiGetId(docId, parentId, FP_ParentElement);
// if the selected element is a child of the highest level element, the client returns here
if(!er.end.parentId) return;
er.beg.childId = parentId;
er.beg.offset = er.end.offset = 0;
er.end.childId = F_ApiGetId(docId, parentId, FP_NextSiblingElement);
F_ApiSetElementRange(0, docId, FP_ElementSelection, &er);
F_ApiCut(docId, 0);
but this only grabs an element that is already selected. Is there a way to select an element through the API?
Thanks for any help!TrainingDeveloper,
There most certainly is a way. You can set up any kind of selection that you want, although it is definately a tricky process that can throw off even an experienced FDK developer. Here are my observations based on the code you pasted...
If you want to select an element, the first thing is that you need to have the ID of that element. I don't see anywhere in your code where an element ID is retrieved. All I see is the F_ApiGetElementRange which is getting the current selection, which in turn is likely why you just keep cutting the currently-selected element. If you want to get a specific element, that function call is not applicable. You only need to set up the element range structure to reflect the proper selection and then cut.
With that, assume that "elemId" is the ID of the element you want to cut. To select an entire element, you would do this:
F_ObjHandleT elemId, docId;
F_ElementRangeT er;
/* . . . code here to get elemId, docId, etc. . . . */
//set up the element range structure for whole-element selection
er.beg.childId = elemId;
er.beg.parentId = er.end.parentId = F_ApiGetId(docId, elemId, FP_ParentElement);
er.end.childId = F_ApiGetId(docId, elemId, FP_NextSiblingElement);
er.beg.offset = er.end.offset = 0;
//set the element selection in preparation for the cut
F_ApiSetElementRange(FV_SessionId, docId, FP_ElementSelection, &er);
//... and cut
F_ApiCut(docId, 0);
I'm not sure what the sample you pasted is meant to accomplish. It is somewhere along the right track but it won't get you exactly what you want.
Now, I should say that the process of retrieving the desired element ID is a whole different challenge. I'm not sure if you know how to do that or not so I'll defer any discussion on that until you ask.
Russ -
Unit Selling Price Override through PROCESS_ORDER API
Hi All,
I have this below requirement to be achieved through process_order API.
1. In the Order Oganizer UI, I open the Order Entry form.
2. Open the Lines tab
3. For the Unit Selling Price, I change the price manually and tab out.
4. Its gives me a LOV to select a Surcharge modifier.
5. I select one of the surcharge and click save.
6. The price is overridden and a manual price adjustment is created for the above selected surcharge.
This functionality I want to acieve through the PROCESS_ORDER API. Basically, I want to override the unit selling price and apply a surchage modifier. This should change the selling price and create a adjustement record for the above line.
Please let me know if anyone knows about this. That would help me.
Thanks,
AnandAnand
I tested this in 12.0.4 vision and works. Also if you need to use update option if you are applying the same modifier more than once(not create), just like the way screen changes behave.
DECLARE
l_return_status VARCHAR2 (30);
x_msg_data VARCHAR2 (2000);
x_msg_count NUMBER;
l_adj_rec oe_order_pub.line_adj_rec_type;
l_adj_tbl oe_order_pub.line_adj_tbl_type;
l_x_header_rec oe_order_pub.header_rec_type;
l_x_header_adj_tbl oe_order_pub.header_adj_tbl_type;
l_x_header_scredit_tbl oe_order_pub.header_scredit_tbl_type;
l_x_line_tbl oe_order_pub.line_tbl_type;
l_x_line_adj_tbl oe_order_pub.line_adj_tbl_type;
l_x_line_scredit_tbl oe_order_pub.line_scredit_tbl_type;
l_x_lot_serial_tbl oe_order_pub.lot_serial_tbl_type;
l_x_action_request_tbl oe_order_pub.request_tbl_type;
l_x_header_price_att_tbl oe_order_pub.header_price_att_tbl_type;
l_x_header_adj_att_tbl oe_order_pub.header_adj_att_tbl_type;
l_x_header_adj_assoc_tbl oe_order_pub.header_adj_assoc_tbl_type;
l_x_line_price_att_tbl oe_order_pub.line_price_att_tbl_type;
l_x_line_adj_att_tbl oe_order_pub.line_adj_att_tbl_type;
l_x_line_adj_assoc_tbl oe_order_pub.line_adj_assoc_tbl_type;
l_list_line_type_code VARCHAR2 (30) := NULL;
l_list_line_id NUMBER;
l_x_header_payment_tbl oe_order_pub.header_payment_tbl_type;
l_x_line_payment_tbl oe_order_pub.line_payment_tbl_type;
l_prc_adj_request oe_order_pub.request_tbl_type;
l_prc_adj_index NUMBER := 1;
l_price_adj_id NUMBER;
v_msg_index_out NUMBER;
x_header_rec_type oe_order_pub.header_rec_type;
x_header_val_rec_type oe_order_pub.header_val_rec_type;
x_header_adj_tbl_type oe_order_pub.header_adj_tbl_type;
x_header_adj_val_tbl_type oe_order_pub.header_adj_val_tbl_type;
x_header_price_att_tbl_type oe_order_pub.header_price_att_tbl_type;
x_header_adj_att_tbl_type oe_order_pub.header_adj_att_tbl_type;
x_header_adj_assoc_tbl_type oe_order_pub.header_adj_assoc_tbl_type;
x_header_scredit_tbl_type oe_order_pub.header_scredit_tbl_type;
x_header_scredit_val_tbl_type oe_order_pub.header_scredit_val_tbl_type;
x_line_tbl_type oe_order_pub.line_tbl_type;
x_line_val_tbl_type oe_order_pub.line_val_tbl_type;
x_line_adj_tbl_type oe_order_pub.line_adj_tbl_type;
x_line_adj_val_tbl_type oe_order_pub.line_adj_val_tbl_type;
x_line_price_att_tbl_type oe_order_pub.line_price_att_tbl_type;
x_line_adj_att_tbl_type oe_order_pub.line_adj_att_tbl_type;
x_line_adj_assoc_tbl_type oe_order_pub.line_adj_assoc_tbl_type;
x_line_scredit_tbl_type oe_order_pub.line_scredit_tbl_type;
x_line_scredit_val_tbl_type oe_order_pub.line_scredit_val_tbl_type;
x_lot_serial_tbl_type oe_order_pub.lot_serial_tbl_type;
x_lot_serial_val_tbl_type oe_order_pub.lot_serial_val_tbl_type;
x_request_tbl_type oe_order_pub.request_tbl_type;
x_header_payment_tbl_type oe_order_pub.header_payment_tbl_type;
x_header_payment_val_tbl_type oe_order_pub.header_payment_val_tbl_type;
x_line_payment_tbl_type oe_order_pub.line_payment_tbl_type;
x_line_payment_val_tbl_type oe_order_pub.line_payment_val_tbl_type;
l_control_rec oe_globals.control_rec_type;
BEGIN
fnd_global.apps_initialize (1005902, 21623, 660);
mo_global.set_policy_context ('S', 204);
l_x_line_tbl (1).line_id := 319799;
l_x_line_tbl (1).header_id := 155008;
l_adj_rec := oe_order_pub.g_miss_line_adj_rec;
l_adj_rec.price_adjustment_id := fnd_api.g_miss_num;
l_adj_rec.list_header_id := 8988; --Modifier id
l_adj_rec.list_line_id := 16596; --Modifier line id
l_adj_rec.automatic_flag := 'N';
l_adj_rec.list_line_type_code := 'DIS'; --Change this is it is surcharge
l_adj_rec.arithmetic_operator := 'AMT'; --Percentage or amount
l_adj_rec.operand := 10; --How much?
l_adj_rec.operation := oe_globals.g_opr_create;
l_adj_rec.line_index := 1;
l_adj_rec.update_allowed := 'Y';
l_adj_rec.applied_flag := 'Y'; --this is required to change the price of the line
l_adj_rec.change_reason_code := 'MANUAL';
l_adj_rec.change_reason_text := 'Manually applied adjustments';
l_adj_tbl (1) := l_adj_rec;
l_control_rec.process_entity := oe_globals.g_entity_line_adj;
l_control_rec.process := TRUE;
oe_order_pub.process_order (p_api_version_number => 1.0
, x_return_status => l_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_header_rec => l_x_header_rec
, p_header_adj_tbl => l_x_header_adj_tbl
, p_header_scredit_tbl => l_x_header_scredit_tbl
, p_header_payment_tbl => l_x_header_payment_tbl
, p_line_tbl => l_x_line_tbl
, p_line_adj_tbl => l_adj_tbl
, p_line_scredit_tbl => l_x_line_scredit_tbl
, p_line_payment_tbl => l_x_line_payment_tbl
, p_lot_serial_tbl => l_x_lot_serial_tbl
, p_action_request_tbl => l_prc_adj_request
, p_header_price_att_tbl => l_x_header_price_att_tbl
, p_header_adj_att_tbl => l_x_header_adj_att_tbl
, p_header_adj_assoc_tbl => l_x_header_adj_assoc_tbl
, p_line_price_att_tbl => l_x_line_price_att_tbl
, p_line_adj_att_tbl => l_x_line_adj_att_tbl
, p_line_adj_assoc_tbl => l_x_line_adj_assoc_tbl
, x_header_rec => x_header_rec_type
, x_header_val_rec => x_header_val_rec_type
, x_header_adj_tbl => x_header_adj_tbl_type
, x_header_adj_val_tbl => x_header_adj_val_tbl_type
, x_header_price_att_tbl => x_header_price_att_tbl_type
, x_header_adj_att_tbl => x_header_adj_att_tbl_type
, x_header_adj_assoc_tbl => x_header_adj_assoc_tbl_type
, x_header_scredit_tbl => x_header_scredit_tbl_type
, x_header_scredit_val_tbl => x_header_scredit_val_tbl_type
, x_header_payment_tbl => x_header_payment_tbl_type
, x_header_payment_val_tbl => x_header_payment_val_tbl_type
, x_line_tbl => x_line_tbl_type
, x_line_val_tbl => x_line_val_tbl_type
, x_line_adj_tbl => x_line_adj_tbl_type
, x_line_adj_val_tbl => x_line_adj_val_tbl_type
, x_line_price_att_tbl => x_line_price_att_tbl_type
, x_line_adj_att_tbl => x_line_adj_att_tbl_type
, x_line_adj_assoc_tbl => x_line_adj_assoc_tbl_type
, x_line_scredit_tbl => x_line_scredit_tbl_type
, x_line_scredit_val_tbl => x_line_scredit_val_tbl_type
, x_line_payment_tbl => x_line_payment_tbl_type
, x_line_payment_val_tbl => x_line_payment_val_tbl_type
, x_lot_serial_tbl => x_lot_serial_tbl_type
, x_lot_serial_val_tbl => x_lot_serial_val_tbl_type
, x_action_request_tbl => x_request_tbl_type
DBMS_OUTPUT.put_line (l_return_status);
IF x_msg_count > 0
THEN
FOR v_index IN 1 .. x_msg_count
LOOP
oe_msg_pub.get (p_msg_index => v_index, p_encoded => 'F', p_data => x_msg_data, p_msg_index_out => v_msg_index_out);
x_msg_data := SUBSTR (x_msg_data, 1, 200);
DBMS_OUTPUT.put_line (x_msg_data);
DBMS_OUTPUT.put_line ('============================================================');
END LOOP;
END IF;
END;
Thanks
Nagamohan -
Error while calling activityPrepare:needs to be invoked through an API call
I try to call activityPrepare using PAPI WS from SOAP UI. I get the following error :
An error occurred while processing task '0' for instance '/MyProcess#Default-1.0/4/0' in activity '/MyProcess#Default-1.0/Interactive[AgeFilter]'. The task is external and it needs to be invoked through an API call and not through the Classic WorkSpace.
I have no problem when I invoke activityExecute() but when I try activityPrepare() either from OSB, ADF or soapUI, I get this error.
I don't get what that means. Any idea why this error occurs?
Thanks
JagThe problem is that I did not make the activity 'External'. This can be done by :
Right click the activity -> Main Task -> select External Activity
Then you have to select two methods, one for prepare Activity, the other for commit activity.
For the prepare Activity, select the method you normally select for execute activity.
For the commit activity, create a new method and just write the following line in it :
action = action.OK;
Problem solved.
Jag -
Query listitems by view through REST api
I've created a custom view, and I want to access the list items based on this view through REST api.
I've tried .../_api/web/lists(listguid)/view(viewguid)/items, but it seems not working.
Is it possible, any ideas?
Thanks,
LaszloHi,
Unfortunately, it is not possible to grab a list view via REST. You can get the syntax for what you can grab for a list with REST by typing something like this into your browser and viewing the page source:
https://domain/sites/sitename/_api/web/lists(guid'4065067c-e4b8-46d5-a433-76b27f508d1d')
Simply view the source of this page once you have logged into your SharePoint site. You will see all the possible href values you can use based on your list guid (obviously you'll have to change the values above to match your data).
What you can do with REST is to use certain parameters to filter your list (similar to how OOTB list views do). Check out these pages with some examples of what I mean:
http://msdn.microsoft.com/en-us/magazine/dn198245.aspx (Scroll down to Advanced Operations where they talk about $select, $filter, etc.).
http://msdn.microsoft.com/en-us/library/jj164022.aspx
Hope this helps,
~ Katie -
Accessing Iteration Dates through REST API
How should I go about getting the start and end dates for an iteration through the API?
If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
"$id": "1",
"innerException": null,
"message": "TF51541: The Node ID is not recognized.",
"typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"typeKey": "WorkItemTrackingTreeNodeNotFoundException",
"errorCode": 0,
"eventId": 3200
Is there another mechanism for getting this data?Hi Steve,
Thanks for your post.
We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
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. -
Retrieve user in webdynpro code through ume api
Hi
How to get the user name through code in webdynpro application.
please tell me which UME api to use.
Regards
VidyadharHi,
Check the code below, you can retrive the user details
ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
IUserFactory usf = UMFactory.getUserFactory();
IUser iuser = null;
IUserListElement userElement = null;
int i = 0;
while (rst.hasNext()) {
iuser =
UMFactory.getUserFactory().getUser(rst.next().toString());
String email = iuser.getEmail();
String fname = iuser.getFirstName();
String lname = iuser.getLastName();
let me know if there are any issues.
regards
Anil -
Withholding TAX - AP INVOICE through DI API
Hi Experts,
I am posting AP INVOICE through DI API. When am posting WITHHOLDING TAX for AP INVOICE am getting error like "Total taxable amount of all rows exceeds the base amount [pch5.taxbleamt]". My code
APINVOICE.WithholdingTaxData.WTCode = ORec1.Fields.Item("WTCode").Value
APINVOICE.WithholdingTaxData.WTAmount = ORec1.Fields.Item("WTAmnt").Value
APINVOICE.WithholdingTaxData.Add()
Please help me to solve this issue.
Thanks in advance,
Jeevan.Hi
The below code can be used to add WT tax, But ensure that BP having the WTCode mapped.
APINVOICE.WithholdingTaxData.WTCode = "TC-2"
APINVOICE.WithholdingTaxData.Add()
TC-2 is the WTCode mapped to Vendor i chose to add A/P invoice thro DI API.
Regards,
Tamizh. -
Message Alter Overview through DI API
How do I get the code of selected message from my inbox in Messge/Alter overview window through DI API
Hi Edward,
Sorry I was busy last week and could not check your message. I got it to get the alertcode from alert/mesage overview screen. I just generated a message with three message data columns through DI API with link on two of the columns. I am just wondering how I would handle those links from Alert/Messge overview window to open my SAP Addon documents which are created in .NET and not using UDO's
Thanks and Regards, -
Add Activity through di api with assigned to employee
Hello Experts
I am fresher to sap b1 add on development.I got a problem in Adding Activities through di api
the problem is i am not able to get handled by employee property .
by default contacts.handledby is taking assigned to USER but I required Employee.
thanks in advance.Hi,
In order to set the employee correctly, don't use the Contacts object, but instead use the Activity object.
In the Activity object there's a property called HandledByEmployee.
Note that in order to create an Activity object, you should use the ActivitiesService object.
Look here for an example.
Beni. -
Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?
Dear All,
I am trying to create Service AP Invoice through DI API.
If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
But if I change amount in above field then DI API throws error Unbalanced Transaction.
If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
Where I am doing wrong?
please guide.
Using:
SAP B1 version 9 Patch Level 11
Location : India.
Thanks.Hi ,
maybe you can find solution to these note 1812344
1846344 - Overview Note for SAP Business One 8.82 PL12
Symptom
This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
Solution
Patch installation options:
SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
Patch content:
SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
For details about the contained corrections, please see the SAP Notes listed in the References section.
Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
Patch download:
Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
Header Data
Released On
02.05.2013 02:34:18
Release Status
Released for Customer
Component
SBO-BC-UPG Upgrade
Priority
Recommendations/additional info
Category
Upgrade information
References
This document refers to:
SAP Business One Notes
1482452
IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
1650289
Printing Inventory Posting List for huge amount of data
1678528
Withholding amount in the first row is zeroed.
1754529
Error Message When Running Pick and Pack Manager
1756263
Open Items List shuts down on out of memory
1757641
Year-end closing
1757690
SEPA File Formats - New Pain Versions
1757898
Incoming Bank File Format
1757904
Outgoing Bank File Format
1762860
Incorrect weight calculation when Automatic Availability Check is on
1770690
Pro Forma Invoice
1776948
Calendar columns are wrong when working with Group View
1780460
OINM column description is not translated
1780486
UI_System crash when you set extreme value of double type to DataTable column
1788256
Incorrect User-Defined Field displayed in a Stock Transfer Request
1788372
ZH: 'Unacceptable Field' when export document to word
1788818
RU loc: No freight in the Tax Invoice layout
1790404
Cash Flow Inconsistency when Canceling Payment
1791295
B1info property of UI API AddonsInstaller object returns NULL value
1791416
Adding a new item to BoM is slow
1794111
Text is overlapping in specific localization
1795595
Change log for item group shows current system date in all the "Created" fields
1797292
Queries in alerts should support more query results
1800055
B1if_ Line break issue in inbound retrieval using JDBC
1802580
Add Journal Voucher to General Ledger report
1803586
Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
1803751
Period indicator of document series can be changed although it has been used
1804340
LOC_BR_Cannot update Nota Fiscal Model
1805554
G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
1806576
Payment Cannot Be Reconciled Internally
1807611
Cannot update UDF in Distribution Rule used in transactions
1807654
Serial No./Batch inconsistency by canceled Inventory Transfer
1808694
BR: Business Partner Code cannot be updated with CNPJ CPF error
1809398
CR_Cannot Display Related Multi-Value Parameters
1809758
Arrow key not work for Batch/Serial Number Transactions Report
1810099
Tax Amount is Recalculated Even if Tax Code Is Not Changed
1811270
Upgrade fails on Serial And Batches object with error code -10
1811846
Cannot run Exchange Rate Differences when multi branch is activated
1812344
Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
1812740
DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
1813029
US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
1813835
Wrong amounts of Goods Return in Open Item List
1814207
Preliminary page prints setting does not keep after upgrade
1814860
Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
1815535
RFQ: Web front end not displayed in supplier language
1815810
GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
1816191
BR:System Crashes While Working with Tax Code Determination Window
1816611
CR_Crystal Report Displayed Incorrectly Afte
Maybe you are looking for
-
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect.
Hi , i deployed one bpel process in weblogic. when i am click on test below is error is coming. ( its on oracle soa 11) below is coming for all the process. previously it is working fine. Either the WSDL URL is invalid or the WSDL file is not valid o
-
Video files show as 4:3 rather than 16:9
I am a complete novice with video editing and have just bought premiere elements to create DVDs with my new camera! It's a Panasonic SDR-H20, non HD, mpeg 2. I 'get media' via USB2 and AVCHD, DV capture, D1/DV PAL Widescreen 16:9, 720 x 576, but it
-
BDT Custom Table fields Update
Hi Friends , Using BDT, i created one tab in BP transaction and also i created two custom fields in Structure BUT000, In PAI , I am using BUP_BUPA_BUT000_COLLECT to store screen values to the table BUT000 In PBO I am using BUP_BUPA_BUT000_GET to
-
Select parameter in report heading
Hi all, I have defined a date parameter as Select-options: S_NACD2 FOR Z_VIEW_GITREPORT-BL_DATE OBLIGATORY. (It is a date type select option) I have defined report heading as : CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING BASIC_LIST_TITLE = 'GIT
-
Hi, We have so may data transfer techniques such as BDC, LSMW, BAPI, IDoc. What is the each technology for? I mean what is the significance of each technology?