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 Problem

amarnath_singanamala2
Participant
0 Kudos

Hi All,

I am working for an upgrade project (from 4.6B - Ecc 5.0). A 'Z'program is calling a standard prog ( rfbibl00 )and passing few parameters, it will show the values for the fields of BDKPF & BBSEG as info msgs. but at the end it is giving a msg - "...Editing was terminated". and after that the prog will show some report with an error msg - "No session found with status "New" or "Error". ".

folloing is the code whr they are calling the stnd prog--


 SUBMIT rfbibl00
               TO SAP-SPOOL SPOOL PARAMETERS
               params WITHOUT SPOOL DYNPRO
               WITH ds_name = p_unfil
               WITH callmode = callmode
               AND RETURN.

      LOOP AT tab-bdc.

        SUBMIT rsbdcsub
                 TO SAP-SPOOL SPOOL PARAMETERS
                 params WITHOUT SPOOL DYNPRO
                 WITH mappe EQ  tab-bdc+0(12)
                 WITH von   EQ sy-datum
                 WITH bis   EQ sy-datum
                 AND RETURN.

      ENDLOOP.

so please help me in solving this problem, and reply me as soon as possible.

Regards,

Amarnath Singanamala.

7 REPLIES 7

Former Member
0 Kudos

1st check

WITH <b>mappe</b> EQ <b>tab-bdc+0(12)</b>

both have same type variable...

0 Kudos

Hi kishan,

Thanks for ur reply. yes they are same "mappe" is char 12 and "tab-bdc" is also char 12.

The thing is 1. I am getting the "editing was terminated" is coming wen it is calling rfbibl00 and 2. I m getiing -- "No session found with status "New" or "Error". ". after rsbdcsub.

Regards,

Amarnath.

0 Kudos

open repoer RSBDCSUB in screen there is check box for

session status new click f1 on that and find out the screen-name for that.

now in submit command also include it with value 'X'.

SUBMIT rsbdcsub

TO SAP-SPOOL SPOOL PARAMETERS

params WITHOUT SPOOL DYNPRO

WITH mappe EQ tab-bdc+0(12)

WITH von EQ sy-datum

WITH bis EQ sy-datum

<b>WITH Z_VERARB EQ 'X'</b> AND RETURN.

0 Kudos

Hi,

do we need to decalre that variable Z_VERARB.

Regards,

Amarnath.

0 Kudos

Hi,

I have done the same changes in the program, I chked SM35 for the session overview, the session is still in creating stage only.

It has to create a new session rite.

Regards,

Amarnath.

andreas_mann3
Active Contributor
0 Kudos

hi,

i think there's an error from rfbibl00.

<b>please start rfbibl00 (alone in background) and check the log/protocol</b>

A.

naimesh_patel
Active Contributor
0 Kudos

Hello,

Try to run only RFBIBL00 and see which errors are coming, I think you are getting error from RFBIBL00.

Regards,

Naimesh