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

Former Member
0 Kudos

which parameter of bdc_open_group function module is not mandatory?(among group,user, keepdate,hold and client)

4 REPLIES 4

dani_mn
Active Contributor
0 Kudos

HI,

All are optional.

Regards.

Former Member
0 Kudos

In this FM all parameters are optional. HOLDDATE parameter keeps the hold date.

The other optional parameters are:

Client: Client

DEST: target system for ODC

Group: Session name

HOLDDATE: Session locked until specified date

Keep:Indicator to kepp processed sessions

User:Batch input user

Record:Indicator ('BI' recording)

Prog:Creating Program

For more info In addition to the above information go to the documentation on FM in the below link,

http://help.sap.com/saphelp_47x200/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm

Reward for useful info.

Former Member
0 Kudos

Hello,

You must pass GROUP as the session name to identify the session in SM35 session list, rest can be blank. See details Below:

BDC_OPEN_GROUP takes the following EXPORTING parameters:

CLIENT

Client in which the session is to be processed. Default: If you don't provide a value for this parameter, the default is the client under which the batch input program runs when the session is created.

GROUP

Name of the session that is to be created. May be up to 12 characters long. Default: None. You must specify a session name.

HOLDDATE

Lock date. The session is locked and may not be processed until after the date that you specify. Format: YYYYMMDD (8 digits).

Default: No lock date, session can be processed immediately. A lock date is optional.

KEEP

Retain session after successful processing. Set this option to the value X to have a session kept after it has been successfully processed. A session that is kept remains in the input/output queue until an administrator deletes it.

Default: If not set, then sessions that are successfully processed are deleted. Only the batch input log is kept.

USER

Authorizations user for background processing.

Regards,

Vishal

Reward if helpful**

Former Member
0 Kudos

hi

good

CALL FUNCTION 'BDC_OPEN_GROUP'

EXPORTING

CLIENT = SY-MANDT

GROUP = 'MUKESH'

USER = 'DSCL'

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

here i think every parameter is mandatory here,bcz only there paramters are there where you have to give the value

CLIENT = SY-MANDT

GROUP = 'MUKESH'

USER = 'DSCL'

thanks

mrutyun