Ansicht
Dokumentation

PBS_0104 - Define Message Extractor

PBS_0104 - Define Message Extractor

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity you define the message extractor for the enhancement. You define in detail how the target field should be filled from the data source for filter MSGEXTR.

As the data source, you can the specify the message short and long text, the message variables or, for a special case for messages of the availability control, you can specify a concatenation of message variables three and four.

As the target you can choose any field of the enhancement. A data conversion into the format of the target field always takes place which, for example, allows the addition of numerical values in the SAP List Viewer.

The following example should illustrate how the target field is filled from the data source:

  • Message class: FMAVC
  • Message: 005
  • Field of enhancement (target field): FIPEX
  • Data source: Message variables three and four linked
  • Separator: /
  • Token: 7

This entry fills the field FIPEX if message 005 is displayed from message class FMAVC. As the commitment item is encrypted in message variables three and four, the exact text from the whole linked text of variables three and four should be taken from the word that is in the seventh position, whereby the individual words are split by /.

You can find out the content of the message variables by looking at the display report Customer-Defined Mass Processing of PBC Messages (RHRFPM_APPL_LOG_DISPLAY).

In addition to the separator there is also a sub-separator and the sub-token. With these you can subdivide the text determined in the first step a second time according to the principles described below:

  • Message class, message enhancement field (target field): any
  • Data source: short text
  • Separator: space
  • Token: 3
  • Sub-separator: /
  • Sub-token: 2

The message text is for example : "Account assignment A/B/C/D is invalid". In the first step, the message short text is split at the space and the third substring is read. The result is A/B/C/D. This substring is now processed further, split at character / and the second character is read. The final result is B.






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

Length: 2693 Date: 20240523 Time: 220733     sap01-206 ( 49 ms )