cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing error while creating an invoice

Former Member
0 Kudos

Error Log

     0081058563  000000 Pricing error in document 0140681317

          Technical data

                    Client                                   100

                    Group Number                     

                    Sales Document Number                      0081058563

                    Item Number of the SD Document          000000

                    Schedule Line Number                          0055

                    Counter in Control Tables                      00

                    Message Identification                          VF

                    System Message Number                     055

                    Output Type                                         E

                    Message Variable 01                            0140681317

                    Message Variable 02

                    Message Variable 03

                    Message Variable 04

                    Group Type                                           F

I checked sales order incompletion log and it stated that the missing data is the configuration in line item 30:   

But this line 30 is on a different delivery and has already been invoiced hence can not invoice again.

Accepted Solutions (1)

Accepted Solutions (1)

Hello Gabriel,

The code corrections provided for copy control in the below note should resolve the issue,
44618 - Incomplete items prevent billing


Usually this error comes when there is a check in the copy control for the field AVBUK-UVPRS and AVBUK-UVFAS.

...

* Pricing status

IF AVBUK-UVPRS NA ' C'.

PERFORM VBFS_HINZUFUEGEN USING '000000' '055' VBAK-VBELN

SPACE SPACE.

SY-SUBRC = 4.

EXIT.

ENDIF.

...

* Overall Incompletion status for Billing Document

IF AVBUK-UVFAS NA ' C'.

PERFORM VBFS_HINZUFUEGEN USING '000000' '069' VBAK-VBELN

SPACE SPACE.

SY-SUBRC = 4.

EXIT.

ENDIF.

...


Please check and confirm.

Thanks
Suresh Ramalingam

Former Member
0 Kudos

Is this the correct SAP Note? because the number doesn't sound correct or complete?

0 Kudos

Yes the given note 44618 is the right one.

0 Kudos

thanks . usefull post

Answers (1)

Answers (1)

VeselinaPeykova
Active Contributor
0 Kudos

Is you are absolutely sure that item 30 was fully invoiced (VBUP status), but it still shows as due for billing in VKDFS, then you have far more serious problems than incomplete pricing.

Instead of applying modifications, you need to find the root cause  (especially if this is not an isolated case).

If this is the first time such situation occurred, check for update terminations and recreation of billing due indexes.

If the problem is reproduceable also with new a completely new set of documents in DEV/QA/PRD, in addition to that, check also for customizing changes in copy control, item category setup, recently implemented notes, custom code modifying billing due or document statuses.

There are some correction reports provided by SAP - for example 319866 - Correction report billing relevance after Customizing changes, but first you need to understand why this issue occurs.