Skip to Content
0

How to read Application logs (OLD_MESSAGES) in AIF action FM ?

Jan 26, 2017 at 10:14 AM

170

avatar image
Former Member

Hi All,

I am in a situation where i have 2 FMs in a single AIF Action.

Let's suppose FM1 and FM2.

FM1 is calling a BAPI and its RETURN table i have to read in FM2 for further processing ( basically to make FM2 a reusable component).

I have passed RETURN to RETURN_TAB of the function module and have checked "READ OLD MESSAGES" checkbox of the action. But still OLD_MESSAGES table in FM2 is coming as blank. I have tried by writing messages into application logs too. But still can't read BAPI return (in FM1) in FM2.

I have also tried by putting these 2 FMs in separate Actions. but still not working.

Please help me.

Regards,

Rahul Shrivastava

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers