‎2009 Jan 20 4:48 AM
Hello Experts,
I am getting an error in the above mentioned BAPI.The error is E3-461 "Specify the degree of parameter optimization".This error is not indication any input data related issues.
Please let me know if somebody has any solution available to troubleshoot this error.
‎2009 Jan 20 4:55 AM
Hi Jaydeep,
If you check the function module documentation, it is mentioned as below,
In the header data, you must select at least one view for which data is to be created. Depending on the view selected, you must maintain other required parameters. If you do not enter values for all of the required parameters, the method is ended with an error message.
So kindly check if the parameters that you are passing to this BAPI is as required.
Also to make sure how to use this BAPI, you can do a where-used list on this BAPI. You will find some standard programs where this is called. Using that as an example, you can call the BAPI in your program.
Best Regards,
Ram.
‎2009 Jan 20 4:55 AM
Hi Jaydeep,
If you check the function module documentation, it is mentioned as below,
In the header data, you must select at least one view for which data is to be created. Depending on the view selected, you must maintain other required parameters. If you do not enter values for all of the required parameters, the method is ended with an error message.
So kindly check if the parameters that you are passing to this BAPI is as required.
Also to make sure how to use this BAPI, you can do a where-used list on this BAPI. You will find some standard programs where this is called. Using that as an example, you can call the BAPI in your program.
Best Regards,
Ram.
‎2009 Jan 20 5:29 AM
Hi Jaydeep,
I used this BAPI and this is how i called that fn module
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = wa_it_headdata
clientdata = wa_it_clientdata
clientdatax = wa_it_clientdatax
IMPORTING
return = wa_it_return
TABLES
materialdescription = it_materialdescription.
here
wa_it_headdata: has data in main screen like material number , industry type and material type
wa_it_clientdata: has second screen values like MATL_GROUP BASE_UOM here make sure tht u pass all the mandetry feilds for this u can execute MM01 manually and try to save material.
wa_it_clientdatax:in this check all the feilds which u are passing in wa_it_clientdata
hope this helps you.
regards,
Raghu