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

regarding bdc using sessions

Former Member
0 Likes
602

can anyone tell me what all fields to be set to what while using the function modules

1) bdc_open_group

2)bdc_insert

3)bdc_close_group

thank u

6 REPLIES 6
Read only

Former Member
0 Likes
575

Hello Ravi,

I have a good document for BDC. If you wish I can email it

thnx

Read only

0 Likes
575

my mail id is

vardika_nanda@yahoo.com

bye

thank u

Read only

0 Likes
575

plz can u mail me the docs on BDC my mail id is nujhat_mj@rediffmail.com

Read only

0 Likes
575

Hi I too need mat regarding bdc can u send me also .

my mail id: mhnagini@gmail.com

THANKS IN ADVANCE.

Read only

dani_mn
Active Contributor
0 Likes
575

HI,

check the Include program "<b>BDCRECX1</b>" in SE38.

If contains calling of all the function you have listed.

for Example

<b>CALL FUNCTION 'BDC_OPEN_GROUP'
         EXPORTING  CLIENT   = SY-MANDT  "client
                    GROUP    = GROUP     "session name
                    USER     = USER       
                    KEEP     = KEEP      "keep session 
                    HOLDDATE = HOLDDATE. "date

.

 CALL FUNCTION 'BDC_INSERT'
         EXPORTING TCODE     = TCODE  "transaction for bdc
         TABLES    DYNPROTAB = BDCDATA. "data

.

CALL FUNCTION 'BDC_CLOSE_GROUP'.</b>

Regards,

Message was edited by: HRA

Read only

former_member404244
Active Contributor
0 Likes
575

Hi ravi,

1>BDC_OPEN_GROUP-.This function module is used for opening the session.

2>BDC_INSERT ->This function module is used for inserting a record.

3>BDC_CLOSE_GROUP->This function module is used for closing the session.

for example u want to process 5 records then ,First BDC_OPEN_GROUP Will open a session

then BDC_INSERT ,then BDC_CLOSE_GROUP.

LIKE THIS.

PERFORM BDC_OPEN_GROUP.

LOOP AT ITAB.

PERFORM BDC_INSERT.

ENDLOOP.

PERFORM BDC_CLOSE_GROUP.

The above loop is process 5 times and BDC_INSERT will insert 5 records,each time only one.

Regards,

Nagaraj