Ideally, when you access SAP through a Java program, you are doing so through BAPI interfaces. However, at times you may need access to functions within SAP that are not available as BAPIs. As you have already learned, a BAPI is basically just a remote function module. To look for other function modules that are available through SAP, you can use the Find function in transaction SE37 to list the modules. Basically, you can perform the search by excluding function modules that start with BAPI and by looking for functions that have the RFC flag set in the attributes section. The screen sequence for looking up these RFCs is shown in Figures 12.7, 12.8, and 12.9.
Figure 12.7: The initial Find function in SE37. To set the correct filter, you need to expand all selection conditions.
Figure 12.8: The expanded selection screen, filled in with the required values
Figure 12.9: Sample results from the selection
Figure 12.9 shows RFC functions that let you work with the factory calendar within SAP. Currently, no BAPI functions are available for this purpose; if your Java program needs to look at the factory calendar, you can use these function modules.
Team-Fly |