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

how to use the function MATERIAL_SAVE_CONFIGURATION

Former Member
0 Likes
2,420

I try to create a new material configuration with the function MATERIAL_SAVE_CONFIGURATION. That doesnt work as I would: The link with the configurable material has been done (MARA-SATNR is filled ) but we don't have any configuration (MARA-CUOBF is empty).

The parameters (the 4 structures wuth caracteristics values ) has been filled with the function CUXM_GET_CONFIGURATION and seem to be OK.

I'm wondering why the new configuration is not saved...

If i try to change an existing configuration, that doesnt work too...

Do u know how to use that function?

Thanks in advance for your help

I try to create a new material configuration with the function MATERIAL_SAVE_CONFIGURATION. That doesnt work as I would: The link with the configurable material has been done (MARA-SATNR is filled ) but we don't have any configuration (MARA-CUOBF is empty).

The parameters (the 4 structures wuth caracteristics values ) has been filled with the function CUXM_GET_CONFIGURATION and seem to be OK.

I'm wondering why the new configuration is not saved...

If i try to change an existing configuration, that doesnt work too...

Do u know how to use that function?

Thanks in advance for your help

6 REPLIES 6
Read only

Former Member
0 Likes
1,796

hi,, r u shure u r using this Fm i tried with this function system saying not exit. can you clear me in that.

Read only

0 Likes
1,796

First of all, u have to apply the oss notes n°736873 to create the module fonction.

Anyway, do u know another way to set up a material configuration? (class , idoc ... )

Read only

0 Likes
1,796

hi,

for creation of class you can use BAPI_OBJCL_CREATE bapi,

parameters need to

OBJECTKEYNEW = material

OBJECTTABLENEW = 'MARA'

CLASSNUMNEW = class

this is not self commite bapi so u need to call BAPI BapiService.TransactionCommit afterwards.

i think this may solve your problem else mail me to [email protected].

i will send full code.

regards,

saleem.

Read only

mines
Participant
0 Likes
1,796

Hi Former Member,

I'm facing the same issues; Just I've passed the 4 structure values manually but still material is not configured and MARA-CUOBF not generated.

Please provide me your input on this.

Read only

former_member846991
Discoverer
0 Likes
1,796

Hi,

I'm facing the same issue, Tried to pass the values manually in 4strurtures and using this FM MATERIAL_SAVE_CONFIGURATION to Create Configure material but still it's not working.

Anyone please assist on this.

Regards,

Selva

Read only

moshenaveh
Community Manager
Community Manager
0 Likes
1,796

selvc

Hello, While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an answer in an old thread.
I've converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.
If you're looking for help, you should ask a new question: https://answers.sap.com/questions/ask.html.
Here are some tips to help you craft an effective question for our community: https://community.sap.com/resources/questions-and-answers, https://developers.sap.com/tutorials/community-qa.html, https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a....
I encourage you to follow this guidance, as I'd really like to see you get a solution to your problem.
I hope you find this advice useful!