2008 Oct 24 3:09 AM
I am creating a custom function module. Parameters needed are export internal table and one data field from the internal table.
What do i need to fill for 'associated type' for these export parameters since size of the internal table and type for the data field from the internal table vary.
Hello Albert
If the function module need not be RFC-enabled then you have many ways to define such dynamic parameters, e.g.:
FUNCTION ZUS_SDN_DYNAMIC_PARAMS.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" EXPORTING
*" REFERENCE(ET_ITAB) TYPE TABLE
*" REFERENCE(ET_ITAB_1) TYPE ANY
*" REFERENCE(ET_ITAB_2)
*" REFERENCE(ED_DATA) TYPE CLIKE
*" REFERENCE(ED_DATA_1) TYPE ANY
*" REFERENCE(ED_DATA_2)
*"----------------------------------------------------------------------
ENDFUNCTION.
See also:
Regards
Uwe
2008 Oct 24 4:26 AM
Hello Albert
If the function module need not be RFC-enabled then you have many ways to define such dynamic parameters, e.g.:
FUNCTION ZUS_SDN_DYNAMIC_PARAMS.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" EXPORTING
*" REFERENCE(ET_ITAB) TYPE TABLE
*" REFERENCE(ET_ITAB_1) TYPE ANY
*" REFERENCE(ET_ITAB_2)
*" REFERENCE(ED_DATA) TYPE CLIKE
*" REFERENCE(ED_DATA_1) TYPE ANY
*" REFERENCE(ED_DATA_2)
*"----------------------------------------------------------------------
ENDFUNCTION.
See also:
Regards
Uwe
2008 Oct 28 5:39 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |