Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Long text Creation For Notification using BAPI_ALM_NOTIF_CREATE

Former Member
0 Likes
1,282

Hi Gurus,

I want to create long text for notification in iw21 using BAPI_ALM_NOTIF_CREATE , i am able to creat a notification but long text is not coming in notification PL help me what data i ned to pass for long text creation for notification

Regards

Babumiya Mohammad

Hi Gurus,

I want to create long text for notification in iw21 using BAPI_ALM_NOTIF_CREATE , i am able to creat a notification but long text is not coming in notification PL help me what data i ned to pass for long text creation for notification

Regards

Babumiya Mohammad

2 REPLIES 2
Read only

Former Member
0 Likes
691

Hi,

Use table 'LONGTEXTS' in the BAPI and it has to be filled as below:

When you create a long text, the fields OBJTYP and OBJKEY must be filled. OBJTYP can have the following values:

1. QMEL - Notification header

2. QMFE - Notification item

3. QMUR - Notification cause

4. QMSM - Notification task

5. QMMA - Notification action

OBJKEY must have the corresponding sort field for the values named above. The combination of sort field of item/cause, item/task and item/action must be unique within a notification. If you leave the sort field empty and the OBJTYP = QME, then a long text is created for the notification header.

In the field REFOBJECTKEY an external reference can be transferred. The link between external reference keys and R/3 keys is transferred in the export table KEY_RELATIONSHIP. If the fields SENDER, REFOBJECTTYPE and REFRELTYPE are filled, then an object link can be created at notification header level.

Regards,

Himanshu Verma

Read only

former_member431412
Participant
0 Likes
691

I am having same problem as you did. Have you found a resolution? If so, please tell me how.

Thanks