javajcobapisapjco3

Print a list of BAPIs using JCo


I established connection to a SAP Server and I would like to print a list of BAPIs in my Java program. I am using sapjco3.jar.

Is there any way to do it?


Solution

  • As far as I know, there is no "BAPI to get a list of BAPIs", so this would be a non-trivial task. You could try to use RFC_FUNCTION_SEARCH to search for function modules named BAPI*, but that's not guaranteed to give you a) only official BAPIs and b) all of the official BAPIs...