Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Long text is not being populated in Creating Notification (IW51) using BAPI

I am trying to create the notification using BAPI u2018BAPI_ALM_NOTIF_CREATEu2019, but long text is not being populating in the notification. Where in tcode IW51, I can see the long text. I believe the long text passed thru BAPI should appear in tcode IW51 in SUBJECT block below field DESCRIPTION.

I am using following code to populate the long text internal table:

DATA: gi_notfulltxt TYPE STANDARD TABLE OF bapi2080_notfulltxti
                                               WITH HEADER LINE.

* Create Header Long Text
gi_notfulltxt-objtype    = 'QMEL'.
gi_notfulltxt-text_line  = 'Long Text 1'.
APPEND gi_notfulltxt.
CLEAR gi_notfulltxt.
gi_notfulltxt-objtype    = 'QMEL'.
gi_notfulltxt-text_line  = 'Long Text 2'.
APPEND gi_notfulltxt.

I have tried with gi_notfulltxt-objtype = 'QME' also but without result.

Please tell if I am doing something wrong and also how to verify the long text in IW51.

Former Member
Not what you were looking for? View more on this topic or Ask a question