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

Characteristics value not assigned by BAPI_OBJCL_CHANGE

Former Member
0 Likes
3,008

Hi,

I am updating classification view in material master by BAPI_OBJCL_CHANGE.

Value is not assigned though I am getting 'Assignment Changed' message.

Can any one provide me the sample data to this.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
721

Hello

After call BAPI call also

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING wait = 'X'.

Hi,

I am updating classification view in material master by BAPI_OBJCL_CHANGE.

Value is not assigned though I am getting 'Assignment Changed' message.

Can any one provide me the sample data to this.

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
722

Hello

After call BAPI call also

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING wait = 'X'.

Read only

Former Member
0 Likes
721

Hi,

i am trying to upload characteristics data for class using BAPI_OBJCL_CHANGE module. Now when people who knows this function module ,they must be knowing that we have 3 tables there for Char data,numeric data and currency data. Now when i upload the data from excel sheet in to SAP ,i put space in some of the cell with numeric data type but this function module put 0 in those characteristics instead of space.Now user want to see space there instead of 0. Is there any way around to have space rather than 0.

i am updating the customer classification with the function module BAPI_OBJCL_CHANGE:

call function 'BAPI_OBJCL_CHANGE'

exporting

objectkey = w_objkey

objecttable = 'KNA1'

classnum = w_classnum

classtype = '011'

keydate = sy-datum

tables

allocvaluesnumnew = i_ze_valnum

allocvaluescharnew = i_ze_valchar

allocvaluescurrnew = i_ze_valcurr

return = i_return.

call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = c_x.

In addition, I am checking with ENQUEUE_EXKNA1/DEQUEUE_EXKNA1 whether or not the customer master is locked before executing the code above.

Thanks&regards,

Naresh

Read only

Former Member
0 Likes
721

Hi,

Try this

[]

Regards,

Surinder