cancel
Showing results for 
Search instead for 
Did you mean: 

Background processing using Submit RSBDCSUB

Former Member
0 Kudos

Hello,

I'm trying to process a background session using RSBDCSUB:

      SUBMIT rsbdcsub
       EXPORTING LIST TO MEMORY
       WITH mappe    EQ p_group
       WITH von      EQ sy-datum
       WITH bis      EQ sy-datum
       WITH z_verarb EQ 'X'
       WITH fehler   EQ ''
       WITH logall   EQ 'X'
      AND RETURN.

(Assuming that <b>p_group</b> is a parameter with <b>apqi-groupid</b> type and it's default value is '<b>ZXXXXX</b>').

The fact is that:

- The <b>ZXXXXX</b> batch-input is created.

- The screens fields are properly filled.

- The problem is that the batch-input <b>ZXXXXX</b> status remains 'being created' (i.e. the processing of that BTCI never starts).

Could anybody help me to solve that problem?

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

andreas_mann3
Active Contributor
0 Kudos

Hi Daniel,

so the error is in the program (1), which creates the

batch input map and not your program (2) , which submits rsbdcsub.

so you've to analyse and fix the errors in Program 1.

Andreas

Former Member
0 Kudos

Hi Andreas,

Thanks for answering.

I'm not sure to understand the following sentence: "the program which creates the batch input map". Could you, please, be more precise ?

andreas_mann3
Active Contributor
0 Kudos

Daniel,

there must be an abap which creates bdc-group

before you'll submit rsbdcsub-

and here must be a bug because of state 'being created'

Andreas

Former Member
0 Kudos

Andreas,

You are right: the problem was effectively in the program. I didn't close the group (call 'BDC_CLOSE_GROUP') before the submit statement.

Thank you very much for help !