Application Development 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: 

BAPI "BAPI_BUS1077_CHANGE" not workiing as expected....

Former Member
0 Kudos
449

The business requirment is to update a specification with various characteristic values from an input file. We are using BAPI_BUS1077_CHANGE for this purpose.

This FM Produces desired result if we are trying to modify an existing characteristic value. However this FM fails to update new characteristic value. I am not quite sure on what might went wrong. Can anybody who has previously used this FM or know about this FM, please share your thoughts.

Thanks,

Mohan.

2 REPLIES 2

Former Member
0 Kudos
104

Hi Mohan

Maybe you use: <b>BAPI_BUS1077_CREATE</b> for creation.

This is from documentaion of the BAPI BAPI_BUS1077_CHANGE:

<b>Functionality

This method allows you to make changes to existing specification data. Changes can be made to subobjects of an existing instance. New subobjects or specifications cannot be created. The prerequisite for changing specification data is that the key for a subobject is always specified. By assigning values to import parameters, you specify which subobjects are to be changed.</b>

Kind Regards

Eswar

Former Member
0 Kudos
104

Mohan,

U can only change the existing value of the Property Characteristic using BAPI_BUS1077_CHANGE. If you need to Have a new value for a particular Property characteristic, then you need to use BAPI_BUS1077_CREATE. Even I am facing problem using the CREATE bapi.. I am making some mistake in filling the parameter that involves Primarykey and Foreignkey..

Please post me if you come across a solution on this

David