cancel
Showing results for 
Search instead for 
Did you mean: 

SmartSync whit S01: update data into ABAP function

Former Member
0 Kudos

Hi all.

i have a problem during the Synchronization with SmartSync SyncBoS01.

my client device synchronize with BE

first the UPLOAD syncbo, after DOWNLOAD syncbo.

my R3 function for create execute 'commit and wait' in the ABAp code.

my problem is:

i send my new data for upload, the BE send to me the data for download, but this data isn't not updated.

actually for receive the new data i need to:

1- upload my data-> r3 create the new data-> commit

2- i download my data from R3 and R3 send to me the data not up to dated.

3- R3 commit the data after create

4- i sync my device and i download the data updated.

anyone have an idea?

Accepted Solutions (0)

Answers (1)

Answers (1)

kishorg
Advisor
Advisor
0 Kudos

Hi Elina,

this is what i got from ur post...

u have upload syncBo for uplod data from the client.

u have download syncbo for downloding data to the client.

could u upload successfully the data from the client.(i mean whether they got created in the back end or not).?

if not , check the create Wrapper alone from the back end , and execute this with sample data.

for downloading r u using Download type of SyncBo?.

(This type is obsolete and not supported for customer use on SAP MI 2.5. The 2- way, timed 2-way, and server-driven types have replaced this type.)

let me know..

Regards

Kishor Gopinathan

Former Member
0 Kudos

hi kishor,

i'm working with 2 syncbo s01-> <b>TWOWAY</b>

i have 1 syncbo for bapi create()-> upload in the client layer

and i have 1 syncbo for bapi getList()+getdetail()-> download in the client layer.

i need to download the data of an sap order with the syncbo X, and upload in r3 SERVICES ENTRY SHEET with the syncbo Y.

i sync my device: the data for upload & download are sent to r3.

i send correctly my upload data to bapi create. this bapi call a function that execute <i>'commit and wait'</i> .

then i receive correctly the download data but i receive also , e.g, the old order that i have updated in the UPLOAD syncbo.

how my r3 can receive the data, create and resend to me into the download also this data updated within wait for update of order that i have uploaded?

actually for receive the download from getList i need to sync twice.

Former Member
0 Kudos

hello eliana,

if you want the response in one synchronization process,

you can make use of the API

SyncBoOutDeltaFacade.setSendType(syncBoDescriptor, SyncBoOutDeltaSendType.SEND_DIRECT);

though your old order might also be retrieved prior to the

updated order, it will be updated by the updated order after

your BAPI returns. might worth trying.

in your syncbo you can also set the attribute

reqDirectSync="true".

regards

jo