Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module : BAPI_ACC_DOCUMENT_POST

dev_parbutteea
Active Contributor
0 Likes
507

hello , can you please tell me which table the FM BAPI_ACC_DOCUMENT_POST updates after it has been executed.thanks

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
481

Hi,

it updates BKPF table..

Regards,

nagaraj

3 REPLIES 3
Read only

Former Member
0 Likes
481

Hi

Go thru this code, hope it will help you.

Reward if help.

BAPI_ACC_GL_POSTING_CHECK

CALL FUNCTION 'BAPI_ACC_GL_POSTING_CHECK'

EXPORTING

documentheader = w_documentheader

TABLES

accountgl = it_accountgl

currencyamount = it_currencyamount

return = it_return.

Populate the corresponding tables with the data you have.

For the Date do convert it.

PERFORM convert_date USING it_header-bldat

CHANGING w_documentheader-doc_date.

w_documentheader-comp_code = 'z998'

w_documentheader-doc_type = 'SA'

"and fill the respective tables this way .

<b>

BAPI_ACC_GL_POSTING_POST

</b>

call function 'BAPI_ACC_GL_POSTING_POST'

exporting

documentheader = doc_header

IMPORTING

OBJ_TYPE = l_objtype

  • OBJ_KEY =

  • OBJ_SYS =

tables

accountgl = t_accountgl

currencyamount = t_curramt

return = t_return

  • EXTENSION1 =

.

Read only

former_member404244
Active Contributor
0 Likes
482

Hi,

it updates BKPF table..

Regards,

nagaraj

Read only

Former Member
0 Likes
481

Hi,

BSEG Table will get updated from this BAPI.

Regards,

Satish