Batch Input - RFBIBL00

Question: How Do Everyone!

I am trying to create a batch session via a piece of ABAP code. I create a
text file which is submitted to RFBIBL00. I then execute the session via
SM35. This then simulates transaction FB01.

I am getting the following error when I process the file:


11:21:00 Session PURCH. is being processed by user INTERFACE
in mode N on server
0002 11:21:00 Field COBL-PRCTR. does not exist in the screen
SAPLKACB 0002
11:21:00 Transaction error
0002 11:21:01 Field COBL-PRCTR. does not exist in the
screen SAPLKACB 0002
11:21:01 Transaction error
11:21:01 Processing statistics
11:21:01 2 transactions read
11:21:01 0 transactions processed
11:21:01 2 transactions with errors
11:21:01 0 transactions deleted
11:21:01 Batch
input processing ended

I really need some help here. It is saying that COBL-PRCTR does not
exist. But When I look at the screen FB01, I can see that the field does
exist.

What the hell is going on !!!!

Any ideas would be much appreciated.


Andy

Answer:
You may be able to see the profit centre field on FB01 but is it there on screen SAPLKACB 0002 for the doc type you are trying to process and for the GL code on the line you are trying to process?

When I've had this kind of problem before with RFBIBL00, it has usually been caused by the data I'm passing in being inconsistent with the way the doc type and GL codes have been defined in config. For example, we have certain GL codes that require a cost centre / profit centre and some balance sheets GL codes that do not. So, a line containing a balance sheet GL code and a cost centre would be inconsistent, the cost centre field is suppressed on screen, and this causes an error.

Try creating one of the documents that errored manually by entering the data into FB01. With any luck, you should get some more information about what is going wrong.
_________________
Using SAP R/3 version 4.7 BASIS 6.20 under SunOS on an Oracle 10.2.0.2.0 database

Answer:
Many thanks for taking the time out to reply. Very much appreciated.
It all makes perfect sense what you say. The problem I am having
is that this is the first time I have done something like this. I am
the only ABAPer where I am, so there is no one to ask apart from
the internet.

Thanks again

Andy
Copyright ?2007 - 2008 www.jt77.com