cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice creation with out PO and Item using BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Kudos
2,145

Hello,

I have a requirement to create the invoce with out PO number. Is there any chance to create the invoice through BAPI_INCOMINGINVOICE_CREATE with out using PO number and item ( ITEMDATA table ).

Thanks for your support.

Regards

Nags

Accepted Solutions (1)

Accepted Solutions (1)

uygur_burak
Active Contributor
0 Kudos

Hello Nags,

First of all, if you want to effect material costing amount directly you must you BAPI_INCOMINGINVOICE_CREATE.

You can create incoming invoce without PO number.

You must fill headerdata, materialdata(it's optional) and accountdata.

Otherwise, if you want to post expense invoice without effecting material costing, you can use BAPI_ACC_DOCUMENT_POST.

It's more useful than BAPI_INCOMINGINVOICE_CREATE.

Regards,

Burak

Answers (5)

Answers (5)

former_member186401
Participant
0 Kudos

Venkata,

I am too, trying to use this BAPI for creating a invoice without a PO.

Do you have anything to add to this post? Have got the solution?

It was back to 2009. Something new? Another BAPI that fits this need better?

Thanks,

Etore Santos

former_member186401
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Burak,

my requirement is to post the document or we need to park the document. These operations are from portal. So is there any BAPI or Fucntion module which will Park and post the document . Now i am trying the BAPI.

Thanks

Nag

uygur_burak
Active Contributor
0 Kudos

Hello Nags,

You can directly post FI document using BAPI_ACC_DOCUMENT_POST via Web service RFC function from portal to R/3.

( You must execute BAPI_TRANSACTION_COMMIT FM for database table update after POST BAPI execution )

Otherwise, if your business process requires parking, you can use PRELIMINARY_POSTING_FB01 function module.

So, any problem about this case?

Regards,

Burak

Former Member
0 Kudos

Hello Burak,

Now i am able to post the docuemnt through BAPI_ACC_DOCUMENT_POST, unable to post the parking docuemnt.

WIth this Function module PRELIMINARY_POSTING_FB01 it very big process to map the fields, because SAP it self

filling lot of fields.

Mean while i have tried the BDC to park the document, but i am getting an error that 'Parking is not possible through batch input'.

RECENTLY ADDED

Now i am getting an issue when we post with the function moduel :PRELIMINARY_POSTING_FB01 , after executing the function module it is giving the document number, but if it fails there is no return table or exeptions to catch the errors . is there any way to over come the problem.

I need to post the document and park the docuemnt.

please suggest.

Thanks & Regards

Nags

Former Member
0 Kudos

Hi Burak,

Thanks for the Reply, I am not going to use the material costing, But i tried with the BAPI_INCOMINGINVOICE_CREATE, which is giving error message fill the PO number and Items . Now i am trying with the BAPI : BAPI_ACC_DOCUMENT_POST, does this work for posting and park the document as well . please let me know .

Thanks & Regards

Nags

uygur_burak
Active Contributor
0 Kudos

Hello Nags,

BAPI_ACC_DOCUMENT_POST posts directly FI document. You can not park FI document with using this FM.

For parking FI document, you can use PRELIMINARY_POSTING_FB01 FM .

You must use BAPI_TRANSACTION_COMMIT for database update after executing BAPI_ACC_DOCUMENT_POST .

Regards,

Burak

Former Member
0 Kudos

Hi ,

Extetention to the above message , Can any one tell me si there any Standard BAPI for FB01 Transaction for INVOICE posting .if possible

Thanks & Best Regards

Nags