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

Using PRELIMINARY_POSTING_FB01 to Park FI Document

Former Member
0 Likes
1,363

Hi Experts, 

I am able to park a invoice using PRELIMINARY_POSTING_FB01 but unable to update the value for BKPF-XREF1_HD and BKPF-XREF2_HD.

Please suggest if any solutions.

Regards,

Rafi

Hi Experts, 

I am able to park a invoice using PRELIMINARY_POSTING_FB01 but unable to update the value for BKPF-XREF1_HD and BKPF-XREF2_HD.

Please suggest if any solutions.

Regards,

Rafi

6 REPLIES 6
Read only

Former Member
0 Likes
1,175

Please paste your code how you are populating these 2 fields. Just an assumption may be some code written in some exit or BTE or Substitution to refresh these 2 fields.

Cheers,

Prakash

Read only

0 Likes
1,175

Hi Prakash,

I have created entries directly in FM but not in ABAP Program, able to park document but the reference fields are not updated.

Regards,

Rafi

Read only

0 Likes
1,175

Which BAPI fields has been mapped with BKPF-XREF1_HD and BKPF-XREF2_HD

Cheers,

Prakash.

Read only

0 Likes
1,175

It's not BAPI but FM - PRELIMINARY_POSTING_FB01.

Regards,

Rafi

Read only

Former Member
0 Likes
1,175

I have been trying to use PRELIMINARY_POSTING_FB01 to park but I am not successful.

I always bet the message "specify an account number". please advise.

Thanks,

Edwin

Read only

0 Likes
1,175

What kind of invoice it is ? Please pass GL account/Vendor / Customer number in BAPI call.

BR,

Prakash