Clearing two documents with POSTING_INTERFACE_CLEARING

Hi, all
I'm trying to use POSTING_INTERFACE_CLEARING function module to clearing two documents each other with
additional cost. It's detail is like belows:
1st,
01(D) Customer A/R (100 EUR)  
50(C) Sale (100 EUR)
2nd,
40(D) Bank Account (80 EUR)    
50(C) Imcoming (80 EUR)
3rd,
40(D) Incoming (80 EUR)
40(D) Cost for sale (20 EUR)        
15(C) Customer A/R (100 EUR)
Function Module really works fine.
But the problem is that it displays popup dialog box asking whether to post
the different amount of 1st and 2nd documents.
I have to suppress this dialog box.
But I could not found any way to hide it.
I hope there would be some helpful replies...
Thanks and regards,
Lee

hi,
i think that's not possible to block this.
an alternativfe is abap <b>rfbibl00</b> (see docu with trx. se38)
A.

Similar Messages

  • POSTING_INTERFACE_CLEARING - clear two documents

    Hi,
    I need to create a new program that should be able to clear two documents by comparing the ASSIGNMENT filed of the payment document (DZ) against the REFERENCE field of the installment invoice (II).
    I can do this via batch input in FB05 (choosing open item -> Select Document Number in Radio Button -> Enter Account -> Click Process Open Items -> Enter Document Numbers -> Post).
    However, I came across the FM POSTING_INTERFACE_CLEARING and tried to use it.  Unfortunately, I was not successful in using this to clear the items that I need to clear.
    Do you think I can use the said FM for clearing two open items to produce one clearing doc using the document number? 
    Can you please provide sample code if you have one?
    Thank you very much in advance for your inputs.
    Best regards.
    Brando

    Please be informed informed that the invoice and payment are already present in table BSID.  I would just need to clear them in my custom program.  Thanks.

  • Can anybody tell how to compare two documents with two pointers controlled with the same mouse

    can anybody tell how to compare two documents with two pointers controlled with the same mouse ??

    I saw what I need but in a game to find the differences between two photos (two screens, two pointers controlled by one mouse), and I need a program to make the same thing   (compare a chosen files)

  • 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
    Gandalf

    Hi
    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

  • How to clear reference document with residue created with Automatic payment

    Dear All,
    Here is my scenario: This is related to vendor payment.
    F-47 Down Payment Request is created for amount Rs.1000.
    F110 Down Payment paid Rs.1000
    An invoice document type "KR" created with amount Rs.1250
    Using F-44, the downpayment and invoice is cleared resulting into an accounting document with Rs250 out standing.
    Now, if I try to run F110, the new document with amount 250, doesnt get picked up. I tried to give document num, doc type, still it is not working.
    Also, the requirement is to clear it using F110 only.
    Will appreciate any help.
    Thnx.
    Best regards,
    Karan a

    Hello,
    Please check in FBL1N whether the document is showing in open item, if yes then check the payment method. I have tried the same scenario in my system its working fine.
    If the document is not showing in open item then check the payment terms and change it accordingly or check the bill date and change it to come the document in the open item then run F110.
    Hope this would help you to clear your document.
    Thanks, Vijay Dikondwar

  • Clearing financial documents with IDOC

    Hi,
    I receive invoices and clearing information from an external system.
    The invoices I process in SAP with ACC_BILLING.
    After a period I receive information from the external system that the invoice has been cleared. Now I have to clear this document also in SAP. I first tried to use ACC_BILLING again. But this doesn't work (i think). Now I try to use FIDCC2. The document is posted, but there is no clearing of the first document.
    Any suggestions where to look?
    Ron

    Run SAPF124

  • Clearance of Documents with Different Currencies

    Hi,
    How can we clear two documents which are in different Currencies. Scenario is a document which a down payment in USD Needs to be cleared against an invoice which was posted in EUR. None of these currencies are local currencies.
    Regards,

    Hello Faizan,
    Please enable foreign currency allowed option in order to make the payment in foreign currency in FBZP under the pyt method under co.code level.
    Also maintain the required in. different currency related entries in ranking order and bank accounts tabs of bank determination.
    Now it will resolve your problem else revert us with your query.
    Thanks & Regards,
    Lakshmi S

  • Error while uploading document with same name in Document library

    Hi,
    Whenever I try to upload document with same name in Document library it throws an error. I know its a default behavior but is there any way so that I can upload documents with same name or can we append some unique id with title of the document?
    Please suggest.
    Thanks

    No, unfortunately this is not possible. SharePoint treats the file name as the primary key identifier for a document so if you try to upload a second document with the same name it will assume this is a new version of the file. If you have versioning enabled
    on the document library, it will add this as a new version. If not, it will overwrite the original file with the new one.
    If you need two documents with the same name, you will have to either place them in different folders within a document library or in different document libraries.
    http://stackoverflow.com/questions/11894968/uploading-documents-with-same-name-to-sharepoint-2010
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • WORKAROUND: "A document with the name 'vnd.ms-excel' is already open"

    I'm posting this in the hope that it might help someone else (or that someone else might suggest a better solution)...
    I'm using the technique described in the Integrating Oracle Reports in Oracle Forms Services Applications white paper. Basically, this means using RUN_REPORT_OBJECT to generate a report, and then navigating to a URL of the form...
    http://<host>/reports/rwservlet/getjobid<n>?server=<name>...to show it.
    I had the requirement that some reports (with DESFORMAT=DELIMITEDDATA) needed to open in Excel, so for these reports I added the MIMETYPE command to the URL, so that it was of the form:
    http://<host>/reports/rwservlet/getjobid<n>?server=<name>&mimetype=application/vnd.ms-excelThis appeared to work, but only for one report at a time. I could generate one report this way, and when I navigated to its URL, the report would be displayed by Microsoft Excel within a new browser window as expected. However, if I left the browser window open, then generated a second report and navigated to its URL, a new, empty browser window was displayed, but a "Microsoft Excel" message box appeared with the following message:
    A document with the name 'vnd.ms-excel' is already open. You cannot open two documents with the same name, even if the documents are in different folders.
    To open the second document, either close the document that's currently open, or rename one of the documents.
    When I chose OK (the only button), the message box closed, but the new browser window remained empty.
    If Excel was already running to begin with, the message box was obscured behind other windows, and the new browser window remained empty and appeared to never finish loading (because it was waiting for a response from the message box). The message box only appeared if I explicitly navigated to Excel (for example, using the taskbar). When I chose OK, a "File Download" dialog appeared, followed by a message box that reported the following:
    Microsoft Excel for Windows has encountered a problem and needs to close. We are sorry for the inconvenience.
    When I closed this message box, Excel shut down.
    I could not find this documented anywhere, but it appears as if Excel interprets the text after the last "/" in the URL as the file name. In my case, this was the same text every time (specifically "vnd.ms-excel"), which caused problems because Excel does not allow you to open two files with the same name.
    My workaround was simply to add the "JOBNAME=/<n>" command (where <n> is the job ID) to make the text after the last "/" unique (at least in my case). In other words, by using a URL of the form...
    http://<host>/reports/rwservlet/getjobid<n>?server=<name>&mimetype=application/vnd.ms-excel&jobname=/<n>...I was able to avoid the problem. For example, for job ID 123, the URL would be...
    http://<host>/reports/rwservlet/getjobid123?server=<name>&mimetype=application/vnd.ms-excel&jobname=/123...and Excel would interpret the file name as "123".
    Hope this helps.

    Thanks for posting, this solution worked!

  • [CS3][JS] Uniquely identifying documents with common names - possible?

    Hi!
    Is there no way to refer directly to a document in app.documents when there are several documents with the same name open at the same time (located in different folders)?
    I have tried to assign unique labels to the documents when opening them, but have not succeeded in referring to documents by their labels, only by name - and the name not being unique, I get just one document reference (the first).
    I also tried using the documents.itemByRange function, supposedly returning an array of all documents in the range defined by the parameters sent to the function. However, sending in the same name in the "from" and "to" parameters, returned only one document:
    app.documents.itemByRange('test.indd', 'test.indd').getElements().length
    Result: 1
    //(I would have expected to get both of them)
    // Referring directly by the name:
    app.documents.item('test.indd').getElements().length
    Result: 1
    // Checking the name of the documents by their indexes:
    app.documents.item(0).name
    Result: test.indd
    app.documents.item(1).name
    Result: test.indd
    Do you really have to loop through all open documents and check their fullName to be able to uniquely identify a document if the names are not unique?
    Kind regards,
    Andreas Jansson

    Hi Dave,
    Make that three or four... ;)
    Kris at Rorohiko created a method to get unique references to two
    different documents with the same name. It's usable if you have the free
    APID ToolAssistant version 1.0.44 or higher. (it doesn't need to be
    licensed...)
    Here's an excerpt from the reference manual:
    The get doc GUID function is used as follows:
    guid =
    app.callExtension(0x90B6C,10008,document);
    This function returns a GUID (Globally Unique Identifier) for a
    document. This is a string of the form
    {nnnnnnnn-nnnn-nnnnnnnnnnnnnnnnnnnn}
    where all 'n' stand for a hexadecimal digit.
    These GUID allow you to work with same-name documents that
    are concurrently open without getting tangled in the confusion
    that occurs when using resolve calls.
    As long as a document is not moved from its original location on
    disk, it will keep the same GUID. Two documents with the same
    name but different paths will have different GUID.
    Opening, closing, (re)saving to the same location will NOT
    change the GUID.
    Moving a document to another location will change the GUID.
    The find open doc by GUID function is used as follows:
    doc = app.callExtension(0x90B6C,10009,guid);
    This function retrieves a reference to an already open document
    based on its GUID string.
    These GUID strings are unique and persistent and allow
    persistent references to same-name documents without resolvelike
    issues (but the documents are meant to be 'unmovable' i.e.
    they cannot be renamed or moved to another folder). Once the
    document is open, it can be retrieved via its GUID.
    HTH,
    Harbs

  • Link to Excel document in site throws "Document with same name already open"

    
    I have an Excel document stored in a document library in SP2010.  I provided a link to the document in a CEWP on a page.  When clicking the link on the page, Excel throws the erorr "Two documents with the same name cannot be opened" error. 
    When clicking the link in the document library, the Excel workbook opens fine.  When hovering over both links, the URL in the status bar is identical.  Here is the link in the page:
    <span style="width:120px; padding-right:50px;">
    <a class="ms-addnew" href="https://mydomain.com/sys/groups/ermcg/RA/Shared%20Documents/RA1.xlsm">
    <img src="https://mydomain.com/sys/groups/ermcg/RA/SiteAssets/excelsmall.jpg" style="border:none;vertical-align:middle;"></img>&nbsp;Download to Excel</a>
    </span>
    Thanks in advance,

    Hi jd_hancock,
    The scenario is not reproduced in my environment.
    I used Fiddler to check whether there are differences between them to download the file, it seems the same and the file also successfully opened in the Content Editor Web Part.
    I would suggest you to use the same way to check whether the download process is the same, also, type the url directly in the address bar, whether the document can be opened as expected?
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • Clearing vendors/customer with S/L indicators

    Hi,
    I'm tring to clear two items (with S/L indicatrs) with difference.
    I would that the automatic item, in which is posted the difference, use the S/L indicator too.
    At the moment this not happened: the system use a different PK (without S/L indicators) to post the vendor residual item/debit
    Through OB41, i define those PK as "Special GL"  but this time the system give me the error "Special G/L indicator not defined or incorrect".
    Someon could help me?
    Thanks in advance
    Alberto

    Thanks a lot for your attention
    Here my case:
    In F-44 for the same vendor and the same S/L indicators i have two items:
    H 1000u20AC
    S 900u20AC
    So i tried too clear with a difference of -100
    The system propose me automaically this postings:
    vendor S 100u20AC PK 29 with S/L indicators 4 (correct)
    vendor H 100u20AC PK 34 without S/L indicators (wrong)
    these posting is wrong. Here the correct posting:
    vendor S 100u20AC PK 29 with S/L indicators 4
    vendor H 100u20AC PK 34 with S/L indicators 4
    How con i fix this problem through FBKP?
    Alberto

  • Document type KR is not picking to Clear GL account with T-code F-03

    Hi all,
    My client wants to clear GL account Cash-in-Transit which is open item managed. He has posted two items. One is with KR document type like Intercompnay adjustment account debit (40) and Cash-in-Transit account credit (50). Second item is with SA document type like Cash-in-Transit accont debit (40) and Intercompany adjustment account credit (50). He did not give vendor number and appropriate posting key (31) while postings. With document type KR, he posted with posting keys 40 and 50. Now while clearing the GL account through T-code F-03, system is picking only SA document type. The system is not picking document type KR. He wants to clear the items with each other. I have checked the document type settings. Check boxes Intercompany postings and trading partner are active in both above document types.
    How can the GL account be cleared ? Are any configuration settings missing ? Kindly advice as soon as possible.
    Thanks in advance.
    Regards,
    K.S.K

    Hi,
    First of all..why would system need a Exchange gain/Loss Account..If your local currency is INR and you posted a debit and a credit document both in INR..then there is no question of a foreign exchange gain/loss account..
    BUT, if you have posted the document in any currency other than INR, ie: your local currency...then the system would need a exchnage gain/loss account when you try to clear the debits and credits.. i am giving an example below to explain better..
    You posted a debit of 100 USD @ 40 = Rs. 4000.00
    You posted a Credit of 100 USD @ 42 = Rs. 4200.00
    Now, if you clear this debit and credit then there is no difference in 100 USD, as the debit and credit is netting off.. but if you see INR there is a difference of Rs. 200.00 which system posts to Exchange gain/loss account..which we maintain in OB09.
    Hope it is clear to you now..
    Regards,
    SAPFICO.

  • Clearing document with payment block

    Hi All,
    Need to ask, I have an invoice from MIRO -> payment block is = R
    I also have down payment -> payment block is = A
    When I do partial clearing using F-44 the system won't block me from clearing those documents.
    My question is... if those documents have payment block indicator, why SAP allows them to be cleared ?
    Thanks,
    -M-

    Hi,
    the payment block key able to block manual payment means the block key will  take effect when posting outgoing payment(F-53) or incoming payment(F-28). When posting the two kind of payment,  you cannot clear the open items of AR/AP with this kind block key.
    However, the block key cannot block the simple clearing transaction(F-44) as you said above. Therefore, the block key cannot block the business that posting payment/down payment at first, then clearing AP using  F-44.
    In summary, payment block key normally used for automatic payment rather than manual payment.

  • 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.

Maybe you are looking for

  • My form launches the email client, but does put anything in the message.

    I've made an application form. however when I click on "submit" my Outlook opens but it's completely empty except for the "to" field is populated.  I don't know what to change in order for the form to put it's data into an email message. code:     <h

  • How to get blank TV screen when playing music

    I am using Apple TV to stream my iTunes music to my television. What setting do I need to make my television screen completely blank when playing music? Thanks

  • Please help : Probleme freeze Adobe Média Encoder CS 4 with 720P YUV setting

    I work on editing movie : YUV 1280/720p 25i 48khz 16bits... (24 minutes - 68go) lastest versions of premiere pro - media encoder - after effect on my pc (quadcore, 4Go, 4x1T hardrives) Work on Vista SP1 SP2 Media encoder always freeze. When i clickin

  • Keynote movie html

    I've embedded a video into keynote and everything works fine until I export as html. When I few in a browser my movie now appears off the page.

  • Exporting Portions of Timeline to .swf

    Is there a way to export specified portions of the time line? I'd like to be able to just specify a frame range and output it as an .swf?  If not, do you know of any software that would allow me to slice up my .swfs into smaller segments? Thanks.