on 03-12-2009 6:14 PM
Hi Guys,
during these days I have some problems with FM BAPI_ACC_DOCUMENT_POST.
My header Data is the same as below.
CLEAR: wa_header.
CLEAR t000.
SELECT SINGLE * FROM t000 WHERE mandt = sy-mandt.
wa_header-doc_date = w_lastdaym.
wa_header-pstng_date = w_lastdaym.
wa_header-doc_type = ca_sr.
wa_header-fis_period = p_perio.
wa_header-fisc_year = p_gjahr.
wa_header-username = sy-uname.
wa_header-header_txt = 'TEST'.
wa_header-comp_code = p_bukrs.
BAPI is the same as below.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_header
IMPORTING
obj_type = w_objtype
obj_key = w_objkey
obj_sys = w_objsys
TABLES
accountgl = t_accountgl
currencyamount = t_currencyamount
return = t_return
extension2 = t_extension.
Why, according to you, after a good posting in BKPF the field BKTXT is empty?
Thanks for your help.
Anyone can help me?
Edited by: Salvatore Bruno on Mar 18, 2009 10:00 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.