Still i am looking for the solution (its urgent guys)

for the following code i am geting details of all the documents which are opened on the basis of p_date1
but i also need those documents which are cleared before this date or on this date.
so what to do?
*& Report  Z_VENDOR AGEING                                                    *
*&  in this repoet I am calculating the vendor ageing
    which is depending on formula
    AGEING = Current Date(or any date entered by user) – Bline Date(BSIK-ZFBDT)                                                                 *
REPORT  z_vendor  NO STANDARD PAGE HEADING
                  LINE-SIZE 200
                  LINE-COUNT 65(3).
TABLES : bsik.
DATA : BEGIN OF t_out OCCURS 0,
       bukrs LIKE bsik-bukrs,
       saknr LIKE bsik-saknr,
       bldat LIKE bsik-bldat,
       wrbtr LIKE bsik-wrbtr,
       lifnr LIKE bsik-lifnr,
       zfbdt like bsik-zfbdt,
       zbd1t like bsik-zbd1t,
       ageing type i,
       END OF t_out.
parameters : p_date1 type d.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
                 s_saknr FOR bsik-saknr,
                 s_lifnr FOR bsik-lifnr.
SELECT bukrs saknr bldat wrbtr lifnr zfbdt zbd1t
       FROM bsik
       INTO  TABLE t_out
       WHERE saknr IN s_saknr
       AND bukrs IN s_bukrs
       AND lifnr IN s_lifnr.
Loop at t_out.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
  EXPORTING
    i_datum_bis                   = p_date1
    i_datum_von                   = t_out-zfbdt
  I_KZ_EXCL_VON                 = '0'
  I_KZ_INCL_BIS                 = '0'
  I_KZ_ULT_BIS                  = ' '
  I_KZ_ULT_VON                  = ' '
  I_STGMETH                     = '0'
  I_SZBMETH                     = '1'
IMPORTING
   E_TAGE                        = t_out-ageing
EXCEPTIONS
  DAYS_METHOD_NOT_DEFINED       = 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.
Modify t_out.
Clear t_out.
Endloop.
LOOP AT t_out.
  WRITE : / t_out-saknr,
            t_out-lifnr,
            t_out-wrbtr,
            t_out-zfbdt,
            t_out-ageing.
ENDLOOP.
otherwiseif someone has some code regarding this report
solving the above problem then plz send me.
my id is- [email protected]
Message was edited by: sanjeev singh

hi,
check following may be help ful..
select x y z
       from bsas
       into <itab>
       where hkont in s_saknr and
             bukrs in s_bukrs and
             augdt le p_date1.
any queris write to me...

