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

Need help in understanding BDC Session ( batch Input Method)

Former Member
0 Likes
840

Hello,

I am trying to understand the concepts of BDC.

I have understood :-

1. Input/Output Process using GUI_UPLOAD and GUI_DOWNLOAD

2. CALL TRANSACTION USING itab_bdc...

But unable to understand the concept behind -

3. BDC Session Method or you may call it Batch Input Method.

My understanding so far - It is a bunch of CALL TRANSACTIONS which are binded together using Transaction SM35 which have logging and other functionalities... Is this true??

Please provide some tutorials or explanation for this BDC method.

Thanks in advance,

Karan

1 ACCEPTED SOLUTION
Read only

Former Member
4 REPLIES 4
Read only

valter_oliveira
Active Contributor
0 Likes
730

Hello.

The SM35 method is very similar to CALL TRANSACTION one. In both you must fill bdcdata into an internal table and both are based on tcode SHDB snapshots.

However, there are two important differences between them:

1 - call transaction is a real time batch, i.e, supose that your batch create a sales order. Immediatly after statement call transaction, in return tab, you can catch messages from it, like sales order number. In oposite, SM35 method doesn't allow you to do that. The program execution wouldn't create the sales order immediatly and consequently, you cannot capture it's number in batch program. It will create a GROUP, that you can proccess in tcode SM35, afterwards. So, for batches that it's return affects program execution, you should use call transaction.

2 - having in mind the first point, SM35 method has it's advantages too. Those groups can be executed more than one time. Imagine you have a group to create 1000 sales order. If in the first execution you only had 10 orders with errors caused by wrong system configuration, you can re-execute it (the group in SM35) and it will proccess only your 10 sales orders that it couldn't proccess the first time!

Also refer to:

http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/097126543b11d1898e0000e8322d00/frameset.htm

However, I prefer using BAPI's.

Regards.

Valter Oliveira.

Read only

Former Member
Read only

Former Member
0 Likes
730

Hi,

Call transaction is used in case of low volume data and Batch input method is used incase of high volume of data.

Call transaction its online method and Batch input method will post the document only when that session is processed explicitly.

In call transaction method error handling has to be done explicitly, but whereas in Batch input method the system will handle the error automatically.

In either case of the methods the BDC recording is must.

Thanks,

Mahesh.

Read only

Former Member
0 Likes
730

Thanks to all of you my BDC concepts are now clear.