In urgent need of help regarding getting month name and dates

Hi Experts
I have a table called MONTHLYBILL with Column TRANSACTIONMONTH. I need one query / function / SP to do return ouput based on following combination. I am using Oracle 9i
Have researched on various forums, documents but unable to get the desired output. Finally here in hope of help.
Input
From Date: 06/01/2011
To Date: 12/03/2011
Output
Month: DECEMBER-2010 (previous month of From Date). Now if DECEMBER-2010 is not available in table, then returns the
month which is available immediately the month preceeding DECEMBER-2010
Begin Date: 01/01/2011 (1st day following the month returned in output)
End Date: 31/03/2011 (last date of month based on input To Date)
Input
From Date: Null
To Date: 12/03/2011
Output
Month: First available transactionmonth in DB (say JANUARY-2010)
Begin Date: 01/02/2011 (1st day following the month returned in output)
End Date: 31/03/2011 (last date of month based on input To Date)
Input
From Date: Null
To Date: Null
Output
Month: First available transactionmonth in DB (say JANUARY-2010)
Begin Date: 01/02/2011 (1st day following the month returned in output)
End Date: Current month's last date

What is your application release?
I am in big trouble now.. can anyone help....
I have a backup of an EBS instance, lets say it was taken one month ago, and now we got some datas lost in the current production server..
some one deleted some datas...
Now we need some specific data from the old backup and restore it to the production
or can it be restored? please help me guys...What kind of data? What is the table name?
Since this is a production issue, I would suggest you log a SR.
Thanks,
Hussein

