2019 Aug 21 3:20 PM
I am trying to write a functional module to read data from a table and then export it. Issue i am facing is with Function , ENDFUNCTION keywords. It says I need to write FUNCTIONAL-POOL instead of Function. I have tried that also. It didn`t help either.
Please point out what is the issue with this thing.
2019 Aug 22 8:35 AM
Did you forget to (create and) activate the function group before creating the first function module?
Also your forum Id doesn't display the SAP employee icon, so use a Customer namespace - Function group starting with Y or Z, module starting with Y_ or Z_ (ref: 16466 - Customer name range for SAP objects)
2019 Aug 21 3:29 PM
Hi
You need to know how to create FM. Please, check the following link
After take in account you have some ranges for creating your own objects in workbench. Please, look at Note 16466 - Customer name range for SAP objects. So, for FM the function must be begin by Z_ or Y_
I hope it helps you
Regards
Eduardo
2019 Aug 21 3:31 PM
May be FM name is an issue here , try creating functionmodule name starting with 'Z' or 'Y'.
2019 Aug 21 4:25 PM
A function module belongs to a function pool (or function group) which has a FUNCTION-POOL statement at the beginning of the code. Maybe you removed it or you didn't activate the function pool first (you may also activate all objects at a time).
2019 Aug 22 8:35 AM
Did you forget to (create and) activate the function group before creating the first function module?
Also your forum Id doesn't display the SAP employee icon, so use a Customer namespace - Function group starting with Y or Z, module starting with Y_ or Z_ (ref: 16466 - Customer name range for SAP objects)