Skip to Content
author's profile photo Former Member
Former Member

Check for raised event

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...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2015 at 02:23 PM

    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?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.