SAP Function /SAPSMOSS/03_READ_MEMO - Read memos from OSS and store in notification

Parameter Reference Type Length Default Optional Text
I_KZMLA QMEL-KZMLA C 1 Language indicator for long texts
I_KZ_NOT_NEW QKZ C 1 SPACE X Indicator: Notification newly created in CCC system
I_MANUM_MAX QMMA-MANUM N 4 Highest task number
I_QMNUM QMMA-QMNUM C 12 Number of existing notification
I_TQ80 TQ80 u 441 Data for notification type

Parameter Reference Type Length Text
E_MANUM_MAX QMMA-MANUM N 4 New highest task number

Parameter Reference Length Optional Text
T_HEADER_LONGTEXT TLINE 134 X Table of notification long texts
T_MEMO_HEADER /SAPSMOSS/MEMO_HEADER 55 Table of memo headers from SAP
T_MEMO_LINES /SAPSMOSS/MEMO_LINES 76 Table of memo long texts from SAP
T_QMSM WQMSM 725 Table containing the new tasks to be created
T_QMSM_TAB WQMSM 725 X Table containing the notification tasks in CCC system
T_TASK_LONGTEXTS /SAPSMOSS/QMSM_TLINE 142 X Table of long texts for tasks

Functionality
This function module processes the memo tables supplied by the OSSfunction module BCSN_CUST_MESSAGE_DETAIL_READ from SAP.
Two scenarios are supported:

  • The affected notification already exists in the CCC system.

  • The memos are then converted to tasks (whereby the system sets the tasknumbers to a values greater than i_manum_max).
    • A notification exists at SAP, but not in the CCC system.

    • The memo with the memo category "notification text" is returned as thenotification long text. The remaining memos are converted to tasks,whereby the long texts are returned in tables and not written directlyto the database (as in the first case).