cancel
Showing results for 
Search instead for 
Did you mean: 

Formal error in table FKKOPK: Item numbering is inconsistent

Former Member
0 Kudos

Hi,

I am executing VF04 - Maintain Billing due list transaction in SAP in background jobs.

In selection I am giving the Billing dates, Customer range, Billing types and checking the Order related billing.

I am getting an error for an invoice while posting the accounting document.

Below is the dump error received:

Formal error in table FKKOPK: Item numbering is inconsistent

Diagnosis:

    The line item numbering is incorrect. The items must be numbered in

    ascending order without breaks or gaps. The item transferred to

    item 1 however, has item number 0000.

System Response:

    Error message: the document cannot be posted.

Could any one please guide me how to correct this error.

Accepted Solutions (0)

Answers (6)

Answers (6)

Shiva_Ram
Active Contributor
0 Kudos

Check whether you may need to implement OSS 2020726 - FKKINV: Error >0 022 Formal error in table FKKOP: Item numbering is inconsistent

or 2015608 - FKKINV: Error >0 022 Formal error in table FKKOPK: Item numbering is inconsistent

Regards,

Former Member
0 Kudos

Hi Abdul,

Kindly check if you are passing correct serial number.

I have faced same issue, but solved it by passing incremented opupk (Serial Number of Line Item) .

  DATA: lwa_vkk_doc_r402    TYPE isu21_vkk_doc_r402,

             lv_opupk                  TYPE opupk_kk.

lwa_vkk_doc_r402-n_fkkop-opupk = lv_opupk + 1. ... inside the loop


Thanks.

Former Member
0 Kudos

Hi,

Check the billing doc config and refer the link http://scn.sap.com/thread/3237997

this will help u

Regards,

Atiq

Former Member
0 Kudos

Hi,

Check in your billing type you have not maintained any item number increment

or in copy control ( tcode VTFA) you have not copied the item number.

So system does not find the line item number here. which goes error.

Check the above setting . it may help you solve your issue.

Regards

Pitabash

former_member184080
Active Contributor
0 Kudos

Hi,

Check this.

http://scn.sap.com/thread/3237997

BTW, are you using ECC or any SAP IS?

Regards, Sai Krishna.

Former Member
0 Kudos

Assalamu alikum,

Dear Abdul samee

refere this below thread may be it will help full for you

http://scn.sap.com/thread/3237997

Best Regards,

MH