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

help needed with FM ITOB_SERIALNO_MODIFY_SINGLE

Former Member
0 Likes
803

Hi All,

I am trying to update the field ANSWT(Aquisition Value)

from transation iQ02 with the help of FM ITOB_SERIALNO_MODIFY_SINGLE.The code for the same will be like below.

CALL FUNCTION 'ITOB_SERIALNO_MODIFY_SINGLE'

EXPORTING

  • I_HANDLE =

  • I_CONVERT_FULL_EQUI = 'X'

I_EQUI_ONLY = 'X'

  • I_AUTH_TCODE =

I_FILTER_DATA = ' '

I_WRITE_BUFFER = ' '

I_POST_BUFFER = ' '

  • I_TRANSFER_MODE =

I_COMMIT_WORK = 'X'

I_OBJECT_REC = l_object_rec

I_OBJECT_REC_OLD = l_object_rec_old

IMPORTING

E_OBJECT_REC = l_object_rec_temp

EXCEPTIONS

NOT_SUCCESSFUL = 1

OTHERS = 2

l_object_rec = data already present in the database and also the field which has to be updated in the database.

(has type ITOB)

l_object_rec_old = data already present in the databse for perticular matnr and serial number.(and has type ITOB)

I am getting sy-subrc as non-zero after executing this FM .

I am not getting what can be done to update this field.

Can anyvody help me in this regard?

Thanks,

sanjay.

Hi All,

I am trying to update the field ANSWT(Aquisition Value)

from transation iQ02 with the help of FM ITOB_SERIALNO_MODIFY_SINGLE.The code for the same will be like below.

CALL FUNCTION 'ITOB_SERIALNO_MODIFY_SINGLE'

EXPORTING

  • I_HANDLE =

  • I_CONVERT_FULL_EQUI = 'X'

I_EQUI_ONLY = 'X'

  • I_AUTH_TCODE =

I_FILTER_DATA = ' '

I_WRITE_BUFFER = ' '

I_POST_BUFFER = ' '

  • I_TRANSFER_MODE =

I_COMMIT_WORK = 'X'

I_OBJECT_REC = l_object_rec

I_OBJECT_REC_OLD = l_object_rec_old

IMPORTING

E_OBJECT_REC = l_object_rec_temp

EXCEPTIONS

NOT_SUCCESSFUL = 1

OTHERS = 2

l_object_rec = data already present in the database and also the field which has to be updated in the database.

(has type ITOB)

l_object_rec_old = data already present in the databse for perticular matnr and serial number.(and has type ITOB)

I am getting sy-subrc as non-zero after executing this FM .

I am not getting what can be done to update this field.

Can anyvody help me in this regard?

Thanks,

sanjay.

1 REPLY 1
Read only

Former Member
0 Likes
616

hello,

Have you somme problem when you try to change this field in transactional mode with the same value that you have in your FM.

Regards

Sebastien