Application Development 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: 

BDC problem

Former Member
0 Kudos

Hi,

I have 2 questions regarding Batch Input Session Method in BDC

1 What will happens if BDC_Open_Group fails?

2 What is the work of Keep field in BDC_Open_Group?

Thanks and Regards,

Gagan

4 REPLIES 4

Former Member
0 Kudos

> Hi,

>

> I have 2 questions regarding Batch Input Session

> Method in BDC

> 1 What will happens if BDC_Open_Group fails?

<i> Nothing, you will get an error and that is all. What are you expecting?</i>

> 2 What is the work of Keep field in BDC_Open_Group?

<i>KEEP parameter will keep the session in the session queue even when the session is processed successfully. Otherwise the session will disappear from the SM35 list, as soon as it is processed <b><u>successfully</b></u></i>.

Srinivas

0 Kudos

Hey guys, I'm creating a recording in lsmw and there is a problem (BDC_OPEN_GROUP, group .. is invalid) when I try to hit the button for "create batch input". What could be the problem?

former_member188685
Active Contributor
0 Kudos

Keep will Make the sesssion alive, otherwise it will disappear after processing..

vijay

former_member186741
Active Contributor
0 Kudos

if BDC_OPEN_GROUP fails you can capture the exception and show a message on a report to that effect. The value of sy-subrc returned by it indicates the error, cuurently the exceptions are:

  • CLIENT_INVALID = 1

  • DESTINATION_INVALID = 2

  • GROUP_INVALID = 3

  • GROUP_IS_LOCKED = 4

  • HOLDDATE_INVALID = 5

  • INTERNAL_ERROR = 6

  • QUEUE_ERROR = 7

  • RUNNING = 8

  • SYSTEM_LOCK_ERROR = 9

  • USER_INVALID = 10

  • OTHERS = 11