FM POSTING_INTERFACE_CLEARING for posting FB05

Hi,
In this FM, there is a table T_FTCLEAR
I passed in 2 search parameters into T_FTCLEAR:
BELNR = 12345 and GJAHR = 2011
However, when the BDC runs into this screen (SAPMF05A     0733), the default operation is OR
Meaning, FB05 will search for document where BELNR = 12345 OR GJAHR = 2011
Anyone knows how to change the operation to AND?
The OKCODE to switch from OR to AND is =SLM2.
But we're in 4.7, no enhancement point feature.
If there any config or OSS note I can refer to?
Thanks
Jack

There are certain rules that you need to adhere to as per the documentation
Note the following rules:
The AGKOA (Account type) field in each FTCLEAR line must be filled.
The field AGKON (Account number) should only NOT be filled, if either the field 'BELNR' (Document number) or the field 'XBLNR' (Reference document number) is used as a selection criterion. Otherwise the account number must be specified in each FTCLEAR line.
The field AGBUK (Company code) must be filled in each FTCLEAR line.
The selection criterion in field SELFD is a character field of length 5. The field names from the document index can be used.
Removed code tags
Edited by: Rob Burbank on Jan 3, 2012 9:28 AM

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

  • BAPI for post Tax Amount

    Hi,
    Please tell me BAPI for post Tax Amount.
    Which tcode use for Post tax code, is it FB01 or FB60.
    Regards
    Jana

    Hi,
    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

  • How can i check for posted but not yet commited changes in a form

    Dears
    I make changes programmatically in a form then i post it using (Post built in).
    If the user exits the form, i make check for any changes in the form to commit it using the system variable :system.form_status
    Unfortunately the value of this system variable is 'Query' not 'Changed' because of using the post built in.
    Is ther another system variable ( or any another way ) that check for posted but not yet commited changes in the form ?
    Thanks a lot
    Mostafa Abolaynain

    I had faced similar situation. Using of package variable which identifies, what is the user's latest action.
    This is just a workaround.
    Capture what the user has performed into a variable say, PKG_VAR.ACTION,
    This will be assigned values like List L, and Create C, Update U and Saved S.
    If commit is executed,assing the status S to the variable.
    So while closing,
    IF :system.form_status = 'CHANGED' or PKG_VAR.ACTION in ('C','U') THEN     
    -- validate the data, n perform commit.
    else
    -- just close the form.
    end if;
    Regards
    Deepz : )

  • Change in start date of tax depreciation not for posting in mid of year

    Hi Experts,
    Tax depreciation area is not for posting. The fiscal year is from Jan to Dec. I want to calculate tax depreciation from May 2011 based on Net Book Value of tax depreciation as on 30.04.2011. But once I change the start date of tax depreciation in asset master to 01.05.2011, the system ignores the previous depreciation so I am not getting the NBV of tax depreciation of 30.04.2011.
    Is any setting is required to get this. I can not do changes in posting rules since this tax depreciation is not for posting any thing.
    The fiscal year 2010 is closed and NBV of tax depreciation as on 31.12.2010 of one asset is 80000, If I change the start date of tax depreciation from 1.1.2011 then system correcly take NBV of 31.12.2010 for further depreciation calculation. But if i change the start date of depreciation in between of year the system is calculating depreciation based on NBV of 31.12.2010 but ignores the tax depreciation from 1.1.2011 to 30.04.2011, which I previously run using AFAB.
    Need your assistance to know is it feasible to do this.
    Thanks and Regards,
    Harshad

    Hi Harshad
    The behaviour of the system is very much correct, it is designed to behave that way...
    One, you should not have changed the dep start date....
    two, NBV in SAP is always taken to be NBV @ the start of the year....
    The best wayout I can suggest here is, if you are on EhP4 and EA-FIN active
    a. Change the Dep Key in the asset... You can maintain Time Dependant Dep Terms in asset master i.e. Dep Key X from Jan-Apr and Dep Key Y from MAy onwards
    b. This will however, calculate dep based on NBV at the start of the year, but based on new useful life
    c. Considering your eg: The system is posting more depreciation i.e. 5333 instead of 5155.... So, calculate this amount outside the system and post a Manual Write up ABZU inorder to reduce the Dep and increase the NBV
    Even if you are on not on EhP4, you can follow the same approach as above.... i.e.
    a. Change the Dep Key in asset master.... This will throw up new dep figure, on the basis of New Useful life and NBV at the start of the year
    b. Post a write up from ABZU....
    No need to do Asset to asset transfer in my opinion
    Only diff between EhP4 and Non EhP4 is that the differential depreciation would be lesser if you are on EhP4... i.e. instead of 5333 now, system may throw up depreciation amount of 5666.. So, you may need to post write up of 5666-5155
    br, Ajay M

  • If current period is closed, use next period for posting...

    Hello Experts,
    I am currently developing a report that posts via F-02. Now, my functional said
    that if before posting, I need to check if the current period is open.If yes, then
    proceed posting. If not, then get the next period and use it for posting.
    For example, period 12 is closed, then I need to use period 13. Can you guys help
    me in the logic?
    Thanks and take care!

    Hi,
    Check with your FI consultant as which table to use to determine the posting period is closed or not. It is customizing table.
    Regards,
    Atish

  • Standard IDOCS, Programs for posting FI & bank related data.

    Hi,
    (1)Are there any idocs available for posting FI documents, Vendor master?
    (2)Are there any outbound idocs, programs for sending data to banks. EG:positive pay etc?
    Kindly reply to these questions. Correct answer will be awarded points.
    Regards,
    Akshaya.

    Hi,
    There is message type BANK_CREATE for posting the FI related Bank details. Using the change pointers you can trigger the idocs for posting the bank related data.
    Regards,
    Uday

  • Function modules or BAPI for posting plan costs for WBS Element

    Hi all,
    Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
    Greetings

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Assignment field is not getting populated in KSB1 for posting key 50

    Hi All,
    We are uploading entries thru excel in SAP.
    For posting key 50 assignment field is not getting populated in KSB1.
    But for posting key 40 it is getting populated correctly.
    All setting (FSG, posting key details) are same for both the keys.
    No substitution defined in SAP.
    There is no issue for FBL3N for both the posting keys, only issue with KSB1.
    Any idea what could be the reason for this?
    Thank you.
    Akash

    KSB1 is CCtr report..
    if it is revenue normally it will be treated as statistical posting in CCtr accounting- for the cost element when it is defined as revenue element.. - check Cost elements - whether it is Cost and cost reducing or revenue element--
    possibility this can be one of the reason.
    check and confirm

  • 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

  • Details on data types for posting data to DB2 on AS400 from XI

    Hi
       We have a scenario in which we post data from XI (3.0, SP23 ) to DB2 on AS400 and we are using jdbc adapters ( jdbc drivers from IBM deployed on XI J2EE server as per SAP's instructions )
    On AS400-DB2, there are two files F1 and F2  that we have to update in a particular library L1 - on a server S1.  Each of the two files has a single field with the same name as that of the file.
    I have the following questions :
    1. How do we construct/specify the data type in order to convert XML from XI to the sql that DB2 needs - I do understand there is a standard data type structure used to convert XML to sql calls when we use JDBC receiver adapter type communication channel. Do we use the same for posting XML data from XI to DB2 too ? 
    2. What is the url for the jdbc driver - to connect to DB2 on AS400 ?
    Please share experiences of XI -- > posting to DB2 using JDBC.

    Used standard xml -->SQL constructs

  • This Applescript will correct links & programs for posting

    Since I have been posting to these forms, I have been annoyed by the conversions that are done to my posts. A word surrounded by asterisks gets bolded. When I decide to make a link to a post, I can never remember the exact format. When I posted AppleScript code, I found that it is squish to the left. The AppleScript I have posted here gets around these problems.
    Robert
    The first thing that you need to do is to make the text into an AppleScript program.
    start the AppleScript Editor
    /Applications/AppleScript/Script Editor.app
    copy the text to the Applescript editor.
    save the text to a file as an application and do not check any of the boxes below.
    !http://farm4.static.flickr.com/3544/3390737677_645a847e28.jpg?v=0!
    now, let's build a link to a post.
    get the link to a reply.
    Goto this Webpage:
    http://discussions.apple.com/post!reply.jspa?messageID=9003196
    Copy the Web page address from the top of your Web browser page. This is the standard highlight the address then do a command+c
    Now you should run my AppleScript program by going back to the Script Editor. Optional, click the words event log to see the debug information. Click on the run icon.
    !http://farm4.static.flickr.com/3423/3391549168_9ce8b6fcd9.jpg?v=0!
    The link has been modified. Paste the link onto your Web page. This is the standard command+v.
    For a more typical usage, placed the program on the dock or make an alias on the desktop.
    Robert
    Name: alter-clipboard
    Input: Clipboard
    Output: Clipboard
    This AppleScript program is designed to convert a forum-reply web address  to a link to a forum post, to convert special characters to their HTML symbols, and to convert programming language code to a  form that does not get mangled.
    1)   When you wish to reference another Apple discussion forum post, I found the process convoluted.  The Apple form software does not provide for the display of a form post link.  Instead, you must  construct the link from a reply post.  This AppleScript simplifies the process.
      When the clipboard contains a link to a forum reply page, do the conversion.
      Here is that way:
      a) Find the particular post you wish to reference.  
      b) Click on the reply icon.  
      c) Copy  the Web address to the clipboard  (command+c).  
      d) Run this AppleScript to convert the Web address.  
      e) Paste (command+v) the converted Web address into your post.
       For example, you:  
       • Want to reference a post on how to improve the performance of Tiger.  You find a post by Texas Mac Man with a list of possibilities.  
       • Click on the Reply option and highlight the Web address because you know the address contains a reference to this post.
       • Type command+c to copy the address to the clipboard.  The clipboard now contains:
         http://discussions.apple.com/post!reply.jspa?messageID=9124252
       •  Run this AppleScript to convert the Web address. The clipboard now contains:   
               http://discussions.apple.com/message.jspa?messageID=9124252#9124252
       • Type command+v to paste the address   into your new post.
    2)  Assume that the clipboard contains  special symbols or formated programming language code to convert.  
      The simpleFormatting property switch in the code selects teletype text ( tt ) when true and selets preformated text ( pre ) when false.      
      This AppleScript will converted special symbols used in these forums to a form not used by the forum software in order to preserve the original characters.
      For the symbols, see:
      See "Other formating tags are available as shown below" in
      http://discussions.apple.com/help.jspa#format
      An alternative to using these symbols is document in this post:
      http://discussions.apple.com/thread.jspa?messageID=607563
      Also, this AppleScript preserves indentation used in programs or Terminal output.
      a) Copy  the text to the clipboard .  
      b) Run this AppleScript to convert the text
      c) Paste the converted text into your post.
      For example,  the asterisks will be preserved:
         mac $ ls *oup*
         Youpi Key Editor.plist  Youpi Key.app alias  
      For example,  the indentation will be preserved:
         on adding folder items to this_folder after receiving dropped_items
            repeat with dropped_item_ref in dropped_items
               display dialog "dropped files is " & dropped_item_ref
            end repeat
         end adding folder items to
      Author: rccharles
      Copyright 2009 rccharles
      GNU General Public License
       This program is free software: you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published by
       the Free Software Foundation,  version 3
       This program is distributed in the hope that it will be useful,
       but WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       GNU General Public License for more details.
       For a copy of the GNU General Public License see <http://www.gnu.org/licenses/>.
    property simpleFormatting : true -- when true use tt tag to enclose; when false use pre tab to enclose
    on run
      -- Write a message into the event log.
      log "  --- Starting on " & ((current date) as string) & " --- "
      set theClip to the clipboard
      if length of theClip > 33 and characters 1 thru 33 of theClip as string = "http://discussions.apple.com/post" then
           http://discussions.apple.com/post&#033;reply.jspa?messageID=9003196
       convert to:
           http://discussions.apple.com/message.jspa?messageID=9003196&#035;9003196
         set theClip to alterString(theClip, "post!reply", "message")
         set {frontPart, postNumber} to textToList(theClip, "=")
         set theClip to theClip & "#" & postNumber
      else
         --  see http://www.asciitable.com/ for the ASCII translations
         -- must be the first change so as not to cause problems.
         set theClip to alterString(theClip, "#", "&#035;")
         --  You need to use either the numeric form of the HTML symbol or
         --  translate HTML character enties as seen below.
         set theClip to alterString(theClip, "&amp;", "&amp;amp;")
         set theClip to alterString(theClip, " ", "&amp;nbsp;")
         -- Preserve blanks
         -- converts two spaces to a space and non-breaking space
         set theClip to alterString(theClip, "  ", "  ")
         set theClip to alterString(theClip, "!", "&#033;")
         set theClip to alterString(theClip, "[", "&#091;")
         set theClip to alterString(theClip, "]", "&#093;")
         set theClip to alterString(theClip, "<", "&#060;")
         set theClip to alterString(theClip, "*", "&#042;")
         set theClip to alterString(theClip, "+", "&#043;")
         set theClip to alterString(theClip, "_", "&#095;")
         set theClip to alterString(theClip, "--", "&#045;&#045;")
         set theClip to alterString(theClip, tab, "   ")
         -- suggested by red_menace from the Mac forums
         set theClip to alterString(theClip, "-", "&#45;")
         set theClip to alterString(theClip, "^", "&#94;")
         set theClip to alterString(theClip, "~", "&#126;")
         if simpleFormatting then
            set theClip to "<tt>" & theClip & "</tt>"
         else
            set theClip to addWrapper(theClip)
         end if
      end if
      set the clipboard to theClip
    end run
    on alterString(thisText, delim, replacement)
      set resultList to {}
      set {tid, my text item delimiters} to {my text item delimiters, delim}
      try
         set resultList to every text item of thisText
         set text item delimiters to replacement
         set resultString to resultList as string
         set my text item delimiters to tid
      on error
         set my text item delimiters to tid
      end try
      return resultString
    end alterString
    -- textToList was found here:
    -- http://macscripter.net/viewtopic.php?id=15423
    on textToList(thisText, delim)
      set resultList to {}
      set {tid, my text item delimiters} to {my text item delimiters, delim}
      try
         set resultList to every text item of thisText
         set my text item delimiters to tid
      on error
         set my text item delimiters to tid
      end try
      return resultList
    end textToList
    -- suggested by red_menace from the Mac forums
    -- some constants and switches
    property TextColor : "#000000" -- black  (see http://www.w3schools.com/tags/ref&#095;colornames.asp)
    property BackgroundColor : "#FFEE80" -- medium/canary yellow -- "#FFDDFF" -- a light plum/purple
    property BorderColor : "#000000" -- black
    property TheWidth : "width: 720px; " -- a width attribute
    property UseWidth : true -- use the width attribute?
    property LineCount : 25 -- the number of lines before including the height attribute
    property TheHeight : "height: " & ((LineCount * 13.6) as integer) & "px; " -- a (rough) maximum height for the formatted box
    on addWrapper(SomeText)
      fix up some formatting and add a tag wrapper  (see http://www.w3schools.com/tags/default.asp)
         parameters -      SomeText  text to add the wrapper to
         global items -   LineCount, TheHeight, UseWidth, TheWidth,  KeepFormatting,                         
                     BorderColor, TextColor, BackgroundColor
         returns [text]:      the wrapped text
      set {Height, Width} to {"", ""}
      if (count paragraphs of SomeText) is greater than LineCount then set Height to TheHeight
      if UseWidth then set Width to TheWidth
      -- hack...
      -- seems like the apple forum software doubles the returns in a pre tag
      set SomeText to alterString(SomeText, return, "<br>")
      -- change the style properties as needed
      set SomeText to "<pre style=\"
         font-family: Monaco, 'Courier New', Courier, monospace;
         font-size: 10px;
         font-weight: normal;
         margin: 0px;
         padding: 5px;
         border: 1px solid " & BorderColor & ";
         " & Width & Height & "
         color: " & TextColor & ";
         background-color: " & BackgroundColor & ";
         overflow: auto;\"
         title=\"\">" & SomeText & "</pre>
      return SomeText
    end addWrapper

    Hi,
    There is message type BANK_CREATE for posting the FI related Bank details. Using the change pointers you can trigger the idocs for posting the bank related data.
    Regards,
    Uday

  • Disable 'Delete' button for posted invoices  in GOS Attachment List

    Hi,
    when i open the attachement list of a generic object i see the attached files. In this dialog i want to disable the   "Delete" ( attachment)  button  for Posted invoices ( In MIR4 tcode -> If the invoice is already posted it should not allow to delete the attachment )
    I read oss notes and some ides of copying diverse classes but nothing really helps.
    I found two badis
    GOS_SRV_REQUEST
    GOS_SRV_SELECT
    but i dont know where we have to write our code .
    I read so many posts related to attachments but all the places described about authoriztion object .
    Can you please give some ideas to disable the delete button for posted invoices.

    Hello,
    For GOS there is no SAP Standard authorization concept. The only way to
    manage GOS authorizations is implementing it via custom code as
    described in SAP Note: 491271.
    Please have a look at the SAP notes:
    491271 Authorizations for generic object services
    701609 Authorizations for services: Final classes
    For the use of S_OC_ROLE: this object states if a user is an office
    administrator he can create, modify or delete every document, even
    those created by other users. If the user is not an office admin, the
    user is still able to create his own attachments.
    Regarding to the issue, there is an role object S_GUI for upload.
    To match your inquiry, pleaes find the user's role and active the
    object S_GUI.
    Regards,
    David

  • Account is blocked for posting, while releasing the billing doc to FI

    Hi,
    While releasing the document to FI, I am getting the error Account is blocked for posting .
    The GL account does not contain any entry for that company code. What can be the reason of this error?
    Regards
    Rudra

    HI,
    It might sound bit different to you...................even then hava look at the following settings
    Transaction Code VKOA - Check the GL Account , the system is determining on the basis of Access Sequence.
    Transaction Code FS00 - Check whether the GL Account is blocked for posting or not.
    Regards
    Jaydip

  • No quants exist for posting changes. Creating TOu00B4s in LU04.

    When creating transfer orders in LU04, we get an error message "No quants exist for posting changes'. We are using batch managed and serialized materials. Using QM interface, so, inspection lots are created at Goods Receipt. When QM team "accepts" batch materials during inspection lot, there is no problem, but when "accepts" serialized materials, the system creates posting changes notices but can not create transfer orders sending the message before described. This is because after receiving the serialized materials, we receive one piece at a time in order to create one inspection lot for every serial number. But when we put away the materials, we put them away in the same bin. so, system assigns one quant and one inspection lot to the bin, updating the last one every time we put away one serial number. When system tries to look for the inspection lot number selected in QA32, is not finding it in the bin at WM level because the bin only contains the last inspection lot that was put it away.
    With batch managed numbers there is no problem since SAP divides the bin in different quants with the correspondent batches assigning an inspection lot to each quant.
    Is there any alternative to solve the issue with the serialized materials? We are using SAP ECC 6.0.
    Thanks for any help.

    Hi,
    The reason why we put away serialized materials into the same bin is because materials are physically small and they fit more than one in each bin. The warehouse is structured in this way and we plan to use it like that because it wouldn´t be feasible to create one bin for each serialized material. Is there any other way to manage this situation?
    Thanks in advance.

Maybe you are looking for

  • Quicktime app does not work

    I have just tried to open a TS file on my Mac Pro Yosemite and got a message that ¨ To open this file I needed to download and install Quicktime Mpg2 Playback Component¨, Buy online from http.//www.apple.com/quicktime/mpeg2 which I did. I paid €19.99

  • Have new ipod 5 can't get imessage to work?

    got a ipod for my daughter unable to imessage to work/activate.... cheers

  • Database update giving problem

    Hi I am facing a strange problem . When I am tryin to update the database table I am easily able to do that and when one of my collegue is doin the same thing then he is not able to and is geting the error message that says that "Error while locking

  • Do Flash MX files work in Flash CS3?

    I was going to download a template that requires Flash MX 2004, but I've only used Flash 8 and the new one. Will this file be compatible? It's an .fla file so I'm assuming it'll work, but I'm kinda new at this and figured I'd make sure. That and not

  • Memory full in phone memory

    when i install anything in my nokia 5235 the files which are installed goes to phone memory i have also inserted a 8 gb memory card so what should i do to move to memory card pls help ......