cancel
Showing results for 
Search instead for 
Did you mean: 

Conflict: R/3 = modify, device = modify

former_member207329
Participant
0 Kudos

Hi all,

after i change any record in my SyncBo (S01 type) they don't go down in the backend.

i have this message (in MEREP_MON):

STRUCT_ID C 3 3 RTN

STRVERS N 4 4 0001

SYNC_KEY N 10 10 0001001076

CORR_TOP_CNTR N 10 10 0000000000

RESPTYPE C 1 1 C

TYPE C 1 1 W

ID C 20 20 MEREP_01

NUMBER N 3 3 100

MESSAGE C 220 220 Conflict: R/3 = modify, device = modify

MESSAGE_V1 C 50 50

MESSAGE_V2 C 50 50

MESSAGE_V3 C 50 50

MESSAGE_V4 C 50 50

TIMESTAMP N 21 21 000000000000000000000

can someone help me?

PS:You can advise me: my devices have to syncronize only 1 time a day (at night).For this scenario it's best S01 or T01 syncBo?

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rocco,

A 'Conflict' occurs when the data has been modified on device and the same data has been modified on the backend. As per as rule, when a conflict occurs backend always win, which cause the data from the client to be overwritten by that in backend. Hence, the changes in the client are not affected in the backend.

For one time sync T01 syncBos are ideal, but you ensure that replication is carried just before the sync so that you get the latest data.

Regards,

Rahul

former_member207329
Participant
0 Kudos

Hi Rahul,

this is my getList:

DATA application TYPE REF TO z0012_application.

DATA: my_top TYPE objec_t.

CREATE OBJECT application.

CALL METHOD application->arbpl_werks_by_user.

*******************************************

DATA: tb_log TYPE z0012_log OCCURS 0,

wa_log TYPE z0012_log.

wa_log-data = sy-datum.

wa_log-ora = sy-uzeit.

wa_log-uname = sy-uname.

WA_LOG-LOG = 'GET_LIST ACCESS FOR CID3'.

MODIFY z0012_log FROM wa_log.

********************************************

CALL METHOD application->get_cid_from_arbpl_werks

IMPORTING

tb_result_objec = my_top

  • SEL_WERKS_TXT =

  • SEL_ARBPL_TXT =

  • TB_ARBPL =

  • TB_WERKS =

.

t_top[] = my_top[].

this is my Modify bapi wrapper:

*"----


""Interfaccia globale:

*" IMPORTING

*" VALUE(I_TOP) TYPE OBJEC

*" TABLES

*" RETURN STRUCTURE BAPIRET2

*"----


*******************************************

data: tb_log type z0012_log occurs 0,

wa_log type z0012_log.

wa_log-data = sy-datum.

wa_log-ora = sy-uzeit.

wa_log-uname = sy-uname.

wa_log-log = 'MODIFY ACCESS FOR CID3'.

modify z0012_log from wa_log.

********************************************

I read data from bakend with a function module (call it int the my GETLIST bapi wrapper)but I don't do anything in the MODIFY bapi wrapper.

But I have seen that the bapi that is recalled it is always the DETAIL bapi wrapper (i have the log in each bapi wrapper).

Why?

It should be recalled the MODIFY bapi wrapper?

Thanks for your help