04-12-2010 6:37 AM
Dear Sapgurus,
in se37 with bapi with test values i am going execute bapi name BAPI_ACC_DOCUMENT_POST
In document Header BUS_ACT RFBU,USERNAME *****,COMP_CODE 1001,DOC_DATE 25.03.2010,PSTNG_DATE 25.03.2010,FISC_YEAR2009, FIS_PERIOD 00,DOC_TYPE KV, In Account G/L TabITEMNO_ACC 0000000002,GL_ACCOUNT 114812,DOC_TYPE LB,COMP_CODE 1001, BUS_AREA K001, FISC_YEAR2009,PSTNG_DATE 25.03.2010,VALUE_DATE 25.03.2010, In Account Receivable Table ITEMNO_ACC 0000000001,CUSTOMER A-C-P-234,GL_ACCOUNT 224011,COMP_CODE 1010, BUS_AREA K001, In Amount Table 0000000002 INR INR 1,000.0000,0000000003 INR INR 103.0000,0000000001INR , INR 1,103.0000, After Executive bapi with example value system popup error message
E RW 609 Error in document: BKPFF $ DERCLNT210
E F5 702 Balance in transaction currency
Regards
Rajani
04-12-2010 7:02 AM
Try this,
call function 'BAPI_ACC_DOCUMENT_POST'
exporting
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
* IMPORTING
* obj_type = l_type
* obj_key = l_key
* obj_sys = l_sys
tables
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_extension
return = acc_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
Dont pass obj_type,obj_key,obj_sys.
Regards
Vinod
04-12-2010 7:32 AM
Dear Sapgurus,
Thanks for your sending answer i dont pass any object type value in document header, above fields i enter after execute popup error message
F5 702 BALANCES IN LOCAL CURRENCY
Regards
Rajani
04-12-2010 7:37 AM
Check amounts in your line item structures.. This error occurs during Debit/Credit Mismatch.
Regards
Vinod
04-12-2010 8:13 AM
hello ,
credit and debit amouts should match , in ur case its not happening , so u need to check that.
regards
Prabhu
04-12-2010 8:24 AM
Check your Invoice amt or Open item amt for particular accounting document which should be there in BSID table with credit Debit indicator "S".
for more information check Function Module Documentation.