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: 

RCCLBI03 - lsmw

alessio_pierfederici
Participant
0 Kudos

Hi gurus,

I'm tryng tu update One-value characteristics , in particular I need to clear the value.

I'm using a lsmw object: 0130 , method: 0002 , program name: RCCLBI03.

The lsmw work fine ,but only when update a characteristics value with another value, but I need to clear the value!

Any help?

Regards

Alessio

1 ACCEPTED SOLUTION

JK
Contributor
0 Kudos

did you try using LKENZ = 'X' (deletion flag of BIAUSP)

but you have to fill in the old value of the characteristic as in

4 REPLIES 4

JK
Contributor
0 Kudos

did you try using LKENZ = 'X' (deletion flag of BIAUSP)

but you have to fill in the old value of the characteristic as in

0 Kudos

Hi Jörg Knaus,

yes, in field mapping,  I try this code for BIASUP-LKENZ:

if BIAUSP-ATWRT is initial.

BIAUSP-LKENZ = 'X'.

else.

clear  BIAUSP-LKENZ.

endif.

... but the characteristics value doesn't update .


Regards

JK
Contributor
0 Kudos

so if you set BIAUSP-LKENZ = 'X', you shoud fill BIAUSP-ATWRT with the old value (which is deleted, maybe you have to select from AUSP...)

or if you set BIAUSP-ATWRT =  ' ' and BIAUSP-LKENZ = ' ' for single value char it should set value to space (if allowed to have no value for characteristic)

0 Kudos

Many thanks Jörg Knaus,

Now work fine!