cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Anyone can help me?

Edited by: Salvatore Bruno on Mar 18, 2009 10:00 AM

Former Member
0 Kudos

I solve problem implementing Sap Note 1025810