‎2005 Nov 19 3:54 AM
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
‎2005 Nov 19 3:59 AM
> 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
‎2005 Dec 01 6:19 PM
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?
‎2005 Dec 01 6:32 PM
Keep will Make the sesssion alive, otherwise it will disappear after processing..
vijay
‎2005 Dec 02 12:15 AM
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