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_OPEN_GROUP....group invalid

Former Member
0 Likes
4,472

Hi,

I have a BDC code which calls transaction FB01/F-28.

When the program is executed, I get pop-ups for BDC_OKCODE where i have to manually press enter. There is one option on Selection screen to disable this popups (for creating background jobs).

When this popup is enabled, I am able to post documents calling mentioned transaction i.e. BDC is executed successfully. But whenever the option for disabling the popups is selected....I get an err

BDC_OPEN_GROUP....group invalid

Can someone explain the reason for this error.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,644

Hi,

I think you have not populated the group name. Import parameter "GROUP" in the function module BDC_OPEN_GROUP. Is a valid group name specified ?

Regards

3 REPLIES 3
Read only

Former Member
0 Likes
2,645

Hi,

I think you have not populated the group name. Import parameter "GROUP" in the function module BDC_OPEN_GROUP. Is a valid group name specified ?

Regards

Read only

0 Likes
2,644

Yes the variable(w_session) for group is blank. What should be its value?


  CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
      client = sy-mandt
      group  = w_session
      user   = w_uname      
      keep   = c_space.

Read only

0 Likes
2,644

Hi,

You can create a selection screen field and make it mandatory for the user to enter the group name and pass the value to the function module.

After running the program a entry with this name will be created in SM35

Regards