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

Problem creating invoice using BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
514

Hi eveyone,

I am creating invoice using BAPI_INCOMINGINVOICE_CREATE. I am creating only Header and Item level Data. I am populating only the below fields in both level data.

HEADER:

INVOICE_IND X

DOC_DATE 19980311

PSTNG_DATE 20101512

REF_DOC_NO 1111

COMP_CODE 5431

CURRENCY USD

ITEM :

INVOICE_DOC_ITEM 1

PO_NUMBER 234

PO_ITEM 10

REF_DOC 1111

REF_DOC_YEAR 2011

REF_DOC_IT 1

ITEM_AMOUNT 22.00

QUANTITY 2

PO_UNIT UX

When i am loading. It shows me the following error " Please enter the respective GR details for the PO".

Please let me know your suggestions

Edited by: Matt on Jan 3, 2012 11:50 AM

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
480

First of all pass the PO number etc with leading zero's and secondly get the GR details of the PO fromPO document flow and pass to the bapi

thNAks

Nabhete

Read only

madhu_vadlamani
Active Contributor
0 Likes
480

Hi Karthik,

Just go through the documentation of the bapi.

Regards,

Madhu.

Read only

matt
Active Contributor
0 Likes
480

Moderator message Please use a meaningful subject in future. Also read the Rules of Engagement about asking good questions.