Similar Messages

  • Itunes launches fine however I cannot connect to the Itunes store.  It says that Itunes has stopped working and windows is looking for a solution.

    Everything seems fine until I try to access the ITunes store.  Then I get a message that ITunes has stopped working and that Windows is looking for a solution.  Then it tells me that no solution has been found and closes down Itunes.
    I can still sync music / podcasts to my ipod and iphone.  I am still getting podcast downloads automatically for the ones I have subscribed to.
    This is the first time this issue with not being able to access the Itune stores has happened to me.  I was just there 2 nights ago.

    Hello notime4,
    The article linked below details some useful troubleshooting steps that can help stabilize iTunes on your computer.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • Looking for SAP solution to extract data from the production system

    Hello,
    we are looking for the SAP standard tool to extract data from the production system and copy it to the development system. It should be as functional as some kind of partial client copy. The data, which we need to replicate is master and transactional data from FI, CO, AA MM and nice to have FS-RI modules. There is a product offered by the IntelliCorp called "Data Management" but we would like to know if SAP offers its own product.
    Kind regards,
    Krzysztof Murkowski

    Hi,
    SAP offers a solution called 'Test Data migration Server' or TDMS.
    You can access the master guide from the below link:
    https://service.sap.com/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006332942006E
    Cheers !!
    Satya.
    PS: Pls reward points if the answer was helpful...Thx.

  • I can not get apple air play to work. I have down loaded three diffrent apps looking for a solution none of them were the right one. I spent over $10 in these apps. Can I get a refund. Do I need apple tv to run air play?

    I can not get apple air play to run from my iTunes to my WiFi reciever.
    I have spent money on 3 different apps looking for a solution.
    None have worked. Can I get a refund?
    Do I need apple Tv to work Air Play?

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    iTunes- Troubleshooting AirPlay and AirPlay Mirroring
    iTunes- Using AirPlay
    Apple TV (2nd and 3rd gen)- Understanding AirPlay settings
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay
    Thanks to the $15 Beamer, AirPlay streaming is still possible on Macs  that do not support Airplay and mirroring.
    Other solutions are the Air Parrot, StreamToMe, and AirServer.

  • HI i have tried so many times to import images, both pictures and video from my hard drive to elements 131, and it keeps coming up with the error message " .....has stopped working we are looking for a solution to this problem etc " please help!

    After taking days to upload elements 13 I am now having trouble even trying to import my images and videos into the program for editing. Each time I IMPORT files an error message comes up that says " ....has stopped working, we are looking for a solution to the problem and will notify you if a solution is found"  I have not been able to edit ANYTHING or even drag files/images to the time line.... is it me? is my computer too slow? surely if it was, then Adobe elements 13 would not have installed in the first place? please someone help me sort this out as I have a deadline to make for a docco! thanks in advance Lyddy

    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    •How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
    And some other questions...
    •What are you editing, and does your video have an orange line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

  • TS2776 I cannot get my IPhone to recognize my new computer; it's still looking for the old one.

    My IPhone won't sync with a new windows 8 computer.  It's still looking for the old one.  How in the he11 do you change the name of the PC the IPhone looks for?

    This user tip should be useful
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Looking for a solution to the consumption of the VM systems in Azure Portal that reports and notified by mail

    Hi
    I am looking for a solution to the consumption
    of the VM systems in Azure Portal that reports and notified me by mail.
    Please suggest.
    Thanks, Kk

    Hi Kk,
    what  notifications are you expecting? like Machine down etc.?
    you can make use of monitoring alerts and notifications in Azure, this will allow you to configure different 
    metric related to your virtual machines and other azure service you use.
    Specifically for VMs you can configure different metric for the VM host OS and you can also configure web end point status metric (will monitor situation like machine down or offline)
    here are two good reads
    Understanding Monitoring Alerts and Notifications in Azure
    Khalid's blog on
    Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension
    Hope this helps,
    Please mark as answered if it helped
    Vishal Narayan Saxena, MVP
    http://twitter.com/vishalishere
    http://www.ogleogle.com/vishal/

  • When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. I have looked and looked for a solution. Can someone help? Thanks

    When I try to use FT on my MBP, connected to a 24" display, and close the shell, the display camera says it is not turned on. With the MBP open, FT works fine. I have looked and looked for a solution. Can someone help? Thanks

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • I cannot transfer movies on my iphone 4s eventhought its mp4 format. it say 1 item could not be sync see itunes for more information. Tried to look for the reset warning on itunes 11.0 but cannot locate it. Help please

    i cannot transfer movies on my iphone 4s eventhought its mp4 format. it say 1 item could not be sync see itunes for more information. Tried to look for the reset warning on itunes 11.0 but cannot locate it. Help please

    Hello eLZhi,
    Thanks for the question, and welcome to Apple Support Communities.
    The following article provides the most relevant information to your question:
    iOS: 'Not enough free space' alert when trying to sync
    http://support.apple.com/kb/TS1503
    Thanks,
    Matt M.

  • HT1386 I had to change the computer I have iTunes installed on, my iPhone is still looking for the old computer to sync over WiFi.  How do I change the WiFi computer associated to my iPhone?

    I had to change the computer I have iTunes installed on, my iPhone is still looking for the old computer to sync over WiFi.  How do I change the WiFi computer associated to my iPhone?

    Hi Terri571,
    Welcome to Apple Support Communities.
    See these steps for setting up Wi-Fi syncing between your iPhone and new computer:
    iOS: Syncing with iTunes
    http://support.apple.com/kb/ht1386
    Wi-Fi syncing
    Open iTunes
    To set up Wi-Fi syncing, connect your iOS device to your computer with the included USB cable. Select your device under Devices on the left-hand side.
    In the Summary tab, select "Sync with this [device] over Wi-Fi".
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it. The iOS device will sync automatically when all of the following are true:
    The iOS device is plugged in to power
    iTunes is open on the computer
    The iOS device and the computer are on the same Wi-Fi network
    While the iOS device appears in the left-hand column of iTunes, you can select the content tabs and configure sync options.
    Click Apply or Sync to sync the iOS device.
    If the iOS device does not appear in the Devices section or you are unable to sync, please see this article for troubleshooting.
    Best,
    Jeremy

  • Looking for the right adobe solution

    I'm looking for a solution I'm sure resides in the Adobe suite of products but am not sure of the best program(s) to use. I want to create a cross platform GUI menu for content CDs. The content is not active multimedia content, but mostly PDFs of print publications. Most users will be on Windows, but the result should, in good conscience, be cross platform. Since many of the users will be on computers that prohibit autorun (i.e., gov't), I want to also configure it to not leave the user in the lurch because they can't autorun. I hate it when that happens--staring at an explorer/finder window full of unintelligible files, not knowing where to start.
    An interactive PDF, built in InDesign, with links established to source PDFs in a designated folder? Any prospective user is going to have Acrobat, if only Reader. I'm a print designer and when I step off into the multimedia, interactive thing, I lose my bearings. There are so many great tools in Adobe, I want to go down the right trail and not off a cliff.
    Thanks.

    Thanks. I will look into that. In fact, my portfolio is an interactive PDF. Wth the increased interactive components in CS5, I thought there MUST be an Adobe solution. I supposed one might be able to create links from a menu design to the many PDF-publications in a folder like a TOC link would do. The folks, very nice I might add, who work in IT where I work are on the Windows/Sharepoint kool-aid diet. I do not think they see Adobe as a solution for ANYTHING. All I want to do is help produce a functional, professional product. I not sure it's necessary to the Encore-level product, especially if the content is not active DVD content.
    Thanks very much. I really appreciate your response.

  • Looking for the best solution for downgrading a database from 11.2 to 11.1

    we have an install of 11.2 grid and have made several attempts at adding 11.1 binaries and using the 11.2 infrastructure. we patched, etc... but all of our attempts failed in getting 11.1 to work across the cluster.
    we have decided to make all of the installs version 11.1.
    I am looking for the most straight forward approach to migrate our 11.2 down to 11.1 with the least amount of downtime.
    thanks, tom

    Hi Tom;
    Please check below note
    Master Note For Oracle Database Downgrade [ID 1151427.1]
    How To Downgrade From Database 11.2 To Previous Release [ID 883335.1]
    I belive it will answer all your question.
    Please also check below links:
    http://blogs.oracle.com/db/2010/09/master_note_for_oracle_database_downgrade_doc_id_11514271.html
    Regard
    Helios

  • I'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer

    I'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer.  Any ideas?

    Hi Cynthia,
    Are you planning to have this table do any of the calculation, or is is to be used as the electronic equivalent of a sheet of paper with a grid printed on it—a place to record the data.
    For your seven column table:
    Are you using one or more rows at the top of the table to label the data below? If so, you might want this row (or these rows) to be set as Header Rows.
    Are you using the leftmost column to label the rows? If so, you may want this column to be a Header column.
    The default table supplied on the "Blank" templates contains one header row and one header column. If you need more (or fewer) Header rows or columns, select the table, then go Table (menu) > Header Rows > (choose the number you need). Repeat to set the number of Header Columns.
    To make a seven column table from the table supplied by default, click on any cell in column H (The eighth column), and drag right to add more cells to the selection, until you get to the last column of the table. With these cells selected, Go Table > Delete Columns.
    To make the remaining seven columns fit across a single page:
    Go View > Show Print View to show the table as it would appear when printed to paper.
    Select the table by clicking its icon in the Sheets List to the left (easy method), OR by carefully clicking on the outside boundary of the table itself (fiddley method).
    With the table selected, you will see square white handles at each corner and at the middle of each side (including the top and bottom).
    With the mouse, grab the handle in the middle of the right side of the table and drag right (or left) until the table just fits onto the width of the defined page.
    With the table still selected, set the thickness and colour of the cell boundaries using the Gaphics Inspector (as described by Jerry), or using the Stroke, Thickness and Color Well controls in the Format bar above the working portion of the Window.
    Regards,
    Barry

  • Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it

    Adobe creative cloud has stopped working, all my individual programmes from adobe open and work fine, but when I try to open adobe cloud it starts to open then says adobe cloud has stopped working, looking for a solution then shuts down, I can not open it at all.

    Without proper system information and the application logs nobody can tell you much.
    Troubleshoot Creative Cloud download and install issues
    Mylenium

  • When I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    I know my passcode is correct but when I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

Maybe you are looking for

  • How Can I Send Data From One Pc To Another Using An Ethernet Connection ?

    Hi, I would Like to know how to send data ( For example, any String ) from a Server Pc to a Client Pc, Using the same java program installed on both computers. [Pc One ( Server ) [ Java Program] ] <----Ethernet--Cable----> [Pc Two( Client ) [ Java Pr

  • Frm-41211 SSS error

    When i'm running the reports from a form under Forms6i it is giving an error like FRM:41211 integration error.SSL failure running another product. please give me the solution.

  • Access session variable in Java Function in JSP

    Hi Experts !! I am developing an application using STRUTS MVC... Very sorry if u have problem understanding my question, i ll try to improve... and sorry if i can't post codes here Basic question is .... I want to open a word document on pageLoad of

  • How ca we copy standard print program of SMARTFORM?

    guyz... how can we copy standard print program of RLB_INVOICE of invoice SMARTFORM to a Z program in ECC 6.0??? regards Zid.

  • RWB in SAP XI in simple manner

    hi i want to know the details of RWB in SAP XI ,any one send me the document  ,that should be in simple language