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: 

FB60/FV60 - How to park a vendor invoice thru BDC or BAPI ?

0 Kudos

Hello,

Iu2019m facing a problem for creating a parked vendor invoice in background (Tcode FB60 / FV60) thru BDC or BAPI.

I looked for a BAPI and I just found "BAPI_ACC_INVOICE_RECEIPT_POST", for posting FI invoice : it doesnu2019t correspond to our requirements (we need to park).

Then I used "PRELIMINARY_POSTING_DOC_WRITE" for parking an invoice, it works, but when we see the parked invoice in FBV2, the displayed Tcode is like FBV1. The users want the vendor invoice header, I mean the same screen as FB60.

Finally, I tried to use Batch Input to park but I got the following message :

"Parking not possible during batch input

Message no. FP140

Procedure

In Customizing, you can control whether an error message is issued."

I found nothing in IMG about control message

And in sdn forums, some said that bdc doesnu2019t work for an enjoy transaction (MIRO, MIR7, FB60 ..) but we already created a BDC for MIR7 and it works.

Thanks,

Walid

7 REPLIES 7

Former Member
0 Kudos

Hello,

Try the BAPI BAPI_INCOMINGINVOICE_PARK.

Thanks and Regards,

Venkat

0 Kudos

Hi Venkat,

BAPI_INCOMINGINVOICE_PARK is only for MM invoice, you should have a PO number for this BAPI.

It fills RBKP, RSEG tables ...

My problem concerns a parked FI vendor invoice. (tables VBKPF).

0 Kudos

Hi,

i faced same problem. i want to park a vendor invoice using batch input or BAPI. did you solve this problem? can you help me please?

Thanks.

Best Regards.

Former Member
0 Kudos

Greetings Walid-

I have recently been through a lot of the same issues trying to find API's to park an accounting invoice. I use the function module PRELIMINARY_POSTING_FB01 and pass in the parameter i_tcode = 'FV60'. It allows me to park the invoice without any issues and we have been using this function regularly for about six months now.

I hope this helps,

Andy

0 Kudos

Hi Andy,

can you please share the logic what are the parameters you are passing.while am checking this FM its throwing message '

Check not successful due to document balance'.

Regards,

Gurunath Kumar

Former Member
0 Kudos

Hello Walid,

Though this is often frowned upon, you can use the old (non-Enjoy) transaction F-63 to create your BDC. It will allow you to park a vendor invoice in the background without a p.o. I had this same issue and this was the method I used to accomplish what I needed.

Hope this helps,

Kelly

0 Kudos

Hi kelly,

    Could u plz share the sample bdc code for vendor invoce parking without P.O.?

How can we post the parked invoice doc.

thanks

kranthi