BAPI for Posting with clearing
Hi all,
Is there any BAPI which can do posting with clearing?Generally we can acheive this through a transaction F-04.BAPI required which can acheive the functionality of F-04.Any Inputs will be highly appreciated with points.
Thanks and Regards
Kiran
hi,
check this function module.
POSTING_INTERFACE_CLEARING.
Similar Messages
-
Function Module/BAPI for Posting with Residual Clearing
Hello All,
I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
Please let me know how this can be handled.
Thanks in advance.
With Regards,
Senthil.Hi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
How to use function to Post with Clearing - Partial Pymnt with FB05
hi,Dears,
I am write a function to post with clearing - partial pymnt or Res. Items with FB05, but there is no any BAPI to do that, and I find the function POSTING_INTERFACE_CLEARING.
but it seems that the function is only for Post with Clearing-Standard Screen, how to use that function to post with clearing - partial pymnt or Res. Items???
Many thanks.Hi Guys,
If you post partiall payment you don't clear the invoice. Just post a normal item and fill the connection with the invoice, filling fields rebzg, rebzj, rebzz.
PERFORM fill_ftpost using:
'P' '3' 'BSEG-BSCHL' '15', "
'P' '3' 'BSEG-HKONT' customer_id ,
'P' '3' 'BSEG-WRBTR' tmpt,
'P' '3' 'BSEG-GSBER' it_pozkli-gsber,
'P' '3' 'BSEG-SGTXT' 'Patial payment',
'P' '3' 'BSEG-REBZG' it_pozkli-belnr,
'P' '3' 'BSEG-REBZJ' it_pozkli-gjahr,
'P' '3' 'BSEG-REBZZ' it_pozkli-buzei. -
Post with Clearing: BAPI for clearing open items
Hi,
I'm looking for a way to use the logic of transaction F-30 (Post with Clearing) in an external application. I want to clear open items. Is there a BAPI or something else for it? While debugging transaction F-30 I found the function module POST_DOCUMENT together with function module FI_DOCUMENT_PROCESS which are used to actually clear the selected open items. But there is lot more coding around these function modules that might be needed/important. So, is there a BAPI that puts all together? Or what's the best way to do it at all?
Regards,
RobertHi,
BAPI_CR_ACC_GETOLDESTOPENITEM BAPI/BUS1010: Determine Oldest Open Item .... BAPI_AR_ACC_GETBALANCEDITEMS Customer account clearing transactions
thanks
abdul -
Bapi for Transfer posting with clearing
Hello,
please let me know the bapi for Transfer posting with clearing for transcation F-04 or FB05.
quick reply wil be helpfull.
Thanks,
ramHi
I don't know in release greater than 4.7, but there isn't that BAPI.
There's a BAPI to post a document, but the clearing is an internal transaction so I don't believe there's a BAPI for it.
Anyway you can try to create one using the std BDC RFBIBL00: it suppoerts that transaction.
Max -
Bapi for posting IR line item at a time
Hi....
Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........This is an old bug that keeps popping up:
https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477 -
Hi,
Please tell me BAPI for post Tax Amount.
Which tcode use for Post tax code, is it FB01 or FB60.
Regards
JanaHi,
Use BAPI_ACC_DOCUMENT_POST
TCodes
FB41 Post Tax Payable
FB05 Post with Clearing
FB01 Post Document
Edited by: Neenu Jose on Nov 18, 2008 1:15 PM
Edited by: Neenu Jose on Nov 18, 2008 1:16 PM
Edited by: Neenu Jose on Nov 18, 2008 1:17 PM
Edited by: Neenu Jose on Nov 18, 2008 1:18 PM -
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 -
Tx for posting with FUNCTION_EXECUTE
Dear friends,
my problem is the following:
In a program I want call a posting dynpro with
CALL FUNCTION 'FUNCTION_EXECUTE'
EXPORTING
FUNKTION = 'SIC1'
FUNKTIONSTYP = '0'
KOPFGRUPPE = ' '
POSITIONSGRUPPE = ' '
PROGRAMM = 'SAPMV13A'
Before of this command I fill the values in the dynpro with
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
DYNAME = 'SAPMV13A'
DYNUMB = '1004'
TABLES
DYNPFIELDS = w_dyfie
As result I get a success message : "Condition records were posted", but it doesn't happen anything, I don't find the records. I debugged 'FUNCTION_EXECUTE', there are'nt any values to post.
Do You have any ideas, what my error is ? Did I forget anything to envolve in the program ? Is it possible generally to use this method ?
Many thanks and with best regrads
PeterHi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
Unable to clear open items through post with Clearing F-04
Hi Experts,
I want to clear one GL code through transaction F- 04 Post with Clearing.
When I clear the open items throgh f-04, (Document types UA , KR , MJ ) it posts the document but again it makes a new line item as a open item with same amount.New line item shows in a list as a open item. ( I tryed F-03 as well)
I am unable to unable to understand the exact functionality of transacion F-04.
Can anyone explain me please ? Please advice if I am missing anthing on this.
Thanks,
ManasiHi Manasi,
As the name suggest, F-04 allows you to POST to one account by CLEARING another account.
For example you have a provision account which needs to be adjusted when the actual expense is paid - this how it will be done -
Give the document header details, select "Transfer posting with clearing", enter the posting key (40), give the GL account (expense account as per the example) and go to the next screen.
Give the amount and other details for the line items and then select "choose open item" from the menu. The new screen will ask you to give an account where you will give the provision account (the account from which the open item needs to be cleared).
Press enter and you will get the list of open items for the GL account from where you can proceed like any other clearing.
Hope this clarifies. Do revert in case of any further queries.
Thanks and Regards,
anit -
Hi,
I have made 2 jv transaction posting in fb50 those are reflecting in fbl3n as open items but if i want to clear it through F-04 post with clearing those line items are not appearing pls suggest the solution what might be reason for the same.
waiting for early reply.
Regards
PramodDear Satwik,
ever doc. have 2 ways to clear
1) post with clearing
2)post with out clearing
post with clearning : if u have a invocie and u r passing the payment for that invoice if u chose post with clearning system clear the invoice against that payment.
2)post with out clearning: if u have a invoice and ur passing gthe payment for that invoice if u chose post with out clearning that time system is not clearing the invoice amount
and its showing as 2 line item one is invoice and 2nd is payment line item, after that u can clear both line item against each other
Regards
radha -
F-30: posting with clearing a document with special G/L indicator and tax
Hi All,
by t.code F-02 I've posted a document with the follow items:
PK SG Account Description
40 Bank G/L Account u20AC 1200,00
19 A Customer code u20AC 1000,00- (1000,00 amount and 200,00 tax amount)
50 Tax G/L Account u20AC 200,00-
If I launch the t.code F-30 (post with clearing), choose that customer and select the special G/L indicator "A", SAP displays
the document I've posted with an amount equal to 1.200,00- instead of 1000,00.
This does't allow me to clear the open Item....
Could anyone hel me?
Thanks
GandalfHi
A payment recorded with special GL indicator is automatically set as locked. This is sap program and cant be changed. When the related invoice is recorded , the down payment can be cleared with it using F-39, provided the down payment relates to the same sales / purchase order.
For the difference in customer amount, its difficult to answer as it may be due to wrong account selection or wrong amount entered in customer.
Thanks
kamala -
Post with clearing: FB05 No open items were found
Hi,
I am using FB05 (have selected 'transfer posting with clearing) to clear the vendor open items and post to a GL account, but I encounter the message 'No open items were found' (Msg F5 170) eventhough the vendor has open items and morever it is not blocked.
Any reason why this error.
Tks,
SSThere can be any number of reasons why a standard transaction does not pick up open items for your vendor account. Some possible reasons are:
- outside date range, if you are giving a date range
- they might be special g/l transactions, not normal line items
- they migh not be open line items, but noted items
- the items might not be open anymore when FB05 is being run
Do a little more investigation into your system - we can only give suggestions from here.
Regards
Gulshan -
F-04 - Post with clearing : Process open items
Hi everyone,
I encountered issues in T-code : F-04 - Post with clearing : Process open items.
The document header text data is not display in F-04. It is blank.
However, when i check in FBL3N the document header text data was there.
Pls assist on how to make the document header text data display in f-04?
Which configuration or any other way to do that?
Thanks.
Best Regards,
JooHi,
The words of "Document Header Text" was there.
The data/informations for the Document header text is not there.
Pls advice.
Thanks.
Regards,
Joo -
TCode: F-30 (Post with Clearing)
Hi experts,
I faced problem when want to post thru transaction code: F-30.
I Logon SAP with my User ID: FIN-AAA
Transaction Code: F-30
Document Date: 08.12.2009
Posting Date: 08.12.2009
Document Type: DN
Currency: USD
Doc Header Text: Clearing
Clearing Text: Clearing
Select radio button: Transfer posting with clearing
Choose Open line item: 2 lines with same amount attached.
Then, select Document Tab > Simulate
Result: Prompt up error message: "Enter line items first of all or choose open items."
But i tried another User ID: FIN-CCC
Same step and posting:
Result: Prompt up successful message: "2 items were selected"
I had checked on all authority for T-Code: F-30, and attached all roles into User ID: FIN-AAA.
But, still found same error.
How I want to solve this issue?HI,
First you need to enter Debit line item if you are clearing credit balance or credit line item if you are clearing debit blance.
Posting keys for customer: 07 or 17
Postking keys for Vendor: 27 or 37.
Posting keys for GL: 40 or 50
System is asking you want to clear againt which either gl or customer or vendor. This is the meaning of the error.
Maybe you are looking for
-
ERROR - Status of posting run could not be read - TV
Hi, I've a problem at PR05 transaction. When I select a down payment line I receve the message below: Status of posting run 0000054529 could not be read Message no. 56820 Diagnosis The trip is assigned to a posting run (significan
-
Anyone knows how to set debug on in ADE 2.0 ?
It used to be Ctrl Shift T in previous version Quite funny but if you run epubcheck on the welcome.epub which comes with ADE 2.0, it does not pass validation : ERROR: C:/Users/Alpha/Documents/My Digital Editions/welcome.epub: Length of the first file
-
Track List and Grouped Album Art not right
I purchased a 2 disc album from iTunes. I did nothing but click buy. I have not changed any default settings. When viewed under "+view grouped with artwork+", most tracks are separate instead of being grouped together under one album image. There are
-
The main reason i bought a Mac was to edit and burn my own videos. I now find i cant burn any of my videos to DVD, What am I supposed to do?
-
What is RPM portfolio Item in Investment Management?
Hi All, We are trying to install business content for Investment Management module. There is a web template in this module, we have installed all these properly. Now when i run this template i see a message "No RPM portfolio Item has been specified".