FI-how to exclude accounting document that have reversed?

Dear gurus,
I want to develop a report for list all available FI accounting document from BKPF and BSEG. It must exclude accounting document that have reversed. How to write the 'where condition' statement for SQL language to exclude accouting document that have reversed?
Thanks a lot!

Hi,
When you reverse a document another document is created for reverrsing the original document
the field to check is BKPF-XREVERSAL . This Specifies whether doc. is reversal doc. or reversed doc.
and
value         Action
2     Reversal Document
1     Reversed Document
therefore If this field has a value 1 or 2 you should exclude both these documents from your selection.
Thus in where clause you will mention BKFP-XREVERSAL NOT IN ('1', '2')
regards,
Advait

Similar Messages

  • Auto adjustment of page orientation causes printing issues with documents that have a page width greater than its page height.

    Hi,
    Since an upgrade from Word 2003 to Word 2010, we are experiencing printing issues with certain
    documents that have a page width greater than its page height.
    In Word 2003, it was no problem to set the page width greater than the page height while setting the page orientation to "portrait".
    In Word 2010, this seems impossible: despite leaving the page orientation to "portrait", if one changes the page width/height as stated,
    Word 2010 automatically adjusts the orientation to "landscape". Resetting the orientation to "portrait" will flip the page's width/heigth settings.
    This behaviour causes printing problems: the page prints out 90° rotated.
    I do not believe this is a printer driver issue: I tried several different printer drivers, and all give the same (bad) result. Setting the printer driver's page orientation settings (before printing) makes no difference, as
    Word 2010 seems to force the page orientation settings.
    Inserting the documents 90° rotated is not an option, since it causes problems with the printing margins.
    This is very annoying, since we have to print official documents of a municipality (driver's licences).
    Is there a workaround for this issue?
    Regards,
    Laurent Grandgaignage
    Sysadmin Gemeentebestuur Stabroek, Belgium

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can follow these steps to test this issue
    Step 1: Repair Office 2010
    1.      
    Click
    Start, and then click Control Panel.
    2.      
    Click
    Programs and Features.
    3.      
    Click the
    Office 2010 program that you want to repair, and then click
    Change.
    4.      
    Click
    Repair, and then click Continue. You might need to restart your computer after the repair is complete.
    Step 2:
    Rename the global template (Normal.dotm)Follow the steps for the operating system that you are using:
    Windows Vista and Windows 7
    a)      
    Exit Word 2010
    b)      
    Click
    Start.
    c)       
    In the
    Start Search box, type the following text, and then press
    ENTER:
    1.      
    %userprofile%\appdata\roaming\microsoft\templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    Microsoft Windows XP
    a)      
    Exit Word 2010
    b)      
    Click
    Start, and then click Run.
    c)       
    In the
    Open box, type the following text, and then press ENTER:
    %userprofile%\Application Data\Microsoft\Templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    f)       
    Close Windows Explorer.
    How to troubleshoot print failures in Word 2010, Word 2007, and Word 2003
    http://support.microsoft.com/kb/826845
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Unable to view all documents that have no checked in version due to exceeding the library threshold limit

     due to exceeding the library threshold limit , unable to view all documents that have no checked in version

    Hi niles, Here is a page that details how to retrieve all the files and take ownership of them via powershell to check them in:
    http://www.demantprasad.com/2013/05/manage-files-which-have-no-checked-in.html
    Mathieu Desmarais http://www.matdesmarais.com/

  • Uncheckd credit for documents that have already been released

    Hi,
    How to unchecked credit for documents that have already been released?
    Regards,
    Jr.SD

    Hi,
    if you want release the sales order  documents use vkm3,Delivery and order u need to  release u have to use vkm4,
    only delivery vkm5.This is the away u can release the documents any further clarification u require revert back.
    Regards,
    venkataswamy.y

  • HOW DO I FIND FILES THAT HAVE BEEN TRANSFERED FORM MY PC TO MY MAC

    How do i locate files that have been transfered from my PC to my new MacBook Pro

    Depends how they were transferred. If you used Migration Assistant, a new user was created. Look there in your documents folder. If you used Setup Assistant, look in your documents folder.

  • How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    First, to access documents you must use an app designed for that specific Document type. So Pages will not be able to open PDFs. The Documents app by Readdle can handle PDFs though. In the latter case, you'd open the app, click the menu icon at its top left, and click Open to go to your iCloud Drive. With Pages, if you had files outside the main Pages folder, click + then iCloud and navigate to the file's location.
    Matt

  • How do I open documents that are grayed out?

    How do I open documents that are grayed out?

    Do these files have a file extension (e.g. .dmg, .jpg, etc.)?
    Clinton
    MacBook Pro (15” Late 2011), OS X Yosemite 10.10, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display

  • OS X Server Wikis - How do i delete people that have left the office?

    OS X Server Wikis - How do i delete people that have left the office?
    Some people participated in the editing of the wiki and they have now left the office. How do i remove them and their documents from the People page?
    Thank you.

    Should be able to do so from the Users pane (select the user then click the "-" below the list of users. That worked for me with all but one out of five users I deleted. No matter what, their Wiki person page remained, so I hid it from view.
    Sorry I couldn't provide more conclusive help.

  • When I open a pdf document from my dropbox to view it, the document shows up blank, even though it is filled out. This also happened with pdf documents that have been e-mailed to me.

    When I open a pdf document from my dropbox to view it, the document appears blank, even though I know the information is actually there. This also has happened with pdf documents that have been e-mailed to me, then opened to view and they are blank?? Why are they showing up blank?

    When I open emails with PDFs I click on the attachment (doing this all on my iPad) it gives me the option to "open in iBooks", I accept then after that the document is sucked into my iPad but I can't do anything with the PDF after that.  Where is the actual file on my iPad? Why can't I email or send these PDFs to my cloud (Dropbox)?
    It's like once they go into iBooks they're stuck forever.

  • How do I get CDs that have been imported into iTunes library to sync/transfer to phone?? very frustrating and any help would be appreciated. all the material i purchased from itunes transferred fine, but CDs won't. Please help!

    How do I get CDs that have been imported into my iTunes library to sync/transfer to my iPhone?? All the material that I purchased from iTunes has transferred just fine, but although the CDs will import to iTunes, they will not sync up with my phone. How do I do this?? I am very frustrated and would greatly appreciate any help.

    In what format did you import the cds?
    I have never had an issue with this.

  • How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo file on my computer.

    How do I save photos that have been synced to my Ipad2, so that they do not get deleted when I sync with a different photo foder on my computer (Pc win7).

    Place that first folder of photos that you synced to the iPad within the main folder of photos that you sync from and select them to sync again. You can place any number of subfolders within the main folder that you sync from and select those folders to sync. Just "tick"(select) the folders in the photos tab in iTunes.
    iOS and iPod: Syncing photos using iTunes

  • How to search for documents that do not contain a word in a section?

    For example: (deleted% within folder) finds all documents that have deleted in the folder
    I want to find all documents that do not contain "deleted%" within folder.

    If you have other criteria, then you can use "other criteria NOT deleted% within folder". However, if there is no other criteria, then you cannot just begin with NOT, so you have to use "% NOT deleted% within folder", but on a large data set that will result in an error about the wildcard expanding to too many terms.
    SCOTT@orcl_11g> create table test_tab
      2    (id     number,
      3       folder     varchar2(30),
      4       col2     varchar2(15),
      5       dummy     varchar2(1))
      6  /
    Table created.
    SCOTT@orcl_11g> insert all
      2  into test_tab values (1, 'something deleted', 'something', null)
      3  into test_tab values (2, 'whatever', 'deleted', null)
      4  into test_tab values (3, 'something', 'whatever', null)
      5  select * from dual
      6  /
    3 rows created.
    SCOTT@orcl_11g> begin
      2    ctx_ddl.create_preference ('test_datastore', 'multi_column_datastore');
      3    ctx_ddl.set_attribute ('test_datastore', 'columns', 'folder, col2');
      4    ctx_ddl.create_section_group ('test_group', 'basic_section_group');
      5    ctx_ddl.add_field_section ('test_group', 'folder', 'folder', true);
      6    ctx_ddl.add_field_section ('test_group', 'col2', 'col2', true);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> create index test_idx
      2  on test_tab (dummy)
      3  indextype is ctxsys.context
      4  parameters
      5    ('datastore     test_datastore
      6        section group     test_group')
      7  /
    Index created.
    SCOTT@orcl_11g> select * from test_tab
      2  where  contains (dummy, 'something NOT deleted% within folder') > 0
      3  /
            ID FOLDER                         COL2            D
             3 something                      whatever
    SCOTT@orcl_11g> select * from test_tab
      2  where  contains (dummy, '% NOT deleted% within folder') > 0
      3  /
            ID FOLDER                         COL2            D
             2 whatever                       deleted
             3 something                      whatever
    SCOTT@orcl_11g>

  • How do I combine files that have already been combined

    How do I combine files that have already been combined?

    Hi Oldshep1959
    I didn't get you ...Please Explain your workflow ...

  • I have awks documents that have a dark icon which says 'exec' in the info panel. I get 'I/O error' when I open. They were created in Awks 6 but in 96-98 so they have transversed  many OSs. Tried the Apple recovery technique, no luck.

    I have awks documents that have a dark icon which says 'exec' in the info panel. I get 'I/O error' when I try to open. They were created in Awks 6 but in 96-98 so they have transversed many OSs. Tried the Apple recovery technique no luck. Running 10.5.8. on MBPro Intel.

    Adding to the "any stunt you can think of" list.  If you're not concerned with formatting and the documents are primarily text, open them in TextEdit.  After a page or two of indecipherable code, you'll see the textual meat of the file, followed by more code.  The text portion itself is often fairly readable, even if the file is damaged.

  • How can I restore photos that have a broken red symbol below them ? Thanks.

    Help!  How do I restore photos that have a broken red symbol below them? Thanks.

    Can you post a screenshot.

Maybe you are looking for