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?

Former Member
0 Likes
513

Hi all,

In my prog(BDC) i have included BDCRECX1.

While running it in session mode its giving error like no batch session opened?

Sachin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
490

Hi Sachin,

I think you have not properly used the BDC_OPEN_GROUP and the rest of the function modules properly.

Please check them.And if you still have the problesm send me the code.

Reward if useful.

Thanks & Regards,

khan.

5 REPLIES 5
Read only

Former Member
0 Likes
491

Hi Sachin,

I think you have not properly used the BDC_OPEN_GROUP and the rest of the function modules properly.

Please check them.And if you still have the problesm send me the code.

Reward if useful.

Thanks & Regards,

khan.

Read only

Former Member
0 Likes
490

Hi Sachin,

Check whether u have given all parameters correctly.

Check out this sample code.

CALL FUNCTION 'BDC_OPEN_GROUP'

EXPORTING

client = sy-mandt

  • DEST = FILLER8

group = p_group

  • HOLDDATE = FILLER8

keep = 'X'

user = sy-uname

  • RECORD = FILLER1

  • PROG = SY-CPROG

  • IMPORTING

  • QID =

EXCEPTIONS

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

.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

Try this and get back to me incase of any queries.

Dont forget to reward points if found useful.

Thanks,

Satyesh

Read only

Former Member
0 Likes
490

Check the Hold parameter in BDC_Open_group .

Give the value for it as sy-datum .

Read only

0 Likes
490

Hello all,.

BDCRECX1 is a standard one which maintain both CALL TRANSACTION and SESSIOn?

Sachin.

Read only

Former Member
0 Likes
490

try to see if that include is activated also check the selection and text elements if they are activated .