Skip to Content
0

Report : J_1IG_INB_INV_STO : CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'

Mar 23 at 12:31 PM

104

avatar image

Dear All,

I have a requirement that on running the below report .

J_1IG_INB_INV_STO .

Below function module is executing inside the function module .

CALL FUNCTION J_1IG_INB_INV_CREATE .

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_header
* CUSTOMERCPD =
* CONTRACTHEADER =
IMPORTING
obj_type = wa_objtype
obj_key = wa_objkey
obj_sys = wa_objsys
TABLES
accountgl = it_accgl
* ACCOUNTRECEIVABLE =
accountpayable = it_pay
accounttax = it_tax
currencyamount = it_curr
* CRITERIA =
* VALUEFIELD =
* extension1 =
return = it_return
* PAYMENTCARD =
* CONTRACTITEM =
extension2 = it_extn
* REALESTATE =
* ACCOUNTWT =
.

t_return[] = it_return[].

I am getting the below error in the table : it_return[].

Error in document: BKPFF $

Required field TAX_CODE was not transferred in parameter ACCOUNTTAX

Transaction key does not exist

G/L account is not defined in chart of accounts 1000

Please suggest some ideas or workaround to post the invoice .

Regards

Deep

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
pradeep reddy Apr 11 at 05:40 AM
0

Hi Deep,

Required field TAX_CODE was not transferred in parameter ACCOUNTTAX

Maintain info record in the combination Pur org,plant,vendor and material to pick tax code or implement BADI to fill tax code.


j-1ig-inv.png (16.7 kB)
Share
10 |10000 characters needed characters left characters exceeded