cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI function module to create model & version

Former Member
0 Kudos

Hi,

could anybody give BAPI function module to create model and version?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi sai,

Please check this function modules

/SAPAPO/MVM_SVC_CR_MOD (Calling Model creation function)

/SAPAPO/MVM_SVC_CR_VER (Calling version creation function)

/SAPAPO/MVM_SVC_CO_MOD_VERS ; (Calling Model copy funciton)

/SAPAPO/MVM_SVC_CO_VER (Calling version copy function)

/SAPAPO/MVM_SVC_DE_MOD_VERS (Calling model/version deletion function)

/SAPAPO/DM_MODEL_VERS_GET (get all versions associated to the model)

/SAPAPO/MVM_SVC_DE_VER_LC_DB (to call version delete function)

create model

CASE gv_process_state.

WHEN state_head_data_show.

  • set next process state

gv_next_process_state = state_create_model.

gv_next_subscreen = dy_create_model.

change_no_selections_flg = 'X'.

WHEN OTHERS.

ENDCASE.

WHEN 'CRVE'.

  • create version

CASE gv_process_state.

WHEN state_head_data_show.

  • set next process state

gv_next_process_state = state_create_version.

gv_next_subscreen = dy_create_version.

change_no_selections_flg = 'X'.

WHEN OTHERS.

ENDCASE.

Name of the include: /SAPAPO/LMVM_MOD_VERS_MGMNTF02

Name of the program:- /SAPAPO/LMVM_MOD_VERS_MGMNTF02

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hi .

We need remotely enabled function module to cretae model and version.

could you help in this reagrd.

WIth Kind Regards

Former Member
0 Kudos

Hi sai,

Please try this BAPI

Object name: Version

Object type: BUS4711

/SAPAPO/VERSKEY-VERSION

Regards,

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hi Sai,

/SAPAPO/VERSION_CREATE

this is used to create version and we need to provide Model name.

/SAPAPO/VERSION_COPY_PAR

Copy the data from one version to another version.

provide Source and destination versions.

Regards,

Pullaiah

Former Member
0 Kudos

Hi Pullaiah,

These two are not function modules.I have checked it.

Regards