How to get the date of Friday for the given week

HI,
I have a requirement to get the date of Friday for the given week.
Eg: I have an input of 200722 (Yearweek), From this I need to get the Date of the friday for this week 22 of Year 2007.
Plz let me know how to get this..
Thanks in advance..
Sridhar.

Hi,
Thanks for your reply...
I have implemented your logic but not getting exact output as required.
Suppose, If i give the input as 200720, I am getting an output as 18 (friday of week 20 of year 2007), but i need to get an output of 18.05.2007
Plz let me know how to do thdi.
Thanks in advance..

Similar Messages

  • Have an ipod and then got the wife an iphone4. all passwords are screwed up. she can not access playstore cuz she doesn't have password. i can not get find any help on how to get or update a password for the ipod. and then get her a separate password for

    have an ipod and then got the wife an iphone4. all passwords are screwed up. she can not access playstore cuz she doesn't have password. i can not get find any help on how to get or update a password for the ipod. and then get her a separate password for her iphone. we need to save her photos, music, etc to ? icloud and the phone stuff to verizon cloud? so when she gets her new Iphone6 she can have all her "stuff" back on the new phone. hope this makes sense. please offer suggestions here or at [email protected] thanks for your help!

    Oh no! I'm sorry to see there's a lot of confusion here and data shared, x-rayDon. We can definitely work to fix. This happens when two devices share the same Apple ID, so she will need to reset hers. She can do so by assessing this link Apple - My Apple ID. You will need to decide who will keep the account if want separate Apple IDs since purchases cannot be shared unless you do Family Sharing.
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • How to findout the data source information for the perticular tables

    Hi,
    Can you please tell me the process to findout the data source information for the perticular tables .
    For ex.. T2503 ,T2507 ,T25A1,T25A2 etc ..
    I am doing a reverse engineering to find out the data sources build on the above SAP Tables.
    Thanks.

    Hi,
    Still we haven't get the field level information ,before they send us we should first give them the corresponding data sources for the COPA tables which they have given .
    I have searched in help.sap.com but I didn't find any information on this .
    Please let me know is there any way to know the data source details for SAP Tables.
    Thanks

  • How to get webi data into dashboard for non-users of webi.

    I need to find a way to get data from a WebIntelligence Report (essentially 3 numbers: Average This Year, Average Last Year and Target This Year (eg, 40, 63, 55)) into a dashboard, where the data is refreshed each day.  The resulting dashboard will be published on my external web site where anyone can access it.  It is essential that a connection to the webi server is not required, so I can publish the report data to a text file on a network drive and pick it up from there. The data will change daily so this must be reflected in the dashboard.
    Webi has no capability of saving to XML, so it's excel, text, csv archive or PDF only.
    I have been playing with the "From Text" option in the Data tab, but changes to the data do not show when the .swf file is run.  When in dashboard mode, I can click on preview to show the dashboard and the data doesn't change, however when I exit preview, the data is updated in the spreadsheet of the dashboard.  It is just never reflected when the dashboard is displayed.  I have dicked the refresh ever 1 minute, refresh data when opening the file, overwrite existing cells options in the External Data Range Properties page for the From Text option and am looking at the data via both a Grid object and an Spreadsheet object.
    Could anyone please suggest what I am doing wrong, or anything else I may be able to try instead.
    Using BO4.1, sp1, p1.
    Thanks
    Rodney.

    Hello Evans,
    PLZ refer publishing webservice connection in webi
    Creating BI Web Service in BO 4.0
    Hope it will suits your requirement
    Regards
    Subbarao M

  • How to get all records of 0041 for a given PERNR

    I have to display Most Recent Hire and Original Hire date.
    So I am using this below code:
      0041 - Date Specifications
        rp_provide_from_last p0041 space pn-begda pn-endda.
        IF pnp-sw-found EQ '1'.
          MOVE: p0041-dat01 TO wa_final-dat01,
                p0041-dat03 TO wa_final-dat03,
                p0041-dat02 TO wa_final-dat02.
    But for few PERNRs we are having wrong data and below is the explanation from my functional guy:
    I figured out the above when I ran the report for all employees and noticed some dates were out of sequence.  The reason for the code change is because Payroll has to input NR in the P0041-DAR** field (used in payroll calculations to allow additional contributions to Savings Plans for employees who are near retirement) and it automatically places this future retirement date in P0041-DAT01.
    So if I see at PA0041 for a given few PERNRS, am having couple of records and the last record is for the retirement calculations and hence am getting wrong dates into my display. I need the first record for this kind.
    Thanks
    Kiran

    Hi,
    here is the piece of code using field symbols for accessing dates from pa0041....
      FIELD SYMBOLS
    FIELD-SYMBOLS:<f_dar01> TYPE ANY,
                            <f_dat01> TYPE ANY,
                             <f>       TYPE ANY.
    form read_pa0041 .
      DATA:    l_date               TYPE dardt,
               l_date_type          TYPE datar.
      CLEAR : v_data  ,
              v_date  ,
              v_days  .
      v_cnt = 1.
      DO 12 TIMES.
        CONCATENATE 'p0041-dar' v_cnt INTO v_data.
        CONDENSE v_data NO-GAPS.
        ASSIGN (v_data) TO <f_dar01>.
        IF <f_dar01> = 'U5'.
          CONCATENATE 'p0041-dat' v_cnt INTO v_data.
          CONDENSE v_data NO-GAPS.
          ASSIGN (v_data) TO <f_dat01>.
          v_date = <f_dat01>.
          EXIT.
        ENDIF.
        v_cnt = v_cnt + c_1.
      ENDDO.
    then you can use the date fetched in v_date  as per your requirement..
      IF NOT v_date IS INITIAL.
    I hope u will get some help
    Thanks & Regards
    Ashu SIngh

  • What is the data source name and the data target name for the table COSP

    Hi,
    Actaully i am new to fico/bw,and i have to create a report based on the actual and budget value and difference in the variance.
    in R/3 side the table they are using is COSP,so please let me know what is the data source name and the cube or ods name in BW side.wht are the fields in which i can get the BUDGET value in the report.
    here we are using all the business content extractors and BI content cubes and odss.
    please reply immediately as its very jurgent isssue.
    Thanks,
    ashok

    answered

  • How to get rid of error message for the material?

    Hi everybody,there is a material which is showing an error message whenevr try to create a sales order, i've checked the material master...there is no check in X-plant Mtrl or X-dist chan or any flag for deletion...but still the red error message comes up while creating a sales order...how to get rid of this error?

    this means material is blocked for procurment
    three kinds of block can be there
    01 Blocked for procment/whse
    02 Blocked for task list/BOM
    03 Blocked for Purchasing
    GOTO MM42 give material n plant data
    Select BESIC VIEW
    there is a field called as material block remove the blocking reason
    Hope this will help
    Edited by: WISH on Mar 24, 2008 6:33 AM

  • How to get denomination of Notes ? for the amount paid

    Dear Freinds
       i have requirement where the total amount obtained by a employee through Cash . They wanted to have denomination
    for the amount paid ito that employee
    ex : An X employee got RS.5550 rupees as cash. They wanted to know how much money has been paid in Denomination
    of  10 Rupee notes,20 Rupee notes,50 Rupee notes,100 Rupee note,500 Rupee note & 1000 Rupee notes.
    so the data has to be displayed should be
    since the employee is gettign 5550 --> it has to 1000*5 --> Five Thousand rupees notes --- 5 count should come
    500 will be paid as ---> 500 * 1  -
    Five hudress count is 1
    50 is the balance -
    it will be paid as fivty note -- Count is 1.
    so i have to get  5000------ count 5 , 500 count 1,50 count 1. Can any one go this type of denomination doing code please
    let me know how to proceed.
    Regards
    divya
    Edited by: Divya Kumari on Jul 8, 2011 2:18 PM

    Actually
    the scenario is that in some employees ( if you go employee subgroup) like daily labour and casual labours will be paid
    on daily bais for them they will not be paid to bank . I n that case  those type of employees will be paid by CASH. So in teh month end the company wanted to knwo what type and how much money paid .
    regards
    divya

  • How to get standard view or table for the standard inforsource

    Hi all:
          According to business reqirement, we are going to use standard inforsource 0CO_OM_CCA_10,
    we need to know the standard view or table in order to corresponding DataSource?
    could you please tell me how to get  the standard view or table or DataSource?
    Couldn't thank you more!

    Hi Sony,
    Goto RSA1>BI content installation>goto objects>double click on the Infosource>then a pop-up comes search for that infosource-->select it and click on transfer
    Before that in the right side of the tab select the grouping as "Before and afterwards of the dataflow" and collection as automatic.
    then you get all the datasource/cubes and all the object related to the infosource.
    OR another option is-->
    Goto RSA6 in the R/3 and search for the datasource with the name "0CO_OM_CCA_10" (don't forget to expand all the tree structure in RSA6)
    then goto that datasource and double click on the datasource then you will get the Extract structure of that datasource.
    double click on the extract structure then you may get the View name also.
    hope this helps...
    Regards,
    Ravi Kanth

  • How to get total number of products for the site?

    Hi,
    I want to know the total number of products available for the site. i checked in the dcs_product table, it shows 40849 unique products. is this the total number of products count which are used in the site?
    I have another table in CATA schema dcs_product_sites, when i run the CatalogMaintenanceService to populate the records in this table, getting only 26000 products. Please let me know why this difference when i run the service.
    Thanks

    dcs_product table gives all products in your catalog.
    dcs_product_site will give products for a particular site.
    If you have more than one site, then you need to query for that particular site.
    And the number of products you show also depends upon the start and end date on the products.
    And also some custom filters you have like Out of stock items etc.
    Peace
    Shaik

  • How to convert exponential data into number for the downloaded excelsheet

    Hi
    I have downloaded one field data i.e. having char of 50,  into excel sheet and it is displaying as  exponential in the excel sheet. 
    The data numbers should display as text only i.e 1236547896321 and not exponential
    Is anyone can tell how we can do this
    Thanks
    Pallavi

    Hello Pallvai,
    The problem of exponential is with the excel. Excel converts the large numbet into exponential.
    To avoid this you can make the number into text then excel won't convert it into exponential.
    For that you can do a simple trick. Just prefix a single quote ( ' ) in the field.
    eg:
    field = 1236547896321.
    then,
    constants c_quote type c value '''.   "<-- single quote
    concatenate c_quote field into field.
    " This will make the EXCEL to consider this field as text not number and hence it will not be considered
    " as exponential.
    Hope this solves your problem.
    Regards,
    Sachinkumar Mehta

  • How to get server data without reading from the socket stream?

    My socket client checks for server messages through
                while (isRunning) { //listen for server events
                    try {
                            Object o = readObject(socket); //wait for server message
                                tellListeners(socket, o);
                    } catch (Exception e) {
                        System.err.println("ERROR SocketClient: "+e);
                        e.printStackTrace();
                    try { sleep(1000); } catch (InterruptedException ie) { /* ignore */ }
                }//next client connectionwith readObject() being
        public Object readObject(Socket socket) throws ClassNotFoundException, IOException {
            Object result = null;
    System.out.println("readObject("+socket+") ...");
            if (socket != null && socket.isConnected()) {
    //            ObjectInputStream ois = new ObjectInputStream(socket.getInputStream());
                ObjectInputStream ois = new ObjectInputStream(new DataInputStream(socket.getInputStream()));
                try {
                    result = ois.readObject();
                } finally {
    //                socket.shutdownInput(); //closing of ois also closes socket!
        //            try { ois.close(); } catch (IOException ioe) { /* ignore */ }
            return result;
        }//readObject()Why does ois.readObject() block? I get problems with this as the main while loop (above) calls readObject() as it's the only way to get server messages. But if i want to implement a synchronous call in adition to this asynchronous architecture (call listeners), the readObject() call of the synchronous method comes to late as readObject() call of the main loop got called before and therefore also gets the result of the (later) synchronous call.
    I tried fideling around with some state variables, but that's ugly and probably not thread safe. I'm looking for another solution to check messages from the server without reading data from the stream. is this possible?

    A quick fix:
    - Add a response code at the beginning of each message returned from the server indicating if the message is a synchronous response or a callback (asynch);
    - Read all messages returned from the server in one thread and copy callback messages in a calback message queue and the synch responses in an synch responses queue;
    - Modify your synchronous invocation to retrieve the response from the responses queue instead from the socket. Read the callback messages from the corresponding queue instead from the socket.
    Also take a look at my website. I'm implementing an upgraded version of this idea.
    Catalin Merfu
    High Performance Java Networking
    http://www.accendia.com

  • How do I add text to a photo when making a calendar from iPhoto?  I see the text box for the dates but not for the actual photo...thanks.

    I can't find a way to add text to a photo once it's been put into the top pane of the calendar month...is there a way to do this since I'd like to add a descriptor to the photos?  I see the text box when you click on the calendar date, but don't find one for the photo pane.  Thanks for any assistance.

    Right - you can not add text to photos with iPhoto - you must use an external editor
    LN

  • How to get delivery address in STO for the storage location

    Hi All,
    We have to create STO from the reservation using MRP run. While system is creating the STO we need to populate the storage location address as delivery address (not the plant address ). How we can do that? what are teh settings required for this setup? please hlep in that.
    Regrads,
    Khan

    Hello...
    You can select the storage location in the line item itself which is adjecent to Plant for the line item.
    Regards
    Suresh

  • How to get an Net asset value for the Equipment from ERP in to BI

    Hi
    I am extracting the data from CRM to BI about the De installation information like
    Planned date of de installation, contract end date etc . But Ineed to extract Asset net value for that equipement. I think asset value should be extracyed from ERP but I dont know which tables and datsource stores
    Thanks,
    Sudha

    If you want the main tables within Assets :
    FI-AA-AA (AA)    Asset Accounting: Basic Functions u2013 Master Data
    ANKA             Asset Classes: General Data             ANLKL
    ANKP             Asset Classes: Fld Cont Dpndnt on Chart ANLKL / AFAPL
                     of Depreciation
    ANKT             Asset Classes: Description              SPRAS / ANLKL
    ANKV             Asset Classes: Insurance Types          ANLKL / VRSLFD
    ANLA             Asset Master Record Segment             BUKRS / ANLN1 / ANLN2
    ANLB             Depreciation Terms                      BUKRS / ANLN1 / ANLN2 / AFABE
                                                             / BDATU
    ANLT             Asset Texts                             SPRAS / BUKRS / ANLN1 / ANLN2
    ANLU             Asset Master Record User Fields         .INCLUDE /  BUKRS / ANLN1 /  ANLN2
    ANLW             Insurable Values (Year Dependent)       BUKRS / ANLN1 / ANLN2 / VRSLFD /
                                                             GJAHR
    ANLX             Asset Master Record Segment             BUKRS / ANLN1 / ANLN2
    ANLZ             Time Dependent Asset Allocations        BUKRS / ANLN1 / ANLN2 / BDATU
    FI-AA-AA (AA2)   Asset Accounting: Basic Functions u2013 Master Data 2.0
    ANAR             Asset Types                             ANLAR
    ANAT             Asset Type Text                         SPRAS / ANLAR
    FI-AA-AA (AB)    Asset Accounting: Basic Functions u2013
                     Asset Accounting
    ANEK             Document Header Asset Posting           BUKRS / ANLN1 / ANLN2 / GJAHR /
                                                             LNRAN
    ANEP             Asset Line Items                        BUKRS / ANLN1 / ANLN2 / GJAHR /
                                                             LNRAN / AFABE
    ANEV             Asset Downpymt Settlement               BUKRS / ANLN1 / ANLN2 / GJAHR /
                                                             LNRANS
    ANKB             Asset Class: Depreciation Area          ANLKL / AFAPL / AFABE / BDATU
    ANLC             Asset value Fields                      BUKRS / ANLN1 / ANLN2 / GJAHR /
                                                             AFABE
    ANLH             Main Asset Number                       BUKRS / ANLN1
    ANLP             Asset Periodic Values                   BUKRS / GJAHR / PERAF / AFBNR /
                                                             ANLN1 / ANLN2 / AFABER
    FI-SL-VSR (GVAL) Special Purpose Ledger: Validation, Substitution and Rules
    GB03             Validation / Substitution User          VALUSER
    GB92             Substitutions                           SUBSTID
    GB93             Validation                              VALID

Maybe you are looking for

  • Combo Box Background Color Change

    I have a drop down combo box with Good, Fair, Poor as the selection options. I would like to change the background color based on each slection. That is change the color to Green when Good is selected, Yellow for Fair and Red for Poor. Any help is ge

  • Adobe Exception when Opening Pcr Application in MSS

    Hello, We are on EP7.0 NW04s and when we try to open the Adobe form in MSS to make a Personnel Change Request we get the following exception: com.tc.webdynpro.services.exceptions.PDFDocumentCreationException... Failed to process request. Please conta

  • I am unable to empty my trash

    I have placed some backups from my external that I no longer wanted as well as an extra desktop folder that was created by mistake. When i try to empty the trash, I get the message: The operation can't be completed because an unexpected error occurre

  • Is it possible to import excel files automatically?

    Hi, I am able to import the excel file manually and the same map I used in port.. format as excel.. its automatic action.. When I place the file it getting picked but giving structural exception... the same file I can manaully process successfully by

  • Raw to psd Aperture?

    Deciding whether to download Aperture as I am having a nightmare trying to learn Lightroom5. Will I be able to covert raw files to psd to transfer to Photoshop for further editing?