FM Posting_Interface_Clearing; Example
Hi Friends,
i'm trying to clear open items since a long time ago, and i have to use the FM POSTING_INTERFACE_CLEARING. I'm searching in SDN forums but i can't find a clear example that show to me how i have to work. Can you give me this example please?
Thank you very much to all.
Hi to all, at last, i make a call transaction to FB05 to clearing the open items.
Regards,
J.G.
Similar Messages
-
POSTING_INTERFACE_CLEARING
Hi gurus,
I'm facing a problem, when using "POSTING_INTERFACE_CLEARING", populating the field DF05B-PSSKP (discount), does anyone knows using this funcion modulo how to populate this fields ?
Thx in advance ... Ricardo.I've solved it.
You must fill the table ftpost with the header data and all the documents to be cleared in the ftclear table. In this last table you must use the field 'selfd' to indicate from what field get the data.
There's an example:
Header data:
t_ftpost-count = 1. "Nº de dynpro.
t_ftpost-stype = 'K'. "K = Cabecera.
t_ftpost-fnam = 'BKPF-BLDAT'.
t_ftpost-fval = fecha.
APPEND t_ftpost.
t_ftpost-fnam = 'BKPF-BUDAT'.
t_ftpost-fval = fecha.
APPEND t_ftpost.
Documents to be cleared:
loop...
CONCATENATE factura
ti_alv1-ejercicio
ti_alv1-posicion
INTO factura.
t_ftclear-agkoa = 'S'.
t_ftclear-xnops = 'X'.
t_ftclear-agbuk = ti_alv1_aux3-sociedad.
t_ftclear-agkon = aux_cuenta_pos.
t_ftclear-selvon = factura.
t_ftclear-selfd = 'BELNR'.
APPEND t_ftclear.
endloop.
CALL FUNCTION 'POSTING_INTERFACE_CLEARING'
EXPORTING
Proceso de compensación = Salida de pagos
i_auglv = 'AUSGZAHL'
i_tcode = 'FB05'
IMPORTING
e_msgid = i_msgid
e_msgno = i_msgno
e_msgty = i_msgty
e_msgv1 = i_msgv1
e_msgv2 = i_msgv2
e_msgv3 = i_msgv3
e_msgv4 = i_msgv4
e_subrc = i_subrc
TABLES
t_blntab = t_blntab
t_ftclear = t_ftclear
t_ftpost = t_ftpost
t_fttax = t_fttax.
I hope this could help you.
Don't forget regards points :-P -
Clearing partially a document using POSTING_INTERFACE_CLEARING
Hello.
I want to clear <b>partially</b> a financial document using POSTING_INTERFACE_CLEARING (transaction FB05), but when I try to do it, I obtain an error "No data for SAPDF05X dynpro 3100".
I can clear it completely.
Is it possible to clear partially a financial document?
Thanks very much.Hi Friends,
I had the same problem (partially) and solved it by the FM with a simple solution.
When the value is not same, you can post other document, to costumer like this:
Batch Input Values
lt_ftpost-stype = 'P'."Header
lt_ftpost-count = 2. "number of Dynpro
lt_ftpost-fnam = 'RF05A-NEWBS'.
lt_ftpost-fval = '40'. "
*Same type as documents cleared via F-32
APPEND lt_ftpost.
lt_ftpost-count = 2. "number of Dynpro
lt_ftpost-fnam = 'RF05A-NEWKO'.
lt_ftpost-fval = gl_account "G/L account.
*Same type as documents cleared via F-32
APPEND lt_ftpost.
lt_ftpost-stype = 'P'."Header
lt_ftpost-count = 2. "number of Dynpro
lt_ftpost-fnam = 'BSEG-WRBTR'.
lt_ftpost-fval = '600,00'. " the partially amount.
*Same type as documents cleared via F-32
APPEND lt_ftpost.
Batch Input Values
lt_ftpost-stype = 'P'."Header
lt_ftpost-count = 3. "number of Dynpro
lt_ftpost-fnam = 'RF05A-NEWBS'.
lt_ftpost-fval = '01'. "costumer account.
*Same type as documents cleared via F-32
APPEND lt_ftpost.
lt_ftpost-count = 3. "number of Dynpro
lt_ftpost-fnam = 'BSEG-HKONT'.
lt_ftpost-fval = '9000125'. "costumer account
*Same type as documents cleared via F-32
APPEND lt_ftpost.
lt_ftpost-stype = 'P'."Header
lt_ftpost-count = 3. "number of Dynpro
lt_ftpost-fnam = 'BSEG-WRBTR'.
lt_ftpost-fval = '400,00'. "residual amount
*Same type as documents cleared via F-32
APPEND lt_ftpost.
Documents to be cleared
lt_ftclear-agkoa = 'D'. "Account Type
lt_ftclear-xnops = 'X'. "Indicator: Select only open items which are not special G/L?
"LT_FTCLEAR-XFIFO = 'X'.
lt_ftclear-agbuk = p_bukrs. "Example company code
lt_ftclear-agkon = p_kunnr. "Example Customer
lt_ftclear-selfd = 'BELNR'."Selection Field
lt_ftclear-selvon = p_doc1. "document selected
lt_ftclear-selbis = p_doc1.
APPEND lt_ftclear. -
DME error : POSTING_INTERFACE_CLEARING
Dear Gurus.
I could run payment on F110 properly.
But when I create DME file, error displayed that
"Internal error when calling POSTING_INTERFACE_CLEARING"
DME program is RFFOJP_T.
Do you have any idea how to solve?
BR
Y.KanekoHi Yoshitada / Narasimham,
Please check below information which might help you on resolving this error:
SAP Note 304698
Check if the tables T042E, T012D are maintained in your system.
Go to T-cd:SU52 and check there is 'BUK'(parameter ID) or not.
If there is BUK, enter the Parameter value for BUK with CAPITAL letters.
Enter program 'RFFOJP_T' and push Execute button at t-cd:SE38.
On next screen, fill in 'Run date' and 'Identification feature' and set 'A:Display all screens' to field 'Posting session'.
Then, execute RFFOJP_T. You can process the transaction by push ENTER key, and check if any error messages are displayed.
This issue might occur if you run the program in any other language other than 'JA'. This is because the program uses some Japanese characters that are required in the ASCII file.
If you run the program in language JA this issue should not occur.
Also a missing customizing for posting of bank charge with program RRFOJP_T. Please complete your posting key customizing settings via FBZP for corresponding House bank T-cd: FBZP-> Edit-> Company code -> Bank charges (Japan)-> account determination
Here you have to set the Bank subacct's postkey and the Bank charge acc's postkey as the same as 50. Then you can run the print program without error.
If the transaction that you are using is selecting the information from the customer with withholding tax to determine the tax amount automatically please read the following information:
Clearing transactions like, for example F-44, F-32, FB05 'Transfer posting with clearing' are generally not relevant to withholding tax. Thus documents which were posted using clearing transactions do not contain any withholding tax information.There is also no withholding tax information transferred into the cleared documents.
Transactions relevant to withholding tax are FB01, FB60, FB70 or payment payment transactions like FBZ2, F110, FB05 (incoming payment and outgoing payment).Then in the clearing document withholding tax items are generated.
Only with the option 'Transfer posting with clearing' the withholding tax will not be calculated in FB05 transaction. In relation with the withholding tax calculation the system works as design.
Kind Regards,
Leo -
CALL FUNCTION 'POSTING_INTERFACE_CLEARING'
请问怎么输入清帐凭证的金额
REPORT ZTETS1 .
CALL FUNCTION 'POSTING_INTERFACE_START'
EXPORTING
I_CLIENT = SY-MANDT
I_FUNCTION = 'D'
i_group = space
i_holddate = space
i_keep = space
I_MODE = 'A'
I_UPDATE = 'S'
I_USER = SY-UNAME
i_xbdcc = space
EXCEPTIONS
CLIENT_INCORRECT = 1
FUNCTION_INVALID = 2
GROUP_NAME_MISSING = 3
MODE_INVALID = 4
UPDATE_INVALID = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA : IT_BLNTAB LIKE BLNTAB OCCURS 0 WITH HEADER LINE,
LT_FTCLEAR LIKE FTCLEAR OCCURS 0 WITH HEADER LINE,
LT_FTPOST LIKE FTPOST OCCURS 0 WITH HEADER LINE,
IT_FTTAX LIKE FTTAX OCCURS 0 WITH HEADER LINE.
Batch Input Values
LT_FTPOST-STYPE = 'K'."Header
LT_FTPOST-COUNT = '1'. "number of Dynpro
LT_FTPOST-FNAM = 'BKPF-BLDAT'.
LT_FTPOST-FVAL = SY-DATUM.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BKPF-BUDAT'.
LT_FTPOST-FVAL = SY-DATUM.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BKPF-BLART'.
LT_FTPOST-FVAL = 'DA'. "Same type as documents cleared via F-32.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BKPF-BUKRS'.
LT_FTPOST-FVAL = 'G020'.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BKPF-BKTXT'.
LT_FTPOST-FVAL = '凭证抬头文本'.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BKPF-WAERS'.
LT_FTPOST-FVAL = 'RMB'.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'RF05A-XPOS1(04)'.
LT_FTPOST-FVAL = 'X'. "转帐并清帐
APPEND LT_FTPOST.
LT_FTPOST-STYPE = 'P'.
LT_FTPOST-COUNT = '2' .
LT_FTPOST-FNAM = 'RF05A-NEWBS'.
LT_FTPOST-FVAL = '50'.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BSEG-HKNOT'.
LT_FTPOST-FVAL = '8160300000'.
APPEND LT_FTPOST.
LT_FTPOST-FNAM = 'BSEG-WRBTR'.
LT_FTPOST-FVAL = '1'.
APPEND LT_FTPOST.
Documents to be cleared
LT_FTCLEAR-AGKOA = 'D'. "Account Type
LT_FTCLEAR-XNOPS = 'X'. "Indicator: Select only open items which are not
LT_FTCLEAR-AGBUK = 'G020'. "Example company code
LT_FTCLEAR-AGKON = '0000000179'. "Example Customer
LT_FTCLEAR-SELFD = 'BELNR'."Selection Field
LT_FTCLEAR-SELVON = '1400002309'. "p_doc1.
*lt_ftclear-selbis = '1400002309'. "p_doc1.
APPEND LT_FTCLEAR.
CALL FUNCTION 'POSTING_INTERFACE_CLEARING'
EXPORTING
I_AUGLV = 'UMBUCHNG'
I_TCODE = 'FB05'
I_SGFUNCT = 'C'
IMPORTING
E_MSGID =
E_MSGNO =
E_MSGTY =
E_MSGV1 =
E_MSGV2 =
E_MSGV3 =
E_MSGV4 =
E_SUBRC =
TABLES
T_BLNTAB = IT_BLNTAB
T_FTCLEAR = LT_FTCLEAR
T_FTPOST = LT_FTPOST
T_FTTAX = IT_FTTAX
EXCEPTIONS
CLEARING_PROCEDURE_INVALID = 1
CLEARING_PROCEDURE_MISSING = 2
TABLE_T041A_EMPTY = 3
TRANSACTION_CODE_INVALID = 4
AMOUNT_FORMAT_ERROR = 5
TOO_MANY_LINE_ITEMS = 6
COMPANY_CODE_INVALID = 7
SCREEN_NOT_FOUND = 8
NO_AUTHORIZATION = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'POSTING_INTERFACE_END'
EXPORTING
I_BDCIMMED = 'X'
i_bdcstrtdt = ''
i_bdcstrttm = ''
EXCEPTIONS
SESSION_NOT_PROCESSABLE = 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.
例如: 我要对凭证1400002309(凭证金额1000RMB), 我现在只要清帐10RMB,参数该怎么放?
谢谢Hi,
in my case I'm using
CALL FUNCTION 'POSTING_INTERFACE_START'
EXPORTING
I_FUNCTION = 'C'
I_MODE = WWMODE
I_UPDATE = 'S'
EXCEPTIONS
CLIENT_INCORRECT = 1
FUNCTION_INVALID = 2
GROUP_NAME_MISSING = 3
MODE_INVALID = 4
UPDATE_INVALID = 5
OTHERS = 6.
with wwmode 'A', all the screens are displayed; with 'E' only the screens containing errors, and with 'N' no screen is displayed.
I tested the 3 cases and it works. Did you try with I_FUNCTION = 'C' ? -
Batch Input: How to handle loss on exchange in POSTING_INTERFACE_CLEARING?
Hi,
I'm using BAPI POSTING_INTERFACE_CLEARING to clear open items using batch input as it is done online in transaction FB05. It works fine except one little use case. For customers using a currency not equal to the local currency there could be differences in the debit amount due to actual exchange rates. If the debit amount at the day the open item should be cleared is less than the amount at the day the debit was created a new line item is automatically added to the clearing document which contains the loss on exchange. But this new line item is not complete so the clearing document could not be saved. In my example I have to add the cost center to the loss on exchange line item. It's no problem in transaction FB05 since there is a dynpro for it. But how could I add this cost center in batch input using function module POSTING_INTERFACE_CLEARING? I just added the corresponding field COBL-KOSTL to table T_FTPOST of fm POSTING_INTERFACE_CLEARING. But in the batch input tables which are created in the function module the field COBL-KOSTL is added for dynpro SAPLKACB 0002 instead of dynpro SAPLKACB 1010 in which the cost center is needed. Dynpro SAPLKACB 0002 contains the cost center but it is not displayed when clearing open items. So POSTING_INTERFACE_CLEARING returns with an error saying COBL-KOSTL does not exist in SAPLKACB 0002. But COBL-KOSTL might still be missing in dynpro SAPLKACB 1010. So which field do I have to add to the batch input (fm POSTING_INTERFACE_CLEARING) so the cost center is used in the loss on exchange line item in dynpro SAPLKACB 1010?
Did anybody face the same problem?
Regards,
RobertOf course, the screen SAPLKACB 1010 contains the cost center field but it is not set in the batch session. I faced a similar problem with screen SAPLKEAK 0300 where I had to enter different field names than expected. BSEG-RKE_KUNWE instead of BSEG-KUNWE, BSEG-RKE_KNDNR instead of BSEG-KNDNR, BSEG-RKE_BUKRS instead of BSEG-BUKRS and so on. That's why I want to know if I have to set an other field name for COBL-KOSTL in SAPLKACB 1010. Since field name COBL-KOSTL is already used for SAPLKACB 0002.
Maybe anybody knows how or where the mapping from POSTING_INTERFACE_CLEARING fields to batch session fields is done. Otherwise I need to debug POSTING_INTERFACE_CLEARING again to find it.
I didn't find any suitable enhancements or user exits in FB05 yet but I can have another look.
Regards,
Robert -
Here's the detail of what happens.
1. Turn on computer and then click on Firefox icon on desktop.
2. Firefox opens. Everything looks OK. Mr Bunsen's graphic is working fine.
3. Click on any webpage link. For example, a newspaper or an online webmail page. All looks OK until
4. Click on anything or type anything, such as in ID in a box, and bingo, the top line of Firefox goes from dark blue to very pale blue and the computer is hung. You cannot get out of Firefox or get Firefox to work.
5. Switch off computer.
Is this perhaps due to a clash of Add-ons. I run Avast anti-virus. McAfee came with Firefox 4 and I did not reject it. Is it conflicting wth something in my system and causing it to hang?You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
* Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
* Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
* http://kb.mozillazine.org/keyword.URL
* http://kb.mozillazine.org/Location_Bar_search -
Some of my apps refuse to open. For example, google crome gives me the message that it quit unexpectedly and gives me the option to submit a report to no resolve. Does anyone have suggestions?
Welcome to the Apple community.
Does anyone have suggestions?
Trash the spyware (Chrome) and use Safari. -
How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.
You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
*NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/ -
Most of the songs on my iPod Classic no longer show up on iTunes on my laptop. I deleted iTunes & installed the latest version but this did not change anything. For example on 1 playlist I have 66 songs but only 1 shows on the iTunes screen. Thanks you for any help.
See Empty/corrupt iTunes library after upgrade/crash or
Recover your iTunes library from your iPod or iOS device.
tt2 -
When previewing images by clicking on the thumbnail in an Event for example, I've been finding that many images preview in a 'zoomed in' way so only a small part of the photos is previewed in a highly magnified view.
Initially I could find no cause. Then I tried right click - Edit and on the affected images, always get this warning:
"Image Cannot Be Edited - This photo was previously edited with another application or with an early version of Iphoto. Duplicate this photo to edit it." and a "Duplicate To Edit" Button is displayed.
The external Editor defined for iPhoto is Adobe Photoshop Elements.
Now, I reckon the MUST be others out there affected by this same apparent Preview bug, yet my searches have not revealed any answers. Also seems impossible to find a contact number for adobe???
ThanksStart '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?
-
Trying to create a simple example. Need Help!
I'm trying to create a very simlpe examlpe using Swing components to illustrate a MVC architecture.
I have a JFrame containing a JTree and a JButton.
What I'd like to happen is when I click the JButton the JTree model is changed in some fashion and the the view is refreshed due to the models change.
If anyone out there has a simple example of any MVC architecture involving Swing components I'd love to see it.
ThxSure, look at any of the Sun tutorials. For example, look in your API documentation for JTree; it has a link to a tutorial about how to use JTree.
-
I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.
Hello. Most of the engineers in developer exchange are more familiar
with NI products. Contacting ICS for technical support is a better
course of action. -
Can not find location of method in Flash example
The issue that I am having is that I have search high and low to find where the method "flashmo_graphic()" is defined in the example that can be found here:
http://www.flashmo.com/preview/flashmo_158_heart_effect
I also attached folder. There is a "caurina.transitions.*;" folder being imported, it is attached. Anyways, you will notice that there is only 1 action script frame and in it around midway there is the code:
function flashmo_create(e:Event):void
var mc:MovieClip = new flashmo_graphic();
mc.gotoAndStop( Math.floor( flashmo_group.numChildren % mc.totalFrames ) + 1 );
The issue that I am having is finding out what flashmo_graphic() is. Can anyone tell me what this method is and better yet how I would find out for myself?
Thanks,
Brianvar mc:MovieClip = new flashmo_graphic();
This is the script to add a movieclip to the stage.
Go to library.Right click on the first symbol(flashmo graphic) and select linkage you see a pop up with some properties of the symbol.
In the class you can see flashmo_graphic which is the linkage name of the symbol. -
Step By Step Example for Application Integrator for Yahoo or any kind of
All EP Expert,
I want to create yahoo or Gmail or any kind of url iView on which I can implement SSO for learning purpose on my Local laptop.
I have installed EP SP9 on my laptop.
I go through some blog and some discussion but I am not able to find below files mentioned in those blog.
1. AppIntegrator.zip file to find two files
2. com.sap.portal.howtos.webapp.par file
3. HowToUseAppIntegrator_en.pdf file
So I am not able to perform step by step instruction as mentioned in blogs.
Can any one provide me any kind of documents for EP SP9 for Application Intigrator functionality basically I am interested to integrate JAva base application in my portal with SSO but if any one can provide for Yahoo or Gmail for EP SP9 it will be a great help.
Thanks and waiting for some help on this form all EP experts.
I will reward full points for right answer.
Thanks in Advance.
Ashish.Hi Mona,
Thank you very much for your prompt reply. I really appreciate if you can provide me exact location from where I can download "Application Integrator" zip file from which I can extract "com.sap.portal.howtos.webapp.par" file as describe in example PDF file. I tried very hard to find on SDN and "help.sap.com" but could not find it.
If you have it with you then please send it to me on my email ID [email protected]
Or please tell me exact location from where I can download it.
I give 10 points for this help.
Thanks in Advance.
Ashish.
Maybe you are looking for
-
My phone wont let me turn off or on wifi?????
my i phone will not let me turn wifi on or off tried restating and etc
-
I edit a web site set up by Joomla. I copy & paste text to it and upload photographs. I have been doing this successfully for months but starting yesterday adding text is OK but when I try to upload a photo there is a delay of 3-4 minutes and then an
-
Airplay mirroring stopped working
Hi, i have a problem which i can't solve. My MacBook Pro Retina 15'' was able to use the airplay video mirroring on the AppleTV 3 without problems. Some days ago, i saw, that the icon was not longer available in the menu bar. The system settings just
-
what is significance of DATA tablespace in oracle 11g ? Which is created default while installation time . Can I drop it . Plz reply immediately
-
MULTI_COLUMN_DATASTORE issue
I am using Oracle Text's multi_column_datastore to create a compound text index on group of columns. It seems to work fine however when I search for one of the column names in the index it matches all rows. Please see the script below. The following