Craig Cmehil's 2010 24 Hour Marathon

The event started 30 minutes ago. Time to save the world, gurus (and having fun in the meantime)!
http://www.ustream.tv/channel/friday-morning-report
http://fridaymorningreport.tv/
http://www.firstgiving.com/fridaymorningreport
Edited by: CoreKeeper on Apr 9, 2010 3:34 PM

Each project can only have one conversion rate for hours in days. SO if this is 8h/d then any 24h calendar day can fit in 3 "standard" 8h days. If your tasks with 24h days are just weekend cutovers or similar than consider using a duration of
hours as this makes it clear what's happening.
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz

Similar Messages

  • Craig cmehil impostor?

    is there an impostor currently posting comments in the blog section under craig cmehil's name or is the real craig just veeery grumpy today?

    >
    Chandramouli Subburathinam wrote:
    >Some of the comments of impostor  in blog are really bad :(.
    >
    > SDN hacked ?? or it is some sort of bug ?
    >
    > regards,
    > S. Chandramouli.
    No one hacked SCN, This is a famous issue(Bug). If some one having same name of yours then your/his BC always shows others posts, blogs etc.
    I think he is back again.

  • The real Craig Cmehil ...

    Hi Friends of the Coffee Corner,
    Just got off the phone with the real Craig Cmehil, who is enjoying his well deserved vacation in Florida. Someone is impersonating him badly. There is only one Craig Cmehil.
    If there is no moderator M or Mentor ! next to his name, it isn't him. In the background we are working on cleaning up this mess.
    In the meantime, you can post a little hello to the real Craig by posting to this thread. He will read it once he is back.
    All the best, Mark.
    P.S. We love the ABAP games here. No threads are closed ...

    If you were thinking Real Craig was making fun means it would not offend any values of SCN(I strongly believe Real Craig wouldn't do such things),
    But you had doubt so that's why i said(In my last reply)
    It was the Coffee Corner, remember? Anything could happen -;) Also...I know Craig in real life...While he's strong when it comes to SCN Rules, he got a nice sense of humor...That's why I believe at first that he was the real one...Anyway...I was about to write him asking him for that, but as I realized that it was a fake one...Didn't want to screw his vacations with that...That's Mark F's job LOL
    Greetings,
    Blag.

  • Setting Up Earned Value Reporting in Project Server 2010, Using Hours Not Dollars

    Hello All,
    Are there instructions for setting up Project Server 2010 for Earned Value data capture and reporting?  I'm not certain that we are capturing the correct data to report EVM (i.e., Physical % Complete), and I was unable to find any videos on YouTube.
    Also, I noticed that Project Server 2010 defaults to reporting EV in Dollars.  Can we set it up to report in Hours instead?
    Julie  

    Hi Julie,
    If you allow to jump in to complement Dale's excellent reply and comment some of your concern...
    5. The status date is a fundamental parameter while talking about the EVM (it is ANYWAY a key setting for tracking projects with MS Project). The EV field will take into account actuals up to this date. Meaning that if your project plans have been updated
    by the PM on tuesday and you are running the analysis on friday, you set the status date to tuesday and the uncomplete work between tuesday and friday will not be considered as late work since you are running the analysis as of tuesday. The status date can
    be set from the "project" tab either in the project information dialog box or directly in the project tab, status group.
    6. MS Project proposes 3 EVM tables by default. A table is a predefined set of column which composes a view, together with a Gantt chart or a timephased grid. If you go to the view tab, click on "tables" then "more tables",
    you will find EV, EV cost indicators and EV Schedule indicators tables which will display the out of the box EVM fields calculated by MS Project based on the costs, actuals, Baseline, status date.
    Then about the cumulative data, you might be refering to S-curves which are a representation allowing you showing the cumulative values of the EV. To do that, you'll have severals ways:
    Use the cumulative calculated field in the visuals reports
    Create
    Dashboards from the report tab using the cumulative data (actual, Baseline, cost)
    Create
    MDX mesures in the OLAP cubes for cumulative data and create excel reports
    Develop custom SSRS reports
    Buy a 3rd-party addon
    Finally please let me give you an excellent reference for the EVM in MS Project with EPM Central blog articles:
    http://www.epmcentral.com/msproject/evintro.php
    http://www.epmcentral.com/msproject/evprereq.php
    http://www.epmcentral.com/msproject/evterms.php
    http://www.epmcentral.com/msproject/evexplain.php
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Problem Using SDN -- Craig Cmehil, Marilyn Pratt  Pls Response

    Hi!
       Craig & Marilyn!
       I cannot be able to search forum i cant get any information suitable to my search.
      When ever i do a search i am getting the following error,
        <b>No search results for "ALV". You should try a less restrictive search.
       Did you mean: ALVA  </b>
      Like this,  any search i do nothing displayed
      Pls help me to solve my issue.
      Thanks & Regards,
      Lekha.

    When reporting your error you may try using this method: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.clusterinformation.clusterinfo">take this url</a> Paste it into your address bar when you are inside the window where the issue seems to be appearing.
    This URL will get you to a screen which you can capture...please send the information on this screen every time you report an issue on SDN.  The info will tell us the node number of the system you were connected to, at the time when you discovered the issue.

  • Craig Cmehil

    I'm spartacus.

    Ámit Güjärgoüd wrote:
    > No.
    >
    > I would try to arrenge it's DVD tonight
    Do that and you'll understand
    It became a cult phrase which I was about to explain, but now I won't so as not to spoil the movie.
    Let's just say Matt's comment was very appropriate and in good humour!

  • Project 2013 - entering work hours at a monthly level

    Hi all, 
    Any help with this 'hopefully small' problem will be hugely appreciated. It's not so much a problem, but
    me still being new to Project - sorry! As a summary of what I am working with:
    I have entered a list of tasks (all set to Manually Scheduled).
    I have entered a number of resources into the Resource List. 
    I have also assigned relevant resources to the tasks. 
    Using the Task Usage view, I would now like to begin entering Work hours for the resources assigned to the
    tasks. We are planning at a monthly level, so I know how many hours each resource is expecting to be spending on each task over each month. 
    I have set the Timescale of my Task Usage screen to a monthly scale, thinking that this would allow me to
    enter total hours for each month. As an example, one of the resources assigned to a task is set for 15 hours of Work in April. It all seems to look OK on input. 
    My problem is however, I would like the Start and Finish fields to reflect this, and span over the months
    in which the Task's resources will be doing work. It doesn't seem to pick up the month accurately. Although I have entered the 15 hours in the column labelled April, the Start and Finish dates have come out as 30/04/14 and 30/05/14 respectively. I was hoping
    the Start and Finish times of that row to be 01/04/14 and 30/04/14 respectively, but they are a month out of line, and has show the work to be happening over May, not April. Is there y way I can change this?
    I hope this makes sense as a question? Any help at all would be brilliant. Please do let me know if I've
    missed any detail and you need some more info. I'll also continue looking through the forums to check if this has already been asked. 
    p.s. I tried to upload an annotated image, but my account needs to be verified first. Do I need to do anything to request this? I didn't receive any usual 'verification' links in MS's email on opening this account.
    Thanks very much, 
    ac18

    Hi John, Julie,
    Thank you both very much for the help! Yes good spot, I did post it on both forums (http://www.msofficeforums.com/project/21190-project-2013-entering-work-hours-monthly-level.html) - it's been years since I've used forums of any kind, and it's great to see
    experts being active across multiple sites! 
    I have given both suggestions a try, but unfortunately am still not quite there yet. 
    John, although your tip seems to work OK, I think I was hoping to find a way for the Start and Finish times to automatically span across the Work hours I have entered. If I was to then enter another 5 hours, but this time for March, the Start-Finish dates
    should auto update to be 01/03/14 - 30/04/14. I understand now that this may require me to be on an Automatically Scheduled project? 
    Julie, your screen shot on the msofficeforums.com website is exactly what I am looking to achieve! I would like to enter month-level Work data, and that looks to be exactly that. I did try entering a zero in the month immediately after the last month that
    had hours in it, but Project seemed to simply ignore it, with no visible change to the dates. 
    I have done some further investigating, and there does seem to be something different happening with my Project version (it's Proj Prof 2013). I have access to another computer with Project 2010 installed on it, and this doesn't seem to cause an issue. Note,
    I did need to have set the tasks as Auto Scheduled. 
    Essentially, if I try and exactly replicate Julie's example on both versions with the following steps, I get slightly different results:
    Tasks set to Auto-Scheduled. 
    Set Project Start Date to 01/01/14
    Enter some resources. 
    Switch to Task Usage view. 
    Set the Timescales on the right hand side to: Bottom tier=Months, Middle tier=Quarters. 
    Enter a task. 
    Assign resources to the task. At this point, by default 8 hours worth of work appears for each assigned resource. In 2010, these hours appear in the January 14 column. But on my 2013 laptop however, these hours appear under the December 2013 column. Strange?
    Anyway, in both cases I clear these default hours by entering zeros in their places.
    I now enter 15 hours under April 2014 for one of the resources on the task.
    In 2010, the Start and Finish dates of the assigned resource's row update to 01/04/14 - 30/04/14.
    In 2013 however, the Start and Finish dates update to 30/04/14 - 30/05/14. 
    I have a feeling that this discrepancy is perhaps at the heart of my problem? Is there a setting with the application that I am not making?
    Thanks again, 
    Arjun

  • Sap can't calc overtime for more than 24 hours in a day

    Dear experts,
    I'm having problem currently with overtime, because of the following condition
    1. The employee worked on saturday (let's say this was 9 jan 2010) and monday (10 jan 2010) where in both of those days, the employee should not work (FREE Work schedule)
    2. The employee worked from 09.01.2010 at 6PM until 10.01.2010 at 8PM (26 hours)
    3. we're using time events, so the clock in and clock out are noted in IT 2011 with the following :
        -in:09.01.2010 6PM
        -out:10.01.2010 8PM (but with assigned to prev day indicator set)
    4. The overtime approval using IT 2007 is defined using this one record :
        -begda:09.01.2010     endda:10.01.2010
        -time:6PM - 8PM.
    5. We can't separate the overtime entry in 2011 into two separate record, because of progressive rate of overtime. (i.e for first 10 hours of overtime, you get $10, for the next 10-20 you get $20, and so on)
    However the resulting time evaluation only calculate overtime from :
    09.01.2010 18.00.00 - 20.00.00 (2 hours)
    10.01.2010 42.00.00 - 44.00.00 (2 hours)
    for total 4 hours,
    We've tried :
    1. creating two of 2007 record for :
         -09.01.2010 6PM-00.00 (6 hours)
         -10.01.2010 00.00 - 8PM (20 hours)
        => result : only the first six hours were taken into account
    2. create one  2007 record for :
        -09.01.2010 - 10.01.2010, with time 00:00 - 24.00
        => result : we got 26 hours. However the attendance quota shouldn't contain full day time (00:00 to 24:00), because if the employee fill the 2011 with more than he/she should eligible, he/she will get those also.
    3. create one 2007 record for :
        -09.01.2010 - 09.01.2010 with hours : 26 (using unit instead of time), but if the time contains minutes (such as 18:02 or 20:18) this will needs to be calculated manually, which will be a hassle.
    where what we need is total 26 hours, with using attendance quota, than can span days, but without filling manually the hour. Or perhaps something similar. Any idea how to achieve that in SAP ?
    Thank you.

    Hi,
    this reply is related to option 1 as mentioned in your post. Can't tell for 100% whether the following makes any sense as I have never recorded overtime in IT2007. (I normally use IT2002).
    But in most of my previous projects where not all recorded overtime was calculated, this was often to a missing selection rule in T554S.
    Wilfred.

  • Closing the Coffee Corner

    It's with regret but for legal reasons will are being forced to close this forum topic. It seems that Legal has felt the conversations here are going to wide off base and are boarding on libel and therefore to minimize risk they have requested that we close the forum.
    We discussed this with them for a good 4 hours last night but it was to little avail, the forum will close at the end of business (PST time) today.
    Sorry folks we did what we could.
    Craig Cmehil
    SDN Community Manager

    >
    David Branan wrote:
    > Loved this one.
    >
    > Saw the one in SAPnet too about charging 30 cents for coffee in the Waldorf buildings as well. The one I really liked was a few years ago where they said all Waldorf based employees would get a free trip to a spa.
    It was a really well done video with the actual long time facilities people, that played along nicely. I didn't see it first, but it was the talk over lunch, that charging for coffee is an assault on one of the core elements of the SAP culture. I was really sad. Only when we parted, we realized, oh wait it is an April fool's joke.
    What a relief Mark.

  • What are the Mandatory fields????

    Hi.... Experts...
       Please spend your valueble time for me.... I can get back to you with 10 points....
    Here I got a requirement to create contract with VA41 transaction...
    But I am in confusion with feilds which should be must record...
    Please guide me on mandatory fields of VA41 transaction....
    Thanks,
    Naveen.I

    Hi,
    When ever you want to know the required fields for any transaction just try to run the Transaction In SHDB in forgroud mode with a recording name.
    You will easily get to know the required fields to be entered for a given transaction.
    Sometimes when we run this VA41, eventhough some fields are not mandatory we dont pass them but we willnt b able to create the document eventhough some fields are not mandatory to fill> To have the clear idea abt the manadotry fields try to run in SHDB.
    for this VA41, ther mandatory fields are-
    contract type (VBAK-AUART)
    Sales Area is a combintaiotn of SAles Org, SAles divnsion, Distirbution channel hende all 3 are required to be filled.
    1st screen-
    Sales Area(VBAK-VKORG)
    Division(VBAK-SPART)
    D.Channel(VBAK-VTWEG),
    2nd screen-
    Customer code(kunnr),
    Contract validity,
    material code(matnr),
    quantity
    plant(werks).
    Best Wishes,
    Chandralekha
    Edited by: Craig Cmehil on Jun 30, 2008 11:24 AM

  • How to get SAPRFC working on XAMPP 1.6.2? Try this.

    Hi
    I have just managed to get SAPRFC working with XAMPP 1.6.2 (released on  29/05/2007). I noticed there was not much information on XAMPP in the PHP Development forum, so thought this might be useful for anyone who may wish to use it.
    I originally started with Craig Cmehil's post <a href="/people/sap.user72/blog/2005/05/15/getting-started-with-php started with PHP</a>. I already had XAMPP installed, so just needed to update it and add SAPRFC support.
    I am using the following:
    Windows XP SP2
    XAMPP 1.6.2 - <a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a>
    This includes:
    1. Apache 2.2.4
    2. MySQL 5.0.41
    3. PHP 5.2.2 + 4.4.7 + PEAR + Switch
    4. And other modules included. See XAMPP website for more information on the extra modules included.
    SAPRFC  1.4-5.20 - Re: PHP 5.2 and saprfc 1.4.1. This provided me with a link to SAPRFC 1.4-5.2.0. Using the php_saprfc.dll file included in this ZIP file solved the problem.
    <u>Instructions</u>
    1. Install XAMPP and follow setup taking defaults (I installed to C:\DEV\XAMPP)
    2. Extract SAPRFC to a suitable location (e.g. C:\DEV\SAPRFC)
    3. Copy the php_saprfc.dll file to the XAMPP\PHP\EXT folder (as defined in the extensions_dir in PHP.INI).
    4. Copy the remainder of the SAPRFC ZIP file to the XAMPP\HTDOCS folder. Create subdirectory if required.
    4. Edit PHP.INI and add the line <i>extensions=php_saprfc.dll</i> You will need to add this after the last <i>extensions=<some_extension>.dll</i> line.
    5. Shutdown and restart Apache using the XAMPP Control.
    6. Launch Internet Explorer and go to page <i>http://localhost/saprfc_test.php</i> or if you have put the SAPRFC PHP files in a subdirectory go to <i>http://localhost/yoursubdirectory/saprfc_test.php</i>.
    7. By running the saprfc_test.php file you should see a logon page.
    It should now be working on the PHP 5.2.2. I have not tested with the 4.4.7 version.
    That's all you need to do, so you should now be able to test some of the examples that are in the Blogs.
    Best of luck
    Nick

    Hello everybody,
    I've found simple solution for all problems with "Generate Activation Context failed for  ... php_saprfc.dll". This has something to do with missing libraries at your system.
    The next trace in Event viewer -> System was:
    "Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
    The solution is install: Microsoft Visual C++ 2005 Redistributable Package (x86)
    "vcredist_x86.exe" available at Microsoft downloads page.
    Good luck
    Michal.

  • ALV Display - Error in field catalog

    Hi ,
    I am facing a problem in ALV... Field catalot is not getting populated... I am getting a message field catalog not found...
    Can anyone please help me....... <URGENT DOES NOT EXIST HERE>...
    I am enclosing my code also.. please go thourh it and help it....
    REPORT ZINVENTORY
          LINE-SIZE  120
           LINE-COUNT 64.
          MESSAGE-ID Z2
          NO STANDARD PAGE HEADING..
    type-pools : slis.
    Tables                                                               *
    tables: zasset,
            anla,
            itob,
            equi.
    data: v_repid LIKE sy-repid.
    Selection Screen                                                     *
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS : S_bukrs FOR anla-bukrs OBLIGATORY ,
                     S_kostl FOR itob-kostl .
    SELECTION-SCREEN : END OF BLOCK B1 .
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS: p_screen RADIOBUTTON GROUP gr1,
                p_list RADIOBUTTON GROUP gr1 DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK b2.
    Internal Tables                                                      *
    types: BEGIN OF ty_zasset, " occurs 0,
             equnr  like zasset-equnr,
             ANLN1 LIKE zasset-ANLN1, " Asset number
             ANLN2 LIKE zasset-ANLN2, " Sub Asset number
             BUKRS LIKE zasset-BUKRS, " Company Code
             KOSTL  like zasset-kostl,
             SCANNEDBY type zasset-scannedby,
             SCANNINGDATE type zasset-SCANNINGDATE,
             SCANNINGTIME type zasset-scanningtime,
             UPDATEDATE   type zasset-updatedate,
             UPDATETIME type zasset-updatetime,
           END OF ty_zasset.
    DATA: wa_zasset   TYPE ty_zasset.
    DATA: it_zasset TYPE TABLE OF ty_zasset with header line..
    types: BEGIN OF ty_zasset1, " occurs 0,
            equnr  TYPE equi-equnr,
             ANLN1 LIKE anla-ANLN1, " Asset number
             ANLN2 LIKE anla-ANLN2, " Sub Asset number
             BUKRS LIKE anla-BUKRS, " Company Code
             ernam like anla-ernam,
             erdat like anla-erdat,
            KOSTL  like anlz-kostl,
            SCANNEDBY type zasset-scannedby,
            SCANNINGDATE type zasset-SCANNINGDATE,
            SCANNINGTIME type zasset-scanningtime,
            UPDATEDATE   type zasset-updatedate,
            UPDATETIME type zasset-updatetime,
           END OF ty_zasset1.
    DATA: wa_zasset1   TYPE ty_zasset1.
    DATA: it_zasset1 TYPE TABLE OF ty_zasset1 with header line..
    types: BEGIN OF ty_zasset2, " occurs 0,
             equnr  like itob-equnr,
             ANLNr LIKE itob-ANLNr, " Asset number
             ANLuN LIKE itob-ANLuN, " Sub Asset number
             BUKRS LIKE itob-BUKRS, " Company Code
             timbi like itob-timbi,
             kostl like itob-kostl,
            KOSTL  like anlz-kostl,
            SCANNEDBY type zasset-scannedby,
            SCANNINGDATE type zasset-SCANNINGDATE,
            SCANNINGTIME type zasset-scanningtime,
            UPDATEDATE   type zasset-updatedate,
            UPDATETIME type zasset-updatetime,
           END OF ty_zasset2.
    DATA: wa_zasset2   TYPE ty_zasset2.
    DATA: it_zasset2 TYPE TABLE OF ty_zasset2 with header line..
    types: begin of ty_final , "occurs 0,
            equnr like itob-equnr,
            anln1 like anla-anln1,
            anln2 like anla-anln2,
            bukrs like anla-bukrs,
           ernam
           erdat
            kostl like itob-kostl,
            end of ty_final.
    DATA: wa_final   TYPE ty_final.
    DATA: it_final TYPE TABLE OF ty_final with header line..
    *DATA: it_zasset TYPE TABLE OF ty_zasset.
    *data: it_zasset1 type table of ty_zasset1.
    *data:wa_zasset type ty_zasset.
    *data:wa_zasset1 type ty_zasset1.
    Flags and Variables                                                 *
    DATA : F_ERROR.                   " Flag for No Data
    *pop field cat for f7
    data: V_SYREPID LIKE SY-REPID,
          IT_FLDCAT type slis_t_fieldcat_alv , "with header line,
          wa_fldcat   type slis_fieldcat_alv.
    *DATA : IT_FLDCATS TYPE SLIS_T_FIELDCAT_ALV.
    data: itab_events type slis_t_event,
          wa_events   type slis_alv_event.
    *data: wa_layout type slis_layout_alv.
    DATA : IT_COMMENTS TYPE SLIS_T_LISTHEADER,
           WA_COMMENTS TYPE SLIS_LISTHEADER.
    DATA : IT_SORTINFO TYPE SLIS_T_SORTINFO_ALV,
           WA_SORTINFO TYPE SLIS_SORTINFO_ALV.
    Initialization                                                       *
    initialization.
      SY-REPID = V_REPID.
    At Selection Screen                                                  *
    AT SELECTION-SCREEN.
      PERFORM validation.
    Start Of Selection                                                   *
    start-of-selection.
    perform select_data.
    IF P_LIST = 'X'.
    perform get_field_catalog.
    PERFORM MODIFYFIELDCAT.
    perform get_events.
    perform write_comments.
    perform grid_display.
    *perform list_display.
    ENDIF.
    IF sy-subrc = 0.
       IF p_list = 'X'.
       loop at it_final.
       perform get_events.
       endloop.
       endif.
       endloop.
       else.
    *endif.
    End Of Selection                                                     *
    END-OF-SELECTION.
    *perform display_Recorsds.
    *loop at zasset.
    *&      Form  validation
          text
    -->  p1        text
    <--  p2        text
    FORM validation.
    *Local variables.
      DATA:
            lv_bukrs type anla-bukrs,
            lv_kostl type itob-kostl,
            lv_anln1 TYPE anla-anln1,        "MAterial Number
            lv_anln2 TYPE anla-anln2.
    *Validation for company code
      if not s_bukrs is initial.
        select single bukrs from anla
               into lv_bukrs
               where bukrs in s_bukrs.
        if sy-subrc <> 0.
    *Message used : Invalid company code.
        endif.
      endif    .
    Validation for cost center
      if not s_kostl is initial.
        select single kostl from itob
               into lv_kostl
               where kostl in s_kostl.
        if sy-subrc <> 0.
    *Message used : Invalid company code.
        endif.
      endif  .
    ENDFORM.                    " validation
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display.
      write :/15 it_final-anln1,
      it_final-anln2,
                sy-vline.
    *-bukrs,
           it_zasset-anln1.
    ENDFORM.                    " display
    *&      Form  get_field_catalog
          text
    -->  p1        text
    <--  p2        text
    FORM get_field_catalog.
    *REFRESH IT_FLDCAT.
    *CLEAR IT_FLDCAT.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = V_REPID
       I_INTERNAL_TABNAME           = 'IT_FINAL'
       I_INCLNAME                   = V_REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = IT_FLDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " get_field_catalog
    *&      Form  get_events
          text
    -->  p1        text
    <--  p2        text
    FORM get_events.
      WA_COMMENTS-TYP = 'H'.
      WA_COMMENTS-KEY = 'THIS IS THE HEADING.'.
      WA_COMMENTS-INFO = 'LIST OF SALES ORDERS'.
      APPEND WA_COMMENTS TO IT_COMMENTS.
    ENDFORM.                    " get_events
    *&      Form  grid_display
          text
    -->  p1        text
    <--  p2        text
    FORM grid_display.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
       I_CALLBACK_TOP_OF_PAGE            = 'FIRST PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      =  'LIST OF FLIGHT DETAILS'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       =  it_fldcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =  itab_events
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = it_final
    EXCEPTIONS
       PROGRAM_ERROR                     = 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.
    ENDFORM.                    " grid_display
    *&      Form  write_comments
          text
    -->  p1        text
    <--  p2        text
    FORM write_comments.
      WA_COMMENTS-TYP = 'H'.
      WA_COMMENTS-KEY = 'THIS IS THE HEADING.'.
      WA_COMMENTS-INFO = 'LIST OF SALES ORDERS'.
      APPEND WA_COMMENTS TO IT_COMMENTS.
    ENDFORM.                    " write_comments
    *&      Form  select_data
          text
    -->  p1        text
    <--  p2        text
    FORM select_data.
      clear: it_zasset, it_zasset[].
      select  equnr "bukrs
              anln1
              anln2
              bukrs
              KOSTL
              SCANNEDBY
              SCANNINGDATE
              SCANNINGTIME
              UPDATEDATE
              UPDATETIME
              into table it_zasset "(g_anln1,g_anln2)
              from zasset
              where bukrs = zasset-bukrs..
          and   kostl = zasset-kostl.
      if sy-subrc = 0.
        sort it_zasset by anln1 anln2.
      endif.
    append it_zasset.
      clear it_zasset1.
      select
             equnr
              anln1
              anln2
              bukrs
              ernam
              erdat
             bukrs
             KOSTL
             SCANNEDBY
             SCANNINGDATE
             SCANNINGTIME
             UPDATEDATE
             UPDATETIME
              into table it_zasset1 "(g_anln1,g_anln2)
              from  anla
             where bukrs = it_zasset-bukrs.
      WHERE BUKRS IN S_BUKRS.
    and   kostl = anla-kostl.
      if sy-subrc = 0.
        select equnr
               anlnr
               anlun
               bukrs
               timbi
               kostl
               into table it_zasset2
               from itob
               for all entries in it_zasset1
              where bukrs = it_zasset1-bukrs
               WHERE   anlnr = it_zasset1-anln1.
      endif.
      APPEND IT_ZASSET1.
      IF SY-SUBRC = 0.
    *loop at it_zasset1 into wa_zasset1.
    loop at it_ZASSET1 into wa_zasset1.
    move wa_zasset1-bukrs to wa_final-bukrs.
        move wa_zasset1-anln1 to wa_final-anln1.
        move wa_zasset1-anln2 to wa_final-anln2.
    append wa_final to it_final.
    endloop.
    ENDIF.
    sort it_final.
    *LOOP AT IT_FINAL.
    *ENDLOOP.
    *ENDIF.
    *if sy-subrc = 0.
    *loop at it_zasset into wa_asset.
    *read table it_zasset into wa_asset with key anln2 = wa_asset-anln2
    *binary search.
    *read table it_final into wa_final with key anln2 = wa_final-anln2
    *binary search.
    *if wa_asset-anln2 = wa_final-anln2.
    *write : / 'error'.
    *endif.
    If sy-subrc <> 0.
       f_error = 'X'.
       write :  'No data Exists for the given selection in FA table'.
    else.
       loop at it_final.
         perform display.
       endloop.
    records exits in anla table also.
    endif.
    ENDFORM.                    " select_data
    *&      Form  MODIFYFIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFYFIELDCAT.
      LOOP AT IT_FLDCAT INTO WA_FLDCAT.
         CASE WA_FLDCAT-FIELDNAME.
            WHEN 'EQUNR'.
    WA_FLDCAT-COL_POS = 1.
              WA_FLDCAT-SELTEXT_L = 'aSSET'.
            WHEN 'ANLN1'.
            wa_FLDCAT-KEY = 'X'.
              WA_FLDCAT-COL_POS = 5.
              WA_FLDCAT-SELTEXT_L = 'aSSET'.
            WHEN 'ANLN2'.
              WA_FLDCAT-KEY = 'X'.
              WA_FLDCAT-COL_POS = 6.
            wa_FLDCAT-HOTSPOT = 'X'.
            WHEN 'BUKRS'.
              WA_FLDCAT-CURRENCY = 'INR'.
             WA_FLDCAT-SYMBOL = 'X'.
          ENDCASE.
        MODIFY IT_FLDCAT FROM WA_FLDCAT.
    *IT_FLDCAT-fieldname   = 'EQUNR'.
    IT_FLDCAT-seltext_m   = 'DOCUM_TYPE'.
    IT_FLDCAT-col_pos     = 1.
    IT_FLDCAT-outputlen   = 10.
    IT_FLDCAT-emphasize   = 'X'.
    IT_FLDCAT-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
    append IT_FLDCAT TO IT_FLDCAT.
    IT_FLDCAT-fieldname   = 'ANLN1'.
    IT_FLDCAT-seltext_m   = 'DOCUM_TYPE'.
    IT_FLDCAT-col_pos     = 1.
    IT_FLDCAT-outputlen   = 10.
    IT_FLDCAT-emphasize   = 'X'.
    IT_FLDCAT-key         = 'X'.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
    append IT_FLDCAT TO IT_FLDCAT.
      ENDLOOP.
    ENDFORM.                    " MODIFYFIELDCAT
    *&      Form  list_display
          text
    -->  p1        text
    <--  p2        text
    *FORM list_display.
    *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = V_SYREPID
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = 'FRM_USER_COMMAND'
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      = wa_layout
      IT_FIELDCAT                    = IT_FLDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = 'A'
      IS_VARIANT                     =
      IT_EVENTS                      = ITAB_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
    TABLES
       T_OUTTAB                       = IT_FINAL
    EXCEPTIONS
      PROGRAM_ERROR                  = 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.
    *ENDFORM.                    " list_display
    Edited by: Craig Cmehil on Jul 18, 2008 10:01 AM

    The problem is with this...
    types: begin of ty_final , "occurs 0,
    equnr like itob-equnr,
    anln1 like anla-anln1,
    anln2 like anla-anln2,
    bukrs like anla-bukrs,
    ernam
    erdat
    kostl like itob-kostl,
    end of ty_final.
    DATA: wa_final TYPE ty_final.
    DATA: it_final TYPE TABLE OF ty_final with header line.
    when you are using Fieldcatalog merge you have to avoid using the TYPES Declaration of the internal table.
    Instead of that you can do this
    data: begin of it_final occurs 0,
    equnr like itob-equnr,
    anln1 like anla-anln1,
    anln2 like anla-anln2,
    bukrs like anla-bukrs,
    ernam
    erdat
    kostl like itob-kostl,
            end of it_final.

  • SAP Scripting Languages on the SDN Day - Amsterdam

    I would like to give a short summary of what happened on the SDN Day in Amsterdam, the 17-th Oct. 2006.
    After the breakfast Craig Cmehil gave us a welcome to the event and presented the schedule. We started with a power networking session: Four 20-minute Sessions with Six SDNers per Table. As I was sitting at the Scripting Languages table, I would like to share some impressions of the atmosphere there. We talked much about the emmerging SAP Scripting Tool and how much value it will bring to all scripting projects that plan to utilize SAP backend systems. We discussed Gregor Wolf's contest and he was so kind to inform us that his test system is also available inside the SAP corporate network, so all SAP employees now can participate too. Gregor works for Siteco Beleuchtungstechnik GmbH and the award they offer for the contest is a Siteco Vistosa task light. More information about the contest can be found at https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4588. [original link is broken] [original link is broken] Another key discussion was held with Björn Schotte, the chief editor of PHP Magazine, Germany, presenting also his company Mayflower Gmbh. He shared some visions on business applications of PHP and stated that PHP is definitely enterprise ready.
    Then after a very short pause we started the SDN breakout sessions (3-5 in parallel). I visited the sessions of Gregor Wolf, André Labahn, Björn Schotte and after this I cooperated for the breakout session of Frank Mittag.
    Session 1:
    Connecting Typo3 to R/3 Enterprise via Web Services with Gregor Wolf from Siteco Beleuchtungstechnik GmbH
    Siteco Beleuchtungstechnik GmbH currently implements a customer service centre into it's Typo3 based website. Typo3 is an Open Source Web Content Management system based on the Scripting Language PHP. The application will allow Siteco's customers to directly check price & availability of products from the backend R/3 Enterprise system, quotations, orders and delivery status. The backend connectivity uses Web Services utilise the PEAR SOAP Package.
    Session 2:
    SAP supports Scripting Languages with Andre Labahn from SAP.
    This session will provide you with more insights on how SAP is supporting scripting languages.
    Session 3:
    Scripting Languages PHP and Enterprise Software with Björn Schotte (Chief Editor from PHP Magazine).
    This session showed us a brief history of PHP and PHP in Germany. Some enterprise applications of PHP were discussed. Björn Schotte was the opinion that PHP is definitely enterprise ready and he proved it with an example of a system that his company has created for Siemens.
    Session 4:
    Scripting Languages Tool with Frank Mittag and Vasil Bachvarov (me) from SAP
    SAP will provide a open source tool to the scripting development community that is supporting the access to SAP Backend Systems via RFC/BAPIs and Webservices. See the concept and demo of the tool and discuss this with SAP Development.
    There was a pretty interesting discussion about the tool. Since the time for the last session shrinked with some minutes we had to be very quick, but Frank Mittag did a great job and succeeded to explain the basic concept of the SAP Scripting Tool and show it in action for the tough time constraint.
    There were a lot of questions from the audience but it was already 18:30 and we stopped at this point. There would be a second chance for questions on thursday when Frank had the opportunity to make a more complete and comprehensive walk-through of the project.
    Then we gathered in the meeting hall and Shai Agassi held a speech and made a summary of the event.
    The evening finished in the BoomChicago theater where everybody received a delicious meal, drinks and a great amount of fun with the ChicagoBoom comic crew.
    I would like to thank all people that made this event come true! See you soon in Bangalore.
    Best Regards,
    Vasil Bachvarov
    SAP AG

    I'm be there in Amsterdam as well.  In fact I am leaving the US on Sunday and arriving early Monday morning in Amsterdam. 
    I was planning to do a little site seeing on Monday Afternoon.  If anyone else is arriving a bit early as well, they are welcome to join me.  It is always more fun to site see in groups.  My email address is public in my SDN business card (also not too difficult to figure out ) if anyone is interested in meeting up.

  • How to combine 2 xmls in a single message ?

    Hi Guys,
    I have a requirement where i need to do the HTTP post and the xml request should be as below
    The AddressValidationRequest message consists of two complete XML documents. The first document is an AccessRequest. It is immediately followed by an AddressValidationRequest.
    <?xml version="1.0" ?>
    <AccessRequest xml:lang='en-US'>
    <AccessLicenseNumber>YOURACCESSLICENSENUMBER</AccessLicenseNumber>
    <UserId>YOURUSERID</UserId>
    <Password>YOURPASSWORD</Password>
    </AccessRequest>
    <?xml version="1.0" ?><AddressValidationRequest xml:lang='en-US'>
    <Request>
    <TransactionReference>
    <CustomerContext /><XpciVersion>1.0001</XpciVersion>
    </TransactionReference>
    <RequestAction>XAV</RequestAction>
    <RequestOption>3</RequestOption>
    </Request>
    <MaximumListSize>3</MaximumListSize>
    <AddressKeyFormat>
    <ConsigneeName>UPS Capital</ConsigneeName>
    <BuildingName>Business Credit</BuildingName>
    <AddressLine>425 Day Hill Road</AddressLine>
    <AddressLine>P.O. Box 400</AddressLine>
    <AddressLine>Main Office</AddressLine>
    <PoliticalDivision2>Windsor</PoliticalDivision2>
    <PoliticalDivision1>CT</PoliticalDivision1>
    <PostcodePrimaryLow>06095</PostcodePrimaryLow>
    <CountryCode>US</CountryCode>
    </AddressKeyFormat>
    </AddressValidationRequest>
    I know it is invalid to have the second xml declaration, but the 3rd party system expects in this manner. Is there any way i can insert the xml verion tag either with DOM ?
    any help or suggestions would be appreciated and awarded.
    Thanks,
    Srini

    Hi,
    You can try that in Java Mapping without using any Parser. You have to use Java input and output stream and construct this as normal string of this format and send it to end system.
    PS: by using io streams the performance will be reduced, but it will fulfill your requirement
    thanks
    amit
    Edited by: Craig Cmehil on Jul 10, 2008 9:27 AM

  • How to restrict the values in seach helps

    Dear All,
                   I am new to the BSP concept.I have a requirement
    where in the BSP i need to restrict the values of the search help.i.e. 2 values are coming in the help i need to display only 1 value.
    can anybody please explain how to do it.
    Cheers,
    Deepthee Kasal
    Edited by: Craig Cmehil on Sep 2, 2008 8:21 AM

    Hi,
    I assume that you read values for the search help with function 'F4IF_FIELD_VALUE_REQUEST' and in a later step you display values with <htmlb:tableview>. If that is true and the function is delivering too many records as you mention, you could then restrict the output table of values like this:
    TABLES mara.
    DATA: mytable TYPE TABLE OF ddshretval WITH HEADER LINE.
    DATA l_repid TYPE syrepid.
    PARAMETERS p_mtart LIKE mara-mtart.
    AT SELECTION-SCREEN ON VALUE-REQUEST
    FOR p_mtart.
    l_repid = sy-repid.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'MARA'
    fieldname = 'MTART'
    dynpprog = l_repid
    callback_program = l_repid
    callback_form = 'F4CALLBACK'
    TABLES
    return_tab = mytable
    EXCEPTIONS
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    OTHERS = 5.
    START-OF-SELECTION.
    blah, blah, blah
    * Form F4_form
    * Exclude all material types that start with F & H
    FORM f4callback
    TABLES record_tab STRUCTURE seahlpres
    CHANGING shlp TYPE shlp_descr
    callcontrol LIKE ddshf4ctrl.
    DATA: aux_struc TYPE ddshselopt.
    MOVE: 'H_T134' to aux_struc-shlpname,
    'MTART' TO aux_struc-shlpfield,
    'E' TO aux_struc-sign,
    'CP' TO aux_struc-option,
    'F*' TO aux_struc-low.
    append aux_struc to SHLP-SELOPT.
    MOVE: 'H_T134' to aux_struc-shlpname,
    'MTART' TO aux_struc-shlpfield,
    'E' TO aux_struc-sign,
    'CP' TO aux_struc-option,
    'H*' TO aux_struc-low.
    append aux_struc to SHLP-SELOPT.
    ENDFORM. "F4_form
    Mark points if helpful

Maybe you are looking for

  • Genius mixes not working with iTunes 9

    The iTunes 9 video says to create a Genius mix, you click on Genius and then turn it on. It then says you'll need to log on to your iTunes account to get started. Well, there are already two playlists underneath the Genius icon in my sidebar. When I

  • Providing security to the PDF file using apache FOP in java

    I am working on PDF file generation using Apache FOP, I have security concerns which are 1. PDF file will be placed in a folder after generation and that should not be copied to other locations. 2. PDF file should only have an option print nothing el

  • Do I have to use iTunes to burn CD's?

    If I buy an album using iTunes do I have to use iTunes to burn it to a CD or can I use my Roxio SW? Compaq   Windows XP Pro  

  • Help with Update task

    Hi friends, In the below am trying to update a custom table using a call function in update task. I dont see the table getting updated can someone take a look at it and let me knw what the problem is? I have the commit work statement and also marked

  • $$$%%%   Linking flash file PLZ HELP  $$$%%%

    hello and thankyou for whoever is reading this for taking the time! Im makinga band web site and I made flash buttons in flash 8(not the flash buttons in dreaweaver). now I need to add a link to each button. How can I do this. I see that a lot of ban