Hie there,
Can someone sent me sample code for the usage of a BAPI in a Function.
I want ot develop an RFC whereby i pass an Account number to it and get the BP addressess.
The structures which i intend to use for this functionality is
1. Tablble say T_XXXX (this contains the Accnt Number )
2. from this Account number i intend to intend to pass it into a BAPI say BAPI_BCA_XXXXXX1
Import
Accnt Number
Export
Accnt number
BP Number
from this result of this Bapi i intend to use the result above
i.e BP #
in another BApi BAPI _ADRESS
Import
BP #
Export
AddressData.
This structure ADDRESSDATA is the overall structure which should come out from the RFC Function Module.
Sample code for similar scenarios will be appreciated.
Points rewarded