‎2017 Sep 17 11:40 PM
Hi @all,
I'm getting almost crazy while I try to use the FM "SEO_INTERFACE_CREATE_COMPLETE"
I call the Function Module like this:
CALL FUNCTION 'SEO_INTERFACE_CREATE_COMPLETE'
EXPORTING
version = seoc_version_active "activate
genflag = abap_false
authority_check = abap_true
overwrite = iv_overwrite
suppress_refactoring_support = abap_false
typesrc = mt_typescr
IMPORTING
korrnr = lv_korrnr
CHANGING
interface = ls_interface
types = mt_types
EXCEPTIONS
existing = 1
is_class = 2
db_error = 3
component_error = 4
no_access = 5
other = 6
OTHERS = 7.
The Interface is created and activated and also I find the types created in the formular view, but the types are always empty - more or less just metadata without content.
That are the parameters and give to the call:

Just one line in mt_types:

and the entries for the typesrc:


But the result looks like this:


What is the mistake I make?
I'm praying for help!
‎2017 Sep 18 6:41 AM
Did you look at a sample like report SEO_GENERATE_CLASS_EXAMPLE (in SEOK package too) or in the code of a tool like SAPLINK.
What is the functional need to create a class?
‎2017 Sep 18 5:18 AM
You are using internal functionality of the ABAP infrastructure that is not intended for standalone public usage.
‎2017 Sep 18 6:41 AM
Did you look at a sample like report SEO_GENERATE_CLASS_EXAMPLE (in SEOK package too) or in the code of a tool like SAPLINK.
What is the functional need to create a class?
‎2017 Nov 22 3:59 PM
Hi Raymond,
I took a look into the Coding of ABAPGit and found what I need - thx for the hint!
Regards
Sören