cancel
Showing results for 
Search instead for 
Did you mean: 

Message Area shows message from previous BAPI call

Former Member
0 Kudos

Hi fellow Visual Composer Developers, I am 2 weeks into trying to get to grips with VC, I have managed to model some simple Iviews and all is good, I am encoutering the following issue. When I call a BAPI in the backend R/3 system any messages that are issued are shown in the message area which is fine, but if I invoke a new call then the message area shows the message from the earlier call, In ABAP this would be resolved by clearing the RETURN structure of the BAPI, how can this be accomplished via VC, I have tried calling a bespoke BAPI which clears the RETURN structure but the message store seems to be at the VC end ..

Can anyone shed any light on this problem

Thanks

Turlock

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member202465
Contributor
0 Kudos

Hello Turlock,

It seems I was unable to reproduce this problem. I tried two scenarios:

1. the 2nd call is to the same service

2. the 2nd call is to another service

In both cases the messages from the 1st service call are cleared in case messages are not due.

If you still have this problem I would recommend opening a ticket, so this can be further investigated.

*which Visual Composer version are you using (major & SP)?

Thank you,

Udi

Former Member
0 Kudos

Hi Turlock,

Try to store the message in DataStore and bind the value stored in DataStore to the input element where the message has to be displayed.

Pranesh