Post incoming payments based on Invoice number.
Hello,
I would appreciate your help on the following question. POINTS AVAILABLE. <b>Is there a way for us to post an incoming partial payment from a customer based only on the invoice number?</b>
For example, a customer has several open invoices and want to make a partial payment on 1 of the invoices. <b>I know we can do it using F-28 (Partial Payments tab), however, is there any other way to post a payment to a particular invoice without entering a customer number?</b> Using F-28 brings up all the invoices and pmts for the customer.
Thanks in advance!
<b>This is the documentation about the program:</b>
<b>F.13</b>
This program clears open items from customer, vendor and G/L accounts (in particular, GR/IR clearing accounts) automatically.
It selects all accounts specified in the value sets that have debit and credit postings.
The following items are not cleared:
Noted items
Statistical postings and special G/L transactions of the type bill of exchange
Items with withholding tax postings
Down payments can only be cleared if down payment clearing for the same amount has been posted
The remaining open items are grouped according to fixed system criteria:
Company code
Account type
Account number
Reconciliation account number
Currency key
BSID-WAERS for customers
BSIK-WAERS for vendors
BSIS-PSWSL for G/L accounts
Special G/L indicator
The program also groups items according to a maximum of five user criteria. Note that the trading partner number and the business area are no longer fixed system criteria (in comparison to the former clearing programs SAPF123 and SAPF123W). Therefore, if you want to group by business area or trading partner number, you have to enter these as user criteria.
Clearing takes place when, for the group of line items selected according to the above criteria, the balance in document currency (for customers and vendors) or in update currency (for G/L accounts) is zero. The date for clearing is the clearing date according to your selection specifications. In an update run, if the clearing transaction is successful, the clearing document number is specified.
During the program run, all accounts in which clearing can be performed are blocked. They are then unblocked again after the clearing transaction. Accounts that are blocked by other transactions or that are intended for the automatic payment run are not considered in automatic clearing
<b>OB74</b>
Prepare Automatic Clearing
In this activity you enter the criteria for grouping an account's open items for automatic clearing. The clearing program clears the open items that are grouped together if their total balance equals zero in local and foreign currency.
You must enter the following standard criteria:
account type
account number or a number interval
You can also enter a further five criteria.
You select these five additional criteria from the fields in table
BSEG or BKPF. If possible, you should choose fields that are also
contained in table BSIS (G/L accounts), BSID (customers), or BSIK
(vendors). You can determine the field names by displaying the tables
in the Data Dictionary, which you reach by choosing
Tools -> ABAP Workbench and then Dictionary.
Similar Messages
-
Post an Incoming Payment starttng with Invoice Number.
My client needs to create an Incoming Payment for a customer but wants to start with the Invoice number instead of the BP number. They are using SAP B1 version 8.8. Do you have a solution?
Bill,
This is quite common and I think this is what you will need...
Save the below query and link it as a formatted search on the CardCode field on the Incoming Payment
SELECT T0.CardCode FROM [dbo].[OINV] T0
WHERE T0.DocNum = '[%0]'
After you add this formatted search query to the CardCode field. The user would press Shift+F2 on the CardCode field when processing an Incoming Payment. A window would pop-up asking to Enter DocNum which is the Invoice number. This will do the reverse lookup.
SUDA SAMPATH -
T-code F-28 (Post Incoming Payments) - only 16 lines to enter invoice doc
Hope someone can help me on the following issue:
Issue is pertaining to t-code F-28 (Post Incoming Payments). There are only 16 lines for user to enter invoice documents when we select Document Number for the Additional Selection. For some cases, we do need to enter more than 16 lines.
Question:
1. Anyway to increase number of lines for user to enter invoice documents
2. Any workaround if the number of lines cannot be increased.
Thank you very much.
WilsonHi,
That is standard SAP screen defination.
You can use "Page Down" button to enter additional 16 document numbers and so on. Or can give the document numbers in ranges.
If you have a huge list of invoice numbers to be given which can not be met by above, then you need to develop a custom program to call BDC or BAPI_ACC_DOCUMENT_POST
Regards,
Gaurav -
Hi,
I request you to explain the process involved to post incoming payments in F-28. Please let me know how I can track the Account number under Bank data of a customer and also what document type to be selected?
If I select document type u2013 DZ system is asking an entry is required in field reference. My idea is to clear all the invoices of a customer.Please guide me what steps to be done to clear invoices of a customer.
Please advice me.
Thanks,
Victor.Hi Victor,
F-28 is using for customer incoming payment. In F-28,
give doc. date,
doc. type as DZ,
Co. Code,
Posting Date,
Period, currency,
Ref. No. in refe. field,
no need to give doc. no.,
give doc. header text,
and give bank a/c. no.,
amount,
if bank charge applicable give bank charge amouunt otherwise no need to give,
value date,
header text and
give customer no. and
select process open item,
then it will go another one screen and
select select all button and select deactivate then all transacton figures will appear in block colour
if the payment is full payment select standard tab, if it is partial select partial tab and if it is residual payment select residual payment
then select doc. no. for tracing invoice and click double click... it will shows blue colour
in that below in Editing Status, the amount entered field and amount assigned field will be same and the not assigned field should be in Zero. then only u can save. otherwise u can not save the doc.
I think this will clear idea to u for Incoming payment process..... -
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. -
Posting Cash Payments and Clearing Invoices
Hi everybody,
Can anybody suggest a transaction to post payments (money) and clear FI invoices.
I am looking for a transaction where the user can pull an invoice by doing a search by invoice number, or by PO number, and to post a payment against the invoice, do clear it down.
I tried the transaction F-28 and, apparently, I can´t search the invoice by the PO number.
Appreciate your help!
Thank you very much!
Kind regards
DrimasHello,
If I understand correctly you are trying to make payment for vendor invoice. Whereas, the transaction code F-28 relating to Customers.
You have two option in SAP to post invoice
1. MIRO - If you have Purchase Order details and your MM module is in place, then you can post. However, before posting MIRO, you should have Purchase Order in place ME21N and goods receipt must have been made in MIGO.
2. If it is pure FI Invoice, then you can post the invoice through F-43 or FB60
Now for any of the invoices 1 or 2, you would like to make the payment,
You can make the payment by using
F-53 - Creates Payment Document (To assign check manually use FCH5, to assign automatically use FBZ5)
F-58 - Creates the Payment document as well as assign the check automatically.
F110 - For Automatic Payment Program
If you want to void the check, then FCH9
If you want to void the check as well reverse payment document FCH8
If you have not assigned any check so far, but would like to reverse the payment document, then use FBRA.
Once you have reversed the payment, if you still wanted reverse invoice document, then use FB08.
If you want to see the check register, use FCHN.
To update the check number on assignment or reference field, you can use FCHU.
May be some of transaction codes are irrelevant for you, but just for your future reference, I have provided additional information.
Please let me know if you need any further information.
Regards,
Ravi -
How to do an incoming payment based on journal entry whit SDK ?
Hello
Somebody have the code for SDK of Business One, how to do an incoming payment based on journal entry?
TksHello Julio,
Here some example code from the SDK helpfile.
Private Sub cmdTest_Click()
On Error GoTo ErrorHandler
Dim vCompany As SAPbobsCOM.Company
'create company object
Set vCompany = New SAPbobsCOM.Company
'set paras for connection
vCompany.CompanyDB = "SBODemo_US"
vCompany.Password = "manager"
vCompany.UserName = "manager"
vCompany.Server = "(local)"
'connect to database server
If (0 <> vCompany.Connect()) Then
MsgBox "Failed to connect"
Exit Sub
End If
Dim nErr As Long
Dim errMsg As String
'Set the object's properties
Dim vPay As SAPbobsCOM.Payments
Set vPay = vCompany.GetBusinessObject(oIncomingPayments)
vPay.Address = "622-7"
vPay.ApplyVAT = 1
vPay.CardCode = "D10006"
vPay.CardName = "Card D10004"
vPay.CashAccount = "288000"
vPay.CashSum = 0
'vPay.CheckAccount = "280001"
vPay.ContactPersonCode = 1
vPay.DocCurrency = "Eur"
vPay.DocDate = Now
vPay.DocRate = 0
vPay.DocTypte = 0
vPay.HandWritten = 0
vPay.JournalRemarks = "Incoming - D10004"
vPay.LocalCurrency = tYES
vPay.Printed = 0
vPay.Reference1 = 8
vPay.Series = 0
vPay.SplitTransaction = 0
vPay.TaxDate = Now
vPay.TransferAccount = "10100"
vPay.TransferDate = Now
vPay.TransferSum = 0
vPay.Invoices.AppliedFC = 0
vPay.Invoices.AppliedSys = 0
vPay.Invoices.DocEntry = 8
vPay.Invoices.DocLine = 0
vPay.Invoices.DocRate = 0
vPay.Invoices.InvoiceType = 13
vPay.Invoices.LineNum = 0
vPay.Invoices.SumApplied = 5031.2
Call vPay.Invoices.Add
Call vPay.Invoices.SetCurentLine(1)
vPay.Invoices.AppliedFC = 0
vPay.Invoices.AppliedSys = 1089.65
vPay.Invoices.DocEntry = 11
vPay.Invoices.DocLine = 1
vPay.Invoices.DocRate = 0
vPay.Invoices.InvoiceType = it_Invoice
vPay.Invoices.LineNum = 1
vPay.Invoices.SumApplied = 1000
vPay.CreditCards.AdditionalPaymentSum = 0
vPay.CreditCards.CardValidUntil = CDate("10/31/2004")
vPay.CreditCards.CreditAcct = "295000"
vPay.CreditCards.CreditCard = 3
vPay.CreditCards.CreditCardNumber = "884848448"
vPay.CreditCards.CreditCur = "EUR"
vPay.CreditCards.CreditRate = 0
vPay.CreditCards.CreditSum = 5031.2
vPay.CreditCards.CreditType = 1
vPay.CreditCards.FirstPaymentDue = CDate("11/29/2002")
vPay.CreditCards.FirstPaymentSum = 5031.2
vPay.CreditCards.LineNum = 0
vPay.CreditCards.NumOfCreditPayments = 1
vPay.CreditCards.NumOfPayments = 1
vPay.CreditCards.OwnerIdNum = "3993939"
vPay.CreditCards.OwnerPhone = "383838888"
vPay.CreditCards.PaymentMethodCode = 1
Call vPay.CreditCards.Add
Call vPay.CreditCards.SetCurentLine(1)
vPay.CreditCards.AdditionalPaymentSum = 0
vPay.CreditCards.CardValidUntil = CDate("10/31/2004")
vPay.CreditCards.CreditAcct = "295000"
vPay.CreditCards.CreditCard = 3
vPay.CreditCards.CreditCardNumber = "884848448"
vPay.CreditCards.CreditCur = "EUR"
vPay.CreditCards.CreditRate = 0
vPay.CreditCards.CreditSum = 1000
vPay.CreditCards.CreditType = 1
vPay.CreditCards.FirstPaymentDue = CDate("11/29/2002")
vPay.CreditCards.FirstPaymentSum = 1000
vPay.CreditCards.LineNum = 1
vPay.CreditCards.NumOfCreditPayments = 1
vPay.CreditCards.NumOfPayments = 1
vPay.CreditCards.OwnerIdNum = "3993939"
vPay.CreditCards.OwnerPhone = "383838888"
vPay.CreditCards.PaymentMethodCode = 1
If (vPay.Add() <> 0) Then
MsgBox ("Failed to add a payment")
End If
'Check Error
Call vCompany.GetLastError(nErr, errMsg)
If (0 <> nErr) Then
MsgBox ("Found error:" + Str(nErr) + "," + errMsg)
Else
MsgBox ("Succeed in payment.add")
End If
'disconnect the company object, and release resource
Call vCompany.Disconnect
Set vCompany = Nothing
Exit Sub
ErrorHandler:
MsgBox ("Exception:" + Err.Description)
End Sub
HTH Regards Teun
Edited by: Teun Aben on Aug 4, 2010 9:00 PM -
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. -
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 -
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 SubramaniOnly when invoice is release to accounting then there will be open items in FBL5N. Check your invoice document flow on the status if there is 1 such accounting document. Check in VF03 Header Data --> Header --> Posting status. What is the reason stated here. Request accountant to use VFX3 to release to check for errors.
-
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? -
Hi Experts
Can you please let me know how to process the residual payments for customers
When i try to do the same i am getting struck up with the issue of
I went to f-28 and entered the amount to be payed and selected the process open items -
Then double click on cell in Res. Item column for that line item.
Now when i try to simulate and save i get this error
*"CORRECT THE MARKED LINE ITEMS"*
I wonder, is there any other way for residual payments
Partial Payment was successful.
I am very new to this please help me.
ThanksHii,
Thank you for the response,
I try to post another invoice but its asking the same thing...
I wonder is there any where we have to configure residual payments.
As you said in the blue line time screen i.e POST INCOMING PAYMENTS PROCESS OPEN ITEMS PAGE
I went to residual payments tab and selected amount under USD GROSS and double clicked on Cash Discount
And finally if i try to simulate its taking to the screen POST INCOMING PAYMENTS DISPLAY OVER VIEW.
If you see there in the bottom there is a tab
open line item with
PK - ACCOUNT - SPL IND - TTYPE - NEW CO CODE.
Here its asking for "correct the marked line items.
Usually even in partial payments this screen appears but this gets directly saved
Otherwise if you can help me how to show paste the screen shot here i will do that
Thanks -
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 -
Error while posting Incoming Payment.
Hi
I Got this error while posting Incoming Payment. What do this Error Mean. How to solve it.
Error:
SBO_Application_ItemEventAP Object reference not set to an instance of an object
Thank YouHi Gayathri,
Try to disconnect the add-ons if any and then add the incoming payment.
Regards,
Vijay kumar -
Error while posting Incoming payments from customers
Hi Experts,
when i am trying to post Incoming payments from customers in F-28,The payment difference amount is Rs 5.
while simulating the following error
"TAX CODE C2 FOR COUNTRY IN HAS BEEN DELETED OR INCORRECTLY CHANGED"
MESSAGE NO.FS201Hi,
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
Maybe you are looking for
-
Will SqlDependency work on Sql Azure?
Hi; I was told that I cannot get notifications in my C# code when the database changes. However, SqlDependency looks like it does provide that functionality. So, what's the actual story - will this work? thanks - dave What we did for the last 6 month
-
hello, where should I look for documentation on org and javax packages? I mean, if I see a function from the java package, I can google it and find out which are it's constructors, methods, what it implements or extends etc. But if I see for instance
-
Scrteen is rotated 90 degrees on Touchscreen 520
When I was using control key my screen rotated 90 degrees on a Touchscreen 520 and I cannot recover the normal orientation of the screen in spite of turning the computer off and on. Also I have not been able to activate the touchscreen aspects of th
-
With Lion, I am forced to login twice ... once with a username password prompt with the full screen background image, and then with the normal Lion login (with my picture). So I have to login twice after sleep. Is this normal or is there some settin
-
Can I delete OS 9 now that I am using OS X 10.4.5
I am currently upgraded to OS X 10.4.5 and can no longer return to the classic mode of OS 9. To free up RAM can I now delete OS 9 from my computer? Thank you for your advise. - Mark