Skip to main content

All articles

C4C Message Handling insights

Submitted by Stefan Barsuhn on

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.

Tags

Identify which transport an object is located in

Submitted by Stefan Barsuhn on

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:

Tags

CRM: BPATH- sorting

Submitted by Stefan Barsuhn on

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:

Tags

SAP: Get the callstack in ABAP

Submitted by Stefan Barsuhn on

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.

Tags

Tables that store ODATA fields

Submitted by Stefan Barsuhn on

The entities/properties of ODATA services are stored in the tables starting with /IWBEP/I_SBO_*

Example:

  • entities: /IWBEP/I_SBO_ET
  • properties: /IWBEP/I_SBO_PR  

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 .

Tags