cancel
Showing results for 
Search instead for 
Did you mean: 

BKPF - Field Name XREF1_HD - Not Updated for Parked Doc

sachin_thombre
Participant
0 Kudos

Hello All,

We are receiving file from 3rd party system.

File A = Using standard FM accounting doc is POSTED (Ref.key (header) 1 - Is used with Text - "TEST"

File A = Using standard FM accounting doc is PARKED (Ref.key (header) 1 - Text is "BLANK"

Same File A (which has same data) is been processed by (Ref.key (header) 1 is not updated while parking.

Can you please provide some suggestion:

1) Why this is happening

2) If I need to updated Text for Parked doc what I have to do.

The requirement is to update Text from the file for Parked doc in the same manner as its updating for Posted.

Thanks,

Sachin

Accepted Solutions (1)

Accepted Solutions (1)

iklovski
Active Contributor
0 Kudos

Well, this module is not really good for parking... See the following OSS note for more info:

2445449 - Parking document issue due to function module PRELIMINARY_POSTING_FB01

You have to use BAPI_ACC_DOCUMENT_POST as described in the note I sent before. That's the module I was using in all other situations, where I had to make a parking.

sachin_thombre
Participant
0 Kudos

Hi Eli,

Thank you so much for your reply...

ppan4705
Explorer
0 Kudos

Hello Elli,


I am using BAPI_ACC_DOCUMENT_CHECK for parking where i am modifying STATUS_NEW inside IF_EX_ACC_DOCUMENT~CHANGE as '2' for parking. Now the issue here is, in addition to modifying field STATUS_NEW i am modifying XREF1_HD which is not updating in BKPF.

same field(XREF1_HD) is populating correctly when posting the document. Any suggestion ?

Thanks in advance!

iklovski
Active Contributor
0 Kudos

Please, don't 'hijack' threads; if you have an issue, open a new one (after performing some search, of course)

ppan4705
Explorer
0 Kudos

Sorry for trouble. Noted and raised another thread.

Answers (2)

Answers (2)

iklovski
Active Contributor
0 Kudos

Hi,

What function module are you using to park a document? You should check your coding... There is no purely 'standard' module for parking; you have to work with BAPI for posting, but with some tricks (see OSS note 209236).

Regards,

Eli

sachin_thombre
Participant
0 Kudos

Hi Eli,

Thanks for replying on my Questions.

So, for Parking the developer is using "PRELIMINARY_POSTING_FB01" Functional Module.

Can you suggest if I have to update some text from the file in = BKPF - XREF1_HD "Ref.key (header) 1", as it is updating for Posting Docs, how I can achieve that.

Thanks,

Sachin

nico_dewaele
Active Contributor
0 Kudos

hi,

are you using substitution rules for this? They are not called during parking process, only posting.

kr

Nico