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

Batch-input :STATUS: NEW ?

Former Member
0 Likes
592

Hi,

When I create an batch-input session name HOW do I set STATUS to NEW insted of Being created?

IF l_subrc <> 0 AND e_group <> space.

IF e_group_opened = ' '.

CALL FUNCTION 'BDC_OPEN_GROUP'

EXPORTING

client = sy-mandt

group = e_group

user = e_user

keep = e_keep

holddate = e_hdate.

e_group_opened = 'X'.

ENDIF.

CALL FUNCTION 'BDC_INSERT'

EXPORTING

tcode = tcode

TABLES

dynprotab = bdcdata.

ENDIF.

tnx!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

Adibo A

When you successfully close the group after creating the BDC session, the status will change to NEW.

This is of course you are using a Session vs a Call Transaction method.

1 REPLY 1
Read only

Former Member
0 Likes
452

Adibo A

When you successfully close the group after creating the BDC session, the status will change to NEW.

This is of course you are using a Session vs a Call Transaction method.