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

unable to create text using SAVE_TEXT FM

tharu
Contributor
0 Likes
618

Dear Experts,

I' m trying to automaticly create a text in Create measurement Document (IK11 in PM) when notification is created . For this in program IMRC0004 on exit i put FM SAVE_TEXT but its not working as it should.

BAPI_ALM_NOTIF_CREATE & BAPI_ALM_NOTIF_SAVE is used to create notification & in order to create text SAVE_TEXT is used.

But when the document is saved the specific text is not created. In debug the FM returns with no error.

Can anyone help me?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

Pass SAVEMODE_DIRECT = 'X' to the FM.

Rob

Dear Experts,

I' m trying to automaticly create a text in Create measurement Document (IK11 in PM) when notification is created . For this in program IMRC0004 on exit i put FM SAVE_TEXT but its not working as it should.

BAPI_ALM_NOTIF_CREATE & BAPI_ALM_NOTIF_SAVE is used to create notification & in order to create text SAVE_TEXT is used.

But when the document is saved the specific text is not created. In debug the FM returns with no error.

Can anyone help me?

2 REPLIES 2
Read only

Former Member
0 Likes
552

Hi,

try to check the FM READ_TEXT by passing the same parameters used in SAVE_TEXT and check.whether read text is working.

if read text is workingthen save text is working.

and also see the parameter SAVEMODE_DIRECT import parameter in save_text if it is X it will save every tiome if it is space it will save at LUW(when Logical unit of work executes)

Prabhudas

Read only

Former Member
0 Likes
553

Pass SAVEMODE_DIRECT = 'X' to the FM.

Rob