SAP CRM: Marketing Segmentation/Target Group Management
Quick note to self - SAP provides the following reports to manage segmentation and target groups:
Quick note to self - SAP provides the following reports to manage segmentation and target groups:
Wow, this is one for the history books ...
So we had this weird issue during replication from ERP that C4C would throw an error
The BO 'CUSTOMER_QUOTE' supplied with the message does not match the BO of the current service call; within a service call, it is not allowed to raise messages for other BOs; application component 'LOD-LE-CQP
Nothing was showing in the Dump logs and the Incident Context was inconclusive.
If you're trying to find out in which transport a particular object was changed, you can go to SE03 and use the standard search transport request function. To do that, though, you need to know not only the object name but also the program type etc. - essentially, you need to specify what the entry looks like in the transport request, which may be a bit bothersome.
An easier solution is to look up the corresponding database tables correctly:
CRM Action processing conditions are evaluated in function module SWJ_EVALUATE_PARA_CONDITION
For the actual evaluation set breakpoint in CL_SWF_RLS_BINARY_COMPOP=>IF_SWF_RLS_COMPOP~EVALUATE
If you want to sort on your BPATH statement, the explanatory article by SAP provides an example that starts from the root node. So if you want to sort a subnode (say to return the standard phone number (irrespective if it's mobile or landline), do it as follows:
BuilStandardAddressRel/BuilStandardAddressPhoneRel/~*[!STD_NO:DT,*]/@CALLER_NO
Explanation:
Attachments of a CRM order object cannot be retrieved via relation. You need to perform a separate BOL query.
This is how SAP ODATA converts the URL query string (e.g. $filter) into the nice select options that you can access in your ABAP code.
The flow is as follows:
Just a few random tricks how to work with the UI DEsigner scripts:
To get the callstack in ABAP, simply call the following line:
DATA(lt_callstack) = cl_abap_get_call_stack=>format_call_stack_with_struct( cl_abap_get_call_stack=>get_call_stack( ) ).
Then you can access the callstack the same way you see it in the debugger, e.g. the name of the program will be in lt_callstack-progname.
The entities/properties of ODATA services are stored in the tables starting with /IWBEP/I_SBO_*
Example:
The project can be selected in plain text, but to get the properties of a specific entity, you need to enter by the NODE_UUID of the entity (from table /IWBEP/I_SBO_ET) in field PARENT_UUID of table /IWBEP/I_SBO_PR .