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

BAPI_OBJCL_CHANGE giving error

Former Member
0 Likes
1,539

Hi All ,

I created a batch using the bapi bapi_batch_create .Now i'm trying to update the characteristics using another bapi BAPI_OBJCL_CHANGE .Its giving me error

Characteristic not found or not valid

The assignment was not changed

I am not able to trace out the problem .pls help .

Thanks in Advance .

3 REPLIES 3
Read only

Former Member
0 Likes
839

Hi

This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.

Regards

Rahul

Read only

Former Member
0 Likes
839

HI All ,

Waiting for your replies..

Thanx

Read only

0 Likes
839

Hi

According to these messages characterstic you are passing is not valid .

check your charcterstics with FM CHAR_VALUE_CHECK2 explicitly .

Regrads

Rahul