08-08-2006 10:01 AM
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.
08-08-2006 10:03 AM
1st check
WITH <b>mappe</b> EQ <b>tab-bdc+0(12)</b>
both have same type variable...
08-08-2006 10:21 AM
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.
08-08-2006 10:28 AM
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.
08-08-2006 10:51 AM
Hi,
do we need to decalre that variable Z_VERARB.
Regards,
Amarnath.
08-08-2006 11:28 AM
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.
08-08-2006 11:30 AM
hi,
i think there's an error from rfbibl00.
<b>please start rfbibl00 (alone in background) and check the log/protocol</b>
A.
08-08-2006 12:17 PM
Hello,
Try to run only RFBIBL00 and see which errors are coming, I think you are getting error from RFBIBL00.
Regards,
Naimesh