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

BAPI_ACC_GL_POSTING_POST for FB05

Former Member
0 Likes
4,480

Hello!!!

We are trying to use a BAPI to account FB05. In some forums we have seen that an option is using the BAPI_ACC_GL_POSTING_POST. We are very lost... and we do not know how to use it.

We receive this message "RW - 605 - El documento se ha contabilizado correctamente: BKPFF 2 ABD-100" but nothing is accounted.

We need an example to see the value of each field.

Thanks a lot.

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
2,382

¡Hola!,

well, for "posting with clearing" I am not aware of an existing BAPI (at least in 4.7). Probably because it usually requires some manual matching of open items and payments.

I have used function POSTING_INTERFACE_CLEARING in the past to automate FB05-type posting.

Greetings

Thomas

5 REPLIES 5
Read only

ThomasZloch
Active Contributor
0 Likes
2,383

¡Hola!,

well, for "posting with clearing" I am not aware of an existing BAPI (at least in 4.7). Probably because it usually requires some manual matching of open items and payments.

I have used function POSTING_INTERFACE_CLEARING in the past to automate FB05-type posting.

Greetings

Thomas

Read only

mnicolai_77
Active Participant
0 Likes
2,382

hi Lluís,

i had got the same problem and after the bapi, for clearing the document generated, i call the program SAPF124

SUBMIT sapf124 WITH bukrx IN bukrx "range of company

WITH gjahx IN gjahx " range of year

WITH docnr IN docnr " range of document

WITH x_kunnr = 'X'

WITH kontd IN kontd " range of customer

WITH x_saknr = 'X'

WITH konts IN konts " range of G/L account

WITH augdt = sy-datum "Clearing date

WITH xausbel = 'X'

WITH xnausbel = 'X'

WITH x_testl = ' '

WITH x_fehler = 'X' AND RETURN.

hope that is useful,

Bye

Marco

Read only

0 Likes
2,382

How do you prevent the warning message "This is a production run" from appearing or from stopping the execution ?

Read only

0 Likes
2,382

How do you solved the problem at the submit of program SAPF124 "This is a production run" from appearing or from stopping the execution ?

Read only

0 Likes
2,382

How do you solved the problem at the submit of program SAPF124 "This is a production run" from appearing or from stopping the execution ?