cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to save custom attributes in BP_CENTRL to database

shaila_kasha
Contributor
0 Kudos
1,239

Hi Experts,

I have extended the data model with custom attributes, below are the high level steps. however when i enter the value in that field and try to approve my CR. the values are getting lost/vanished -> not saving in database active tables.

  • create data element, domain
  • extend active structures with customer include - kna1, lfa1, cmds*central_data + cmds*central_data_xfield, vmds*central_data + vmds*central_data_xfield.
  • add attribute to data model bp_centrl , activate DM. Adjust staging.
  • generate DM specific structures
  • do mappings. BP_BP_CENTRL_2STA, BP_BP_CENTRL_2API
  • go to genil_model_browser , add in the key structure, attribute strcture.
  • add in UI and test

Is there anything i am missing here.

Thank you, Shaila.

Accepted Solutions (0)

Answers (3)

Answers (3)

raghu3
Contributor
0 Kudos

Hi ,

Check OSS note 2598879 - SMT mappings for custom fields are not getting populated after release upgrade

Regards,

Raghu

former_member589878
Discoverer

We are on 1709 and this note corrected our issue. Thanks Raghu.

Regards.

shaila_kasha
Contributor
0 Kudos

Thank you very much for link. i updated the CVI part which was missing, however it still does not help me save in db tables. my scenario is extend in bp/kna1/lfa1 all.

former_member230136
Contributor
0 Kudos

Hi Shaila,

If you want to store the data in LFA1/KNA1 (for custom fields), then you need to extend the entity BP_VENGEN/BP_CUSGEN respectively & follow the same steps with Mapping under SUPPL_BP_VENGEN_2STA/MDG_BS_SUPPL_BP_VENGEN and similar for Customer.

Have a look at the Tutorial first:-

SAP How-To Guide: Extend MDG-S Data Model by a New Field (Reuse Option)

Cheers,

Rohit