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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.