cancel
Showing results for 
Search instead for 
Did you mean: 

Read BC_MSG data from ABAP program

Former Member
0 Kudos

All,

I want to create a ABAP program to read the contents of BC_MSG and BC_MSG_AUDIT (Java Tables).

Please let me know the procedure to do the same.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

in ABAP you can easily call a WS from PI which will be reading the messages:

my blog on how to get BC_MSG:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/04/13/pixi-how-to-get-a-pi-message-from...

my blog on WS on audit logs:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/09/michals-popi-tips-audit-logs-from...

with these two you can do what you want,

Regards,

Michal Krawczyk

Former Member
0 Kudos

Thanks for the prompt reply.

Let me go through your blogs...

Anyways the idea behind this ABAP program is to look for messages in delivering status in AE and if they are in this status for more than 30 mins than send out an email to PI tech team.

I have already created the ABAP program for ABAP stack and it works great. Now I want to extend the same for the Java stack as well.

Let me know if you have any thoughts on the same.

Former Member
0 Kudos

Michal,

These webservices do not have an option to search for messages on java stack by status. I am looking to get the messages that are in delivering status for more than 30 mins and if yes than send out an email.

Looks like I will have to go with the custom ABAP program option. Could someone ple shead some light on how to do this using ABAP program i.e ABAP program to pull data from Java schema tables.

Thanks.