Variation using the Dynamic Calling Convention 

Although dynamic calling looks different from non-dynamic calling, it performs the same function. The code is the same as that shown in Example Application with the Function Control until the logon process is complete. Then, you call the function with parameter "NAME1":

Functions.RFC_CUSTOMER_GET (Exception, NAME1:= " J* " , KUNNR:="*", CUSTOMER_T:=Customers)

The customers table retrieved by the function is copied into the Customers variable. This technique makes the code a little easier to read, but takes slightly more time to process.