Ansicht
Dokumentation

CRM_MESSAGES_MAKE_LONGTEXT - Langtext aus Meldungsliste erzeugen

CRM_MESSAGES_MAKE_LONGTEXT - Langtext aus Meldungsliste erzeugen

Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module prepares a "bullet list" from a list of system messages "Bullet-Liste" in ITF text format, which can then be specified in function module CRM_MESSAGE_COLLECT via parameter IT_LONGTEXT.

The result is that the list of individual messages prepared in the above manner are attached to the (static) long text of the collected message.

Example

You call an external service X, which is not only able to return a message, but also a set of messages in a table of structure BAPIRET2. If you transfer this table to module CRM_MESSAGES_MAKE_LONGTEXT, a SAPScript text is generated, which lists the generated messages in the long text. Next, call the module CRM_MESSAGE_COLLECT to collect your own message "Service X could not be executed"; by doing so, you transfer the generated SAPScript long text.

If the user now receives the message "Service X cannot be executed" in the application log, he finds the detailed log with all messages collected by Service X in the long text for this message.

Notes

Further information





Parameters

CT_LONGTEXT
IS_MSGH
IT_BAPIRETURN
IT_EVENT_RCODE
IT_MSGH

Exceptions

Function Group

CRM_MESSAGES

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1515 Date: 20240523 Time: 103344     sap01-206 ( 46 ms )