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: 

Asynchronous process in BATCH INPUT METHOD.

Former Member
0 Kudos

Hi experts....

i wanna know the exact difference between asynchronous and synchronous process...

I read like in session method

processing is asynchronous and synchronous process in database update....

what does it mean????

plz dont send any links and reference sites plz type in orally I reffered many sites and previous queries still the issue persists... iam really confused ....

plz help me out with this issue.................

Regards,

Renu.C

8 REPLIES 8

Former Member
0 Kudos

hi

synchronous process is processed one by one record

if error is occured it won't process that record that will send to log

in asynchronous process if the error occured it skips that record

and process it another one

but in the processing wise same performence timing when comparing the synchronous and asynchronous( when log is created)

0 Kudos

but naresh sir,

what does it mean that in session method that

Asynchronous processing '

and

Synchronous process in database update

Could you be more specfic abt this plz

Former Member
0 Kudos

Hi

<b>reward if usefull</b>

<b>Synchronous <u>versus</u> Asynchronous</b>

<b>Synchronous</b>

DO.

………

PERFORM FILL_BDC_TAB.

CALL TRANSACTION ‘FK02’

USING BDC_TAB

MODE ‘N’

UPDATE ‘S’.

IF SY-SUBRC < > 0.

WRITE: /‘ERROR’.

ENDIF.

ENDDO.

With synchronous updating, we can check SY-SUBRC to determine the success of the transaction and the actual update to the database.

<b>asynchronous</b>

DO.

………

PERFORM FILL_BDC_TAB.

CALL TRANSACTION ‘FK02’

USING BDC_TAB

MODE ‘N’

UPDATE ‘A’.

IF SY-SUBRC < > 0.

WRITE: /‘ERROR’.

ENDIF.

ENDDO.

With asynchronous updating, we can check SY-SUBRC to determine the success of the transaction only, not the actual update to the database.

0 Kudos

thax a lot

0 Kudos

Thax for ur reply sir

iam so glad for that

but a small query

what does it mean that in session method that

Asynchronous processing '

and

Synchronous process in database update

Could you be more specfic abt this plz

Regards,

Renu.C

Former Member
0 Kudos

Hi,

Sychronuos --- processes in sychronous to database update, means wait till data base update to complete before proceeding to next

Asynchronous -


data base update is not in line with your transaction means, before database to get updated processing of next record will start

Former Member
0 Kudos

its really helpful.....

thax a lot to SAP Community Network

0 Kudos

Hai can any one let me know the concept of sequential files

its syntax and the different additions