Application Development 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: 

duplicate entry to IW52 for adding long text by BAPI_ALM_NOTIF_DATA_ADD

Former Member
0 Kudos

hi

i m using BAPI_ALM_NOTIF_DATA_ADD to add long text to a notification no against a particular codegroup and code,i m also using BAPI_NOTIF_SAVE and also commiting the bapi,but my problem is as the long text gets created it leaves a duplicate entry of the entire record in t-code IW52,along with the same code group and code,can anyone tell me how to avoid this duplicate entry ,yet when one netry exists in IW52 the long text should be appended to the same .

2 REPLIES 2

Former Member
0 Kudos

Hi,

Try this...call function READ_TEXT to get existing text then call function DELETE_TEXT to delete existing text. Append new long text to existing long text and call your BAPI.

Cheers.

...Reward if useful

0 Kudos

HI

I do not want to delete the long text ,i want to delete the next row with codegroup and code on transaction IW52 which comes as a duplicate entry of the existing one,infact long text will be appended to the previous existing codegroup and code.