Convert customers of type person to organization
Hello Everyone,
Is it possible to convert a party type of person to organization by some TCA API?
Hi JayPatwa,
I did that on an 11.5.10.2 installation. Hope that it work on R12.
We split the organization name into first,middle and last names based on some logic. When we queried the customer from front end, all three parts of the name were displayed.
Below are the major steps that I followed. Of course, I had to remove the details due to company policies :)
Check the interface table documents about the PERSON_FLAG ...there was something to be wary of regarding this column.
--set person flag
l_person_flag:='Y';
--split name into first, middle and last
l_last_name :=last_name;
l_middle_name :=middle_name;
l_first_name :=first_name;
--obtain the orig_system_reference from hz_parties
SELECT orig_system_reference
INTO l_add_ref
FROM hz_parties
WHERE party_number=consumer_id;
--insert into ra_customers_interface_all
INSERT INTO ra_customers_interface_all
orig_system_customer_ref
,insert_update_flag
,customer_name
,customer_name_phonetic
,person_flag
,person_first_name
,person_last_name
,customer_status
,customer_attribute_category
,customer_attribute5
,customer_attribute6
,last_updated_by
,last_update_date
,created_by
,creation_date
,last_update_login
,url
VALUES
l_add_ref
,'U'
,l_consumer_name
,'Alternate Name'
,l_person_flag
,l_first_name
,l_last_name
,'A'
,'Input extra consumer details'
,consumer_class
,consumer_catg
,FND_PROFILE.VALUE('USER_ID')
,SYSDATE
,FND_PROFILE.VALUE('USER_ID')
,SYSDATE
,FND_PROFILE.VALUE('LOGIN_ID')
,consumer_url
--obtain the orig_system_reference
--if the orig_system_reference does not exist then generate a new orig_system_address_reference
--after checking that the customer exists in hca_cust_accounts
SELECT hcasa.orig_system_reference
INTO l_cust_address_ref
FROM hz_cust_acct_sites_all hcasa
,hz_cust_accounts hca
,hz_parties hp
WHERE hp.party_id=hca.party_id
AND hca.cust_account_id=hcasa.cust_account_id
AND hp.party_number=consumer_id;
--insert into ra_customers_interface_all (for address details)
INSERT INTO ra_customers_interface_all
orig_system_customer_ref
,orig_system_address_ref
,insert_update_flag
,customer_name
,person_flag
,customer_status
,person_first_name
,person_last_name
,address1
,address2
,address3
,address4
,city
,province
,state
,country
,postal_code
,org_id
,last_updated_by
,last_update_date
,created_by
,creation_date
,last_update_login
VALUES
l_add_ref
,l_cust_address_ref
,'U'
,l_CONSUMER_name
,l_person_flag
,'A'
,l_first_name
,l_last_name
,address1
,address2
,address3
,address4
,'abcd'
,NULL
,'abcd'
,country
,l.postal_code
,fnd_profile.VALUE('ORG_ID')
,fnd_profile.VALUE('USER_ID')
,SYSDATE
,fnd_profile.VALUE('USER_ID')
,SYSDATE
,fnd_profile.VALUE('LOGIN_ID')
--submit RACUST programHope this helps.
Regards,
Sujoy
Similar Messages
-
Replicating the ERP Customers to CRM Persons and organizations
Hello All
Currently we want to replicate the customers from the ERP to CRM, I am confused which classifications in CRM I should replicate the ERP customers to. Also if I choose to replicate to classification (B u2013 Customers) how can I replicate the persons as persons and the organizations as organizations.
Regards
JacopoHi Jacopo,
Kindly follow the below steps to achieve your requirement.
1.Employees/Persons are created in ECC as customers (Should be the copy of Sold to Account Group to Z-Account group). This scenario comes when employees are not downloaded from HR module.
2.User Exit - Z_PI_BP_ROLE_MAP_DE_EIOUT, to be implemented in ECC to map the Z Account Group to the Role in CRM. (BUP003 u2013 Employee)
3.By, Default, Employees/Persons getting downloaded as ORGANIZATION and Role Sold-to-party.
BUPA_INBOUND BAdI to be implemented in CRM for converting BP Category to PERSON and Role to EMPLOYEE.
4.Customers (Sold-to-party and others) are downloaded from ECC to CRM based on the criterion you define in your object.
5.Employees/Persons are also replicated by the same adapter object CUSTOMER_MAIN which brings Customers as a person in CRM.
If custom roles are defined in CRM, check SAP Note # 914437, the standard BTE which maps ECC account groups to CRM Business Partner Roles should be enhanced using a custom User exit in ECC to map custom BP role in CRM to the account grp in ECC.
The above steps will surely help you to solve your problem.
Regards,
Chandrakant -
Convert mhtml document to place in organizer
How do I get a mhtml document into photoshop elements?
I appreciate the help. I found my solution through trial and error. I right click on document and save as jpeg and then import into pse. I am just learning and appreciate the help
Date: Mon, 4 Nov 2013 09:41:34 -0800
From: [email protected]
To: [email protected]
Subject: convert mhtml document to place in organizer
Re: convert mhtml document to place in organizer
created by MichelBParis in Photoshop Elements - View the full discussion
I suppose you want to save an mhtml page from your browser ? Which browser ?
Is your browser able to export as pdf ? Elements could open it.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5813645#5813645
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5813645#5813645
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5813645#5813645. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Display customers by Type on a web page
I can find any module for displaying customers by type on a web page.
The intention was to have customers entered under a specific Type, and then under a secure zone display them based on the customer type.
Anyon know how this can be done?
ThanksI have been working with BC (since Good Barry) for years and have had a few clients request the option for their members to create public profiles, so similar situation to what you are talking about. One workaround I have used is having the clients enter their CRM details first (in my case after they subscribe to a secure zone) and then directing them immediately to a page with the Web App Submission form. THAT form can then be pre-populated with the newly saved customer's CRM details using secure zone modules (E.g {module_workphone}, {module_workaddress} etc..). It is not ideal, but reasonably seamless from the client's point of view, as you can populate the form with hidden or read-only fields, meaning they don't have to enter their details twice.
Question for you, Mario - the problem I have always had is that obviously there comes a time when the client wants to update their profile and/or their details on file. I noticed that the EDIT layout of the webapps will NOT populate fields with the CRM modules - setting the values of the fields to {module_whatever} just won't work, as simple as it sounds.. So every time a client wants to (for example) UPDATE their contact details, they have to do it twice (once for the "Update Details" form and once for the "Profile Web App").
Is there ANY way around this? -
BAdI error : type of EXIT_REF1 cannot be converted to the type of EXIT_REF
Hi all,
The below was the posted earlier for BAdI. Ihave followed all the steps. And i have written the below code. Syntactically it is not showing any errors, but when i am activating i am getting error
like " The type of EXIT_REF1 cannot be converted to the type of EXIT_REF". where i am doing the mistake..??
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref. "" The type of EXIT_REF1 cannot be converted to the type of EXIT_REF"
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
Thanks in advance
krupali.Hi,
Both are of different types
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
Assiging one type another type is not allowed.
Rhea. -
So, I work on a legacy CF web site and there are numerous SELECT * FROM USERS_TABLE queries all over the site.
Well, we changed the structure of said table in the database on our Testing and Staging sites, with no issues.
When we pushed up to our production environment and changed the structure of the production DB table, the server kept kicking back "Value can not be converted to requested type."
After doing some searching out there, it looks like CF caches the structure of the table, and you either have to restart CF to clear it, or rename and then name-back the DSN to fix the issue.
http://www.bennadel.com/blog/194-ColdFusion-Query-Error-Value-Can-Not-Be-Converted-To-Requ ested-Type.htm
That said, this doesn't happen in our testing and staging environments - so what would be the difference?
Is there some setting I need to change in the CF Admin to keep this from happening again?Also, if you can use a Stored Procedure to retrieve the data, do so. Standard queries gets all the information, anyway, chokes bandwidth passing it all to the CF server, and forces the CF server to filter, sort, and format the data. SPs tell the db server to get ONLY the data requested, and forces the db server to filter and sort the data, leaving only formatting to the CF server.
That's not true. The only time CF messes with data returned from the DB is if there's a maxrows attribute, and the record set returnded from the DB has more than that number of records... which causes CF to truncate the recordset to the correct size before returning it. The DB might or might not stop sending rows down to CF after CF says "yeah, I've got all I want now".
Other than that, for all intents and purposes all CF does with the SQL is pass it to the DB and wait for an answer. The only thing it does to the returned data is to create a CF record set ("query") with it... this does not involve any filtering and sorting.
Adam -
Converting object wrapper type array into equivalent primary type array
Hi All!
My question is how to convert object wrapper type array into equivalent prime type array, e.g. Integer[] -> int[] or Float[] -> float[] etc.
Is sound like a trivial task however the problem is that I do not know the type I work with. To understand what I mean, please read the following code -
//Method signature
Object createArray( Class clazz, String value ) throws Exception;
//and usage should be as follows:
Object arr = createArray( Integer.class, "2%%3%%4" );
//"arr" will be passed as a parameter of a method again via reflection
public void compute( Object... args ) {
a = (int[])args[0];
//or
Object arr = createArray( Double.class, "2%%3%%4" );
public void compute( Object... args ) {
b = (double[])args[0];
//and the method implementation -
Object createArray( Class clazz, String value ) throws Exception {
String[] split = value.split( "%%" );
//create array, e.g. Integer[] or Double[] etc.
Object[] o = (Object[])Array.newInstance( clazz, split.length );
//fill the array with parsed values, on parse error exception will be thrown
for (int i = 0; i < split.length; i++) {
Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
o[i] = meth.invoke( null, new Object[]{ split[i] });
//here convert Object[] to Object of type int[] or double[] etc...
/* and return that object*/
//NB!!! I want to avoid the following code:
if( o instanceof Integer[] ) {
int[] ar = new int[o.length];
for (int i = 0; i < o.length; i++) {
ar[i] = (Integer)o;
return ar;
} else if( o instanceof Double[] ) {
//...repeat "else if" for all primary types... :(
return null;
Unfortunately I was unable to find any useful method in Java API (I work with 1.5).
Did I make myself clear? :)
Thanks in advance,
Pavel GrigorenkoI think I've found the answer myself ;-)
Never thought I could use something like int.class or double.class,
so the next statement holds int[] q = (int[])Array.newInstance( int.class, 2 );
and the easy solution is the following -
Object primeArray = Array.newInstance( token.getPrimeClass(), split.length );
for (int j = 0; j < split.length; j++) {
Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
Object val = meth.invoke( null, new Object[]{ split[j] });
Array.set( primeArray, j, val );
}where "token.getPrimeClass()" return appropriate Class, i.e. int.class, float.class etc. -
Value cannot be converted to requested type
hi.
can anyone tell me why i get the following error:
[sunm][Oracle JDBC Driver]Value can not be converted to requested type
I get this error when i try to execute a SQL query like the one below:
SELECT * FROM orders WHERE orders.date BETWEEN '20-SEP-05' AND '22-SEP-05'
this is not the exact query i am trying to excute, but serves the purpose of this forum post.
ideally, i'd like to use the "?" parameter instead of the dates written above. the application's user selects a StartDate and EndDate for his search. this should display a list of orders within that date range.
i have tried using several date formats, as well as the TO_DATE() function. i always get this error when using the "?" parameter but it displays the correct records when i use an actual date.
i also only get this error when working with dates. i can use the "?" parameter with no problems for any other table column.
someone please help!!How is the user selecting a start and end date? By using the calendar? You might need to convert the calendar's date into an SQL friendly date. For instance, try this:
somethingRowSet.setObject(1, (new java.sql.Timestamp(((java.util.Date)StartDate.getValue()).getTime()).toString()))You might also want to try turning on printStatements in the row set's properties. This will cause the row set to print out the parameters to the log file so you can then analyze what exactly the row set is doing.
Hope this helps.
-Jeff -
Exception --- Value can not be converted to requested type.Error Code: 0
Inside my query, I try to use function,like
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
sometimes query works fine and sometimes got following exception, can anyone here help me out..
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at com.cad.report.data.DocumentReturnedDataGenImpl.loadData(DocumentReturnedDataGenImpl.java:130)
at com.cad.report.data.AbstractDataGen.getReport(AbstractDataGen.java:96)
at com.cad.report.command.ProcessReportRequestOnMessage.run(ProcessReportRequestOnMessage.java:74)
at com.cad.registration.command.AbstractCommand.execute(AbstractCommand.java:106)
at com.cad.flow.core.Run.run(Unknown Source)
at com.cad.flow.core.WorkflowComponent.run(Unknown Source)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:238)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:135)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl.execute(WorkflowManager_uh667k_EOImpl.java:132)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_1001_WLStub.execute(Unknown Source)
at com.cad.util.WorkflowProxy.runWorkflow(WorkflowProxy.java:128)
at com.cad.kbd.messenger.listener.mdb.ReportRequestMDB.onMessage(ReportRequestMDB.java:84)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3964)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:988)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:780)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:562)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:457)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:481)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:825)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:791)
at oracle.toplink.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:518)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:451)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:965)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:878)
at com.cad.persistence.toplink.TopLinkPersistenceBrokerImpl.executeQuery(TopLinkPersistenceBrokerImpl.java:420)
at com.cad.report.data.DocumentSys.getSummitedDocumentNumber(DocumentSys.java:332)
at com.cad.report.data.DocumentSys.loadData(DocumentSys.java:110)
... 24 more
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BaseData.getTimestamp(Unknown Source)
at weblogic.jdbc.base.BaseResultSet.getTimestamp(Unknown Source)
at weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet.getTimestamp(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObjectThroughOptimizedDataConversion(DatabaseAccessor.java:1038)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:942)
... 45 moreHere is my code
ExpressionBuilder builder = new ExpressionBuilder();
ReportQuery query = new ReportQuery(RegistrationDetailImpl.class, builder);
query.addArgument("startTime");
query.addArgument("endTime");
query.addArgument("lro");
Expression lroCol = builder.get("lro");
Expression regDateCol = builder.get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_NUMBER_COL).get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_DATE_COL);
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
Expression timeExp = regDateCol.between(builder.getParameter("startTime"), builder
.getParameter("endTime"));
Expression lroExp = lroCol.equal(builder.getParameter("lro"));
query.setSelectionCriteria(timeExp.and(lroExp));
query.addCount();
query.addAttribute("regDate", formattedRegDateCol);
query.addGrouping(formattedRegDateCol);
query.addOrdering(formattedRegDateCol.ascending());
descriptor.getDescriptorQueryManager().addQuery("testquery", query); -
Autocomplete to FormField in custom EditForm of type Person or Group
Hi Experts,
if you create a new Edit List Form with SharePoint-Designer you will get the related FormFields from underlaying List.
Suppose you have a column of type 'Person or Group' but you want the autocomplete-Feature which the ClientPeoplePicker has, if you open an uncostomized Edit Form.
Is it possible to tell the FormField to render as ClientPeoplePicker or just autocomplete if it is a Person Field?
I know i can add a WebPart on my custom Edit Form. But what about binding? Separate methods with CSOM to update this Field?
I think i am missing some Basics here?
Any hints?
Thanks and best regards,
Ronny
Anybody?Trying to resolve the same issue: People picker functionality
changes for custom list forms
Have you had any luck? -
CRM 5.0 segmentation: person vs organization
In CRM 5.0 is it possible to:
<b>(1)</b> create a profile with organization attributes (e.g. sales volume),
<b>(2)</b> link these organizations to persons with specific relationships to the above organizations
<b>(3)</b> further refine the profile with specific attributes pertaining only to the persons from (2) above (e.g. title: vice president)
<b>(4)</b> have the final target list be <u>only</u> person business partner records
From the 5.0 release notes: <i>Selection using relationships increases the flexibility of your segmentation activities, particularly in business-to-business scenarios. When generating target groups, you can now select business partners based on both their personal data, as well as the data for their organization. The person and organization are saved with the target group.</i>
However, it is not clear to me from the above that I can limit my final target list to only persons (not the organizations).
My company targets only person business partners, not the organization, when performing marketing campaigns.
Thank you for your help - MattThank you, Gregor.
I'm still confused by the following portion of the release notes "<i>The person and organization are saved with the target group."</i>
It would be a problem for my company if organizations remained in the final target group.
Thanks again, Matt -
Create and change BP of type Person but only display BP of type Orgnization
Hi,
I would like to build a role which enables creation of BP of type person but only dispaly Bp's of type org unit. using B_BUPA_RLT auth obj we can only control whether we can dispaly or maintain BP's but we cannot control what kind of BP can be created and what can be displayed.
Is there any way to achieve this.
Thanks.Hi Neha,
To be able to restrict acces by business partner type the process needs to be defined in customizing. after the following authorization objects should be maintained:
B_BUPA_FDG Business Partner Relationships: Field Groups
B_BUPR_BZT Business Partner Relationships: Relationship Categories
B_BUPA_GRP Business Partner: Authorization Groups
<b>B_BUPA_ATT Business Partner: Authorization Types</b>
B_BUPA_RLT Business Partner: BP Roles
B_BUPA_FDG Business Partner: Field Groups
Hope this helps.
Cheers,
Damien -
Converting premitive data types into strings
Hello everybody,
I have a small doubt. Is it possible to convert all data types like int, boolean etc to strings. I know it is possible to convert them individually. But I would like to have it a common method to convert them all. Because I am reading the whole line, so it is taking as strings. I am unable to read their original data types, all are reading as strings.
Can anybody tell me how to solve this problem?
Thank you in advance,
Kashi.Hi all,
Thanx for your answers. But as I told you before I don't know the exact data type of those. Because I am reading whole file by using DataInputStream's readLine() method. It returns the whole line as String. If there are any integer or boolean etc, it converts them as strings. So I could not read the exact data type of them.
for example:
int a = 10;
boolean b = true;
String str = "The Values are" + a + b;
this code is in one file. If I read this file from another file, the line
String str = "The Values are" + a + b;
reads as a string, but I couldn�t get the 'a' as ineger and 'b' as boolean. it gives they are of strings.
Thanx,
Kashi. -
Hi, I'm working on a small Windows store App project using C# + XAML, and encountered a really weird problem with data binding in XAML. The error message is:
Error: Converter failed to convert value of type 'Neptune.MyMatch, SkyNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' to type
'ProgressableBase'; BindingExpression: Path='' DataItem='Neptune.MyMatch, SkyNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'MyControls.ProgressableViewControl' (Name='root'); target property is 'Progressable'
(type 'ProgressableBase').
Error: Converter failed to convert value of type 'Neptune.MyMatch, SkyNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' to type
'IMatchWrapper'; BindingExpression: Path='' DataItem='Neptune.MyMatch, SkyNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'MyControls.MatchScoreControl' (Name='root'); target property is 'Match' (type 'IMatchWrapper').
the XAML code snippet involved is:
<local:MatchScoreControl Match="{Binding Converter={StaticResource TestConverter}}" />
here:
1) The type of the 'Match' property of 'MatchScoreControl' is 'IMatchWrapper', the type of the DataContext is 'MyMatch';
2) 'MyMatch' is derived from 'ProgressableBase' and implemented
'IMatchWrapper';
3) below is the definition of 'MatchScoreControl' and its dependency property 'Match':
public sealed partial class MatchScoreControl : UserControl
public IMatchWrapper Match
get { return (IMatchWrapper)GetValue(MatchProperty); }
set { SetValue(MatchProperty, value); }
public static readonly DependencyProperty MatchProperty =
DependencyProperty.Register("Match", typeof(IMatchWrapper), typeof(MatchScoreControl), new PropertyMetadata(null, OnMatchPropertyChanged));
private static void OnMatchPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
// this line will never get called
Debug.WriteLine(e.NewValue.GetType().FullName);
} //more code...
4) TestConverter is a dummy value converter(IValueConverter) which does nothing just to make sure the binding object and target type is as expected:
public sealed class TestConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, string language)
if (targetType != typeof(IMatchWrapper))
throw new NotImplementedException("Error: targetType is not IMatchWrapper.....");
if (!(value is IMatchWrapper))
throw new NotImplementedException("Error: value is not IMatchWrapper...");
return (IMatchWrapper)value;
public object ConvertBack(object value, Type targetType, object parameter, string language)
throw new NotImplementedException();
When I run the app, none of the two exceptions in the TestConverter.Convert() is thrown, which is right and as expected. But the out window keeps throwing the error message as above. This is pretty weird!
I've tried adding a parameterless constructor to the class 'MyMatch', but it doesn't work.
Any suggestion would be appreciated!Good to know you have the solution and thanks for sharing the experience.
--James
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. -
Target group with attributes of persons and organizations
Hi,
we are using marketing attributes for persons and organizations.
Now, we want to realize a segmentation for organizations with marketing attribute productgroup xyz and persons with marketing attribute decider.
Is it possible to combine organizations with marketing attributes and persons with marketing-attributes in one target group?
thanksHi,
thank you very much for your answers!
Im sorry, I think my description was too short. I have the following situation / problem:
I am using InfoSet CRM_MKTTG_BP_ORG with business partner BUT000-PARTNER_GUID.
My person datasource based on Info Set CRM_MKTTG_BP_ORG and business partner BUT000_PER-PARTNER_GUID.
Furthermore Im using an attribute Set for organizational attributes and an attribute set for person attributes.
Now I want to build up a target group with persons who have specific attributes. The persons should be members of organisations with specific attributes.
Example: Persons with attribute decider should be member of organizations with attribute productgroup xyz.
We are using SAP CRM 5.0. I added the function modul CRM_MKTTG_PF_BP_TAB_TO_CP in my organization Datasource.
But I have problems to build up a profil set and a target group where I can combine the attributes of the organizations and the attributes of the persons. The counting result is 0.
I hope my description is understandable. Thank you in advance!
Volker
Maybe you are looking for
-
BUG: Power Manager fails to autostart
Alright, this topic is a continuation of my conversation with Lenovo support on Twitter, as it has been a while and we were unable to resolve this problem. Until recently I had Windows 7 x86 running perfectly normal with a number of ThinkVantage tool
-
Monitoring access to the clipboard/PrimarySelection?
// mainly a desktop problem, might also fit in the programming section, don't know, move as needed. While writing a little password manager for myself, I stumbled about the problem how to properly enter data into forms. I use xclip to fill the clipbo
-
A new Firefox window is opened when I click on pdf file but it is blank with no menu or toolbars. Have enabled plug-in and it seems ok.
-
Sales order attachments (e.g. Customer PO attached to sales order) interfac
Dear Experts, I am trying to find the solution on how can we interface the Attachments documents (e.g. customer PO in PDF format) attached to sales order (Via services for object) to webportal? I know how to attach the documents using GOS. But not th
-
Wireless Driver For Slax Pen Drive
Hi All! Well, dumb question here. I wanted to get Linux on my T60 2007-GAU, so I used Slax on a Spare 4gb USB Flash Drive. I get it to boot up great! Only problem is that the built in wireless driver doesn't detect my Wireless Network (while Windows