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

problem with BAPI_MATERIAL_SAVEREPLICA

Former Member
0 Likes
1,042

Hi,

I am trying to load materials using "BAPI_MATERIAL_SAVEREPLICA". The materials are loading successfully but the field KZKFG(Configurable Material) is uncheck even though when i am assigning CM_RELEVANCE_FLAG = '1' in the BAPI structure and even i assigned 'X' to the checkbox structure.Any suggestions on this issue.

Thanks in Advance

4 REPLIES 4
Read only

Former Member
0 Likes
740

In the debug mode see if both value structure and flag structure is populated for that field. If yes, that could be config which is not allowing to do so.

Thanks,

SKJ

Read only

0 Likes
740

When i view the IDOC both the fields have the values '1' and 'X' respectively.

Edited by: ben on Feb 29, 2008 9:55 PM

Read only

nitesh_jain3
Active Participant
0 Likes
740

Dear Ben,

The field KZKFG of MARA does not map to the BAPI field CM_RELEVANCE_FLAG therefore after material creation KZKFG is not getting populated.

Did you find any solution of getting this field populated other than going through the extensionin route? If so please share the same.

Thanks in advance.

regards

Nitesh

Read only

0 Likes
740

Hi.

PLease create the material as a Config materil. I mean the table HEADDATA should be passed with the value KMAT. This checks the Config_material check box ...

~ Guru