Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create persistent class via function module??

Former Member
0 Likes
602

Hi all,

is there a function module where i can create a persistent class dynamically?

regards

1 ACCEPTED SOLUTION
4 REPLIES 4
Read only

0 Likes
562

hi Wolfgang,

Sure there is, you can use FM <b>SEO_CLASS_CREATE_COMPLETE</b>, then you fill in the changing parameter <b>CLASS</b> and any other optional parameters (method, attributes, type).

If you want to create a class which is of category "Persistent Class", then you will need to set field <b>CATEGORY</b> from the changing parameter <b>CLASS</b>, egal to <b>10</b>. You can also have a look at the valid category value from domain value range of SEOCATEGRY.

Hopping this answer your question.

Sincerely,

Alain Gauthier

Read only

Former Member
0 Likes
562

Hi,

thanks.

Is there a function module where i can make the mapping to the persitent class, too?

regards

Read only

0 Likes
562

Hi Wolfgang,

I would suggest you to have a look at the following article:

<b>The Mapping Assistant</b>

http://help.sap.com/saphelp_nw70/helpdata/en/06/f23c33638d11d4966d00a0c94260a5/frameset.htm

Hope this answer your question.

Sincerely,

Alain Gauthier