Skip to Content
author's profile photo Former Member
Former Member

BDC problem

Hi all,

There is one problem in a BDC prgm. The requirement is,

i have a parameter p_sessn (session name) which is assigned a default value : PROC. Now, When i run the prgrm, A session with name PROC is created . Now suppose i have 2000 records, all the records are under the PROC session. Now what i need is: for every 1000 records a new session should be generated for ex: PROC1,PROC2 and so on...

How do i go about this?

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:12 AM

    based on the count say 1000, creat a new Session like proc 1.

    so i have 5000 items so i will creat 5 itabs and session names like proc1 , proc 2---- etc.

    regards

    Prabhu

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:16 AM

    Hi,

    The only way is to edit ur bdc program. There will be two perform statment PERFORM OPEN_GROUP and PERFORM CLOSE_GROUP. you have to repeat these perform for every 1000 records. For every 1000 records , pass the new session name to the group variable. So that different session will be created in sm35.

    Regards,

    M.Saravanan

    Add comment
    10|10000 characters needed characters exceeded