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: 

Check for raised event

Former Member
0 Kudos

Hello everybody.

I want to create a formula that uses different input profiles. The data is received from different service providers at dates that are not fixed exactly.

So, the idea is to raise a different event for each input file from within the download process. The function module than has to check for the event and select the appropriate input profile:

CASE event.

     WHEN 'A'.

       WRITE:/ 'Event A has been raised'.

     WHEN 'B'.

       WRITE 'Event B has been raised'.

   ENDCASE.

I tried reading the table 'BTCEVTHISTORY' using the BAPI ' BAPI_XBP_BTC_EVTHISTORY_GET'. However, the table doesn't contain any entries - allthough from within SM37 I can see the event.

I would appreciate any helpful suggestions...

1 REPLY 1

Former Member
0 Kudos

Hello,

Another solution that we were thinking about would be, to raise just one event for new data entry. Since the second profile will contain the more exact values, we will use this one, whenever there are values available.

As a consequence, the function module has to check whether there are valid values for the entire calculation period in profile B.

Now, another question: How do I check for valid values in an EDM profile using ABAP? The function module has to determine the start date and the end date for profile calculation.

Any ideas?