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

Error with material creation Bapi BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
3,208

In BAPI_MATERIAL_SAVEDATA , if i am giving the values in headerdata-INP_FLD_CHECK as ' ' or 'E' , or 'I' or 'W'

then i am getting the return message as

'The field MARA-MEINS/BAPI_MARA-BASE_UOM(_ISO) is defined as a required field; it does not contain an entry

The field MARA-MATKL/BAPI_MARA-MATL_GROUP is defined as a required field; it does not contain an entry'But i have given all the required as well as mandatory fields in the bapi.

if i am giving the values in headerdata-INP_FLD_CHECK as 'X'

i am getting the return code as

'The parameter KZ_PRF does not contain a valid value'and the remaining entries are same as the above.

Please Give me a solution for this problem

Thanks in Advance Jinesh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,545

Hi Jinesh,

Check out this link... very good worked out example link...

Good implementation of BAPI_MATERIAL_SAVEDATA.

http://blog.esnai.com/arrow/archive/2007/08/30/208744.aspx

Hope this would help you to analyze and rectify your issue

Regards,

Narin Nandivada

2 REPLIES 2
Read only

Former Member
0 Likes
1,545

Check this example and cross check your program.

http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm

Regards,

ravi

Read only

Former Member
0 Likes
1,546

Hi Jinesh,

Check out this link... very good worked out example link...

Good implementation of BAPI_MATERIAL_SAVEDATA.

http://blog.esnai.com/arrow/archive/2007/08/30/208744.aspx

Hope this would help you to analyze and rectify your issue

Regards,

Narin Nandivada