Probel in creating System Object
Hi All,
i am creating a system in system administration to connect to backend here is some mandatory field to filled in connector part.
My question where i have to see the details to enter in connector
i have to use any tcode to collect correct information for the below specified fileds.
Gateway Host
Gateway Service
Server Port
Thanks and Regards,
Phanikumar.
Gateway Host -> Name of the host where the SAP Gateway is running
Gateway Service -> SAPGW<XX> You'll find this on the services file of the gateway host
Server Port -> You'll find this on the services file of the gateway host
services file is located at <drive>:\windows\system32\drivers\etc\services or at /etc/services in UNIX, Linux, AIX
Regards
Juan
Similar Messages
-
Problem Create System Object in the Portal for connecting CRM abap
Hi, i creating system in the portal (JCX) for connecting system ABAP CRM (CRX), after create system try run test connection and show messages error:
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
In the logs the portal (NWA) show messages:
Failed in creating the JCO Connection.
The logs operation system (log Security_audit.log)
Error> occured >Thu Jun 23 11:34:41,278<RfcException: message: 'mshost' missing Return code: RFC_INVALID_PARAMETER(19 Return code: RFC_INVALID_PARAMETER(19) error group: 101 key: FC_ERROR_PROGRAM
at com.sap.mw.rfc.api.RfcOptions.checkParameters(RfcOptions.java:438)
at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:688)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1079)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)
Plase help, any idea?message: 'mshost' missing Return
During the System Object Creating in System Landscape, there is any entry as Message Server Host: CRM MS HOST
and Message Server Port : sapmsSID and add this entry in etc/services --> bottom samsSID 36NN/tcp where NN is instance number.
Try this and let me know.
Thanks
SM -
Problem in creating System object
Hi All,
i am creating a system in system administration to connect to backend here is some mandatory field to filled in connector part.
My question where i have to see the details to enter in connector
i have to use any tcode to collect correct information for the below specified fileds.
Gateway Host
Gateway Service
Server Port
Thanks and Regards,
Phanikumar.Hello,
first thing is, first try with user mapping, if you succed in this then only go for login tickets method. both are different ways to connect to R/3 systems under SSO.
create system by selecting template for "sap system using dedicated application server".
then add the follo parameters:
Application host: ur FQDN for R/3 system
Gateway host: same as Application host
Gateway service: sapgw00
Logon method: select Uid/PW
Remote host type:select 3
SAP client: enter ur SAP client (001 generally)
SAP SID: ur SID
SAP Sys number:00 (or 01 )
server port: 3200
System type: select R/3
user mapping type: select admin/user
validate connection: no
(no need to set ITS and other properties they are optioal).
this much settings are enough. Then add a system alias for your system, by going in properties and select System Aliases.
now go in user admin, search for your current user, click on modify, click on user mappings..select your system, provide login id and password for your R/3 system.
save it.
Go ahead and create iVIew (Transaction iView) even though your connection test fails, it works. it will connect to ur backend R/3 system via iView without any error.
hope this helps you...
Regards,
Yogesh... -
System object create problem in EP 7.3 Version.
Hi Exports,
i was created system object in sap ep 7.3 but i got some error please give me solutions...........
Connection Test for Connectors:
: Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
Thanks
ReddyHi,
System Object is a set of connection properties to represent an external or SAP systems (SAP R3, /CRM/BW) used to retrieve data into portal iViews. We can create a System Object in any one of the three ways
The system object can be created from either of the following:
u2022Based on System Template (Template)
u2022Based on Portal Content (PAR)
u2022Coping Existing Systems (System)
The Required Steps to Create a System Object in the portal are as :
1. System Alias settings
2. Connector settings
3. ITS settings
4. WAS settings
5. User Management Settings
This may help
http://wiki.sdn.sap.com/wiki/display/EP/HowtoCreateSystemObjectinthePortalforConnectingtoSAPbackend+System
https://wiki.sdn.sap.com/wiki/display/EP/User+Management
Forum links:
SSO problem for system
Regards,
Jyothi.
Edited by: Venkata Naga Jyothi on Dec 14, 2011 9:58 AM
Edited by: Venkata Naga Jyothi on Dec 14, 2011 10:04 AM -
Creation of system object for customized workflow
Hi Experts,
I am required to define a System Object with system alias, for creation of UWL to trigger Customized work flow's.
What WAS properties and Connection Properties and ITS Properties i should maintain in newly created System Object?
how do create UWL so that it triggers Customized workflow instead of standard workflow in R/3?
I have similarly total 3 Customized workflow so do i need to create three UWL's for each one?
Please help me out!
Regards,
SivaHi Shabir,
I am new to EP can you please let me know how to create custom connector? that triggers three custom developed workflow?
and Please let me know what parameters to pass to create system object(like WAS Properties, ITS Properties etc)
Thanks in advance!
Regards,
Siva -
Issues while JDBC System Object Creation for accessing MS SQL 2000 Server
Dear Experts,
I am creating system object to connect to MS 2000 server in Ep 7.3
1) created system with all the properties
2) User mapping done
3) permissions ok
but still while testing connection its giving error
"No connection to system DBSQL found:
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not create JCO connection.
'user' missing"
""" Connection Test for Connectors:
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection failed. Make sure user mapping is set correctly and all connection properties are correct. """"Dear Mr. Arun,
thanks for the valuable sap note
I have applied the note but same result :
No connection to system DBSQL found:
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not create JCO connection.
'user' missing
1) i have created JDBC Driver as mentioned in sap note
2) created System object
3) created destination as required in EP 7.1 and above
4) mapped user in user administration
when i am testnig connection its giving above mentioned error
same system object when i am creating for EP 7 its working fine with all 3 jar files and system creating succesfully
plz help -
Hi All,
I am facing a strange issue.Recently we have configured SSO between our portal and SRM system it is working fine but when i am creating system object using SAP Logon ticket all the three WAS,ITS and Connector are failing but i am getting data from SRM system and i have also tested it in Support>SAP Application>Transaction i can login into the SRM system without prompting for user and password and when i specify user mapping with UIPW all the three WAS iTS and Connector are working fine.
Please provide your inputs....
Thanks,
Rahul.Hi simran,
Thanks for the reply find the below error details
WAS:
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether a SAP system is defined in the system object
4. Validate the following parameters: WAS protocol; WAS host name
5. Checks if the host name of the server can be resolved.
6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. The system object represents an SAP system
4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (abc:8000)
5. The host name abc was resolved successfully.
6. The Web AS ping service http://abc:8000/sap/bc/ping was not pinged successfully. If the ping service is not activated on the Web AS, you can try to call the ping service manually.
7. An HTTP/S connection to http://abc:8000/sap/bc/webdynpro/ was not obtained successfully; this might be due to a closed port on the Firewall.
ITS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether the system object has a valid system alias
4. Check whether a SAP system is defined in the system object
5. Validate the following parameters: ITS protocol; ITS host name
6. Checks if the host name of the server can be resolved.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. Retrieval of the default alias was successful
4. The system object represents an SAP system
5. The following parameters are valid: ITS Protocol (http) ITS Host Name (abc:8000)
6. The host name yashcpgone.sapyash.com was resolved successfully.
7. An HTTP/S connection to http://abc:8000/sap/bc/gui/sap/its/webgui was not obtained successfully; this might be due to a closed port on the Firewall.
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly -
How to delete a portal system object?
Hello,
i've created a portal system object in the system landscape of the portal content with the template KM Windows System. Now i want to delete the created system object. How i can do this?
Best regards,
TomSdHi,
You only have 'Read' Permission for your system. In order to delete it,log in to the portal using as a superadministrator(the user who has 'Full Control' or 'Owner' permissions for all objects in portal).
Go to System Administration->Permissions. Right click on the system that you intend to delete and open 'Permissions'.
In the 'Search for' Input field type in your username and select'Users'in the dropdown .Add the user and assign 'Full Control' for the user.
Login to portal using your userid.Now you will be able to delete the user by rightclicking on the system and clicking on 'Delete'.
Regards,
Srinath -
System object with same credentials for all users?
Hi everyone
I would like to create a system object in Portal, which can be used by users in a specific group. However, I want all users to use the same credentials for this system. Is this possible?
I've tried creating systems, but they all seem to require user mapping to work correctly. Is there some way I can create a system object with the credentials as part of the object, and then just assign permissions to it as required?
Please let me know if this raises any questions.
Thanks
Stuarti dont think it is possible to create a system object for all the users with same credentials.anyways you are trying to create system object for some users who belong to a particular group.so you need to do only one time user mapping for that group
go to user administration-search for the group-go to user mapping tab-give username and password..
reward points if helpful -
Error while creating a system object for R3 in portal
Hi,
I am getting error while trying to create a system object in portal.
Following are the details I used :
Under WAS...
Web AS Host Name :<XXXX>:8001
Web AS path: /sap/bc/bsp/sap/
Web AS protocol : http
Under User management:
Authentication Ticket Type : SAP Logon Ticket
Logon Method :SAPLOGONTICKET
User Mapping Type : admin,user
Under Connector:
SAP Client : <Client NO>
SAP System ID : <System ID>
SAP System No : <System No>
System Type : SAP_R3
While trying with connection test... I am getting like this:
SAP Web AS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether a SAP system is defined in the system object
4. Validate the following parameters: WAS protocol; WAS host name
5. Checks if the host name of the server can be resolved.
6. Pings the server to see if it is alive.
7. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
8. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. The system object represents an SAP system
4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (<FQDN server name>:8001)
5. The host name <FQDN Server Name> was resolved successfully.
6. The server sapdwh01 could not be pinged successfully.
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
It seems that the portal is not able to ping to R3 system. I tried to ping to R3 server from portal server by command prompt. I am able to ping. Also under SICF, I can see ping service as in activated state.
Kindly help.
Regards,
Niraj
Edited by: Niraj Kumar on Dec 11, 2008 10:41 AMI created a SAP Transactional iView for transaction SE80.
Also, I tried from under System Administration -> Support -> SAP Transaction. It is not working.
Got portal Runtime error :
Portal Runtime Error
An exception occurred while processing your request
Exception id: 12:57_11/12/08_0003_2795650
See the details for the exception ID in the log file.
Regards,
Niraj -
How to create a system object in portal that points to a web dispatcher
Hi,
How do we create a system object in the portal for a web dispatcher? The web dispatcher in turn points to an ECC system. The path for communication is EP>Web Dispatcher>ECC
Regards,
SrideviHi,
Connection test for the following succeeded:
1. SAP Web AS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether a SAP system is defined in the system object
4. Validate the following parameters: WAS protocol; WAS host name
5. Checks if the host name of the server can be resolved.
6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. The system object represents an SAP system
4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (mtw02spwp02:80)
5. The host name mtw02spwp02 was resolved successfully.
6. The Web AS ping service http://mtw02spwp02:80/sap/bc/ping was not pinged successfully. If the ping service is not activated on the Web AS, you can try to call the ping service manually.
7. An HTTP/S connection to http://mtw02spwp02:80/sap/bc/bsp/sap was obtained successfully.
2. ITS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether the system object has a valid system alias
4. Check whether a SAP system is defined in the system object
5. Validate the following parameters: ITS protocol; ITS host name
6. Checks if the host name of the server can be resolved.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. Retrieval of the default alias was successful
4. The system object represents an SAP system
5. The following parameters are valid: ITS Protocol (http) ITS Host Name (mtw02spwp02:80)
6. The host name mtw02spwp02 was resolved successfully.
7. An HTTP/S connection to http://mtw02spwp02:80/sap/bc/gui/sap/its/webgui was obtained successfully.
Next test for SSO failed:
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
Regards,
Sridevi -
Do we need to create or actiovate any system objects for ess mss applicatio
Hi
I am new to ESS MSS business packages.i know we need to activate 5 pairs of JCO destinations,
do we need to create or activate any system objects ,because ess mss applications contains transactional iviews also
how they will communicate.once you placed the portal content, the default system objetcs for ESS and MSS are delivered by SAP only, we need to configure the same like JCO destinations.,
-
Why when I create a object in system automaticlly store in $TMP?
Hi, all
As title, when I create a object in my quality system , always automatically store the object in the $TMP,
I have to modify it from menu Goto->Object Directory Entry-> Change Package.
I hope when I crate a object automatically store in the package NOT $TMP.
Edited by: xuehui li on Jul 9, 2010 4:50 AMHi, But when I create a new DTP NO asking me let me create or select a place to store. Just automatically store in $TMP immediately!
So I have to go to menu 'Goto-> Object Directory Entry->' modify the package from $TMP to my working package.
so it is very strange! I think for sure there is somewhere to set up this option to DONOT store at $TMP automatically instead of asking for me store in where.
Edited by: xuehui li on Jul 9, 2010 5:20 AM
Edited by: xuehui li on Jul 9, 2010 5:22 AM -
System Exception:OSoftResSvrAdm.Handle Creat ActiveX Object Error at Admin
Hi Experts,
While logging into the BPC admin client, we are facing the following errors:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: OSoftResSvrAdm.Handle Creat ActiveX Object Error at Admin Server
at OSoft.Services.Webservice.AdminMainService.AdminMainService.GetText(Int64 intStringNum, String& strReturnString, String sParam1, String sParam2, String sParam3, String sParam4, String sParam5)
at OSoft.Services.Webservice.AdminMainService.AdminMainService.LoadRes()
at OSoft.Services.Webservice.AdminMainService.AdminMainService..ctor()
--- End of inner exception stack trace ---}
We have been facing this issue since the time the server was restarted after changing the admin password.
Please help us in resolving this issue.
Thanks in advance.
MeeraSo you changed the pwd for installation user of SAP BPC.
After you performed this change did you open Server Manager and go to Reset Credential link?
There you have to input the new pwd for installation user.
After that try to login again using BPC client.
Regards
Sorin Radulescu -
Creating Activity object for a Service Request object...
<b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
drangineni
New Contributor
Ho do we use Activity object of a Service Request object. I am trying to
create an Activity object for a existing Service Request object.
I am looking for some sample code.
I greatly appreciate your help.
Product: CRM OnDemand
11-26-2006 12:40 PM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
drangineni, What programming language are you using?
BS
12-04-2006 10:56 AM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Hi, I am using C# .
12-04-2006 07:40 PM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
drangineni, assuming you know the service requestid or externalId of the
Sr you are dealin gwith you would first set that value.
ServiceRequest1[] objSRList =new ServiceRequest1[1];
objSRList[0] = new ServiceRequest1();
objSRList[0].ServiceRequestId = <YourSRId>;
Then you create an array of activities and initialize the first one:
objSRList[0].ListOfActivity = new Activity[1];
objSRList[0].ListOfActivity[0] = new Activity();
Now set the data fields
objSRList[0].ListOfActivity[0].Subject ="My Subject";
objSRList[0].ListOfActivity[0].Description ="My Description";
objSRList[0].ListOfActivity[0].Display = "Task"; //valid values are either
"Task" or "Appointment"
Then call the ServiceREquestInsertOrUpdate method on the ServiceRequest
WebService and pass in the above variable.
BS
12-06-2006 12:36 PM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Thank you BigSlick.
The following error is thrown when I use the
ServiceRequestInsertOrUpdate(objInput)
"No user key can be used for the Integration Component instance 'Service <br/>
Request_Action'.(SBL-EAI-04397)"
When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
thrown and the Activity gets added, but a new Service Request object is
created, but the Activity gets added to an existing Service Request
object. I greatly appreciate your help.
The following is the code:
int ActivityLength = 0;
WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
WSOD_ServiceRequest.ServiceRequest1[1];
ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
ServiceRequest[0].ListOfActivity = new
WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
ServiceRequest[0].ListOfActivity[ActivityLength].Description =
this.txtDescription.Text;
ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
WebSelfService.WSOD_ServiceRequest.ServiceRequest();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
objInput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
objOutput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
objInput.ListOfServiceRequest = ServiceRequest;
Session objSession;
objSession = (Session) Application["Session"];
prxySrvcRequest.Url = objSession.GetURL();
try
objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
catch(Exception e)
12-09-2006 09:53 AM
Re: Creating Activity object for a Service Request object...
drangineni
New Contributor
Thank you BigSlick.
The following error is thrown when I use the
ServiceRequestInsertOrUpdate(objInput)
"No user key can be used for the Integration Component instance 'Service <br/>
Request_Action'.(SBL-EAI-04397)"
When I use the prxySrvcRequest.ServiceRequestInsert(objInput), no error is
thrown and the Activity gets added, but a new Service Request object is
created, but the Activity gets added to an existing Service Request
object. I greatly appreciate your help.
The following is the code:
int ActivityLength = 0;
WSOD_ServiceRequest.ServiceRequest1[] ServiceRequest = new
WSOD_ServiceRequest.ServiceRequest1[1];
ServiceRequest[0] = new WSOD_ServiceRequest.ServiceRequest1();
ServiceRequest[0].ServiceRequestId = this.Request.QueryString["id"];
ServiceRequest[0].ListOfActivity = new
WebSelfService.WSOD_ServiceRequest.Activity[ActivityLength + 1];
ServiceRequest[0].ListOfActivity[0] = new WSOD_ServiceRequest.Activity();
ServiceRequest[0].ListOfActivity[ActivityLength].Description =
this.txtDescription.Text;
ServiceRequest[0].ListOfActivity[ActivityLength].Display = "Task";
ServiceRequest[0].ListOfActivity[ActivityLength].Subject = "My Subject";
WSOD_ServiceRequest.ServiceRequest prxySrvcRequest = new
WebSelfService.WSOD_ServiceRequest.ServiceRequest();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input
objInput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Input();
WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output
objOutput = new
WebSelfService.WSOD_ServiceRequest.ServiceRequestWS_ServiceRequestInsertOrUpdate_Output();
objInput.ListOfServiceRequest = ServiceRequest;
Session objSession;
objSession = (Session) Application["Session"];
prxySrvcRequest.Url = objSession.GetURL();
try
objOutput = prxySrvcRequest.ServiceRequestInsertOrUpdate(objInput);
catch(Exception e)
12-10-2006 08:49 AM
Re: Creating Activity object for a Service Request object...
BigSlick
Valued Contributor
Ah yes, I forgot you also need to specify a unquie Id for the activity.
It's kinda strange.
Try adding this:
ServiceRequest[0].ListOfActivity[ActivityLength].ActivityId = "DummyId";
//OD will overwrite this with a real Id
Or if you have a unquie ID for your Activities you can use:
ServiceRequest[0].ListOfActivity[ActivityLength].ExternalSystemId = <Your
Unique Value>;
Hope that helps,
BS
12-11-2006 10:52 AM
Re: Creating Activity object for a Service Request object...
surgientweb
New Contributor
Hi all,
I have a similar problem, but mine is returning a message that field
"Display" is required. Looking at this post and the documentation it is
obvious that Display is a required field, but my WSDL did not include a
field called "Display", so my proxy did not generate one.
I tried adding a field called Display to the WSDL and the proxy class, but
I get a different error... I figure I maybe cannot add it manually like
that - but I think the bigger problem is it is not part of the WSDL that
Siebel OD generates for me in my admin account.
On top of that Display is not shown in the list of fields for Activity
through the admin interface.. is it possible my account is bugged? Am I
missing something simple here? BigSlick, I see you mention a .Display in
your code sample so I thought you might understand what is wrong. Here is
my code (I am trying to add a activity to a lead).
Thanks for any insight into this!
private void InsertLeadActivity(Session session, NameValueCollection data,
string leadID)
try
if (blnDebug)
Response.Write("Setting up Activity<br>";
// instantiate the proxy service
Activity_Service.Activity activityProxy = new Activity_Service.Activity();
// set up the target URL
activityProxy.Url = session.GetURL();
activityProxy.CookieContainer = session.GetCookieContainer();
// set up input argument
ActivityNWS_Activity_Insert_Input input = new
ActivityNWS_Activity_Insert_Input();
input.ListOfActivity = new Activity1[1];
input.ListOfActivity[0] = new Activity1();
if (blnDebug)
Response.Write("Getting Data<br>";
// dg note: name value
// input.ListOfActivity[0].MrMrs = data["MrMrs"];
input.ListOfActivity[0].LeadId = leadID.ToString();
input.ListOfActivity[0].Description = DataToString(data);
input.ListOfActivity[0].Subject = "Website Submission Activity";
input.ListOfActivity[0].Priority = "3-Low";
//input.ListOfActivity[0].DueDate =
DateTime.Now.AddDays(7).ToShortDateString();
input.ListOfActivity[0].Owner = this.defaultLeadOwner;
input.ListOfActivity[0].Type = "Call";
//input.ListOfActivity[0].Display = "Task";
input.ListOfActivity[0].ActivityId = "DummyId";
input.ListOfActivity[0].ExternalSystemId = "web";
activityProxy.Activity_Insert(input);
catch (Exception exInsertActivity1)
if (blnDebug)
Response.Write("<br>Error inserting activity.<br><br>" +
exInsertActivity1.ToString() + "<br>";
01-06-2007 05:05 PM
Re: Creating Activity object for a Service Request object...
surgientweb
New Contributor
Figured it out.. the field "Display" is also known as "Activity"........
Here are some notes for other people.. good luck and feel free to write me
at raskawa-at-gmail-com if you want a code sample.
Some unpublished nice to knows for Siebel On Demand Activities....
In summary:
- .Activity is also known as Display in documentation and on the error
messages coming back from the WS. Also, it appears based on these boards
some people actually have a .Display field. Maybe different accounts
generate different WSDL's.... buggy.
- If a error message is thrown saying "Description is required" it really
means "Subject is required" (make sure .Subject has a value)
- If a error message is thrown complaining that ActionType is not right..
that is really .Type.. make sure it's lookup value is valid for the
dropdown values in your CRM OD system.
My code/values that worked..
input.ListOfActivity[0].LeadId = leadID.ToString();
input.ListOfActivity[0].Description = DataToString(data);
input.ListOfActivity[0].Subject = "Website Submission Activity";
input.ListOfActivity[0].Priority = "3-Low";
//input.ListOfActivity[0].DueDate =
DateTime.Now.AddDays(7).ToShortDateString();
input.ListOfActivity[0].Owner = this.defaultLeadOwner;
input.ListOfActivity[0].Type = "Call";
input.ListOfActivity[0].ActivityId = "DummyId";
input.ListOfActivity[0].ExternalSystemId = "web";
//input.ListOfActivity[0].Display = "Task"; //doesn't work
input.ListOfActivity[0].Activity = "Task"; //does work.
01-06-2007 05:17 PM
Re: Creating Activity object for a Service Request object...
raskawa
First Time Contributor
Hi,
This is surgientweb (under my own login now..)
Anyway, I wanted to add that I figured out that there are two ways to add
a Activity to a Lead. Via the Lead object (by getting a ListOfActivities)
OR by creating a Activity directly and just adding your "LeadID" to it (or
you can also add a "ContactID" to relate the activity to a Contact.)
Feel free to email me for a code example (raskawa....at....gmail)
-David
01-09-2007 02:58 PMHi Stephane,
You can definitely read the categories using Tables in CRM. The logic is a bit complicated though.
Use the following steps to retrieve Categories using Std. CRM Tables:
1. Pass transaction GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
2. Now you need to concatenate these 3 fields values carefully like this:
CONCATENATE lv_catelog lv_codegrp ' ' lv_code into lv_category1.
Remember there are 4 spaces between lv_codegrp and lv_code.
3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
4. Pass this lv_objguid in field OBJ_GUID and LNK_TYPE = 'IS_CODE' in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
Remember this lv_cat_text is the text value of your last level of category of transaction.
6. To get its upper cateogry level value, simply use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
Hope this helps.
Thanks
Vishal
Maybe you are looking for
-
How can I transfer Music from my iphone 4s to my mac?
I can't figure out how to transfer Music from my iPhone 4s to my Mac. I read somewhere that iCloud can do this, but I couldn't find how to do it; I don't see Music in my iCloud. And connecting the iphone to the Mac doesn't show anywhere to transfer,
-
Hi , i am getting time_out dump when i am innerjoining MAPL and PLPO tables. SELECT mapl matnr mapl werks mapl plnty mapl plnnr mapl plnal plpo plnkn plpo zaehl plpo vgw04 FROM mapl INNER JOIN plpo ON mapl plnnr = plpo plnnr
-
How to upgrade VA01 performances
Hi, I'm having problem when updating material details in schedule line in tcode Va01. Whenever scrolling the items (eg: there are 21 materials) at the header screen or entering and exiting item level screen, it will take more than 30secs. Can anyone
-
Using ipod classic with altec lansing inmotion im600
has anyone had any experience where the music just stops and the display goes to the battery full pattern while in the middle of playing music through a dock? this has been happening with my ipod and it doesn't seem to happen when it's not connected
-
Time Machine and renamed files
Hi. Stupid question time. External HD for TM, set up for once a week. I have multiple gigs of video files, for which I'm considering changing my naming convention. If I rename the files but don't make any other changes, will Time Machine back them up