12-31-2010 3:09 PM
hello Friends,
We have a custom program to post FI document suing the FB01 format , program RFBIBL01 .
The data file uploaded on production is working fine , but whereas the same data file on the test system is throwing an error saying " FB 013: ....Editing was terminated " .
There is no difference in the program version . I also verified similar threads with the error , but mine seems to be different.
I am not getting a clue even after verifying in several ways, Please assist with your inputs.
thanks
Raghu V
>*----
-
>* BBSEG Belegsegment
>*----
-
WHEN 'BSEG'.
save_tbnam = 'BBSEG'.
PERFORM bbseg_erweiterung_pruefen.
>*------- Prüfen und Übertragen der Kontonummer (DUMMYX/NEWKO) -
-
IF bbseg-dummyx(1) NE nodata "Note 559106
AND bbseg-dummyx NE space "Note 559106
AND bbseg-newko(1) NE nodata
AND bbseg-newko NE space
AND bbseg-dummyx NE bbseg-newko. "Note 559106
PERFORM log_msg USING c_msgid 'I' '175'
beleg_count satz2_count bbseg-dummyx space. "Note 559106
PERFORM log_msg USING c_msgid 'I' '176'
bbseg-newko space space space.
PERFORM log_msg USING c_msgid 'I' '177'
space space space space.
PERFORM log_msg USING c_msgid 'I' '016'
space space space space.
PERFORM dump_wa USING 'BBKPF'.
PERFORM log_msg USING c_msgid 'I' '017'
space space space space.
PERFORM dump_wa USING 'BBSEG'.
PERFORM log_abort USING c_msgid '013'.
ENDIF.
IF bbseg-dummyx(1) NE nodata "Note 559106
AND bbseg-dummyx NE space "Note 559106
AND bbseg-newko(1) NE nodata
AND bbseg-newko NE space
AND bbseg-dummyx EQ bbseg-newko. "Note 559106
CLEAR bbseg-dummyx. "Note 559106
bbseg-dummyx = nodata. "Note 559106
ENDIF.
IF bbseg-dummyx(1) NE nodata "Note 559106
AND bbseg-dummyx NE space. "Note 559106
bbseg-newko = bbseg-dummyx. "Note 559106
CLEAR bbseg-dummyx. "Note 559106
bbseg-dummyx = nodata. "Note 559106
ENDIF.
IF bbseg-newko EQ space
OR bbseg-newko(1) EQ nodata.
PERFORM log_msg USING c_msgid 'I' '145'
beleg_count satz2_count space space.
PERFORM log_msg USING c_msgid 'I' '016'
space space space space.
PERFORM dump_wa USING 'BBKPF'.
PERFORM log_msg USING c_msgid 'I' '017'
space space space space.
PERFORM dump_wa USING 'BBSEG'.
PERFORM log_abort USING c_msgid '013'. >>> Error trigerring at this point .
ENDIF.
01-03-2011 3:55 AM
Hi Raghunandan,
I think this has something to do with the values of structure BBSEG.
Could you check the values in the structure via a breakpoint.
If you are not able to find the error, paste them here and maybe too can have a look.
Regards,
Jovito.
12-31-2010 5:51 PM
Compare the structures of BBSEG in the two systems. Are they different?
Rob
01-01-2011 1:51 AM
Hello Rob ,
I verified that either , the structure is same on both systems.
thanks
Raghu V
01-03-2011 3:55 AM
Hi Raghunandan,
I think this has something to do with the values of structure BBSEG.
Could you check the values in the structure via a breakpoint.
If you are not able to find the error, paste them here and maybe too can have a look.
Regards,
Jovito.