cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with executing the program, RFBIBL00

former_member367551
Participant
0 Kudos

Dear forumers,

I have created a new custom program that executes the program, RFBIBL00 at the end, but there are somewhat errors in the output. Here's how the output looks like:-

**********

Batch Input Documents

FB018 File /usr/sap/interface/Rejseafregning/REJSE.klh is being checked

FB012 Session 1 : Special character for 'empty field' is !

FB174 Doc. : Record end indicator in table BBKPF was not supplied with !

FB023 ... Table BBKPF was extended

FB024 ... Before the next put,

FB025 ... also maintain the new fields in table BBKPF

FB019 Session 1 session name REJSE : No terminations have been found

**********

Here are the data mappings that I have implemented in the custom program:-

BGR00-STYPE = '0'

BGR00-GROUP = 'REJSE'

BGR00-MANDT = SY-MANDT

BGR00-UNAME = SY-UNAME

BGR00-START = SY-DATUM

BGR00-XKEEP = 'X'

BGR00-NODATA = '!'

==========

BBKPF-STYPE = '1'

BBKPF-TCODE = 'FB01'

BBKPF-BLDAT = GT_INPUT_DATA-BLDAT

BBKPF-BLART = 'ZT'

BBKPF-BUKRS = GT_INPUT_DATA-BUKRS

BBKPF-BUDAT = GT_INPUT_DATA-BUDAT

BBKPF-MONAT = GT_INPUT_DATA-BUDAT+4(2)

BBKPF-WAERS = GT_INPUT_DATA-WAERS

BBKPF-XBLNR = GT_INPUT_DATA-XBLNR

BBKPF-XMWST = 'X'

BBKPF-SENDE = 'X'

The data values of all other BBKPF fields are assigned with '!'.
==========

BBSEG-STYPE = '2'

BBSEG-TBNAM = 'BBSEG'

BBSEG-NEWBS = GT_INPUT_DATA-BSCHL

BBSEG-DUMMYX = GT_INPUT_DATA-HKONT

BBSEG-WRBTR = GT_INPUT_DATA-WRBTR

BBSEG-MWSKZ = 'K0'

BBSEG-ZUONR = GT_INPUT_DATA-ZUONR

BBSEG-SGTXT = GT_INPUT_DATA-SGTXT

BBSEG-HKONT = GT_INPUT_DATA-HKONT

BBSEG-SENDE = X

The data values of all other BBSEG fields are assigned with '!'.

==========

Contents of GT_INPUT_DATA (1st data record):-

XBLNR: #12345

BUKRS: 1100

BUDAT: 20161210

BLDAT: 20161210

HKONT: 10524

WRBTR: 1.071.856,80

WAERS: DKK

KSCHL: Kredit

BSCHL: 31

ZUONR: #

SGTXT: #12345

==========

Contents of GT_INPUT_DATA (2nd data record):-

XBLNR: #12345

BUKRS: 1100

BUDAT: 20161210

BLDAT: 20161202

HKONT: 806025

WRBTR: 1.438,06

WAERS: DKK

KSCHL: Debit

BSCHL: 40

ZUONR: 105916

SGTXT: Neo Anderson

==========

How can I resolve the statements written in bold letters above?

Please do help. Appreciate any inputs here.

Thanks.

Regards,

Deborah

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member367551
Participant
0 Kudos

Dear experts,

Is there anything that I can do to resolve the errors here? At the end of my program execution, still, no batch input session is created. What can I do further on?

**********

Batch Input Documents

FB018 File /usr/sap/interface/Rejseafregning/REJSE.klh is being checked

FB012 Session 1 : Special character for 'empty field' is !

FB019 Session 1 session name REJSE : No terminations have been found

**********

raymond_giuseppi
Active Contributor
0 Kudos

Try to set SENDE to NODATA value (here "!", why not "/" as most people?) this field should only be filled when using old formats/versions of SAP to indicate the system that you use a shorter/older version from a previous release.

reference: End of record indicator in FI Financial Accounting: Data Transfer Workbench.

former_member367551
Participant
0 Kudos

Hi Raymond, thank you for noticing my question 🙂

I have done as you have suggested - I changed all the SENDE data fields from 'X' to '!'.

I then executed the program again, and here's the output this time:-

**********

Batch Input Documents

FB018 File /usr/sap/interface/Rejseafregning/REJSE.klh is being checked

FB012 Session 1 : Special character for 'empty field' is !

FB019 Session 1 session name REJSE : No terminations have been found

**********

This does look better than the previous output, but is there something that I can do to resolve the line above in bold letters again?

Thanks for your input, appreciate it~