Application Development and Automation 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: 
Read only

G/L Document Posting Error

Former Member
0 Likes
3,096

Hi ABAP Experts,

I am posting the G/L document thru LSMW using t-code FB01.

But when I am processing the session in SM35 I am getting threee errors.

1. Field COBL-KOSTL. does not exist in the screen SAPLKACB 0002

2. Field COBL-AUFNR. does not exist in the screen SAPLKACB 0002

3. Transaction error

Can anyone please help me with this.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,993

When you have created the recording you have the Cost Center (COBL-KOSTL) and Order (COBL-AUFNR) avaliable in the screen. Now, when you run with some other GL account these fields are not there on the screen. This happens because SAP drives the screen by the screen group attached to the GL account.

The GL account in which you got an error, you don't need the cost center and order. There could be some GL which requires the Cost Ceter, but not the Order. So, there could be so many different combination and permutation.

I would suggest to use the standard program RFBIBL00 to post FI document without being bothered about this "dynamics" of the screen. Refer my this blog: [LSMW with RFBIBL00|]

Regards,

Naimesh Patel

9 REPLIES 9
Read only

naimesh_patel
Active Contributor
0 Likes
1,994

When you have created the recording you have the Cost Center (COBL-KOSTL) and Order (COBL-AUFNR) avaliable in the screen. Now, when you run with some other GL account these fields are not there on the screen. This happens because SAP drives the screen by the screen group attached to the GL account.

The GL account in which you got an error, you don't need the cost center and order. There could be some GL which requires the Cost Ceter, but not the Order. So, there could be so many different combination and permutation.

I would suggest to use the standard program RFBIBL00 to post FI document without being bothered about this "dynamics" of the screen. Refer my this blog: [LSMW with RFBIBL00|]

Regards,

Naimesh Patel

Read only

0 Likes
1,993

Hi Naimesh,

Thanks for the reply.

I have refered the blog you sent me.

I have done my LSMW using the RFBIBl00 only.

But when I process the Session in Background or Foreground the same errors repeat.

Can you help me?

Thanks in advance.

Read only

0 Likes
1,993

Than you should not pass the Cost Center or Order to the file.

Try to manually post the document through FB01 and see if it asks you to enter the cost center or Order.

If not, than you must not pass them in the file.

Regards,

Naimesh Patel

Read only

0 Likes
1,993

Hi Naimesh,

I have done it manually. It is not asking me to enter the cost center and order field.

But according to my requirement I have to pass the cost center and order field.

Is there any other way which you would suggest?

Read only

0 Likes
1,993

If it not asking for Cost Center and Order for the GL account in the manual entry than it would not be possible with any of the automatic upload method to pass them in the document.

Discuss this with your FI consultant and ask him/her for a field to put the Cost Center and Order. If they are mandatory, than he/she will make the GL account setting compitible to accept the Cost Center / Order.

Regards,

Naimesh Patel

Read only

0 Likes
1,993

Hi Naimesh,

I have checked with my FI consultant. My G/L Account is compatible with the cost center and Order.

Is there any other way.

Read only

0 Likes
1,993

Hi Naimesh,

I am so sorry. I forgot to give you points. Finally my answer is resolved.

Read only

0 Likes
1,993

Hi Nana,

Could you please tell me how you solved the problem. Did you just follow what was discussed in the message or something else to process that. I would be very thankful if you can help me with this issue.

Kind Regards

Leoni

Read only

Former Member
0 Likes
1,993

first check...

in which screen field COBL-KOSTL and COBL-AUFNR exists and then do the mapping to that screen.