Sub Picture Problems HD project to SD build/burn for DVD Menu

Encore CS5 on OSX
Created a project for HD Blu-Ray that has sub pictures for buttons that work wonderfully when built and burned on Blu-ray, but when I use the same project and build and burn to SD DVD, the sub pictures are visible as horizontal lines with no chroma.  This issue is prevelent in stand alone players, both blu-ray and DVD, but when played in the computer DVD player they are fine.  Any ideas on how to fix this?
Thx

Thanks, yes I kept the same HD menus and output to DVD. 
>>> Bill Hunt <[email protected]> 06/09/10 5:38 PM >>>
Welcome to the forum.
Did you keep the same HD Menus, and just Output to DVD, or did you alter your Menus for the SD Project?
Can you post a screen-cap of your Menu in PS, with the Layers Palette open, so that we can see the look of the Sub-picture Highlights?
Good luck,
Hunt

Similar Messages

  • Sub Picture problem in Encore CS6

    I am working on my first bluray project. I made the Menu for Encore as I have make many in Photoshop.
    The video is 1280 x 720 so I made the Menu 1280 x 720.
    The problem is with the Highlight layers, but not all of them.
    Here is a composite of 3 screen shots of a preview of the menu in Encore.
    The top shows the left most button the Highlight shows only 3/4 of the button.
    The middle shows how middle three buttons work fine.
    The lower section shows the second from the right button, it does not work fully and part of the 6th button is on.
    When I let Encore create a sub picture the same thing happened.
    I have made sure that the GROUP boundaries do not over lap. I have moved the 1st, 5th and 6th button further away from each other but it still happens.
    Anyone have any ideas?
    Thanks

    I know this is old but just in case someone sees this and has the same problem. I am using 5.5 and I found this same issue. Upon playback before making it a dvd, portions of the highlight boxes were gone. The 4th outline of the box was not appearing. My project was a 2 dvd set and I had saw this problem in the first dvd and was going to find the answer but ended up burning it to dvd and the boxes looked as they were supposed to. Very strange but glad that it worked.

  • Jagged font problem - iMovie to iDVD to then burn a DVD

    I have iMovie 11 - v 9.0.2 and iDVD 7.1.1.
    I've imported photos and audio into iMovie to create a slideshow with transitions.  All works well there.
    When I then export to iDVD and preview it on screen, everything looks great. 
    But when I burn to DVD and play in a DVD player, the fonts look terrible - so they are not rendering properly.
    Font I am using is Coolvetica.  It was in the iDVD package.  I opened up the iDVD package and copied the font into Fontbook to make it available in iMovie.
    Any advice on what I'm doing wrong?
    neilc

    Thanks. That solved the font problem. 
    However, the overall quality of my DVD when display on a 42 inch plasma HDTV is poor---looks like a photo that has been copied on a color copier--too contrasty and with color shifting to yellow.  I have created three new projects from the original video, which is 47 minutes long, one DVD in each of Best Performance, High Quality and Professional Quality. The Best Performance is terrible.  However, neither the High or the Professional quality is much better, other than the fonts looking better.  Both formats result in high contrast poor images and color shift to yellow.
    I have shared the iMovie in the Media Browser in HD 1080 and in 720.
    I noticed that all the DVDs didn't seen to write more than about 1/2 inch on the outside edge of the DVD. The size of the TS-Video folder on the High and Professional DVDs take up only 2.82 gig.  It seems that iDVD is compressing the video more than necessary, leaving a lot of unused space on a standard 4.7 gig DVD.
    Interestingly, DVD's made of much shorter videos and produced in the Best Performance mode on iDVD look very good when played on the Plasma TV.
    Both the High and the Professional DVDs look very good on my McBook Pro and MacMini screens.
    Given the restriction of a standard DVD player (480p) I wonder if I should share the movie in this format.

  • What format to export fcdp project recorded on sony z1 for dvd studio pro

    what format do I export a Final Cut Studio project recorded on sony z1 HDV for dvd studio pro. I am getting lines on the edges if I export current settings.

    finalcut.ie wrote:
    he says sd is this right when i want a hd dvd?
    HD-DVD is a dead format. It may play on your mac - or an HD-DVD set top player, if you happen to have one - but nowhere else. If you just want playback on your mac, compress to h.264 with your current frame size. If you want a DVD it will have to be SD and Mpeg-2 as Shawn already explained.
    mish

  • Idvd project with video and slideshow for dvd-rom file access

    working on an idvd project with both a video section and photos in a few photo galleries. its' a slightly more complex project, but still only 2gb on a 4gb disc. After we burn (with all dvd-rom contents checked, and advance>edit dvd-rom contents shows photo files all there) the finished disc doesn't have files available in the dvd-romcontents! its' driving us mad as simpler projects are burning properly, with both photo and video files available. Could there be some kind of conflict occurring? does anyone have any ideas?!
    17" Desktop G5   Mac OS X (10.4.2)  

    Steve,
    It sounds like Windows Movie Maker Live was used. The regular WMM will Export to DV-AVI Type I, which will Import into PrPro much better.
    I would recommend converting the WMA/WMV to DV-AVI, and Importing that into a DV NTSC (if you are in NTSC-land) Project.
    Then, you would use Encore to do the DVD authoring. There are several ways to get the material on your Sequence into Encore. ADL (Adobe Dynamic Link) is probably the easiest way to do this.
    What is your exact workflow from PrPro, into Encore?
    What brand of blank media are you burning the DVD to?
    This ARTICLE will give you some tips.
    Good luck, and let us know a bit more,
    Hunt
    PS - Multiplexing is the function of combining the Audio and the Video into one file. There are usually two choices, "None" and then often "DVD." For None, you will get two separate files - one for the Audio and one for the Video. With "DVD" you should get a muxed (combined) file. Actually, the separate Audio and Video is the preferred way, if one is doing an Export from PrPro, and then an Import to Encore. One would Import the Video into Encore as a Timeline, and the Audio as an Asset. In Encore, just drag the Audio file from the Project Panel to the appropriate Timeline, where it will snap into place.

  • Image shakes and picture has to much blue effect when burned on DVD

    I edited a 40 minutes movie with Final Cut Express with lots of different transitions. The results are great in Final Cut on my computer screen but when I burned it on a DVD and watched it on a TV screen the image is jumpy on every transitions and whenever the camera moves quickly. I also noticed that the image is to blueish (outside scenes) Colors were perfect when I worked on it in Final Cut.
    I have Quicktime version 7.0.1 and an iMAC G5 and burned the DVD using Toast
    Anyone has had this problem?
    iMAC G5   Mac OS X (10.4.4)  
    iMAC G5   Mac OS X (10.4.4)  

    Yesterday I made a DVD of an 8 minute video. It took 28 minutes to process and burn, so your 3 hours seems about right.
    I used iDVD at the Best Quality setting. If you use the Best Performance setting it will encode much faster though there may be a microscopic reduction in quality which you would probably never notice.
    I exported my FCE timeline to QuickTime Movie and de-selected the "Make Movie Self-Contained" option.
    My DVD contained transitions which played back flawlessly.
    Ian.

  • Builds warns for missing menu background image

    Hi guys,
    I'm having trouble with building a project. I have four menus; two for each language.
    The first one (Swedish) works fine, scripting and branching is OK.
    The second one (English) does not work at all. Even though I have set background and overlay image in the English menu(s), build warns that no image is set.
    What should I do?
    In my other post the English branch is not run at all, even if everything seems to be correct in Simulator, it does not work in DVD player.

    I'm using the UB version. The assets are all there, have double-checked.
    I always use TIFFs for backgrounds and overlays, since layered menu could cause problems. (If not, they are at least slower on playback).
    Alternate language menus? You must be joking, right? I would NEVER trust the viewer to set up their stand-alone DVD or computer to match language settings. Nope, plain old "duplicate" menus, with different graphics and scripting to stay in either menu branch.
    I did the whole thing from scratch, using all the same assets. Now it works just fine.
    This is a first time for me.... hopefully the last, too!

  • I want to burn a DVD and keep the pictures in the files

    I am using iPhoto 8.  I have 46 albums that I created for one vacation.  I have organized all of the pictures from 5 cameras and want to burn a DVD keeping the pictures in those albums so others can create a slideshow from them.  When I burned a DVD the files did not show up, so all of the work was for nothing.  How can I burn the DVD and keep the files intact so other people do not need to do the same work that I have already completed?

    As Terence mentioned for those with Macs and iPhoto select the albums you've created and use the Share ➙ Burn menu option.  This will create a mini library on the disk that others can view in iPhoto and run slideshows from the photos in the album or copy those albums into their library for more control.
    Click to view full size
    OT

  • In iMovie when I move my curser through pictures in the project, I have an empty screen or it shows the first picture only..what might be the problem?

    In iMovie when I move my cursor through pictures in the project, I have an empty screen or it shows the first picture only..what might be the problem?

    Try putting the iPad into recovery mode and see if that fixes it : http://support.apple.com/kb/ht4097

  • Grouping and Sub total Problem in Template Builder

    Hi,
    Please help me out to sort the problem am getting in template builder.
    am here by attaching the xml and RTF which i have done. please go through the files and help me sort the problem.
    <LIST_G_REQ>
    <G_REQ>
    <BUYER_ID>DENIECE</BUYER_ID>
    <BUYER_GROUP>1</BUYER_GROUP>
    <BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
    <REQ_TOT>1</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>THUGHES1</BUYER_ID>
    <BUYER_GROUP>1</BUYER_GROUP>
    <BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
    <REQ_TOT>12</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>VACHAVEZ</BUYER_ID>
    <BUYER_GROUP>1</BUYER_GROUP>
    <BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
    <REQ_TOT>19</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>KAJIKAWA</BUYER_ID>
    <BUYER_GROUP>2</BUYER_GROUP>
    <BUYER_SUBGROUP>AP</BUYER_SUBGROUP>
    <REQ_TOT>25</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>MSVIC</BUYER_ID>
    <BUYER_GROUP>2</BUYER_GROUP>
    <BUYER_SUBGROUP>AP</BUYER_SUBGROUP>
    <REQ_TOT>171</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>FESPINOZ</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>C&amp;R</BUYER_SUBGROUP>
    <REQ_TOT>19</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>ASEJH</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
    <REQ_TOT>16</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>BFINLEY</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
    <REQ_TOT>23</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>JSMETANA</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
    <REQ_TOT>21</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>SAVANCIL</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>COMPUTER</BUYER_SUBGROUP>
    <REQ_TOT>84</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>CALANE</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
    <REQ_TOT>28</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>KATHYR</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
    <REQ_TOT>13</REQ_TOT>
    </G_REQ>
    <G_REQ>
    <BUYER_ID>STEFANIF</BUYER_ID>
    <BUYER_GROUP>3</BUYER_GROUP>
    <BUYER_SUBGROUP>CWA</BUYER_SUBGROUP>
    <REQ_TOT>1</REQ_TOT>
    </G_REQ>
    </LIST_G_REQ>
    This is my xml file please let me know how to do the groupingbased on "BUYER_SUBGROUP" and also "BUYER_GROUP_TOTAL" and "BUYER_SUBGROUP_TOTAL" in RTF.
    Thanks in advance

    Hi,
    I see that your data is having this format
    <LIST_G_REQ>
    <G_REQ>
    <BUYER_ID>DENIECE</BUYER_ID>
    <BUYER_GROUP>1</BUYER_GROUP>
    <BUYER_SUBGROUP>ADMIN</BUYER_SUBGROUP>
    <REQ_TOT>1</REQ_TOT>
    </G_REQ>
    </LIST_G_REQ>
    So to group by BUYER_SUBGROUP, your code will be
    <?for-each-group:G_REC;BUYER_SUBGROUP?>
    <?end for-each?>
    I dont know what you mean by BUYER_GROUP_TOTAL and BUYER_SUBGROUP_TOTAL here.

  • Encore CS3 crash when i click Build (SWF, BluRay, DVD Burn/Image/Folder) or Check project

    So I'm finally done with my DVD. Now i want this burned to a dvd or make an image file. Each time i hit BUILD or START (Check proj) the program quits and I'm left with the normal OS X message: The application Adobe Encore quit unexpectedly >> Ignore - Report... - Relaunch
    My DVD is not that fancy but i got a menu with 3 buttons made in PS with a pointer highlight and a animating background made in After Effects (using dynamic link) with some music. All of the buttons link to After effects comps with dynamic link. All of the after effects compositions are transcoded and works within the DVD preview (except the DVD menu background wont play, and i got a feeling it will play when i export an image or DVD). And all the After Effects comps links back 2 the menu when done. So there should be no error in the project flowchart.
    My flowchart: http://www3.sqr.no/index.php/get/64a267e640fddd15128d082abb72e3d92a3aedf680aabe20995beb7e e10ae32f
    (small jpg file)
    So i hit build and Encore quits, shut down, finada (Every time!). No matter what out put settings i use. I've exported DVD's from encore before on this computer without problems.
    ---I got this error report---
    Process: Adobe Encore [11321]
    Path: /Applications/Adobe Encore CS3/Adobe Encore CS3.app/Contents/MacOS/Adobe Encore
    Identifier: com.adobe.Encore
    Version: ??? (3.0.2)
    Code Type: X86 (Native)
    Parent Process: launchd [188]
    Date/Time: 2008-08-05 18:36:00.739 +0100
    OS Version: Mac OS X 10.5.4 (9E17)
    Report Version: 6
    Exception Type: EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    Crashed Thread: 0
    Here is the rest of the error report: (rtf document)
    http://www3.sqr.no/index.php/get/a4568b7ade16f18d2acf09891b81b0bc7c0e4936287eebf2a509470d4 c7098fb
    Don't know if this any help but hope anybody got some ideas. I've been trying to look for a solution on the forums, but without any luck.
    By the way, I'm using a Mac Pro v3,1 (early 2008) with 2 x 2,8ghz quads, 10GB memory, NVIDIA GeForce 8800 GT (512mb) and plenty of disk space.

    Hey, i think if there could be any of the possibilities you talk about, it might have been a naming error. All files i created had the same name in the new project as in the old one. But i used 1 asset arrow that i copy pasted from a library button "Red facets button" and shift pasted on my own buttons as highlight (paste sub picture). In the first project i did not do this as a straight forward thing, a lot of deleting and adding because i had never done it before and there might have happened something with the naming of the arrow i pasted. I used the same arrow in the second project but without messing with delete, paste all the time. But some how there is no problems now, just something wrong with the last project file =S
    Not so important:
    I also noticed while building the new project i once got an "General error", not sure why but happened after a random crash. And 2 get rid of it i had to delete the menu and make it again (i could not edit anything in the menu without getting the error). I rebuild the menu and had another crash when exiting the program, because i thought my computer needs to boot after 2 days online. When i reopened the project i got "General error" in the menu again, but after some clicking it didn't show up (random). Finally i got my project setup and everything works, i did the copy past as sub picture as a straight forward thing.

  • Problem in project system report ZPS_PROJSUMMARY

    i am working with a report ZPS_PROJSUMMARY which extracts all project summary report.now problem is it is extracting las financila years (2006 ) closed WBS element also with this years WBS elements. this problem happening in production only. this is not coming in pre production.in pre production it is deleting all the previous years WBS using this subroutine perform process_delete_child using it_report-pspnr which is based on condition  if l_status_fyear lt s_fyear-low.  
    i am giving the full code below:-
    report zps_projsummary line-size 623
                      line-count 65
                      no standard page heading
                      message-id zfiwip.
    Report Name: ZPS_PROJSUMMARY
    Author:      Rey Salvador  (for NDC)
    Date:        14.09.2001
    Purpose:     Project Summary Report (with Commitments)
    Modifications Log
    Mod Id   Author      Date      References  Purpose
    M001     R.Salvador  19.10.01  THOR 2845   Add YTD Rev.Recognised
    M002     R.Salvador  19.11.01  THOR 2978   Fix YTD Rev.Rec. Level 1
    M003     R.Salvador  19.11.01  THOR 3050   Fix YTD Rev.Rec. Level 1
    M004     R.Salvador  08.03.02  THOR 3222   Fix Include Closed WBS
    M005     R.Salvador  17.05.02  THOR 3342   Fix issue with Profile
    M006     C.Kontkanen 22.05.02  LOB         Add ProjManager sel
    M007     R.Salvador  19.06.02  LOB         Incl. WIP/COGS Adjustments
    M008     R.Salvador  26.07.02  THOR xxxx   Add ProjOfficer
    M009     R.Salvador  06.08.02  THOR 3508   Revenue Recognition Changes
    M010     R.Salvador  29.11.02  THOR 3704   New Billing Reports
    M011     R.Salvador  17.12.02  THOR 3646   Fix problem with statuses
    M012     R.Salvador  20.01.03  THOR 3930   Add CP/SP/WO number
    M013     R.Salvador  07.03.03  THOR 3953   Incorrect Status
    M014     R.Salvador  15.04.03  THOR 4056   Fix Level 1 Calculation
    M015     R.Salvador  01.05.03  THOR 4070   Fix Level 1 Calculation
    M016     R.Salvador  17.06.03  THOR 4125   Fix Level 2 Calculation
    M017     R.Salvador  03.09.03  THOR 4220   Change RevRec Calculation
    M018     R.Salvador  25.09.03  THOR 4237   Fix WBS Selection
    M019     R.Salvador  11.11.03  THOR 4297   Add SP number
    M020     R.Salvador  16.01.04  THOR 4342   Fix Revenue Recognition
    M021     R.Salvador  28.01.04  THOR 4344   Fix Revenue Recognition
    M022     R.Salvador  11.02.04  THOR 4340   Fix Selection Criteria
             Ta Tran     10.06.04  DI4K900626  Copied from NDC
    M023     Maccha      29.08.05  DI2K921397  Honing the selection
             Srinivas                          process for Director and
                                               Manager criteria.
    M024     M.Srinivas  20.09.05  DI2K921599  Rectifying the order level
                                               - Partner profile
                                               selections. Ref.
                                               docket:203680869
    M025     M.Srinivas  01.05.06  DI2K922837  Order level - Status
                                               profile selections
                                               rectification. PD:203960491
    M026     Gaurav Dixit18.09.06  DI2K923361  Not to select the deleted
                                               partners from IHPA table.
    M027    SaiKiran Reddy07.06.07 DI2K923793  To Exclude Deleted partner
                                               from IHPA table.
    include zps_projsummcomd.
    types: begin of ty_wbs_report2,                      "Reporting Table
             Pdir(20),                                   "Prog Dir
             posid         like prps-posid,              "WBS Element
             post1         like prps-post1,              "Short Text
             fkstl         like prps-fkstl,              "resp const centre
             prart         like prps-prart,              "Proj Type
             ZZORDERLEVEL(2),                            "order level
             ZZACTTYP(6),                                "Activity type
             sstatus       like bsvx-sttxt,              "system status
             ustatus       like bsvx-sttxt,              "user status
             ZZIMCINITIATIVE(24),                        "IMC initiative
             ZZIMCPROGRAM(02),                           "IMC Program
             ZZWORKCATEGORY(02),                         "Work Cat
             ZZWPMANLOB(01),                             "LOB
             ZZSOURCE(02),                               "Source
             ZZPRIN(02),                                 "Principal
             ZZIMPLEMENTREG(01),                         "IMP Reg
             ZZCONTRACTID(10),                           "Contract
             ZZWPNUM(08),                                "WP No
             ZZsPNUM(08),                                "SP No
             ZZORDERNUM(04),                             "Order No
             lead(20),                                   "Prog Lead
             Pmgr(20),                                   "Prog Mgr
             Poff(20),                                   "Prog Officer
           acthours      type megxxx, "megXXX: 3decimal"Actual Hours
             acthours      type wkgxxx, "wkgXXX: 2decimal"Actual Hours
             planhours     type wkgxxx,                  "Planned Hours
             PLANLABOUR    type wkgxxx,                  "PLAN LABOUR
             ACTLABOUR     type wkgxxx,                  "ACTUAL LABOUR
             planmatcosts  type wkgxxx,               "plan material costs
             actmatcosts   type wkgxxx,               "actual material costs
             plancosts     type wkgxxx,                   "Planned COsts
             actcosts      type wkgxxx,                   "Actual Costs
             prcommitment  type wkgxxx,                   "PR Commitment
             pocommitment  type wkgxxx,                   "PO Commitment
             totcommitment type wkgxxx,                   "Total Commitment
             zzwip         like prps-zzwip,               "rev rec process
             planrev       type wkgxxx,                   "Planned Revenues
             actrev        type wkgxxx,                   "Actual Revenues
             pcnt_comp(8)   type p decimals 2,            "% complete
             acttotrevrec  type wkgxxx,                   "Act.Rev.Rec m009
             actytdrevrec  type wkgxxx,                   "Act.Rev Rec m009
             revrec        type wkgxxx,                   "revenue Recognise
             revrecytd     type wkgxxx,                   "RevRec YTD M001
             rev_collected like vbrp-netwr,               "Collected Rev
           end of ty_wbs_report2.
    types: begin of ty_wbs_report,                        "Reporting Table
             Pdir(20),                                    "Prog Dir
             posid         like prps-posid,               "WBS Element
             post1         like prps-post1,               "Short Text
             fkstl         like prps-fkstl,               "resp const centre
             prart         like prps-prart,               "Proj Type
             ZZORDERLEVEL(2),
             ZZACTTYP(6),                                 "Activity type
             sstatus       like bsvx-sttxt,               "system status
             ustatus       like bsvx-sttxt,               "user status
             ZZIMCINITIATIVE(24),                         "IMC initiative
             ZZIMCPROGRAM(02),                            "IMC Program
             ZZWORKCATEGORY(02),                          "Work Cat
             ZZWPMANLOB(01),                              "LOB
             ZZSOURCE(02),                                "Source
             ZZPRIN(02),                                  "Principal
             ZZIMPLEMENTREG(01),                          "IMP Reg
             ZZCONTRACTID(10),                            "Contract
             ZZWPNUM(08),                                 "WP No
             ZZSPNUM(08),                                 "SP No
             ZZORDERNUM(04),                              "Order No
             lead(20),                                    "Prog Lead
             Pmgr(20),                                    "Prog Mgr
             poff(20),                                    "Prog Officer
             acthours      type wkgxxx,                   "Actual Hours
             planhours     type wkgxxx,                   "Planned Hours
             PLANLABOUR    type wkgxxx,                   "PLAN LABOUR
             ACTLABOUR     type wkgxxx,                   "ACTUAL LABOUR
             planmatcosts  type wkgxxx,               "plan material costs
             actmatcosts   type wkgxxx,               "actual material costs
             plancosts     type wkgxxx,                   "Planned COsts
             actcosts      type wkgxxx,                   "Actual Costs
             prcommitment  type wkgxxx,                   "PR Commitment
             pocommitment  type wkgxxx,                   "PO Commitment
             totcommitment type wkgxxx,                   "Total Commitment
             zzwip         like prps-zzwip,               "rev rec process
             planrev       type wkgxxx,                   "Planned Revenues
             actrev        type wkgxxx,                   "Actual Revenues
             pcnt_comp(8)   type p decimals 2,            "% complete
             acttotrevrec  type wkgxxx,                   "Act.Rev.Rec m009
             actytdrevrec  type wkgxxx,                   "Act.Rev Rec m009
             revrec        type wkgxxx,                   "revenue Recognise
             revrecytd     type wkgxxx,                   "RevRec YTD M001
             pspnr         like prps-pspnr,               "WBS Internal Key
             postu         like prps-postu,               "Short Text
             fakkz         like prps-fakkz,
             psphi         like prps-psphi,               "proj def
             zzcust        like prps-zzcustNUM,           "Customer
             zzcustnum     like prps-zzcustnum,           "Customer
             kostl         like prps-kostl,               "Cost Centres
             prsumm(1)     type c,                        "Project Summary
             actcostscfy   type wkgxxx,                   "Current FY Costs
             actrevcfy     type wkgxxx,                   "Current FY Rev
             rev_billed    like vbrp-netwr,               "Billed Revenue
             gst_billed    like vbrp-mwsbp,               "Billed GST
             rev_collected like vbrp-netwr,               "Collected Rev
             gst_collected like vbrp-mwsbp,               "Collected GST
             totbudget     type wkgxxx,                   "Total Budget
             verna         like prps-verna,                     "PM m006
             astna         like prps-astna,                     "PO m006
             totcogs  type wkgxxx,                        "Total COGS m009
             ytdcogs  type wkgxxx,                        "YTD COGS m009
           end of ty_wbs_report.
    types: begin of ty_totals,              "Structure for Sub-totals
             actmatcosts type wkgxxx,          "Actual material Costs
             actcosts    type wkgxxx,          "Actual Costs Total
             actrev      type wkgxxx,          "Actual Revenues Total
             planmatcosts type wkgxxx,         "plan material Costs
             plancosts   type wkgxxx,          "Planned Costs
             planrev     type wkgxxx,          "Planned Revenues
             acthours    type wkgxxx,          "Actual Hours
             planhours   type wkgxxx,          "Planned Hours
             ACTLABOUR   type wkgxxx,          "ACTUAL LABOUR
             PLANLABOUR  type wkgxxx,          "Planned LABOUR
             revrec      type wkgxxx,          "Revenue Recognised
             revrecytd     type wkgxxx,        "RevRec YTD M001
             acttotrevrec  type wkgxxx,        "RevRec Actual M009
             profit        type wkgxxx,        "Planned Profit/Loss
             actcostscfy   type wkgxxx,        "Actual Costs Current FY
             actrevcfy     type wkgxxx,        "Actual Revenues Current FY
             rev_billed    type wkgxxx,        "Billed Revenue
             gst_billed    type wkgxxx,        "Billed GST
             rev_collected type wkgxxx,        "Collected Rev
             gst_collected type wkgxxx,        "Collected GST
             prcommitment  type wkgxxx,        "PR Commitment
             pocommitment  type wkgxxx,        "PO Commitment
             totcommitment type wkgxxx,        "Total Commitment
             totbudget     type wkgxxx,        "Total Budget
             actytdrevrec  TYPE wkgxxx,
           end of ty_totals.
    type-pools: gsetc.
    tables: cepct.
    data: it_wbs_report TYPE ty_wbs_report OCCURS 0 WITH HEADER LINE,
          it_wbs_report2 TYPE ty_wbs_report2 OCCURS 0 WITH HEADER LINE,
          wr_wbs_report type ty_wbs_report,
          it_prctr      type standard table of setlist,
          it_stat(72) occurs 0 with header line,
          et_stat(72) occurs 0 with header line,
          begin of it_tj49 occurs 0,
            stats like tj49-stats,
            incex like tj49-incex,
            verkz like tj49-verkz,
          end of it_tj49,
          begin of it_csla occurs 150,
          vksta like csla-vksta,
          end of it_csla,
          w_stat_flg,
          w_join(3),
          w_not(3),
          w_stat_val(7) value '''     ''',
          W_LEAD(40),
          W_PDIR(40),
          W_PMGR(40),
          w_poff(40),
          w_tab like sy-tabix,
          n like sy-index,
          w_reporting_level(2) type c,
          w_gtotal_text(500)   type c,
          w_other_level(1)     type c,
          w_budat              like bkpf-budat,                 "m002
          w_level like prps-stufe,
          w_record_count(8)    type n,
          w_pspid_ind(1)       type c,                          "m003
          begin of ziheader,
            w_strlen   type i,
            hdr_pos    type p,
            hold_name(30),
            conf_txt(54) value
            '* CONFIDENTIAL - PROPERTY OF BACCHUS *',
          end of ziheader,
          p_budat like bkpf-budat,
          w_sel_posid like prps-posid,
    Internal tables to hold set hierarchy, values, pointers and sorts
          set_hierarchy    like sethier     occurs 0 with header line,
          set_values       like setvalues   occurs 0 with header line,
          set_id like rgsbs-setnr,
          set_id2         like rgsbs-setnr,
          w_setnr(30)        type c,
          w_set_values like rgsb4 occurs 0 with header line,
          lt_objlst type standard table of onr00,
          lr_objlst type onr00,
          w_first   type c.
    Start of M011
    data: it_wbs1 like it_wbs occurs 0.
    data: it_wbs_tmpo  like it_wbs occurs 0 with header line.   "M024
    data: begin of loc_wbs occurs 0.
            include structure  zco_wip_wbslst.  "test '''
    data:         pdir(20),
                  zzacttyp(6),
                  ZZIMCINITIATIVE(24),
                  ZZIMCPROGRAM(02),
                  ZZWORKCATEGORY(02),
                  ZZWPMANLOB(01),
                  ZZSOURCE(02),
                 ZZPRIN(02),
                  ZZIMPLEMENTREG(01),
                  ZZCONTRACTID(10),
                  ZZWPNUM(08),
                  ZZSPNUM(08),
                  ZZORDERNUM(04),
                  PERNR(08),
                  PERNR2(08),
           end of loc_wbs.
    data: begin of it_report occurs 0,
            posid like prps-posid,
            pspnr like prps-pspnr,
          end of it_report.
    End of M011
    data: begin of it_deleted occurs 0,
            posid like prps-posid,
            pspnr like prps-pspnr,
          end of it_deleted.
    data: begin of l_deleted occurs 0,
            posid like prps-posid,
            pspnr like prps-pspnr,
          end of l_deleted.
    data: w_year like bkpf-gjahr.
    data: begin of t_date occurs 0,
          w_budat  like bkpf-budat,
          poper    like t_poper-poper,
    end of t_date.
    data: t_ihpa like ihpa occurs 0 with header line,
          t_ihpa1 like ihpa occurs 0 with header line,
          t_ihpa2 like ihpa occurs 0 with header line,
          t_ihpa3 like ihpa occurs 0 with header line,
          t_ihpa4 like ihpa occurs 0 with header line,
          l_status(3),
          w_PLANHOURS like it_wbs-PLANHOURS,
          w_PLANREV   like it_wbs-PLANREV,
          w_PLANCOSTS like it_wbs-PLANCOSTS,
          it_tmp_wbs3 type zco_proj_summary_v2 occurs 0 with header line,
          W_it_wbs5 like it_wbs .
    ranges: r_prctr for prps-prctr.
    ranges: r_stufe for prps-stufe.
    ranges: r_posid for prps-posid.
    constants: c_crtd like tj49-stats value 'I0001'.
    CONSTANTS: C_LEAD(2) VALUE '4A',
               C_PDIR(2) VALUE '4B',
               C_PMGR(2) VALUE 'A1',
               C_Poff(2) VALUE 'A2',
               c_pdn like ihpa-OBTYP value 'PDN',
               c_prn like ihpa-OBTYP value 'PRN'.               "M023
    tables : pa0002.
    ---------------------Organisational Units------------------------*
    selection-screen begin of block orgunit with frame title text-t06.
    *WP/CP Managing LOB
    select-options: S_ZWP for PRPS-ZZWPMANLOB MATCHCODE OBJECT  ZZWPMANLOB.
    *Implementing Region
    select-options: S_ZIMP for PRPS-ZZIMPLEMENTREG MATCHCODE OBJECT
    ZZIMPLEMENTREG.
    *Cost center group
    PARAMETERS: P_CTGRP  LIKE RKSB1-KSGRU no-display.
    *Responsible Cost Center
    select-options: s_fkstl  for prps-fkstl.
    select-options: s_src    for  proj-zzsource MATCHCODE OBJECT ZzSOURCE.
    select-options: s_prin   for  proj-zzprin MATCHCODE OBJECT ZzPRINCIPAL .
    select-options: s_wcat   for  proj-zzworkcategory MATCHCODE OBJECT
    ZZWORKCATEGORY.
    select-options: s_wpcpt  for  proj-ZZTYPE MATCHCODE OBJECT ZzTYPE.
    selection-screen end of block orgunit.
    selection-screen begin of block periods with frame title text-t05.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c04 for field p_kokrs.
    selection-screen position pos_low.
    parameters: p_kokrs type kokrs obligatory default 'TELC'.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c01 for field s_fyear.
    selection-screen position pos_low.
    select-options: s_fyear for bkpf-gjahr obligatory no intervals
                    no-extension.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c02 for field s_poper.
    selection-screen position pos_low.
    select-options: s_poper for T009B-poper obligatory no intervals
                    no-extension.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen position pos_low.
    selection-screen end of line.
    data: p_incwip(1) type c value ' '.
    selection-screen begin of line.
    selection-screen comment 1(30) text-c25 for field p_calrev.
    selection-screen position pos_low.
    parameters:  p_calrev radiobutton group 0001 default 'X'.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(30) text-c26 for field p_actrev.
    selection-screen position pos_low.
    parameters:  p_actrev radiobutton group 0001.
    selection-screen end of line.
    End of M007 Mods
    selection-screen end of block periods.
    selection-screen begin of block psjsel with frame title text-t01.
    *Program Leadhouse
    select-options: s_plead for pa0002-pernr matchcode object  ZPA0002.
    *Project Director
    select-options: s_pdir for pa0002-pernr  matchcode object  ZPA0002.
    *Project Manager
    select-options: s_pmgr for pa0002-pernr  matchcode object  ZPA0002.
    *Project Profile
    select-options: s_PROFL FOR PROJ-PROFL default 'EXTERN' obligatory.
    *Project Definition
    select-options: s_pspid  for proj-pspid.
    *WBS Element
    select-options: s_posid  for prps-posid.
    selection-screen end of block psjsel.
    selection-screen begin of block othersel with frame title text-t07.
    parameters: p_lvl1 radiobutton group rplv,
                p_lvl2 radiobutton group rplv,
                p_wip  radiobutton group rplv.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c16 for field p_oth.
    selection-screen position pos_low.
    parameters:  p_oth  radiobutton group rplv.
    selection-screen comment 40(20) text-c17 for field p_level.
    parameters:  p_level like prps-stufe.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(22) text-c22 for field p_incwbs.
    selection-screen position 42.
    parameters:  p_incwbs as checkbox.
    selection-screen end of line.
    Start of M006 Mods
    selection-screen begin of line.
    selection-screen comment 1(41) text-c23 for field p_clwbs.
    selection-screen position 42.
    parameters:  p_clwbs as checkbox default 'X'.
    selection-screen end of line.
    End of M006 Mods
    parameters:
      p_status like tj49-selid.
    select-options:
      s_prart for prps-prart.
    selection-screen end of block othersel.
    selection-screen begin of block outfile with frame title text-t11.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c11 for field p_file.
    selection-screen position pos_low.
    parameters: p_file as checkbox.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c13 for field p_runid.
    selection-screen position pos_low.
    parameters: p_runid like zcnwip_log-zrunid.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text-c12 for field p_filenm.
    selection-screen position pos_low.
    parameters: p_filenm(40) type c default '/batch/int/send/ndcreports/'
                                    lower case.
    selection-screen end of line.
    selection-screen end of block outfile.
    initialization.
      perform ini_fiscal_year_current.
    Default year/period in the selection screen
      s_fyear-sign = 'I'.
      s_fyear-option = 'EQ'.
      APPEND s_fyear.
      s_poper-sign = 'I'.
      s_poper-option = 'EQ'.
      APPEND s_poper.
      perform ini_file_path.
    at selection-screen on block outfile.
      if not p_file is initial.
        if p_filenm is initial.
          message e017.
        endif.
        if p_runid is initial.
          message e017.
        endif.
      endif.
    at selection-screen on p_status.
      clear it_stat.
      refresh it_stat.
      if p_status is initial.
        w_stat_flg = 'N'.
      else.
        w_stat_flg = 'Y'.
      endif.
    at selection-screen.
      include ZCNWIPCOMF_V2.
      if not p_actrev is initial.
        move: w_curr_year   to w_curr_fperiod+0(4),
              w_curr_period to w_curr_fperiod+4(2),
              s_fyear-low       to w_sel_fperiod+0(4),
              s_poper-low       to w_sel_fperiod+4(2).
        if w_sel_fperiod le '200212'.  "temp
          message e025.
        endif.
        if w_sel_fperiod ge w_curr_fperiod.
          message e026.
        endif.
      endif.
    Check if Other level check, specify level from 3-4
      if not p_oth is initial and
         p_level is initial.
        message e021.
      endif.
    Validate File Information
      if not p_file is initial.
        if p_runid is initial or
           p_filenm is initial.
          message e014.
        endif.
        select count(*) from zcnwip_log
          where zrunid eq p_runid
          and   zrep   eq 'PROJCE'. " to be changed
        if sy-subrc eq 0.
          message w022 with p_runid.
        endif.
      endif.
      if not p_ctgrp is initial and not s_FKSTL is initial.
        message e087 with 'Cost Center Group' 'Responsible Cost Center'.
      endif.
      if not p_ctgrp is initial.
        clear w_setnr.
        move: '0101'     to w_setnr+0(4),
              P_KOKRS    to w_setnr+4(4),
              p_ctgrp    to w_setnr+8.
        call function 'G_SET_GET_ALL_VALUES'
             EXPORTING
                  setnr         = w_setnr
             TABLES
                  set_values    = w_set_values
             EXCEPTIONS
                  set_not_found = 1
                  others        = 2.
        if sy-subrc eq 0.
          loop at w_set_values.
            if w_set_values-from = w_set_values-to.
              S_FKSTL-low = w_set_values-from.
              S_FKSTL-option = 'EQ'.
            else.
              S_FKSTL-low  = w_set_values-from.
              S_FKSTL-high = w_set_values-to.
              S_FKSTL-option = 'BT'.
            endif.
            S_FKSTL-sign   = 'I'.
            append S_FKSTL.
          endloop.
        else.
          message e201 with p_ctgrp.
        endif.
      endif.
    start-of-selection.
      data: w_poper like s_poper-low,
            w_fyear like s_fyear-low.
      w_poper = s_poper-low.
      loop at s_poper.
        case s_poper-option.
          when 'EQ'.
            move s_poper-low to t_poper.
            append t_poper.
            clear t_poper.
          when 'BT'.
            move s_poper-low to t_poper.
            append t_poper.
            clear t_poper.
            while w_poper < s_poper-high.
              w_poper = w_poper + 1.
              move w_poper to t_poper.
              append t_poper.
              clear t_poper.
            endwhile.
        endcase.
      endloop.
      w_fyear = s_fyear-low.
      loop at s_fyear.
        case s_fyear-option.
          when 'EQ'.
            move s_fyear-low to t_fyear.
            append t_fyear.
            clear t_fyear.
          when 'BT'.
            move s_fyear-low to t_fyear.
            append t_fyear.
            clear t_fyear.
            while w_fyear < s_fyear-high.
              w_fyear = w_fyear + 1.
              move w_fyear to t_fyear-fyear.
              append t_fyear.
              clear t_fyear.
            endwhile.
        endcase.
      endloop.
      sort t_fyear by fyear .
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
       EXPORTING
         I_DATE               = sy-datum
         I_PERIV              = 'V6'
      IMPORTING
      E_BUPER              =
        E_GJAHR              =  w_fyear.
      w_fyear =   s_fyear-low.
    s_fyear-low = w_fyear.
    Reset Indicator
      if p_calrev is initial.
        move 'X' to p_incwip.
      else.
        clear p_incwip.
      endif.
      loop at t_poper.
    *get last day in each period of range
        t_date-poper = t_poper-poper.
    *------ Start of M002 modifications
    *------ Determine last day of the posting period
        call function 'LAST_DAY_IN_PERIOD_GET'
             EXPORTING
                  i_gjahr = s_fyear-low
                  i_periv = tka01-lmona
                  i_poper = t_poper-poper
             IMPORTING
                  e_date  = t_date-w_budat.
        append t_date.
        clear t_date.
      endloop.
    *get last day of last period in previous fiscal years chosen
    *016 = last period
      delete t_fyear where fyear = w_fyear. "remove current fyear
      loop at t_fyear.
        call function 'LAST_DAY_IN_PERIOD_GET'
             EXPORTING
                  i_gjahr = t_fyear-fyear
                  i_periv = 'V6'
                  i_poper = '016'
             IMPORTING
                  e_date  = t_date-w_budat.
        t_date-poper = '016'.
        append t_date.
        clear t_date.
      endloop.
    *Get the Proj Def from WBS selct option and refresh wbs select option.
      data: begin of l_psphi occurs 0,
              POSID like prps-POSID,
              pspid like prps-psphi,
            end of l_psphi.
      data: begin of l_pspid occurs 0,
              pspid like proj-pspid,
            end of l_pspid.
      data: begin of i_proj occurs 0,                           "M023
            pspnr like proj-pspnr,                              "M023
            end of i_proj.                                      "M023
      data: begin of i_prps occurs 0,                           "M023
            objnr like prps-objnr,                              "M023
            end of i_prps.                                      "M023
      data: begin of i_psphi1 occurs 0,                         "M023
            psphi like prps-psphi,                              "M023
            end of i_psphi1.                                    "M023
      data: len_posid type i.
      if not s_posid[] is initial.
        select posid psphi into table l_psphi
                           from prps
                           where posid in s_posid.
        if sy-subrc ne 0.
          message i100.
          exit.
        endif.
        if not l_psphi[] is initial.
          sort l_psphi.
          select  pspid into table l_pspid
                              from proj
                              for all entries in l_psphi
                              where pspnr = l_psphi-pspid and
                                    profl in s_profl.
          if sy-subrc = 0.
            delete adjacent duplicates from l_pspid.
            loop at l_pspid.
              s_pspid-sign = 'I'.
              s_pspid-option = 'EQ'.
              s_pspid-low = l_pspid-pspid.
              append s_pspid.
              clear s_pspid.
            endloop.
          else.
            message i100.
            exit.
          endif.
        endif.
        clear s_posid.
        refresh s_posid.
        loop at l_psphi.
          s_posid-sign = 'I'.
          s_posid-option = 'CP'.
          CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
               EXPORTING
                    INPUT  = l_psphi-posid
               IMPORTING
                    OUTPUT = l_psphi-posid.
          while l_psphi-posid ca '.'.
            replace '.' with space into l_psphi-posid.
          endwhile.
          condense l_psphi-posid no-gaps.
          concatenate l_psphi-posid '*' into s_posid-low.
          append s_posid.
        endloop.
      endif.
    *------ End of M002 modifications
    ----- Exclude the P. WBS elements, these are only used for
    *----- intermediate postings and are not relevant for WIP, COGS,...
      perform ini_posid_range.
      perform ini_pspid_range.
    if not s_pspid[] is initial.
    *----- If projects are selected, then make sure we have the internal
    *----- key to PROJ (ie, field PSPNR)
      perform get_partners.
      perform sos_prepare_proj_range.
      if r_psphi[] is initial.
        message i100.
        exit.
      endif.
    endif.
    *----- WBS ranges with "CP" (Contains Pattern) entries need
    *----- to be condensed, because the conversion exit for field POSID
    ----- causes an entry entered as "P." to be stored as "P    *". Hence
    *----- selection is flawed.
      perform sos_condense_range_wbs.
    *----- Activity Type Group is used to determine what Activity Types
    *----- to take into account for the computation of planned and actual
    *----- hours. The Activity Type Group must be exploded into its
    *----- individual Activity Types, so we can build a range of Activity
    *----- types.
      perform sos_build_act_type_range.
    *----- Selection of WBS as per selection criteria, but only Billing WBS
    *----- Elements or Level 2 WBS elements
    Get Level re-determined
      if not p_oth is initial.
        case p_level.
          when 1.
            move c_on to p_lvl1.
            clear p_oth.
          when 2.
            move c_on to p_lvl2.
            clear p_oth.
        endcase.
      endif.
      if not p_lvl1 is initial.
        w_reporting_level = 'L1'.
        w_level = 1.
      endif.
      if not p_lvl2 is initial.
        w_reporting_level = 'L2'.
        w_level = 2.
      endif.
      if not p_wip is initial.
        w_reporting_level = 'BE'.
        w_level = 0.
      endif.
      refresh r_stufe.
      if not p_lvl1 is initial.
        clear: r_stufe.
        move: '1'     to r_stufe-low,
              '2'     to r_stufe-high,
              'BT'    to r_stufe-option,
              'I'     to r_stufe-sign.
        append r_stufe.
      elseif not p_oth is initial.
        clear: r_stufe.
        move: p_level to r_stufe-low,
              'EQ'    to r_stufe-option,
              'I'     to r_stufe-sign.
        append r_stufe.
      elseif not p_wip is initial. "INS DI5K902370
        clear: r_stufe. "INS DI5K902370
       move: '1' to r_stufe-low, "INS DI5K902370
             '99' to r_stufe-HIGH, "INS DI5K902370
             'BT'    to r_stufe-option, "INS DI5K902370
             'I'     to r_stufe-sign. "INS DI5K902370
        move: '2'     to r_stufe-low,
              '99'    to r_stufe-HIGH,
              'BT'    to r_stufe-option,
              'I'     to r_stufe-sign.
        append r_stufe. "INS DI5K902370
      else.
        clear: r_stufe.
        move: '2'     to r_stufe-low,
              'EQ'    to r_stufe-option,
              'I'     to r_stufe-sign.
        append r_stufe.
      endif.
      perform select_wbs_new tables r_psphi.
      commit work.
    Process any WBS elements missed during initial selection
      if  not s_posid[] is initial.
        perform check_billing_elements.
        sort it_wbs by psphi
                       pspnr.
      endif.
      delete adjacent duplicates from it_wbs.
      append lines of it_wbs to it_wbs1.
      sort it_wbs1 by psphi
                     pspnr.
    Transfer to temporary table before calling function
      refresh loc_wbs.
      loop at it_wbs1 into wr_wbs.
        w_tabix = sy-tabix.
        if wr_wbs-psphi ne w_ref_psphi.
          if not loc_wbs[] is initial.
    *----- CAREFUL: THIS FUNCTION MODULE ASSUMES THAT THE WBS ELEMENTS
    *----- PASSED INTO TABLE I_WBS ALL BELONG TO THE SAME PROJECT
    *----- DEFINITION. FUNCTION MODULE WILL NOT GIVE PROPER RESULTS
    *----- IF CALLED FOR A TABLE I_WBS WITH WBS ELEMENTS BELONGING
    *----- TO VARIOUS PROJECT DEFINITIONS. BE WARNED!!!
            call function 'Z_CN_DETERMINE_REPORTS'
                 EXPORTING
                      i_fyear        = s_fyear-low
                      i_prsumm_level = w_level
                      i_closed       = 'X'
                 TABLES
                      i_wbs          = loc_wbs
                      i_deleted      = l_deleted.
            if not p_lvl2 is initial.
              loop at loc_wbs where stufe gt 2 and lvl2_posid is initial.
                do.
                  select single up into prhi-up
                                   from prhi
                                   where posnr = loc_wbs-pspnr.
                  select single * from prps
                  where pspnr = prhi-up.
                  if prps-stufe = 2.
                    loc_wbs-lvl2_pspnr = prps-pspnr.
                    loc_wbs-lvl2_posid = prps-posid.
                    exit.
                  else.
                    loc_wbs-pspnr = prhi-up.
                  endif.
                enddo.
                modify loc_wbs.
              endloop.
            endif.
            perform sos_append_wbs.
            refresh l_deleted.
          endif.
          w_ref_psphi = wr_wbs-psphi.
          refresh loc_wbs.
        endif.
        clear loc_wbs.
        move-corresponding wr_wbs to loc_wbs.
        append loc_wbs.
      endloop.
      if not loc_wbs[] is initial.
    *----- CAREFUL: THIS FUNCTION MODULE ASSUMES THAT THE WBS ELEMENTS
    *----- PASSED INTO TABLE I_WBS ALL BELONG TO THE SAME PROJECT
    *----- DEFINITION. FUNCTION MODULE WILL NOT GIVE PROPER RESULTS
    *----- IF CALLED FOR A TABLE I_WBS WITH WBS ELEMENTS BELONGING
    *----- TO VARIOUS PROJECT DEFINITIONS. BE WARNED!!!
        call function 'Z_CN_DETERMINE_REPORTS'
             EXPORTING
                  i_fyear        = s_fyear-low
                  i_prsumm_level = w_level
                  i_closed       = 'X'
             TABLES
                  i_wbs          = loc_wbs
                  i_deleted      = l_deleted.
        if not p_lvl2 is initial.
          loop at loc_wbs where stufe gt 2 and lvl2_posid is initial.
            do.
              select single up into prhi-up
                               from prhi
                               where posnr = loc_wbs-pspnr.
              select single * from prps
              where pspnr = prhi-up.
              if prps-stufe = 2.
                loc_wbs-lvl2_pspnr = prps-pspnr.
                loc_wbs-lvl2_posid = prps-posid.
                exit.
              else.
                loc_wbs-pspnr = prhi-up.
              endif.
            enddo.
            modify loc_wbs.
          endloop.
        endif.
        perform sos_append_wbs.
        refresh loc_wbs.
        refresh l_deleted.
      endif.
      perform process_report_table.
    End of M011
    Check Status Profile
      if not p_status is initial.
        perform process_check_status_profile.
        sort it_wbs by psphi
                     pspnr.
      endif.
    Start of M006 mods
      if p_clwbs is initial.
    Ignore projects/WBS closed based on the year
        perform process_closed_projects.
      endif.
    End of M006 mods
      describe table it_wbs lines w_lines.
      if w_lines eq 0.
        message i100.
        exit.
      endif.
      sort it_wbs by psphi
                     pspnr.
      loop at it_wbs
           into wr_wbs.
        w_tabix = sy-tabix.
    *----- We will extract costs and determine to which reports a WBS
    *----- by Project Hierarchy, ie, we will look at all the WBS Elements
    *----- in a given hierarchy in one hit. This simplifies the
    *----- process of determining the highest billing element or the
    *----- Level 2 WBS element for a selected WBS
    *----- It also had the advantage of allowing parallel processing
    *----- using CALL FUNCTION STARTING NEW TASK if required in
    *----- the future
        if wr_wbs-psphi ne w_ref_psphi.
          if not it_tmp_wbs[] is initial.
            loop at t_date.
              it_tmp_wbs2[] =  it_tmp_wbs[].
              call function 'Z_PS_WIP_GET_COSTS_COMMITMENT'
                   EXPORTING
                        i_fyear          = s_fyear-low
                        i_poper          = t_date-poper
                        i_billing        = 'X'
                        i_prsumm_level   = w_level
                        i_other_level    = w_other_level
                        i_budat          = t_date-w_budat
                        i_commitment     = 'X'
                        i_include_wipadj = p_incwip             "M007
                   TABLES
                        i_rsparams       = it_rsparams
                        i_wbs            = it_tmp_wbs2.
              loop at it_tmp_wbs2 into it_tmp_wbs3.
                collect it_tmp_wbs3.
              endloop.
              w_tab = sy-tabix.
              n = 1.
              while n <= w_tab .
                read table it_tmp_wbs2 index n.
                it_tmp_wbs3 = it_tmp_wbs2.
                modify table it_tmp_wbs3
             index n
                transporting
                PLANLABOUR PLANHOURS PLANREV PLANCOSTS stufe.
                n = n + 1.
              endwhile.
            endloop.
            it_tmp_wbs[] =  it_tmp_wbs2[].
            perform sos_process_tmp_table.
          endif.
          w_ref_psphi = wr_wbs-psphi.
          refresh it_tmp_wbs.
        endif.
        wr_wbs-tabix = w_tabix.
        append wr_wbs to it_tmp_wbs.
        if w_tabix eq w_lines.
    *----- Don't forget to process the last hierarchy!!
          if not it_tmp_wbs[] is initial.
            loop at t_date.
              it_tmp_wbs2[] =  it_tmp_wbs[].
              call function 'Z_PS_WIP_GET_COSTS_COMMITMENT'
                   EXPORTING
                        i_fyear          = s_fyear-low
                        i_poper          = t_date-poper
                        i_billing        = 'X'
                        i_prsumm_level   = w_level
                        i_other_level    = w_other_level
                        i_budat          = t_date-w_budat
                        i_commitment     = 'X'
                        i_include_wipadj = p_incwip             "M007
                   TABLES
                        i_rsparams       = it_rsparams
                        i_wbs            = it_tmp_wbs2.
                  exceptions
                       not_found        = 1.
              loop at it_tmp_wbs2 into it_tmp_wbs3.
                collect it_tmp_wbs3.
              endloop.
              w_tab = sy-tabix.
              n = 1.
              while n <= w_tab .
                read table it_tmp_wbs2 index n.
                it_tmp_wbs3 = it_tmp_wbs2.
                modify it_tmp_wbs3 index n transporting stufe
                PLANLABOUR PLANHOURS PLANREV PLANCOSTS .
                n = n + 1.
              endwhile.
            endloop.
            it_tmp_wbs[] =  it_tmp_wbs2[].
            perform sos_process_tmp_table.
          endif.
        endif.
      endloop.
    end-of-selection.
    Delete WBS with no financial information
      loop at it_wbs_report into wr_wbs_report.
        if wr_wbs_report-actcosts      eq 0 and
           wr_wbs_report-plancosts     eq 0 and
           wr_wbs_report-planrev       eq 0 and
           wr_wbs_report-acthours      eq 0 and
           wr_wbs_report-actrev        eq 0 and
           wr_wbs_report-revrec        eq 0 and
           wr_wbs_report-revrecytd     eq 0 and
           wr_wbs_report-acttotrevrec  eq 0 and
           wr_wbs_report-actytdrevrec  eq 0 and
           wr_wbs_report-pocommitment  eq 0 and
           wr_wbs_report-prcommitment  eq 0 and
           p_incwbs is initial.
          delete it_wbs_report index sy-tabix.
        endif.
      endloop.
      loop at it_wbs_report.
        select  single
                   objnr
                   psphi
                   zzacttyp
                   ZZIMCINITIATIVE
                   ZZIMCPROGRAM
                   ZZWPMANLOB
                   ZZIMPLEMENTREG
                   ZZCONTRACTID
                   ZZWPNUM
                   ZZSPNUM
                   ZZORDERNUM
                   ZZORDERLEVEL
                   ZZWIP
              from prps
              into corresponding fields of w_it_wbs5
              where posid eq it_wbs_report-posid.
        CLEAR: W_LEAD, W_PDIR, W_PMGR, w_poff.
        select single zztype ZZWORKCATEGORY ZZPRIN ZZSOURCE from proj into
        (w_it_wbs5-zztype, w_it_wbs5-ZZWORKCATEGORY, w_it_wbs5-ZZPRIN,
        w_it_wbs5-ZZSOURCE) where pspnr = w_it_wbs5-psphi.
        CLEAR w_it_wbs5-lead.
        select single parnr from ihpa into w_it_wbs5-lead
        where objnr = w_it_wbs5-objnr and
        parvw = C_LEAD and
        KZLOESCH NE 'X'.                                        " M026
        PERFORM READ_PA0002 USING w_it_wbs5-lead CHANGING W_LEAD.
        CLEAR w_it_wbs5-pdir.
        select single parnr from ihpa into w_it_wbs5-pdir
        where objnr = w_it_wbs5-objnr and
        parvw = C_PDIR and
        KZLOESCH NE 'X'.                                        " M026
        PERFORM READ_PA0002 USING w_it_wbs5-PDIR CHANGING W_PDIR.
        CLEAR w_it_wbs5-pmgr.
        select single parnr from ihpa into w_it_wbs5-pmgr
        where objnr = w_it_wbs5-objnr and
        parvw = C_PMGR and
        KZL

    hi,
    1.Capacity check takes place at plant level itself..
    2.Pooled capacity:- This is created separately in [u wil find in PP] and this capacity can be used by different work centers.
    regards
    pushpa

  • Sub pictures can't be seen on DVD

    I've created a project in Encore CS3 and everything works properly in preview.  However, when I burn a DVD the rollovers (sub-pictures) are not visible.  The DVD will work properly on my laptop but not in a DVD player.  I've tried both DVD-R and DVD+R blanks.  Thanks for any assistance.

    Please tell us a bit more about the Menu used, and the Buttons' Sub-picture Highlights. A screen-cap of the Menu in PS, or the Menu Editing Panel, with the Layer Sets opened will be very helpful.
    Also, what brand of blank media are you using?
    That you get correct Highlights on the Computer, but not on the set-top player might indicate an issue with the burned DVD and the set-top player. Problems can come from using media, like Memorex, TDK and store brands.
    Still, there might be something in the Button Layer Sets' Sub-picture Highlight Layers, and the screen-cap should rule those out quickly.
    Good luck,
    Hunt

  • Hello,  I am have problems with coruption of the photos in a slide show after burning the DVD in iDVD.  This coruption does not always appear when you preview the project.  I have slowed down the burn rate to 1X and kept the quality to professional.

    I am having a great deal of problems with Data coruption in slide shows after I have burned a DVD in iDVD.  I have changed burn rate from best to 1X with no difference in the coruption.  I have the quality set to professional with no improvement.  The size of the project is near 3.95, so it should fit on a single layer burn.  Should I use either iMovie to create the slide show or "Photo to Movie"?  Also, can anyone comment on how I preserve the highest quality picture resolution with a slide show?  If I do use iMovie or Photo to Movie,  the file size should exceed the 4.2 size so, will I have to buy new DVD's which are capable to handle the double layer burn and upto 8 GB?  What DVD's are recommended?  Any preferred brand?  Are there problems with burning with double layer?  I read on this blog of numerous problems.

    DVDs are LOW resolution by today's standards - only about 0.3 megapixels - so there is no way they your images on a TV set will look "High Definition".  See Preparing images for iDVD slideshows at http://docs.info.apple.com/article.html?path=iDVD/7.0/en/6675.html for recommendations on image sizes to use.  Using larger images won't give you better  quality, andf in some cases, will lower you image quality because  the Quicktime resizing that occurs isn't the best.

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

Maybe you are looking for