Application Development 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: 

PRELIMINARY_POSTING_DOC_WRITE Error for parked documents-Workflow

Former Member
0 Kudos

Hi Guys!

Beforehand I would to say sorry if posted this question in the wrong topic. Im really not sure which topic this belongs to, hope you can help me, I really need your expertise in this one.

My company currently upgraded to the ramp-up version of ECC 6.0. Right now we are experiencing a so-called "update" problem. here is the exact error:

Message: "FP 044: Error when updating BKPF & & &"

Program: LF042U11

Transaction: SBWP

This happens everytime a parked document is posted via Workflow Inbox. I've tried searching via the OSS Notes but unfortunately I found no relevant note corrections that is at least valid to our current release SAP version of 700.

Hope you guys can help me. Thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

Hello Richard,

please check the following field value:

BKPF-BSTAT

for the document-no. that is going to be posted.

If this field is blank the document is considered to be already posted, which causes this error.

But it is more likely to happen that the problem's cause is the missing company-code/doc.-no/fiscalyear (because the message parameter seem to be empty. If you find a shortdump you can verify this, if the messages is at:

    update bkpf from bkpf.
    if sy-subrc ne 0.
      message id 'FP' type 'A' number 044 with
              bkpf-bukrs bkpf-belnr bkpf-gjahr

If so, the cause is in transaction FBV0. Create a SAP OSS message if so.

Best wishes,

Florin

Former Member
0 Kudos

Hi Florin,

Thank you for the immediate response, I appreciate it so much.

I have already encountered such blank bkpf-bstat when I tried debugging the actual error update, and indeed it was returning a blank value. And reading from the code

if sy-subrc eq 0.

move-corresponding xvbkpf1 to bkpf.

hlp_update = 'X'.

bkpf-aedat = sy-datum.

update bkpf from bkpf.

I thought that it was just supposed to update the bkpf aedat field, that is if the bstat field was not blank.

How does the PRELIMINARY_POSTING_DOC_WRITE function actually works?

Apparently the Workflow realated update errors are not confined to this single error alone.

Other Errros that I've found are as follows:

FP 069: Error when inserting VBSEGK & & &

FP 071: Error when inserting VBSEGS & & &

I can somewhat confine however the errors occurring in these thoe subroutines within the function PRELIMINARY_POSTING_DOC_WRITE (perform bkpf_schreiben and perform vbseg_schreibe).

We have already posted an very high priority OSS message to SAP but they still have no reply. That was 2 days ago.

Please bear with me, and again thanks in advance for the help.

0 Kudos

Hi Richard,

I suspect more and more that there's something wrong with the initial creation of the preliminary posting.

Assuming that the table entries are quite similar to 6.40 you should expect entries in:

VBKPF

BKPF

VBSEGS (if you had a gl line item)

VBSEGK

Field VBKPF-BSTAT and BKPF-BSTAT have to be set to = 'V'

That's all I could advice w/o debuggin the system myself.

Best wishes and good luck w/your OSS message.

Florin