Similar Messages

  • FM for getting MONTH name from DATE.

    Hi all ,
    We have a requirement to get Month name from the DATE,e.g IF date is 01/01/2008 we need a FM which can generate month name as 'JANUARY'.
    \[removed by moderator\]
    Thanks and Regards
    Kiran
    Edited by: Jan Stallkamp on Jul 30, 2008 4:26 PM

    Hi,
    Here is the code u required...
    REPORT  ZASHU_MONTH_NAMES_GET.
    data:r_code type sy-subrc.
    data:mnames type standard table of T247 with header line.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
       LANGUAGE                    = SY-LANGU
    IMPORTING
         RETURN_CODE                 = r_code
    TABLES
        month_names                 = mnames.
    EXCEPTIONS
      MONTH_NAMES_NOT_FOUND       = 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.
    write:/ mnames.
    Thanks & Regards
    Ashu Singh

  • Need some help regarding Client Proxy generation and test via SOAMANAGER

    Hello,
    we are integrating a 3rd party Java client via webservices.
    For that matter I generated a client proxy (consumer proxy) in se80 using the existing WSDL.
    This worked fine.
    The I wanted to create a logical port.
    Since this is only possible in SOAMANAGER I tried it there.
    Trying to do this automatically by the given WSDL file didn't work. The system dumps.
    So, I tried the manual approach by entering the server name and path in the 'Transport settings' tab.
    Now I wanted to test this.
    Unfortunately the test function in se80 (Proxy->Test) doesn't show a positive result.
    I always get an error
    SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response:
    ICM_HTTP_CONNECTION_FAILED")
    So, I am kind of stuck here.
    Do you guys have any idea what's wrong (approach, settings, bugs)?.
    I tested the webservices with a test application (soapUI), and they work fine.
    So it seems to be a problem in the proxy framework or a network problem?
    I really appreciate any kind of help.
    Thanks,
    Michael

    i created the port in soamanager.Do i need to create in lpconfig also?
    yes i have loaded the certificate in strust.
    i am getting the response also from the web service. as Security requirements are not satisfied because the security header is not present in the incoming message.
    i need to pass the user name and password while using the method.wsse security.wld u have any clue?

  • Getting file name and date taken to appear in thumbnails

    How do I get my thumbnails in Media to show the file name of each photo and also the date taken? Right clicking on the thumbnail reflects that the "show file info" box is checked. I have Elements 11 (was using Elements 6) and the operating system in Windows 7 and the photos are in jpeg format.
    Thanks in advance for your assistance.
    L

    Click the menu:
    View >> Details
    Move the zoom slider slightly to the right to see more details under each thumbnail.

  • HT5538 i can't find the facetime on my iphone i was using it before 1 month after that it's just disappear i need your help to get it back . thank you

    hello everyone i need your help please
    i can't find the facetime on my iphone i was using it before 1 month after that it's just disappear i need your help to get it back .
    thank you

    FACETIME MISSING
    The governments in some middle eastern countries have banned Facetime and it is disabled on iphones purchased in those countries.  The countries include KAS, UAE and others.  There is no way to get Facetime on such phones (for example it cannot be downloaded and installed) and taking the phone to another country does not cause Facetime to reappear on such phones. In  support.apple.com/kb/ts3367  it says “Note: FaceTime may not be available, or may become unavailable, on devices purchased or used in certain countries, including Saudi Arabia and the United Arab Emirates. Check your device's region of purchase for more information.”

  • I need some help. im getting error -69 when trying to sync my ipod. i dont kno what to do. ive tried googling as much info as i can on this but i cant seem to find a answer to get me off to a good starting point. i back all my music up on a hard drive.

    i need some help. im getting error -69 when trying to sync my ipod. i dont kno what to do. ive tried googling as much info as i can on this subject but i cant seem to find a answer to get me off to a good starting point. i back all my music up on a external hard drive.

    If the file was not originally from iTunes, you'll need to redownload it from it's original source or rerip it from the CD.  Files can sometimes go bad and become corrupted.  As to how or why that happens, there are a number of ways.
    What format are the problematic tracks in? Have you tried converting them to another format in iTunes?
    iTunes: How to convert a song to a different file format
    B-rock

  • Hello I need a help regarding application passbook.I need know if I can download the application passbook as passbook.ipa?

    Hello I need a help regarding application passbook.I need know if I can download the application passbook as passbook.ipa?

    Passbook is an app that's built into the iPhone. It's not availble for the iPad.

  • TS2634 Please People I need some help.My iPod is disabled and when I connect it to iTunes it says: Itunes could not connect to the ipod because it is locked with a passcode...

    Please People I need some help.My iPod is disabled and when I connect it to iTunes it says: Itunes could not connect to the ipod because it is locked with a passcode...how can I do it?

    Place the iPod in Recovery mode and then restore.

  • Please , i need youre help ! im from Mexico and i dont speak inglish well but ill try explain me... i buy a cs5 students edicion but i lost my paswoord for the instalacion can you helpe me ? how can i recuperade my paswoord

    please , i need youre help ! im from Mexico and i dont speak inglish well but ill try explain me... i buy a cs5 students edicion but i lost my paswoord for the instalacion can you helpe me ? how can i recuperade my paswoord
    Creative Suites

    Find your serial number quickly
    Mylenium

  • HT201359 Hi I need your help, I am civil engineer and recently I bought an app

    Hi I need your help, I am civil engineer and recently I bought an app call "sewer pipe design" . After I installed it in my iphone I found that developer is cheating people.
    In order to design a sewer pipes we need to know manning coefficient commonly known as roughest. second to design a sewer pipe we don't use minimum tractive force bc is this a parameter for designing open channel on the ground/earth. i f the sewer is a prression with use another principles like loss head and Hassen William formule. So this developer is cheating apple customers.
    I have already complain with apple support but they only asked me to fill another complain I did it, also they told me that asked a refund but  i don find any link for doing this. what can I do??
    <Email Edited By Host>

    You don't say how you contacted them, so I don't know if this is what you used. You can try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account (Store > View My Apple ID on iTunes 11) and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    Some people have had a problem with the 'report a problem' link (it's been taking people to this site on a browser instead of showing a form in iTunes) - if it does that to you then try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption.
    As these are user-to-user forums I've asked the hosts to remove your email address from your post.

  • Hi i need sum help plzzz, iphone 3gs blackscreen and tryed evrything but wont kick out of dfu mode , much apreicated plz

    hi i need sum help plzzz, iphone 3gs blackscreen and tryed evrything but wont kick out of dfu mode , much apreicated plz, it just happen wen i was restoring  the screen is balck but wen i restore it from itunes it says erorr 1600 and itunes does not reconise the phone , i have tryed eveything bt still no luck , I NEED UR HELP PLZZZ ,its my disabled daughters thank you

    Anyone on this forum can correct me if I am wrong. I am not judging you, but to my knowledge the iTunes error 1600  usually affects products that are  jailbroken. again I am not saying that your iPhone 3GS was jailbroken. my only advise off the top of my head to assist you is to download the recent IOS firmware online. I know it is not the the #1 advised option, but it is the only option you have unless you wish to bring it to the Apple Genius bar and see if they can replace the phone or fix it themselves.

  • Function Modules for Format Date, Month Name and Quarter value.

    Hi All,
    1. I am getting the date field from the Flatfile, so i need to format the date to YYYYMMDD. Is there any Function module for that in BW.
    2. Based on the above Formated Date i have to find out the Name of the Month like JANUARY, FEBUARY etc.
    3. Based on the same above Formated Date i need to find out the Quarter like 1, 2 etc.
    Could you please let me know if any function modules are there for the above questions in BW not in ABAP, why i mention is some Function modules are there in ABAP but not in BW.
    Thanks in advance.
    Regards,
    srinivas

    Hi ,
    1.If your input date format is MMDDYYYY then Use SDATE as conversion routine in trans strucutre to convert into YYYYMMDD.
    2.By passing year as input parameter for the following FM you would get all the months with text.Using READ statement in routine you can get month name
    MONTH_NAMES_GET
    3.For Quarters you can use the following FM:
    TSTR_PERIODS_QUARTERS
    hope it helps...
    regards,
    Raju

  • Get Attachment Name and from address of mail in bpel process

    Hi All,
    I am using UMS Adapter to poll email server and  getting the attachment and saving it to local disk.
    In Payload from UMS adapter  i am getting href of the attachment  but I am not able to figure out as to how to get Attachment Name and From Address of a mail in my Bpel process.
    please guide me in getting them .
    Thanks in Advance
    Divyanshu

    1. Double click on your composite receive activity.
    2. Go to Properties tab in your receive activity.
    3. Click "+".
    4. Window that pops up,scroll down and select "jca.ums.from" and store it in some variable say fromAddress (Make sure before adding this property u create fromAddress variable of string data type).
    5. Click OK.
    6. In the same way add property for "jca.ums.msg.content-description" from drop down and assing it to some variable.
    you are good to go.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Default selection on current month, week and date

    Hi,
    We are on Dashboard 4.1 sp3 the same version as BI.
    The dashboard report is using LiveOffice connection. We are now facing an issue with default selection on current month, week and date.
    The dashboard report drilled down from month, to week, then to date. The dashboard feed -live office report is on month/week/date ascending order - becuase we have running average calcualtion on LO report, it seems have to be in ascending order to get the correnct runnning average.
    I tried to on Insertion to change default seletion, it works on month, but it doesnt working on week and daily.
    but when LO report is on ascending order, on dashboard column chart the default selection is not on the current month, week and date.
    Is there a way to solve the issue. Could anyone please help.
    Thanks,

    Hi Suman,
    Thanks for the quick reply.
    Do you mean I Enable sorting -by categrory labels on Behaviour - common tab.
    Thanks,

  • Getting vendor name and addreess and as well Emp name &address details

    Hi Experts,
    1.Can any one help to fetch Vendor name and address details based on LFA1 and  ADRC tables.
    2.fetch  employee name and address details based on PA0001 and  PA0006 tables.
    Please tell me the addres field of a  employee in PA0006 table.
    Thanks
    Nagraj

    Vendor & Addr details
    Get Vendor Number from Lfa1-lifnr
    pass that to table lfa1-adrnr     "Address Number
    pass that address number to adrc-ADDRNUMBER
    get all address details from ADRC Table
    Employee Details:
    we have Personnel number is common in between PA0001 and PA0006 tables.
    so first we need to get Personnel number .
    after that we can get employee details from both tables.
    we will get Personnel numberfrom PA0003 table.

Maybe you are looking for

  • Can i use spotify app on my old iPhone without phone service?

    Hello, Ive just upgraded my iphone as i need my current iphone to use spotify for my wedding playlist. All the songs are available offline on my spotify app. So when i get my new phone will i be able to use the old one to just use the app for songs?

  • Have to reselect Time Capsule in Time Machine after every reboot

    Every time I start up my machine I have to open the Time Machine preferences and select my Time Capsule again as the backup drive again or my backups will fail. Does anyone know why I would have to do that or what I can do to fix it? I'm using a new

  • Outlook Mail sync without wireless access

    Several members have asked about this, I haven't seen a definitive answer.  If there is one, please point me to it. Otherwise, the question is: How do I sync mail files from Outlook to my Centro without using Versamail and wireless?  I don't have a w

  • Where can I find Flash and Acrobat Install packages for Mac OS X?

    I'm managing over 200 Macs, and I need the Package Installs for Flash and Acrobat, and I need them everytime you decide to release an update. Our Department has licenses for 50 copies CS 6 Design & Web Premium, but the Adobe Manager doesn't manage Fl

  • Still no fixes for Audigy 2zs problem

    I still have major issues with my Audigy 2zs in many games, yet I still see absolutely no updates on the drivers. Have you completely abandoned you customers now? If I install your bloatware to get the functionality, I get crash after crash, yet if I