batch input and call transaction

Question: hi all,
1) if submit rsbdcsub and return in report xyz it means batch input session is created and is processed from the report xyz instead of manually process in sm35. rite?
2) may i know if i use call transaction to update instead of via sm35. for example, instead of perform insert_group using 'MB1B' i use
call transaction 'MB1B' using bdcdata
mode
update ......
if use call transaction, bdc_insert should be performed within a loop, rite?

3)no batch input session created if use call transaction, rite? as every bdcdata line will update using MB1B, correct?
thanks

Answer:
1) if submit rsbdcsub and return in report xyz it means batch input session is created and is processed from the report xyz instead of manually process in sm35. rite?
Right. But it leaves you the possibility of tracing errors etc. within SM35.

2) may i know if i use call transaction to update instead of via sm35. for example, instead of perform insert_group using 'MB1B' i use
call transaction 'MB1B' using bdcdata
mode
update ......
if use call transaction, bdc_insert should be performed within a loop, rite?

No idea.

3)no batch input session created if use call transaction, rite? as every bdcdata line will update using MB1B, correct?

Correct. You only create a BI session if you write the program to create it. BI sessions hand control over to SM35. Call TX leaves control entirely with your program.

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:
2) may i know if i use call transaction to update instead of via sm35. for example, instead of perform insert_group using 'MB1B' i use
call transaction 'MB1B' using bdcdata
mode
update ......
if use call transaction, bdc_insert should be performed within a loop, rite?

No idea.



In a BDC, you populate your bdc table first so, yes you would do it in a loop and then call the transaction
_________________
Regards

R


Abap KC
SFMDR
Copyright ?2007 - 2008 www.jt77.com