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: 

ACC_INVOICE_RECEIPT03 inbound processing

Former Member
0 Kudos

Hi,

I am using the idoc ACC_INVOICE_RECEIPT03 idoc to receive invoice information from vendor.

Now im confused as to how to process the incoming IDOC.

Im supposed to park a transaction for each of the IDOC received ie simulate FV60.

How can i do this? What inbound process code should i use? Is there any example?

Right now i have given BAPI as the process code, and trying to correct errors in the IDOC.

Thanks

Siva

7 REPLIES 7

Former Member
0 Kudos

Hi Sivasakthi,

When I had a requirement like this I used idoc ACC_DOCUMENT instead. The function to process this idoc was IDOC_INPUT_ACC_DOCUMENT which uses BAPI_ACC_DOCUMENT_POST. The problem with this BAPI was that it posts document. It does not park. There is no standard functions available for the parking.

So, I copied 'BAPI_ACC_DOCUMENT_POST' into 'Z_ACC_DOCUMENT_PARK'. Then I removed the code (I kept the import, export etc intact). And I wrote a BDC (call transaction) to call FBV1 transaction and parked the document.

Then I copied IDOC_INPUT_ACC_DOCUMENT to Z_IDOC_INPUT_ACC_DOCUMENT_PARK and simply changed the function call in the code to call my Z function instead of the bapi. I had to just change the function name in the statement, actually.

Salai.

0 Kudos

Hi Salai,

Thanks a lot for your solution. I was hoping someone could give me this answer!

I did search for FMs that parked invoices and didnt find any. Thanks for confirming.

I've not done BDC before ,Could you please share with me the bdc code that you wrote?

How to handle errors that occur?

Appreciate your help

Thanks

Siva

0 Kudos

Siva,

I am not in the same project anymore. I'm not sure if I can get you the code.

Before that, can you try function PRELIMINARY_POSTING_FB01? I think it can create a parked document.

If that doesnt work, you can go back to the BDC.

Salai.

0 Kudos

try also

BAPI_INCOMINGINVOICE_PARK

MRM_INVOICE_PARK

MRM_INVOICE_PARK_WITH_NEW_KEY

0 Kudos

Hi Salai,

Im not sure if this FM parks but this is for FB01, i would have to find something that does FB60.

0 Kudos

You can do the same function as FB60 as FB01. Except you can do more in FB01. They hit the same tables. Only the screens are different. FB60 is a easy access txn of FB01 for vendor invoice.

Salai.

0 Kudos

Oh ok... i'm totally oblivious to the functional side. I'll discuss this with the functional consultant and test the BAPIs you have mentioned.

Thanks for your valuable inputs.