Select open items for a settlement amount
Hi All,
I have a requirement to do a clearing with situation like this,
upload a excel file contains of settlement amount.
This amount will use to clear up the payment JV save earlier (open items)
for example: settlement 57.00
then the open item documents :
doc 1 > 7.00
doc 2 >20.00
doc 3 >50.00
doc 4 >20.00
doc 5 >17.00
from example above, the settlement can clear with doc1+doc3
or doc2doc4doc5
My program is using the bdc call 'F-03' to do clearing.
how to program the logic if wan scenerio 1 or 2 based on any number of open items sum up is equal to settlement amt.
Any standard FM can use ?
Please help. << Priority removed >>
Thanks
Edited by: Rob Burbank on Sep 14, 2011 1:27 PM
Anything that sounds as if to make your matter look more important than the others, especially texts like "urgent", "at the earliest", "ASAP", will be removed from the posts. Please avoid these in the first place.
Thomas
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
Similar Messages
-
How to see open items for vendor.
Hi,
What condition I should put to select values from Bseg to select open item amount for vendor.
Regards
MaveHi,
to select open items for vendor you should read from table BSIK.
After this you can read table BSEG with BSIK-BUKRS, BSIK-BELNR, BSIK-GJAHR.
( Bseg is a cluster table and selections for vendor are slower than bsik)
for example:
select * from bsik
where bukrs = company_code
and lifnr = vendor_no
select * from bseg
where bukrs = bsik-bukrs
and belnr = bsik-belnr
and gjahr = bsik-gjahr
Regards, Manuel -
Selection of open item for payment
Hi
I understand that in the automatic payment program, the selection of the open items for payment is partly determined by the "documents entered up to date" and the "Next payment" run date. Would like to confirm if the posting date specified will affect the open items selected.
I have a vendor with 3 open items - 2 invoices and 1 credit memo. The payment date for all 3 documents are 13.9.2007.
Only the 2 invoices were selected for payment when I specify
Posting date : 12.9.2007
Doc entered up till and next payment date : 14.9.2007
Only when we change the posting date to a later date was the credit memo selected as well. Why is this so?
Hope someone could advise me on this.
Thank you.Hi
Thanks for responding.
Baseline date Payment terms
Invoice 14.08.2007 14 days
Credit memo 13.09.2007 -
Regards. -
Selecting open items in F-03 using additional selections
I need to select open items in a GL account using more than one additional selection eg. document type, posting date, assignment
I select Additional Selections then document type then add a document type, then I select Other Selection - posting date and then Process Open Items. Only the first selection for document type is recognised.
Is this a bug?
Edited by: Richard Somerset on Jan 7, 2009 5:14 PMHowever SAP help suggest that this can be done
Searching for Open Items
Use
After you have entered an account with open items, you can search for specific open items to be cleared.
On the screen for selecting open items, you can search for specific open items to be cleared using the following additional selection fields:
Gross amount
Document number
Posting date
Other fields depending on the system configuration
Procedure
To search for open items using the additional selection criteria, proceed as follows:
Choose one of these fields, such as Posting date, then choose Execute.
The screen for entering selection criteria appears.
Enter one or more single values or ranges within the selection, such as 01/01/1993 through 01/31/1993 for a range of posting dates.
To search for specific open items by other criteria (optional), choose Edit ® Select more.
Repeat steps 1 and 2 for the other selection criteria.
After you enter your selection criteria, you have the following options:
Display the list of open items by choosing Goto ® Open items.
Display the clearing document header and the items entered so far by choosing Goto ® Doc. Overview.
Post the clearing document by choosing Document ® Post
Edited by: Richard Somerset on Jan 8, 2009 9:05 AM -
Interest calculation only for open item for customers
Hi, do you know how to calculate Interest calculation only for open item for customers?I do not want to see cleared items. I have problem with customization.
Best Regards
TomIn the item interest calculation, you can tick the 'open items' for calculation of interest and also select the 'no cleared items'.
Regards -
F-32 modify selected open items in the Process Open Items sheet
Hi all,
I have to design a solution in order to modify the selected open items showed in the Process Open Items sheet. I mean, I want to clear 2 concert items (I know every feature for each one) but the selection criterion match some items else, so I need to deselect the extra open items. This change is in order to create a BI to automate the clearing process.
I know you are thinking, ok man you just need to use the Automatic Clearing transaction (F.13) but it doesnu2019t solve the prerequisites given (the same problem with the selection criterion).
Could you help me?
Thanks in advance.Hello Rob,
In fact the transaction provide me the correct criterions, but the internal logic use them like OR's in a select but I need AND's. Let me explain it better with an example:
The standard program does something like this:
Select *
From ...
into ...
where criterion1 OR
criterion2 OR
... OR
criterionN.
But I need to modify this selection like follows:
Select *
From ...
into ...
where criterion1 AND
criterion2 AND
... AND
criterionN.
I don't how to attack this problem by User Exit, BADI... I have tried with every resouce i know but nothing. The last resort is a Z program whith the propper BAPI but this option is not wellcome at the moment.
Thanks again. -
Re:- How to see customer/vendor open items for profit center wise
any one help me regarding : How to see customer/vendor open items for profit center wise. That is possiable or not please suggest to me. I am using 4.6c version .
Run the report from Tcode FBL1N for vendor open item and from FBL5N fron Customer open items.
When you get the report, click on Change Layout icon ( or press Control + F8 from keyboard), search Profit Center fron the Table of Hidden fields on the right hand side. Move that field to the Left hand side table. Click ok, now you should be able to see the Profit Center column in your report.
You can save this layout by clicking on the Save Layout icon ( or press Control + F12 from keyboard)
Next time you can choose the saved layout by clicking on the Select Layout icon ( or press Control + F9 from keyboard)
Regards
Dharmveer -
Automatically clear the open items for a GL account cross company codes
Hi FICO experts,
Can anyone help me on the following issue urgently?
There are journal entries posted to same GL account with different company code. Is there any way to automatically clear the open items sitting in the GL account in company code A to against the open items for the same GL account in company code B.
The example is below:
Journal in company code A
Dr. 840410 $100
Cr. 111300 $100
Journal in company code B
Dr. 111301 $100
Cr. 840410 $100
Now I want to automatically clear account 840410 by using assignment or text in the journal entry.
It will be highly appreciated for any instructions.
AdeleHello Adele Wang,
You can enter cross-company code transactions in one step in the General Ledger, Accounts Receivable, and Accounts Payable application components. This function would be used, for example, for centralized procurement or payment.
Integration:For centralized payments, each individual company code enters its own invoices separately, while a central company code pays them. When you are clearing open items, the system makes clearing entries between the company codes participating in the clearing procedure. These clearing entries represent the receivables and payables that exist between the company codes in centralized payment.
Prerequisites:You have specified which company codes are to be processed via a single company code. In this specification, you can distinguish between clearing transactions. You can therefore have different combinations of company codes for incoming and outgoing payments.
You have specified the clearing accounts that record the receivables and payables between the individual company codes. The system posts to these accounts automatically when clearing the open items.
You need to make the required settings in the activity Prepare Cross-Company Code Manual Payments in Customizing for Financial Accounting (Accounts Receivable and Accounts Payable->Business Transactions->Outgoing Payments->Manual Outgoing Payments).
Features:For each company code, the system generates a separate clearing document. A joint transaction number marks these documents as belonging together.
Example:For a clearing transaction (incoming payment, outgoing payment), you have agreed in Customizing that if company code 0001 is specified, open items are also selected from other company codes (0002 and 0003).
Hope I had been able to help you. Please assign points.
Rgds
manish
Clearing can then also be carried out if the account to be cleared has not been created in company code 0001. As long as no items have to be posted to this account in company code 0001, it is not necessary to create a master record for the account in company code 0001.
See also: -
Vendor Open Items for each Segment ?
Hi all,
What is the most effective way to grouped the all Vendor Open Items for each Segment ?
I think i should use tables BSIK and (BSEG or FAGLFLEXA).
Field BSEG-SEGMENT does not always have a value (often is empty), so it is likely to be used FAGLFLEXA-SEGMENT.
Thanks in advance
Serena.
-
Switch on open items for ECC 6.0
Hi gurus: With reference to SAP OSSNote 175960 - RFSEPA02/03 not supported as of Release 4.5A.....
We have ECC6.0 here, with active new GL as well as document splitting. I want to switch on open items for an account that has postings in it.
I copied RFSEPA02 to ZFSEPA02 and changed coding per note 175960. I checked the program and it has table GLT0 referenced in the code. It was my understanding the GLT0 is not populated if you activate the new GL.
When I execute ZFSEPA02, it comes up with an error message "Line items do not match totals"....When debugging, it appears that SAP is looking at GLT0 to get a total balance. If it doesnt match with the line items SAP generates the same error message.
The note also says that "This note applies ONLY WITH RESTRICTIONS to Release ERP 2004 or ERP 2005 with activated New General Ledger and activated document splitting. In these releases, it is not currently possible to subsequently activate the open item management under the specified conditions. The only option currently available is to set up a new account with open item management and to use this instead of the original account. "
What do I do? I dont want to create a separate GL account..Should I change the code to refer to table FAGLFLEXT instead of GLT0?
thanks so much
BrianHi Andy,
Thanks for the reply.
Other than BSP screens what are the other substitutes.
Please share your ideas.
Regards,
Sairam. -
How to clear the open item for non-leading ledger?
Hi, Experts,
I have two valuation area VA001 and VA004 and two accouting principle GAAP and IFRS.
Then I assign VA001 to GAAP (post to leading ledger) and VA004 assgin to IFRS (Post to non-leading ledger "IF").
There are two ledger group ,one is 0L and the other is IF.
When i run TBB1, system generate 2 FI documentes.
Then I run F13E to clear the GL account, because some GL is open item management.
But only ledger 0L is cleared, the other non-leading ledger "IF" is not cleared.
I don't know is there any possiblity that system will clear open item for leading ledger and non-leading ledger together?
TKS a lot.Hi Louise,
you do posting in TRM, but clearing is done in FI, so I moved the thread.
BR, Tomislav -
Can we Select Open Item Management for Recon Accounts??
Hi Members,
Is it necessary to select check box open item management for reconciliation accounts ???
for ex; sundry debtors, sundry creditors .
If so may i know the reason.
Bcz all subledger accounts are automatically maintained as open item accounts ..so is it again necessary to select this check box in recon. accounts.
thanks and regards.Hi
System will not allow to save with OIM selected for Recon account.
For all sub ledgers OIM will be unchecked.
VVR -
Unable to clear open items for Bank GL
Hi Experts,
I have scenario where I am unable to clear bank clearing account through F-03.
The Bank Clearing GL account master is NOT managed as "Balances in Local Currency only'
Current issue is:
Invoice is posted with USD currency
Ex: $100 (1st April 2013, Exchange rate @ INR 50)
The payment is posted in INR 4900 (1st December 2013, Exchange rate @ INR 49) .
Here the balances in USD are clear with $100, but with difference in local currency which is posted as Forex gain.
But while clearing the GL through F-03, the error is popping up ... "difference too large for clearing".
Please help me how we can clear the balances of this GL (Which has two different currencies posted before clearing)
Thank you.
Best regards,
SriHi,
The message comes because of different document currency in Invoice and payment.
In payment, your document currency is INR, so the system will calculate to LC1, LC2, LC3, cannot calculate back to your invoice currency, so even EUR amount is the same but the INR amount is still different.
Document currency Ex Rate Local Currency Clearing currency
Invoice 100EUR 50 5,000INR 5,000INR
Payment 4,900INR 1 4,900INR 4,900INR
If clearing currency is INR, even EUR amount is the same but you still have different in INR amount
In my example, in F-03, when you choose the clearing currency is USD, and choose the open item list
Document currency Ex Rate Local Currency Clearing currency
Invoice 8,000EUR 10,000USD 10,992.40USD
Payment 10,000USD 1 10,000USD 10,000.00USD
Screenshot in Local currency:
Sceenshot in clearing currency: (different amount is 992.40)
In this case, the system will created automaticall line item to Exchange gain/loss for different amount.
You have to add one more line to offset this different amount.
Example in my case, because of the different amount 992.40- is debit to Exchange loss by system.
So now, I will add more line to credit that amount again line below
Julie -
Open items for purchase order its very urgent
hi
my requirement is to write extract program for purchase order(me21) to extract only open items.
please provide sample code its very urgent.
thanks in advance.
points will be rewarded.
thanks
hari prasad reddycheck the below report :
REPORT ZMM_OPEN_PO_REPORT no standard page heading
line-size 255
message-id zwave.
======================================================================
Program Name : ZMM_OPEN_PO_REPORT *
Description : This report displays all Open PO Items and output *
would be PO Number,Material number and so on *
Author : Seshu *
Date : 01/24/2007 *
MODIFICATION HISTORY *
DATE | AUTHOR | CHANGE # | DESCRIPTION OF MODIFICATION *
--|||--
01/24/07| Seshu | DEVK921979 | Initial *
D A T A D E C L A R A T I O N P A R T ***
type-pools
type-pools : slis.
Tables
tables : ekko, " Purchase order Header
ekpo, " Purchase order Item
marc. " Material with Plant data
Internal table for output.
data : begin of i_output occurs 0,
ebeln like ekko-ebeln,
matnr like ekpo-matnr,
end of i_output.
ALV Data declaration.
data : v_repid like sy-repid.
ALV Function Module Variables
DATA: gs_layout type slis_layout_alv,
g_exit_caused_by_caller,
gs_exit_caused_by_user type slis_exit_by_user.
DATA: gt_fieldcat type slis_t_fieldcat_alv,
gs_print type slis_print_alv,
gt_events type slis_t_event,
gt_list_top_of_page type slis_t_listheader,
g_status_set type slis_formname value 'PF_STATUS_SET',
g_user_command type slis_formname value 'USER_COMMAND',
g_top_of_page type slis_formname value 'TOP_OF_PAGE',
g_top_of_list type slis_formname value 'TOP_OF_LIST',
g_end_of_list type slis_formname value 'END_OF_LIST',
g_variant LIKE disvariant,
g_save(1) TYPE c,
g_tabname_header TYPE slis_tabname,
g_tabname_item TYPE slis_tabname,
g_exit(1) TYPE c,
gx_variant LIKE disvariant.
data : gr_layout_bck type slis_layout_alv.
Ranges
ranges r_eindt for eket-eindt.
initialization.
v_repid = sy-repid.
start-of-selection.
Get the data from EKKO ,EKPO and MARC Table
perform get_data_tables.
end-of-selection.
display the data in the form of ALV
perform display_data.
*& Form get_data_tables
Get the data from EKKO,EKPO and MARC Table
FORM get_data_tables.
clear : i_output.
refresh : i_output.
fill the dates in ranges
r_eindt-low = sy-datum - 7.
r_eindt-high = sy-datum + 14.
r_eindt-option = 'BT'.
r_eindt-sign = 'I'.
append r_eindt.
Get the data from EKKO,EKPO and EKET Tables
select aebeln bmatnr into table i_output
from ekko as a inner join
ekpo as b on aebeln = bebeln
inner join marc as c on cmatnr = bmatnr
inner join mara as d on dmatnr = bmatnr
inner join eket as e on eebeln = aebeln
and eebelp = bebelp
where c~beskz = 'E'
and c~werks = '1000'
and d~mtart = 'FERT'
and b~loekz = space
and b~elikz = space
and e~eindt in r_eindt.
if sy-subrc ne 0.
message e000(zwave) with 'No open purchase order found'.
endif.
ENDFORM. " get_data_tables
*& Form display_data
text
FORM display_data.
Fill the Fiedlcat
PERFORM fieldcat_init using gt_fieldcat[].
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = g_user_command
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = gr_layout_bck
IT_FIELDCAT = gt_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = g_save
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_output
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_data
*& Form fieldcat_init
text
-->P_GT_FIELDCAT[] text
FORM fieldcat_init USING e01_lt_fieldcat type slis_t_fieldcat_alv.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
Purchase order number
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'EBELN'.
LS_FIELDCAT-ref_fieldname = 'EBELN'.
LS_FIELDCAT-ref_tabname = 'EKKO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Purchase Order'.
ls_fieldcat-seltext_M = 'Purchase Order'.
ls_fieldcat-seltext_S = 'Purchase Order'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Material #
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-ref_fieldname = 'MATNR'.
LS_FIELDCAT-ref_tabname = 'EKPO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Material'.
ls_fieldcat-seltext_M = 'Material'.
ls_fieldcat-seltext_S = 'Material'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
ENDFORM. " fieldcat_init -
Hi,
I have an issue where we want to apply a credit memo to a particular open item - meaning we want to set off a credit memo to a specific document number....sometimes partially sometimes in full and want to be able to do a check list kind of thing ....
Thereby reducing the line item and the Total open item by the credit memo amount rather than ONLY the total due for the customer...
Thank u very much
RukshanaHi Rukshana,
I still wonder if partial clearing is possible but you can always setup a clearing criterion in OB74 say as assignment number etc, and thru F.13 you can clear the invoice against the credit memo it will match the assignement number and clear. since the automated clearing happnes only as standard, it will not help you for partial clearing.
Hope this is helps you a bit though not in full.
Regards
Bharat
Maybe you are looking for
-
Error while saving contents from share location in office 2013
Hi We have an issues like when we open a file and save from network location in exel 2013 it is show the below error.We have bypassed the Antivirus also still we are coming across the same error. We are using ms office 2013 std. network location is i
-
Email with attachment in Apex4
Good day experts, In the latest Apex, there is a capability to create a process to send an email with an attachment, in the attachment area I used a select statement, which selects the following columns, attach, file_name, mime_type. The challenge he
-
Hi everyone, Didn't know where else to post this, but I'm taking my MacBook in to be repaired and I was creating a backup dvd of all my files. I use MSN (from the msn site) and I was wondering where would I find the archived conversations that the pr
-
Cannot view movies purchased via iTunes at iPhone 5
The movies purchased at Apple Store (*.m4v both SD and HD quality) were successfuly transfered to iPhone but I do not see them in Video and (as a result) cannot view them.
-
How to connect Linux OBIEE repository to database?
I installed Oracle BIEE. Then I uploaded the repository from my Windows BIEE. Then uploaded my catalog (web/catalog/) Now I must connect my repository to oracle db. How can I do this? In Windows I did ODBC connections to my databases. How to connect