2009 Jul 13 11:03 AM
Dear All,
When I try to use BAPI "BAPI_ACC_DOCUMENT_POST" for F-02 posting, I get the following short dump:
"Syntax error in program SAPLACC9".
"The data object GS_ACCIT does not have a component called BAPI_PARA"
Please suggest me how can this error be removed.
Regards,
Kanupriya
Dear All,
When I try to use BAPI "BAPI_ACC_DOCUMENT_POST" for F-02 posting, I get the following short dump:
"Syntax error in program SAPLACC9".
"The data object GS_ACCIT does not have a component called BAPI_PARA"
Please suggest me how can this error be removed.
Regards,
Kanupriya
2009 Jul 13 11:06 AM
HI,
Check all the FMs in the function group ACC9.
Probably some note is missing. Have you upgraded toa new system or applied any support pack recently?
Regards,
Ankur Parab
2009 Jul 14 4:44 AM
Hi Ankur,
Recently we moved from HRSP level 80 to level 91 in R/3 4.7.
Could this have led to some changes in FM BAPI_ACC_DOCUMENT_POST.
Regards,
Kanupriya
2009 Jul 13 11:11 AM
Hi Kanupriya Madan,
Can You paste a snippet of code what all you are passing to FM BAPI_ACC_DOCUMENT_POST, and cross check what
mandatory fields to be passed to that FM.
Rds,
Suneel G
2009 Jul 14 5:05 AM
Hi Suneel,
Please look at the code below:
LOOP AT it_upload_rec.
header-bus_act = 'RFBU'.
header-doc_date = it_upload_rec-bldat.
header-pstng_date = it_upload_rec-budat. header-header_txt = 'F-02 Posting'.
header-comp_code = 'PL10'.
header-doc_type = 'SA'.
header-username = sy-uname.
APPEND header.
CLEAR header.
account_gl-itemno_acc = '1'.
account_gl-gl_account = it_upload_rec-account1.
APPEND account_gl.
CLEAR account_gl.
account_payable-itemno_acc = '2'.
account_payable-vendor_no = it_upload_rec-account2.
APPEND account_payable.
CLEAR account_payable.
currency_amount-itemno_acc = '1'.
currency_amount-currency = 'INR'.
currency_amount-amt_doccur = it_upload_rec-amount.
APPEND currency_amount.
CLEAR currency_amount.
ENDLOOP.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = header
* CUSTOMERCPD =
* CONTRACTHEADER =
IMPORTING
obj_type = gv_obj_type
obj_key = gv_obj_key
obj_sys = gv_obj_sys
TABLES
accountgl = account_gl
ACCOUNTRECEIVABLE =
accountpayable = account_payable
* ACCOUNTTAX =
currencyamount = currency_amount
* CRITERIA =
* VALUEFIELD =
* EXTENSION1 =
return = it_return
* PAYMENTCARD =
* CONTRACTITEM =
* EXTENSION2 =
* REALESTATE =
.Regards,
Kanupriya
2009 Nov 11 11:45 PM
We are facing the same issue after R/3 plug-in upgrade. DId you find any fix?
Thanks,
Parag
2009 Nov 11 11:46 PM
We are facing the same issue after R/3 plug-in upgrade. DId you find any fix?
Thanks,
Parag
2009 Jul 13 11:23 AM
Hi Kanupriya ,
gs_accit is of type -- >
gs_accit TYPE accitHere there is one filed like BAPI_PARAM ,so obviously the system will pop an error if you miigt have attempeted to assign something to a filed BAPI_PARA .
In the Prog - SAPLACC9 in the Inlude -LACC9F20 check out these lines..
It should be like this.
* Menge: Flag Retourenposition setzen
IF NOT gs_accit-xmfrw IS INITIAL.
PERFORM negative_quantity.
ENDIF.
gs_accit-bapi_param = gs_bapi_accit-parameter. "NOT BAPI_PARA !!!!!!!
gs_accit-bapi_tabix = gs_bapi_accit-tabix.Regards
Rajesh Kumar
2009 Jul 13 11:30 AM
Please check the entries in the table:
GJV_PROG_BAPI
Hope That Helps
Anirban M.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |