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

BDC problem

Former Member
0 Likes
709

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
Read only

Former Member
0 Likes
656

> 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

Read only

0 Likes
656

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?

Read only

Former Member
0 Likes
656

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

vijay

Read only

former_member186741
Active Contributor
0 Likes
656

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