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

F-28 post incoming payment BAPI

Former Member
0 Likes
2,594

Hi All

Please help to find the specific F-28 ( post incoming payment )BAPI to do the above activities.

1. is this BAPI_ACC_DOCUMENT_POST is correct to do the F-28 Posting.

Please confirm

Thanks & Regards

K.Gunasekar

Hi All

Please help to find the specific F-28 ( post incoming payment )BAPI to do the above activities.

1. is this BAPI_ACC_DOCUMENT_POST is correct to do the F-28 Posting.

Please confirm

Thanks & Regards

K.Gunasekar

9 REPLIES 9
Read only

Former Member
0 Likes
1,751

Yes . U can use BAPI , BAPI_ACC_DOCUMENT_POST for F-28 Posting..

Read only

0 Likes
1,751

Hi

Do you have any Sample code to review

Thanks & Regards

K.Gunasekar

Read only

0 Likes
1,751

Hi All

is this BAPI is used to post the customer incoming payment by using F-28

BAPI_ACC_DOCUMENT_POST.

please confirm.

Read only

0 Likes
1,751

Chk this thread.

Read only

0 Likes
1,751

Hi Mahalakshmi

I am trying to post the Customer incoming payment by using F-28

Please help to clarify my below query.

what is OBJ_TYPE, OBJ_KEY and BUS_ACT how this values are derived from FI.

what values need to put into this parameter.

Please clarify.

Thanks

Gunasekar

Read only

0 Likes
1,751

Hi

we are trying to execute the Bapi i am getting below error message as

E RW 609 Error in document: ZBKPF GP09071417521022 SPDCLNT200

E RW 014 FI/CO interface: Line item entered several times

Please help to reslove my above query

Read only

0 Likes
1,751

Hi All

I am trying to post the customer incoming payment(f_28) by using BAPI_ACC_DOCUMENT_POST i am getting message as 'document posted successfully' but the document is not posted as i seen in FBL5N for that specific customer.

Please find the below code if i need to change anything or any other parameter i missed out means

please let us know.

gs_documentheader-bus_act = 'RFBU'.

gs_documentheader-username = sy-uname.

gs_documentheader-header_txt = 'test'.

gs_documentheader-comp_code = 'BLE'.

gs_documentheader-doc_date = '20090331'.

gs_documentheader-pstng_date = '20090331'.

gs_documentheader-fisc_year = '2008'.

gs_documentheader-doc_type = 'DY'.

gs_documentheader-obj_type = 'BKPF'.

gs_documentheader-obj_key = '$'.

gs_documentheader-ac_doc_no = '250037'.

gs_documentheader-ref_doc_no = 'REF-222'.

gs_documentheader-obj_sys = 'SPDCLNT800'.

*

gs_accountgl-itemno_acc = '0000000001'.

gs_accountgl-gl_account = '0000200000'.

gs_accountgl-item_text = 'tEST'.

gs_accountgl-comp_code = 'BLE'.

gs_accountgl-plant = 'BLE'.

APPEND gs_accountgl TO gt_accountgl.

gs_currencyamount-itemno_acc = '0000000001'.

gs_currencyamount-currency = 'USD'.

gs_currencyamount-amt_doccur = '285.15'.

APPEND gs_currencyamount TO gt_currencyamount.

gs_accountreceivable-itemno_acc = '0000000002'.

gs_accountreceivable-customer = '0000100007'.

gs_accountreceivable-gl_account = '0000250000'.

gs_accountreceivable-pmnttrms = 'Z000'.

gs_accountreceivable-bline_date = '20090331'.

gs_accountreceivable-item_text = 'No Text'.

gs_accountreceivable-comp_code = 'LTA'.

APPEND gs_accountreceivable TO gt_accountreceivable.

gs_currencyamount-itemno_acc = '0000000002'.

gs_currencyamount-curr_type = '00'.

gs_currencyamount-currency = 'USD'.

gs_currencyamount-amt_doccur = '-285.15'.

APPEND gs_currencyamount TO gt_currencyamount.

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'

EXPORTING

documentheader = gs_documentheader

customercpd = gs_customercpd

  • CONTRACTHEADER =

IMPORTING

obj_type = gv_obj_type

obj_key = gv_obj_key

obj_sys = gv_obj_sys

TABLES

accountgl = gt_accountgl

accountreceivable = gt_accountreceivable

  • ACCOUNTPAYABLE =

  • ACCOUNTTAX =

currencyamount = gt_currencyamount

  • CRITERIA =

  • VALUEFIELD =

  • EXTENSION1 =

return = gt_return.

  • PAYMENTCARD =

  • CONTRACTITEM =

  • EXTENSION2 =

  • REALESTATE =

IF NOT gt_return IS INITIAL.

WRITE:/ gt_return-message.

ENDIF.

Read only

0 Likes
1,751

try using BAPI_TRANSACTION_COMMIT after your bapi call.

Read only

0 Likes
1,751

Hi All

i am using BAPI_TRANSACTION_COMMIT for that just posting the document based on the AR document.

i am unable to post the incoming payment for that any other parameter need to pass the values.