F-28 Post incoming payment through BAPI with Clearing
Hi Gurus
I have a requirement to post Customer incoming payment through BAPI, I have seen some post where using
BAPI_ACC_DOCUMENT_POST , we can post on account and later using f-32 we can clear. but there s some limitation doing that.
In f-28 residual line items also got generated for short or excess payment. There is a problem for residual item posting also.
If residual amount belongs to more than one Profit Center then GL currency view and Local Currency view is also mismatching.
Is is possible to clear customer line item also at the time of posting through BAPI.
If any one implemented BAPI or any automatic process to post F-28 please share your experience and challenges.
Thanks in advance
Subrata Sarkar
Hi
There could be multiple approaches to this depending on what you want to achieve. If you just want to uplaod the documents, than the BAPI you mentioned could be the right approach. If however, you have fixed criterion for cash application for open items, you can probably look at a BDC to do the clearing.Once the BDC is recorded work with your ABAP colleague to write this up in a custom transaction. This is particualrly useful if you have more items to clear against an incoming payment.
regards
Sanil Bhandari
Similar Messages
-
Posting Incoming payment through EDI 820
Hello,
I am trying to set up EDI 820. I want to post incoming payments through EDI 820.
IDOC Information
IDOC type: PEXR2002
Message type: REMADV
Function Module: IDOC_INPUT_REMADV
Process code: REMC
I have been testing using test tool all my idocs are failed. The error which I am getting is - "customer/vendor could not be determined for intermediate document".
Please suggest me how to fix this error. Is this related to FI config settings or ALE setting error.
Thanks & Regards,
VictorEven i faced the same error while posting the EDI820. Then i corrected the errror by maintaining the segement E1EDKA1
Field name : PARVW , Value: AG
Field name : Name1, Value : Vendor number at customer location
And also the segment E1EDKA1
Field name : PARVW , Value: BE
Field name : Name1, Value : Vendor number at customer location
this should help you
IF E1EDPA1-PARTN IS INITIAL.
IF E1EDPA1-NAME1 IS INITIAL.
*-- keine Daten uebermittelt => Fehler
PERFORM STATUSFELDER_FUELLEN
USING FEHLER_BEI_UEBERGABE
MSG_WARNING
MESSAGE_ID
MUSS_FELD_FEHLT
'NAME1'
'E1EDPA1'
SY-REPID
'E1EDPA1_MOVES'
'NAME1'
SEGNUM
DOCNUM.
ELSE.
SCHLUESSEL = E1EDPA1-NAME1.
ENDIF.
ELSE.
SCHLUESSEL = E1EDPA1-PARTN.
ENDIF.
IF NOT SCHLUESSEL IS INITIAL.
PERFORM PARTNER_TABELLE_LESEN
USING SCHLUESSEL PARTNERNUMMER
PARTNERART HILF_BUKRS.
You can also populate E1EDPA1-PARTN instead of NAME1 to find the account. -
BAPI or FM to post incoming payment for transaction F-28?
Hi all,
I am looking for a BAPI or FM to post incoming payment through transaction F-28.
Please guide if someone worked on it.........
Thanks
Suvarnahi,
look all these similar threads and u decide what to do .............
BAPI on Post Incoming Payment (F-28) Enquiry
BDC / Bapi For Post Incoming Payment (F-28)
F-28 -post incoming payment
bapi is used to 'post incoming payments (t-code F-28)'
BAPI or FM for F-28 Transaction
~~Guduri -
I am trying to Post Incoming payment through T.Code: F-28
I suppose I am facing an error with respect to G/L account. I am core SD Consultant & unable to detect, what will be required to repair the following Error:
Tax-relevant accounts not defined in this area; please correct
Please Guide.
Thanks & Warm Regards,
Rajesh BankaDear Rajesh:
This is the work of FI Consultant.
However the following configuration should be done to remove the error.
Check Whether Tax codes have been defined in T.code FTXP.
check Whether GL Accounts have been defined for tax OB40
and also the check The GL Account in T.code FS00 in the tab
Control data .Mention the tax category or select the check box - (Posting without tax allowed).
Please let me know if you need more information.
Assign points if useful.
Regards
MSReddy -
BAPI on Post Incoming Payment (F-28) Enquiry
Hi all,
I try to look for BAPI on F-28 and I had search for many info. However, I found that 1 thread saying that we can have 'BAPI_ACC_GL_POSTING_POST' to do.
Refer to this site:
bapi is used to 'post incoming payments (t-code F-28)'
However, I found that the BAPI is used for transaction FB50. Generally, I use the F-28 to post incoming payment for AR. So I am not so sure that the BAPI can work.
Besides that, I found another thread claim that no BAPI for the F-28. Refer to this site:
https://www.sdn.sap.com/irj/sdn/profile?userid=677412
As my research, I cant find the appropriate BAPI. Please give me some idea on how the BAPI work, and any correct BAPI can be used? Frankly, I a bit confused now.
Thanks and regards.
Cheers,
IsaacKindly go through this. I thjink it will clear you.
Pattern in which function modules are called
The function module fi_document_process is called 4 times and finally document_post is called once which updates the tables.
Step 1. Call FI_DOCUMENT_PROCESS
Import Parameters
I_GJAHR LIKE TRWCA- YEAR
I_PROCESS LIKE TRWPR-PROCESS
I_EVENT LIKE TRWPR-EVENT
Tables
T_BKPF LIKE BKPF
T_BSEG LIKE BSEG
T_BSEGZ LIKE BSEGZ
T_ACCIT_EXT LIKE ACCIT_EXTENSION
Values to populate import parameters
i_gjahr = '2007' Fiscal year from the screen
i_process = 'BELEG' Constant, can be hard coded
i_event = 'CRBSEGZ' Constant, can be hard coded
xbkpf-bukrs '1000'. Company code from the screen
xbkpf-belnr '$1'. constant , can be hard coded
xbkpf-gjahr '2007'. Fiscal Year , from the screen
xbkpf-blart 'DZ'. Can be obtained from the invoice document
xbkpf-bldat '20070116'. Document Date, from the screen
xbkpf-budat 20070118'. Posting Date , from the screen
xbkpf-monat '01'. constant , can be hard coded
xbkpf-wwert '20070118'. posting Date
xbkpf-usnam 'SAPUSER'. user name
xbkpf-tcode 'FBZ1'. Constant, can be hard coded
xbkpf-waers 'EUR'. currency, from the screen
xbkpf-glvor 'RFBU'. constant can be hard coded
xbkpf-awtyp 'BKPF'. constant, can be hard coded
xbkpf-fikrs 1000'. customer account number, from the screen
xbkpf-hwaer 'EUR'. Currency, from the screen
xbkpf-awsys 'ECCCLNT800'. can be hard coded
xbseg Record 1
xbseg-bukrs '1000'. Company code from the screen
xbseg-belnr '$1' . constant , can be hard coded
xbseg-gjahr '2007'. Fiscal Year, from the screen
xbseg-buzei 001'. constant , can be hard coded
xbseg-bschl '40'. constant , can be hard coded
xbseg-koart 'S'. constant , can be hard coded
xbseg-shkzg 'S' . constant , can be hard coded
xbseg-dmbtr '10'. Amount, from the screen
xbseg-wrbtr '10'. Amount, from the screen
xbseg-pswbt 10'. Amount, from the screen
xbseg-pswsl 'EUR'. Currency, from the screen
xbseg-valut 20070118'. Posting date, from the screen
xbseg-altkt '0000110100'.
xbseg-vorgn 'RFBU'. constant , can be hard coded
xbseg-fdlev 'B9'. constant , can be hard coded
xbseg-fdwbt '10'. Amount, from the screen
xbseg-fdtag '20070118'. Posting date, from the screen
xbseg-kokrs 1000'. Customer account
xbseg-xkres 'X'. constant , can be hard coded
xbseg-xopvw 'X'. constant , can be hard coded
xbseg-hkont '0000110009'. Bank Account number
xbseg-xbilk 'X'. constant , can be hard coded
xbseg-fipos '9620'. constant , can be hard coded
xbseg-lokkt '0000110009'. Bank Account number
xbseg Record 2.
bseg-bukrs '1000'. Company code from the screen
bseg-belnr. '$1' constant , can be hard coded
bseg-gjahr. '2007' Fiscal year from the screen
bseg-augbl. '*' constant , can be hard coded
bseg-buzei'002'. constant , can be hard coded
bseg-bschl. '15' constant , can be hard coded
bseg-koart. 'D' constant , can be hard coded
bseg-shkzg. 'H' constant , can be hard coded
bseg-dmbtr. '10' Amount, from the screen
bseg-wrbtr. '10' Amount, from the screen
bseg-pswbt. '10' Amount, from the screen
bseg-pswsl. 'EUR' currency, from the screen
bseg-altkt. '0000120100'
bseg-vorgn. 'RFBU' constant , can be hard coded
bseg-kokrs. '1000' Customer account number
bseg-xkres. 'X' constant , can be hard coded
bseg-xopvw. 'X' constant , can be hard coded
bseg-hkont. '0000140000'
bseg-xbilk. 'X' constant , can be hard coded
bseg-fipos. '9620' constant , can be hard coded
bseg-lokkt. '0000140000'
bseg-nebtr. '10' Amount, from the screen
bseg-xauto. 'X' constant , can be hard coded
bseg-xzahl. 'X' constant , can be hard coded
bseg-saknr. '0000140000'
bseg-zfbdt. '20070116' Invoice document date
bseg-hwmet. 'A' constant , can be hard coded
bseg-kkber. '1000' Customer account number
bseg-agzei. '1' constant , can be hard coded
Step 2. Call FI_DOCUMENT_PROCESS
Import Parameters
I_GJAHR LIKE TRWCA- YEAR
I_PROCESS LIKE TRWPR-PROCESS
I_EVENT LIKE TRWPR-EVENT
Tables
T_BKPF LIKE BKPF
T_BSEG LIKE BSEG
T_BSEGZ LIKE BSEGZ
T_AUSZ3 LIKE AUSZ_CLR
T_AUSZ4 LIKE AUSZ_CLR_ASGMT
T_ACCIT_EXT LIKE ACCIT_EXTENSION
Values to populate import parameters
i_gjahr = '2007' Fiscal year from the screen
i_process = 'BELEG' Constant, can be hard coded
i_event = 'CLOSE' Constant, can be hard coded
Table xausz3.
ausz3-agzei. '1' Constant, can be hard coded
ausz3-waers. 'EUR' Currency from the screen
ausz3-bukrs. '1000' Company Code
ausz3-belnr. '1800000076' Document number from the screen
ausz3-gjahr. '2007' Fiscal Year
ausz3-buzei. '001'
ausz3-shkzg. 'S' Constant, can be hard coded
ausz3-dmbtr. '10' Amount, from the screen
ausz3-wrbtr. '10' Amount, from the screen
ausz3-koart. 'D' Constant, can be hard coded
Step 3. Call FI_DOCUMENT_PROCESS
Import Parameters
I_GJAHR LIKE TRWCA- YEAR
I_PROCESS LIKE TRWPR-PROCESS
I_EVENT LIKE TRWPR-EVENT
Tables
T_BKPF LIKE BKPF
T_BSEG LIKE BSEG
T_BSEGZ LIKE BSEGZ
T_AUSZ3 LIKE AUSZ_CLR
T_AUSZ4 LIKE AUSZ_CLR_ASGMT
T_ACCIT_EXT LIKE ACCIT_EXTENSION
Values to populate import parameters
i_gjahr = '2007' Fiscal year from the screen
i_process = 'BELEG' Constant, can be hard coded
i_event = 'PROJECT' Constant, can be hard coded
I_AUGLV = 'EINGZAHL' Constant, can be hard coded
Step 4. Call POST_DOCUMENT
Import Parameters
I_BKDF LIKE BKDF
I_UF05A LIKE UF05A
I_GENER LIKE T020-GENER
I_AUGLV LIKE T041A-AUGLV
Tables
T_AUSZ1 LIKE AUSZ1
T_AUSZ2 LIKE AUSZ2
T_AUSZ3 LIKE AUSZ_CLR
T_AUSZ4 LIKE AUSZ_CLR_ASGMT
T_BKP1 LIKE BKP1
T_BKPF LIKE BKPF
T_BSEC LIKE BSEC
T_BSED LIKE BSED
T_BSEG LIKE BSEG
T_BSET LIKE BSET
T_BSEU LIKE BSEU
Values to populate import parameters
Table xausz1
xausz1-belnr. '1800000076' Document number from the screen
xausz1-bukrs. '1000' Company code from the screen
xausz1-gjahr. '2007' Fiscal year from the screen
xausz1-buzei. '001' Constant , can be hard coded
Table xausz2
ausz2-bukrs. '1000' Company code from the screen
ausz2-aktio. 'A' Constant , can be hard coded
ausz2-augbl. '1400000054' Posted document number..from the function NUMBER_GET_NEXT(Dynamically generated unique number)
ausz2-augdt. '20070118' Posting Date from the screen
ausz2-auggj. '2007' Fiscal Year from the screen
Table xbkpf
First record of the internal table zbkpf has to be modified with the dynamically generated document number.
Xbkpf-belnr. 1400000054
Table xbkp1
xbkp1-currj '2007' Fiscal year, from the screen
Table xbseg
Following fields in the table xbseg has to be modified before passing to this function module.
Record 1
TO wa_bseg1-belnr. '1400000054' Dynamically generated number
TO wa_bseg1-zuonr. '20070116' Document Date from the screen
Record 2
bseg1-belnr. '1400000054' Dynamically generated number
bseg1-augdt. '20070118' Posting date from the screen
bseg1-augcp. '20070118' Posting date from the screen
bseg1-augbl. '1400000054' Dynamically generated number
bseg1-zuonr. '14000000542007' Concatenating dynamically generated number and fiscal year
bseg1-kunnr. '1000' Customer number from the screen
Table Xbseu
Record 1
bseu-waers 'EUR' Currency from the screen
Record 2
bseu-waers. 'EUR' Currency from the screen
bseu-xzver. 'X' Constant Hard coded
Step 5. Call FI_DOCUMENT_PROCESS
Import parameters
I_GJAHR LIKE TRWCA-TOYEAR
I_PROCESS LIKE TRWPR-PROCESS
I_EVENT LIKE TRWPR-EVENT
I_AWTYP LIKE ACCHD-AWTYP
I_AWREF LIKE ACCHD-AWREF
I_AWORG LIKE ACCHD-AWORG
I_AWSYS LIKE ACCHD-AWSYS
Tables
T_BKPF LIKE BKPF
Values to populate import parameters
i_gjahr = '2007' Fiscal Year from the screen
i_process = 'BELEG' Constant
i_event = 'POST' Constant
i_awtyp = 'BKPF' Constant
i_awref = '1400000054'Dynamically generated posting doc number
i_aworg = '10002007' Concatenate comp code and Fiscal Year
i_awsys = 'ECCCLNT800' Constant. -
BDC / Bapi For Post Incoming Payment (F-28)
Hi
Im creating BDC for F-28. But it got error coming out.
>> It says DB05B-PSZAH(02) is not an input field.
What I do is: First, I search for Line Item then Document Number. Then It return to basic list. Then I loop again for the second Line Item Number and Document Number.
I can activate the first amount but cannot for the next amount and so on.
Anybody could help me on this??
Is there any BAPI for Post Incoming Payment (F-28)?
Thank you.
Regards.i dont think there is a BAPI for this Transaction...
i have done a BDC on F-28 myself....pasting the code....hope it helps you....
*******NOTE********
the parameter in the subroutine is to see if there is a single document or multiple documents being posted.
FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
**BDC from screen 9005
DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
l_amount(13).
CLEAR t_bdcdata.
REFRESH t_bdcdata.
PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
PERFORM bdc_field USING 'BDC_OKCODE' '=AB'. "OK CODE - doc overview
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-bldat.
PERFORM bdc_field USING 'BKPF-BLDAT' w_date. "cheque date
CLEAR w_date.
PERFORM bdc_field USING 'BKPF-BLART' i_blart. "doc type
PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs. "comp code
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BKPF-BUDAT' w_date. "posting date
CLEAR w_date.
l_period = sy-datum+4(2).
PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
PERFORM bdc_field USING 'BKPF-WAERS' 'INR'. "currency
PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl. "doc. hdr. text
PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr. "Ref. Document No.
PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr. "Assignment(Depot Code)
PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
l_amount = bseg-wrbtr.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
PERFORM bdc_field USING 'BSEG-PRCTR' ''. "Profit Center
**open items data
PERFORM bdc_field USING 'RF05A-AGKOA' 'D'. "Acc type (D=customers)
PERFORM bdc_field USING 'RF05A-XNOPS' 'X'. "Std OIs check box
**end of first screen
**document overview screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0700'. "Overview Screen
PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'. "cursor
PERFORM bdc_field USING 'BDC_OKCODE' '/00'. "OK CODE
PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL Indicator
**for single document selected
CLEAR l_amt_bdc.
IF p_i_mult_doc = ''.
***new screen - next line item
PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
**for single document, use the bouncing amount calculated earlier
l_amt_bdc = w_amt_ant_bouncing.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
**due date - same as posting date on screen
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
CLEAR w_date.
**assignment
CLEAR l_assignment.
CONCATENATE t_seldoc_ant_bouncing-belnr
t_seldoc_ant_bouncing-gjahr INTO l_assignment.
PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
**if there is some remaining amount, then go for another line item
IF w_rem_amt_ant_bouncing > 0.
PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
**new screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-ENTER
l_amt_bdc_remain = w_rem_amt_ant_bouncing.
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
**AGAIN
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-SAVE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
ENDIF.
**multiple documents
ELSE.
**initialize remaining amount to amt entered on screen
l_amt_bdc_mult_remain = bseg-wrbtr.
LOOP AT t_seldoc_ant_bouncing.
IF l_amt_bdc_mult_remain > 0.
IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
ELSE.
l_amt_bdc_mult = bseg-wrbtr.
ENDIF.
**remaining amt = screen amt - amt calculated above.
l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
**due date - same as posting date on screen
**get user default date format and pass date in that format
PERFORM convert_date_to_user_format USING bkpf-budat.
PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
CLEAR w_date.
**assignment
CLEAR l_assignment.
CONCATENATE t_seldoc_ant_bouncing-belnr
t_seldoc_ant_bouncing-gjahr INTO l_assignment.
PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
**posting key 19 for all but last document
PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL
ENDIF.
ENDLOOP.
ENDIF.
**post remaining amount
IF p_i_mult_doc = 'X'.
**new screen if there is some amount left
IF l_amt_bdc_mult_remain > 0.
**posting key 15 with remaining amount
PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
**new screen
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
ELSE.
**if no amount is left, no need for a further line item
PERFORM bdc_field USING 'RF05A-NEWBS' ''. "posting key
PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
ENDIF.
ENDIF.
**clear variables
CLEAR : l_amount, l_assignment, l_amt_bdc,
l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
ENDFORM. " fill_bdc_data_F-28_9005 -
Bapi is used to 'post incoming payments (t-code F-28)'
hi all
can any one tell which bapi is used to 'post incoming payments (t-code F-28)'.
thanks in advance,
lokeshHi
Try 'BAPI_ACC_GL_POSTING_POST' and fill the parameters correctly.Contact ur functional to fill it correctly.
That will work.
If helpful give me points.
Regards
Manas Ranjan Panda -
BAPI for TOCE : FF68 - Posting Incoming Payments from Customers
Hi,
Can anybody provide me if there is any BAPI for the transaction FF68 : Posting Incoming Payments from Customers?
Cheers,
Yash KHi,
OBZT just controls the display of the various tax codes in the drop down list if MIRO/ FB60 etc.
You need to maintain the atx coe correctly in FBZP. Go to FBZP and in this tax code and check whether the tax rates etc. have been defined correctly for it.
Regards,
SDNer -
F-28 post incoming payment BAPI
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.GunasekarHi 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. -
Post Incoming Payments - Transaction F-28
Hello all,
I need to post Incoming payments from a certain flat file.
Is there any standard BAPI or FM which does post the Incoming payments in F-28.
Thanks in advance.
Regards,
ArunHi Amit,
I was searching on SDN for my problem and got your thread,
I want to post incoming payment for customers using BAPI BAPI_ACC_DOCUMENT_POST.
But i am missing some paramenters that need to pass.
When i am executing my program FI document is getting created but with posting key 40 & 50.(BSEG)
I want document to be created with posting keys 40 & 15 (i.e. Incoming payment document).
can you just give me any sample code or import values that need to pass & may be i am missing.
Also my issue is interface between Non-SAP & SAP systems via BAPI for posting & Clearing.
I know using above BAPI we can only post document but can not clear invoice.
So is there any alternative to this bapi so that i can post & clear documents?
Please reply.
I tried with BDC for f-28 inside zbapi but through f-28 also we can only post documents which are partial payments.
So is there any way to post via bdc or zbapi and then clear with some other transaction? -
Incoming payments through f110 ?
HI,
Can one of you please give some info. On the following..
F110 .. We can also use for incoming payments. Can you please let me know when exactly we will execute incoming payments through f110 ?
For vendor it makes sense that it will collect the all pending open invoices and will generate a payment document including check printing(or whatever the payment method) to vendor.
Step 1. Create vendor invoices
Step 2. Run F110
Step 3. F110 selects pending invoices and generates payment documents
Step 4. depending on payment method It will allow us to pay the money to Vendor through cheque/ cash/ etc.,
I gues incoming payments is for receivables from customer, if so then what f110 does for incoming payments..
I feel if we know that customer deposited the money in bank (through bank statement) then we can run f110 for the open documents is it correct ? Or any other options.. Let me know step by step process like vendors
Step 1. Create Customer invoices
Step 2.
Step 3.
Regards
Ravinagh BoniRavi,
F110 can be used for incoming payments as well.It is not a common practice across all businesses. This process is called as ACH direct debit. In simple terms it is pulling money directly from customer bank account.Required things;
1. A payment method for Incoming payments, Payment medium program used for this payment method is RFFOEDI1
2. Banking information in customer master.
To explain it further:
1. Post invoice to customer
2. Run f110 to clear the invoice by inserting customer number in the parameters tab
3. Payment program creates an IDOC with all requirement information for the banks to process payments
4. if the bank accepts IDOC send idoc's to bank, if not process data in EDI translator and send the file to bank in aceptable format
5. Bank processes the payments and sends the clearing transactions as a bank statement
6. When EBS is processed main bank account will be updated.
I hope this helps, -
Posting Incoming payments - F-28
*Tcode> F-28*
I am trying to post incoming payment. The customer is created in company code 1050 but, I am getting this error message:
"The entry 1050 is missing in table T043G"
How do I correct this error?
Please, I need step by step how to solve the problem not just general statement or comment. thanksDear David,
The reason for this is probably as a result of your customizing:
In table T043G-ZTERM you can define a payment term as a standard
for carryforward postings. Please have a look at the documentation of
this field:
"Standard payment term for carryforward postings
Terms of payment key which is to be transferred to the line
item when posting residual items.
Procedure
You only need to specify a terms of payment key here if the
terms are to be transferred from the original document."
You can customize T043G via SM31 or via IMG.
You are probably assigned to a tolerance group that has a fixed
payment term associated with it, in this case 1050.
Therefore you would either have to delete this fixed payment term
from the settings of your tolerance group, or maintain the entry
in table T052.
You can check this in transaction SE16, enter table name T043G, and
leave all the selections blank except for 'Fixed Term' where you
should enter 1050.
I hope this helps.
mauri -
Posting Incoming Payment thru R-28
Hi ,
While posting incoming payment thru f-28 on simulation the second line item is Highlighted on entry of text & assignment we are able to post the document.
I want to know where and what changes are done to get this feature.
Thanks
SurojitHi
This means that either text/assignment or both have been made mandatory for that line item, either in GL related field status group or Posting key realted field status group or through validations.
Hence you may need to check all these to find out where it is customized.
Regards -
Post incoming Payments (F-28)
I am getting an error when I tried to post incoming payment from Customer.The txn is F-28. The error message is "The difference is too large for clearing"
Please help me to resolve this issue.
Thanks.Hi Latha,
Check your tolerance limits(should have been defined for both employees and customer/vendors).Also you are trying to clear items against each other which donot match. In such cases select Partial/Residual clearing and try to clear the open items.
You can select Partial/residual clearing tab and proceed.
This may happens because amount entered and amount assigned both are different and in amount not assigned there is some amount difference.
So, First select all documents with help of select all and click on Item deactivation tab. Now it will show amount entered same in block of not assigned .(unless the amount entered is equal to amount assigned..u cant clear)
Now select the document agt which u want to clear.
If any partial payment is there go to partial tab and there double click before payment amount.
It will show payment amount.
This might solve your problem
Regards
Aravind
<b>PLEASE DO ASSIGN POINTS IF USEFUL</b> -
F-28/Post Incoming Payments
Hi All,
When doing F-28 (post incoming payments), getting "No open items were found".
I also checked in FBL5N and saw "No items selected" for customer account and company code.
I have created order till invoice. Please let me know how to create accounting document after invoice.
Thank you.
With Regards,
Gandhi SubramaniHi,
The invoices from SD, transaction VF01, when created, accounting document is created automatically if everything is well configured, and no problems are found.
Regards,
Gilberto Li
Maybe you are looking for
-
Ever since I upgraded to ios 7, i can not look in the photos tab, because every one of my pictures appears twice. I know its because my iphoto library from my computer and my camera roll are being put together, however there must be a way to not have
-
In-browser editing screwing up font
Aside from the other issues I'm having with in-browser editing on an Adobe Muse site hosted with Business Catalyst I am now finding that in-browser editing does not retain the font that has been applied to text. For example, if I go to a block of tex
-
Listener: Listener supports no services.
In 11gR1 RAC, my listener is giving the following output. lsnrctl statusConnecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error TNS-00511: No listener Solaris Error: 146: Connection re
-
many of the functions of iPhoto are lost in Photos. Why delete it? its better to remove Photos than iPhotos.
-
Lost user account in Users file
I just bought and installed the new MacBookPro and installed Parallels and Office 2007 etc. Suddenly today I could not find my user account anymore. There still is sysadmin and Shared as accounts. However in the little house on the left I can still s