cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a Function Module within Function module for Generic Extractor

former_member222937
Participant
0 Kudos

I have a Scenario where I have to call a Function Module within Function module for Generic Extractor based on FM.

I have already copied the FM “ZRSAX_BIW_GET_DATA_SIMPLE_TEST” from the RSAX function group.

Now in my Scenario I need create a Generic extractor based on FM and I need to call the FM “SBIC_CURRENCIES_TRANSFER” in the “ZRSAX_BIW_GET_DATA_SIMPLE_TEST”.

Could you please let me know, how I can achieve this.


Thanks in Advance

Accepted Solutions (0)

Answers (1)

Answers (1)

abdullahqureshi
Contributor
0 Kudos

Hi Kshitij,

Open your FM in edit mode and select Edit -> Pattern -> Give FM name here in Call Function.

Regards,

Abdullah

former_member222937
Participant
0 Kudos

I have already called the below FM in the FM "ZRSAX_BIW_GET_DATA_SIMPLE_TEST"

   CALL FUNCTION 'SBIC_CURRENCIES_TRANSFER'

*   TABLES

*     I_T_LANGU       =

*     E_T_TCURF       =

*     E_T_TCURS       =

*     E_T_TCURT       =

*     E_T_TCURV       =

*     E_T_TCURW       =

*     E_T_TCURX       =

*     E_T_TCURC       =

*     E_T_TCURN       =

             .

However I am unable to see the importing and exporting parameters in the above FM.

It would be a great, if anyone can share the sample code with declaration for the same.

Thanks

abdullahqureshi
Contributor
0 Kudos

You don't need to be worry about importing and exporting parameters. Because by doing this way system automatically takes all the required things there. I am also getting the same parameters like you for this FM.