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

former_member215781
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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