Skip to Content
Author's profile photo Jerry Wang

BDoc Content Search tool

One of my colleague asked me whether there is a standard tool which enables us to search a given BDoc based on some keyword against BDoc content.
As far as I know there is no filter based on BDoc content in tcode SMW01:
So I write this simple report to achieve the search.
Suppose I would like to list all BDoc whose content contains “Ruledispatch” within date 2017-10-26:
In the message bar the current finished progress is displayed.
The guid of found BDoc is listed in report result:
Copy the guid and paste into tcode SMW01 and execute:
The specified keyword could be found in BDoc content:
The source code of this report could be found from my github.

Assigned tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Julin Xin
      Julin Xin

      Hi Jerry,

       

      Thank you for the sharing. Quite a useful report!

      Maybe it is better to create a KBA or official document for this report.

       

      Thank you and best regards,

      Julin Xin

      Author's profile photo Piet Demeester
      Piet Demeester

      Hello Jerry,

      I am interested in the code of this tool,
      however the link https://github.com/i042416/KnowlegeRepository/blob/master/ABAP/SmallApp/196_ZSCAN_BDOC_VIA_KEYWORD.abap

      does not seem to work.
      I also cannot find the code on your new GitHub repository

      https://github.com/wangzixi-diablo/abap/tree/master/ABAP/

      Do you know where it can be found?

      Thanks in advance,

      Piet