Shader 3.0

IS there any converter and/or booster for a ati raderon agp pro 9600
some game sais that i can run on my GC. But shader F***up
GGGGGGRRRRRRRRRRRRR!!!!!!!!!
PLZ HELP

Huh? OpenGL shader support is a graphics driver thing. Update it. Though your card is old and may indeed not support the stuff...
Mylenium

Similar Messages

  • I want to shade a whole day in iCal month (app?)

    I've searched and found lots of folks looking to change text and its background, but I want to shade a whole day.  In the month view, I want important days (oh god, jury duty!!) to really stand out. 
    Anyone know an add-on, or an app, or any way to do this? I think I've looked at a dozen options, but would love to hear from someone who has actually done this.
    In pre-history, on the Pocket PC I bought Agenda Fusion for this kind of thing...  Thx for all answers.

    jh2336,
    I suppose a programming solution is possible. That is after all, ultimately how Apple will solve the problem if they are convinced to do so by user Feedback.
    If you are wondering what to do with a tool, any tool, it would be advisable to learn how to use it before wielding it on anything that comes along.
    The Developer Forum is under the Mac OS X Technologies category. You may find out where to learn about using the Xcode 2.4.1 tool in that Forum.
    Forum: Software Development 101 would be another good choice.
    Good Luck.
    ;~)

  • My Macbook wont turn on, it gets pasted the White Apple screen then goes to a Blue screen that quickly turns a slightly darker shade of blue with the familiar loading icon then back again and does this over and over. What should I do? please help!

    So today my iPhone decides to go into recovery mode on me randomly so I  plugged it into my Macbook right away, but it wasn't showing up in iTunes so I did a quick internet search as to why that could be. On the Mac support forum I found instructions stating I should make sure I had the current verison of iTunes on my computer, turns out I had been putting off an Update because I didn't like waiting for it to restart n so forth. So I clicked my boucning update friend at the bottom of my screen and it started checking for updates, the bar got maybe a quarter of the way up and then stopped moving all together, I thought something was wrong so I clicked cancel and tried again. The same thing happened so I clicked cancel and went back to the Internet to find more help on my problems. I found yet another forum saying this solution was simple, restart the computer. So i clicked my little apple at the top and pressed restart and that has been the last thing I got to do on my computer because when it restarted it got past the White Apple logo screen and went on to a Blue screen which quickly turned a darker shade and had the loading circle, then back to the previous blue screen, then right back to the darker one. This process it repeated several times and I can't for the life of me figure out what to do. Please someone have a simple answer to this that I haven't Already tried, I have already tried safe mode and it just doesn't work for me. Please please help I need my computer for class it has all my notes and a paper I was doing, not to mention my iphone is still in recovery mode, even when I can get to another computer to fix that I need all the back up files off of my macbook to restore it to what I know it as and not default.

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • How do I prevent the Darker Shade Box (color shift) around Vector Objects when Printing

    Sorry in advance for the novelette. I am absolutely mystified and frustrated and would love some help! I've been working on this problem for about 30 hours over the last 4 days to figure out what the heck is happening and cannot find an answer through various forms of research.
    Basically, when I print a JPEG, I am getting this area (a box) of darker shaded coloring around my heart and love text.  I've tested it a million different ways and am at a loss as to what the problem is ... is it an application problem, a color profile problem between my applications and printer, an improper way that I saved my file, etc.
    Here is a photo I took of the image printed out (so it is slightly skewed from camera distortion):
    The details:
    (1) I create graphic art and sell it online. I save all of my printable art as JPEG files because of my customer base (diy hobbyists that print on their home printers without much knowledge base nor graphic design software).
    (2) I use both Adobe Illustrator (AI) and Photoshop Elements 11 (PSE11) to design and save my artwork.
    (3) I insert JPEG images into Microsoft Word 2003 documents to "test print" since most of my customers use home printers to print. Since most people have this basic software, it is a good gauge of the kind of print out they might get using the same or similar software.
    (4) My PSE11 color profile setting is the default sRGB. I have test printed many times and I get the truest colors with this color profile.
    (5) My AI color settings are normally also an sRGB color mode, but on occasion, I use a CMYK color mode if I am creating a larger document that I know the customer will need to take to a professional printer to print out.
    (6) I do my home printing (for proofs) on an Epson Stylus Photo 1400 (which has the 6 color ink cartridges).
    (7) Until this printing problem occurred on this test print out, I always used the "photo enhance" option when I designate settings for my printer via the Microsoft Word documents.
    IMPORTANT: This is when I have the color shift?? or color rendering issues?? and it is the only time. If I use the regular ICM/ICC color profile of sRGB, the printing issue doesn't occur. Instead, I have a solid color background instead of this one with the strips of lighter color on the top and bottom.  However, I can't control how the customer prints, so I need to feel confident that whatever color profile setting they use, they will not run into this problem.  I even test printed the documents over at FedEx and the darker box/color shift did not occur.
    (8) The document in question only has 3 sets of objects: the heart, the solid colored rectangle colored background and the text.  All 3 objects are vectors, they are at 100% opacity and there are no "special effects" applied.
    (9) The image was entirely created in AI this time and exported as a maximum quality JPEG file, although you will see below that I tried many ways to create and save the file so that I didn't have the color band borders on top/bottom.
    (10) I regularly use AI for part of my art, then I drag it to my PSE11 open document and it becomes a Vector Object (it cannot by copying/pasting into a PSE11 document).  I also regularly export AI images as PNG files, then insert them into an open PSE11 document. This printing issue has not occurred until recently.  Here is an example of a very complex AI image I created, then inserted into PSE11 just to add the background (the Teddy Bear and books are AI vector objects) that were exported as PNG files then inserted into PSE11 to integrate with the background image - I test printed with Photo Enhance and had no printing issues:
    So, from the research I have done, it looks like it is a color rendering or color space issue with conflicting color profiles in the same document. I checked my color profile settings and both sRGB and CMYK were set to embed ICC color profiles.
    I tried changing AI settings to Preserve Numbers (ignore linked profiles) for CMYK, but that didn't work.
    I also checked and made sure that not only the document setup showed the sRGB color profile, but that all the objects within the document also were converted to sRGB as well for consistency. That didn't work.
    I tried converting the document to CMYK along with the vector objects. That didn't work.
    I tried saving the heart image as a PNG file alone, the "love" text as a PNG file alone, both the heart and text together as a PNG files alone. Once saved as PNG files, I inserted them into an open empty PSE11 document - as I normally do. I then added the background color I wanted. That didn't work - the print still showed the color changes.
    I tried dragging each vector object separately and even as a group and got the same color change issue when printing.
    I tried "expanding" and "outlining" the text before exporting as JPEG, before exporting as a PNG and before dragging as a vector object into PSE11. Expanding the text did not help the situation.
    I tried exporting as Adobe PDF, then opening in PSE11, then resaving as JPEG. That didn't work.
    I tried flattening transparency (even though there is no transparency in the AI file). That didn't work.
    I tried rasterizing the image. That didn't work.
    Thinking that the file might be corrupt, I started from scratch and redesigned the same heart and love text.  Unfortunately, I had the same problem as before.  At this point, my AI started becoming buggy and would not open new files. It happened repeatedly and I decided it was best to uninstall and reinstall AI (and maybe that would fix the problem).
    I created just the heart in AI, then inserted it into an open PSE11 document (both after exporting as PNG and also by dragging as Vector Object from AI). It seemed to work. I could both drag the vector into PSE11 from AI and export from AI as a PNG, then insert into open PSE11 document with a background color - and it printed a solid background.
    So, I thought that reinstalling and setting back to defaults worked. But, then I added the love text around the heart and tried exporting as JPEG files and the same problem continued to recur. Whether I dragged as a Vector object into PSE11 (the heart object and love text separately and also another time with the vector objects dragged as a group) or saved them as PNG files and inserted into PSE11 - I got the different shades of color on what should be a solid background. I even tried saving the PSE11 as a PSD file first, then resaving as JPEG and I tried saving as PNG and printing and this didn't help solve the problem.
    I really think it is some color conflict issue but I can't figure it out. I am definitely not very knowledgeable about color profiles and how to sync all my devices, however, as I mentioned, this was not an issue until recently (and I think??? I recall changing the CMYK setting from Preserve Numbers to embed color profile a month or so ago - however, it should have been solved when AI went back to its defaults upon reinstall).
    The reason I believe it is a color rendering/color space issue is because I could see the color output when I saved the JPEG with CMYK color profile versus sRGB color profile and the sRGB colors were much richer, not surprisingly. The top and bottom colors matched the sRGB printout and the middle darker box section matched the CMYK printout.
    I am sure it is something fundamental or simple and I am completely overlooking it.  I wish it were just a transparency issue, because people know how to fix or do workarounds for it. But, there are no vector objects with any transparency ...
    If I missed some detail, I apologize. Any help would be a dream come true at this point! lol
    Thank you!

    Okay, I got motivated to try again.  From doing a bit more research on troubleshooting AI printing problems, the Adobe article talks about print drivers. It was advised to uninstall and reinstall the print driver if the printing issue persists. So, I did. Unfortunately, I still had the same result after reinstalling and trying a test print! Ugh.
    So, as Jacob said upfront, I seem to have an overactive print driver that is trying too hard (and it is a non-postscript printer which I realize is part of the problem).
    There are so many variables in my situation as to how I create art and save/export art. I sometimes work solely in AI, sometimes solely in PSE and sometimes I use both programs to create. Consequently, I will:
    (1) export directly from AI as JPEG if I am not adding PSE11 artwork.
    (2) export directly from AI as PNG  if I plan on inserting that image into PSE11 to add to artwork I have created in PSE11.
    (3) drag vector objects as a Smart Objects directly from AI to PSE11 to add to artwork I am creating in PSE11 if I know I will playing with the vector object and resizing in PSE11.
    So, I did a test print using scenario 2, where I inserted the heart and love text PNG (AI created vector object) into an old PSE11 document. This old document already had a vector object from AI with a solid background and I knew it printed correctly. So, after inserting this new PNG from AI into this old document, it printed correctly using the photo enhance mode.
    However, I haven't had a chance to actually create new art in the older AI files (that I know print properly), resave as something else and try another test print (either by exporting as JPEG and printing in Word or by exporting as PNG file and inserting into PSE11 document, then saving as JPEG and printing in Word).
    After testing the different possibilities of ICM settings within my printer, I found that the JPEG images printed out with the truest colors and best quality if I simply selected "no color management" from the printer. Shocker, huh? lol
    MY SOLUTION: So, what I think I will simply do is add an instruction sheet with the printables I sell, explaining that the color profile setting should never be handled by the printer so make sure to turn off color management by printer (and if they feel they must use the printer for color management, make sure the setting is sRGB since I embed that color profile in my JPEG's).
    Edited to add: Since my issue was never about how I could print a successful image (I knew I could simply change the color profile settings), but rather about how to make sure that customers would get consistent and high quality print outputs of my digital images, this seems like the best approach.
    I don't think I will every really know exactly why I am now getting color shifts in the "photo enhance" mode when I did not have this problem a couple months ago - applying the same methods of creating artwork. I was concerned that I was saving/exporting using incorrect or mismatched color settings or something of that nature.  However, since I went through the process of making my color spaces the same for everything, and I still have issue, clearly that is not the culprit. The only thing I can do to solve the problem and it is a straightforward solution anyway -> is to educate the buyer on how to print successfully (don't use photo enhance! ha ha).
    Thanks again to everyone who chimed in and offered advice!

  • Shade of current day in iCal

    i used the technique described in this post
    http://discussions.apple.com/thread.jspa?messageID=3470962&#3470962
    to fix the problem of the alarm message coming up offscreen. worked great for me and many others (many thanks). now that i have downloaded this useful (and MASSIVE) app to do the fix, can i also change the shade of the current day? on my laptop, the difference BARELY shows, and i'd like it more distinct. is that a similar fix?
    thanks to you gods of tech.

    jh2336,
    I suppose a programming solution is possible. That is after all, ultimately how Apple will solve the problem if they are convinced to do so by user Feedback.
    If you are wondering what to do with a tool, any tool, it would be advisable to learn how to use it before wielding it on anything that comes along.
    The Developer Forum is under the Mac OS X Technologies category. You may find out where to learn about using the Xcode 2.4.1 tool in that Forum.
    Forum: Software Development 101 would be another good choice.
    Good Luck.
    ;~)

  • How to get grey Shade in SAP-script

    When i print my sapscript form i got my sapscript box intesity printed as black dots instead of grey shade.
    Can some one help me with this problem I want to get nice grey shade in sapscript box after printing.
    Greetings,
    Mostafa

    Hi,
    If you change the value of intensity, you can get the grey colour box
    Eg. BOX XPOS '10' CH YPOS '7' LN WIDTH '30' CH HEIGHT '0' LN FRAME 30 TW INTENSITY 20

  • Tons of ieq/add/or instructions for array indexing in pixel shader loop (D3D 11.0, PS model 5.0)

    First of all, I have to apologize for the long code samples, but their content is not so important, I just wanted to give as much info as I can. Besides they are really simple and I tried to comment as much as possible.
    I'm working on a pixel shader doing deferred lighting of the frame (Direct3D feature level 11.0, PS
    model 5.0, IDE - Visual Studio 2013, OS - Windows 8.1 x64). I noticed some huge FPS drops when I add light sources to the scene, and the more sources I add, the bigger performance impact is. After many hours
    of trying to find the problem, experimenting and checking compiled pixel shader ASM's, I found out that at some moment after I comment / uncomment some lines (or event line) my output ASM changes dramatically. I won't put here all the code, of course, but
    here's simplified part of the point lighting in HLSL, so you could imagine the structure of the lighting algorithm:
    // Total amount of color that pixel receives from all the point light sources.
    float3 totalPointLightColor = { 0.0f, 0.0f, 0.0f };
    // Loop through the active light sources.
    [loop] for (uint i = 0; i < g_scene.pointLightCount; i++)
    // xyz - vector from light source to pixel.
    // w - the length of that vector.
    float4 fromLightToPixel;
    fromLightToPixel.xyz = worldPos - g_pointLights[i].position.xyz;
    fromLightToPixel.w = length(fromLightToPixel.xyz);
    // Check max light distance here (skip pixel if it is too far).
    if (fromLightToPixel.w > g_pointLights[i].farZ)
    continue;
    // Normalize direction vector.
    fromLightToPixel.xyz = normalize(fromLightToPixel.xyz);
    // Angle between the pixel normal and light direction.
    float lightIntensity = saturate(dot(normal, -fromLightToPixel.xyz));
    // Check that light comes not from behind of the pixel surface.
    if (lightIntensity <= 0.0f)
    continue;
    // If light casts shadows, process shadow map and get amount of light the pixel receives.
    // THIS LINE IS MENTIONED IN MY QUESTION BELOW.
    if (g_pointLights[i].shadowMapIndex >= 0)
    // Here was shadow map check, but I removed it and nothing really changed - the problem remained even with no code here.
    // Calculate the amount of light at the pixel from distance and angle and modify intensity.
    lightIntensity *= g_pointLights[i].brightness / (fromLightToPixel.w * fromLightToPixel.w);
    // Add this light's color to the total amount of light the pixel receives from point lights.
    totalPointLightColor += lightIntensity * g_pointLights[i].color.rgb;
    I compile shaders with D3DCompileFromFile() method, using the following flags:
    shaderFlags = D3DCOMPILE_ENABLE_STRICTNESS | D3DCOMPILE_DEBUG
    | D3DCOMPILE_SKIP_OPTIMIZATION | D3DCOMPILE_PREFER_FLOW_CONTROL;
    I tried to compile in release config with the following flags:
    shaderFlags = D3DCOMPILE_ENABLE_STRICTNESS | D3DCOMPILE_OPTIMIZATION_LEVEL3;
    But nothing seriously changes - only a couple less ASM instructions here and there, the main problem still remained. I should add that I have zero to none knowledge of ASM, and understand what's happening mostly thanks to comments Visual Studio / FXC generates
    in debug compilation mode.
    So, when I compile my whole deferred shader (including the part above), I get
    414 instructions in ASM, and performance is fine. If I uncomment only 1 line with CAPSED comment in the section above (which actually does nothing, as you can see), I get
    476 instructions, and I get huge FPS hiccups. When I check output ASM code, I can clearly see, that the line I uncommented produces no code in ASM at all, but somehow it makes many parts of compiled shader to change.
    For example, the loop above with commented line looks like the following in ASM:
    # Loop starts.
    loop
    # Loop index check and increment, as I can understand.
    uge r6.w, r5.w, cb0[1].x
    breakc_nz r6.w
    imul null, r6.w, r5.w, l(3)
    # Calculate <fromLightToPixel>.
    # cb6 - constant buffer that stores point lights.
    # Array access is done simply via [] operator.
    add r10.xyz, r3.xyzx, -cb6[r6.w + 1].xyzx
    dp3 r7.w, r10.xyzx, r10.xyzx
    sqrt r8.w, r7.w
    # Distance check.
    lt r8.w, cb6[r6.w + 1].w, r8.w
    if_nz r8.w
    iadd r8.w, r5.w, l(1)
    mov r5.w, r8.w
    continue
    endif
    # Normalization.
    rsq r8.w, r7.w
    mul r10.xyz, r8.wwww, r10.xyzx
    # Calculate <lightIntensity>.
    dp3_sat r8.w, r1.xywx, -r10.xyzx
    # Check <lightIntensity>.
    ge r9.w, l(0.000000), r8.w
    if_nz r9.w
    iadd r9.w, r5.w, l(1) // r9.w <- i
    mov r5.w, r9.w // r5.w <- i
    continue
    endif
    # Update <lightIntensity>. Note [] operator.
    div r7.w, cb6[r6.w + 0].w, r7.w
    mul r7.w, r7.w, r8.w
    # etc.
    endloop
    When I
    uncomment that 1 line, the ASM is growing heavily (by 62 instructions!), and this is how it starts to look like:
    # Loop starts.
    loop
    # Loop index check, but no <imul> instruction, why?
    uge r6.w, r5.w, cb0[1].x
    breakc_nz r6.w
    # Here comes some new code...
    # Indices are obviously related to the size of the point lights' constant buffer (16 elements).
    ieq r10.xyzw, r5.wwww, l(0, 1, 2, 3)
    ieq r11.xyzw, r5.wwww, l(4, 5, 6, 7)
    ieq r12.xyzw, r5.wwww, l(8, 9, 10, 11)
    ieq r13.xyzw, r5.wwww, l(12, 13, 14, 15)
    # And this part is also new...
    and r14.xyzw, r10.xxxx, cb6[1].xyzw
    and r15.xyzw, r10.yyyy, cb6[4].xyzw
    or r14.xyzw, r14.xyzw, r15.xyzw
    and r15.xyzw, r10.zzzz, cb6[7].xyzw
    or r14.xyzw, r14.xyzw, r15.xyzw
    # 26 more lines of such and/or pairs.
    # Calculate <fromLightToPixel> - finally! Why so much code instead of simple [] operator?
    add r14.xyz, r3.xyzx, -r14.xyzx
    dp3 r6.w, r14.xyzx, r14.xyzx
    sqrt r7.w, r6.w
    # Distance check.
    lt r7.w, r14.w, r7.w
    if_nz r7.w
    iadd r7.w, r5.w, l(1)
    mov r5.w, r7.w
    continue
    endif
    # Normalization.
    rsq r7.w, r6.w
    mul r14.xyz, r7.wwww, r14.xyzx
    # Calculate <lightIntensity>.
    dp3_sat r7.w, r1.xywx, -r14.xyzx
    # Check <lightIntensity>.
    ge r8.w, l(0.000000), r7.w
    if_nz r8.w
    iadd r8.w, r5.w, l(1)
    mov r5.w, r8.w
    continue
    endif
    # Here we go again - more code!
    and r15.xyzw, r10.xxxx, cb6[0].wxyz
    and r16.xyzw, r10.yyyy, cb6[3].wxyz
    or r15.xyzw, r15.xyzw, r16.xyzw
    and r16.xyzw, r10.zzzz, cb6[6].wxyz
    or r15.xyzw, r15.xyzw, r16.xyzw
    # 26 more lines of such and/or pairs.
    # Update <lightIntensity> - finally! Why no [] operator here, but tons of those instructions?
    div r6.w, r10.x, r6.w
    mul r6.w, r6.w, r7.w
    # etc.
    endloop
    I tried to save current array element to temp variable at the beginning of the loop, but it makes no difference - only several more instructions are added to copy the data.
    I just can't understand, why in the first case loop is translated into such small and logic code where array access is done via single
    [] operator, but in the second one it expands to such enormous bunch of instructions? And I change only 1 line of code, nothing more (and that line does nothing actually - it even has no ASM representation)! But every array access seems to
    be affected with this change.
    Can someone please explain that to me? Is there some sort of tricks with array indexing or loops in HLSL? I tried to find something about it on the Internet to no avail. Seems like I miss something very simple and obvious, but I don't get it. Sadly I
    work mostly alone by now and know nobody familiar with ASM / HLSL / Direct3D. Answering this question on another popular developer resource brought no result.
    Big thanks in advance for any tips or explanations!

    The latest version may help with this. 11.9.900.170 is now a step back.
    12.0.0.38  is here: http://get.adobe.com/flashplayer/
    or download the FULL installer here: Flash Player 12 (Mac OS X)

  • EPS to PDF: Smooth Shades, Bug in Acrobat?

    Hello!
    I encountered a really weird feature/bug in Acrobat.
    I have a very simple EPS file which draws 2 x 5 = 10 adjacing black squares. (EPS file below and attached)
    When I drag it into Acrobat 8.1.5 and save it as PDF, and then try to open this PDF in Illustrator, Illustrator says: [German] "Eine unbekannte Schattierungsart wurde gefunden." which might be in [English]: "An unknown shading type was found."
    And then the big regtangle (which was the 10 squares before) cannot be edited in Illustrator because this object is [German] "Grafik aus Drittprogramm" which might be in [English]: "Graphics from third party software".
    The fact that Acrobat makes a large rectangle out of the 10 squares, is not very uncommon. But why does Acrobat not leave the color black but changes it into a smooth shade (which runs from black to black)???
    (I know that I can disable the smooth shade feature in Acrobat. But still: there is a bug in Acrobat that reconizes an object with one unique color as a smooth shade!)
    %!PS-Adobe-2.0 EPSF-3.0
    %%BoundingBox: 0 0 10 5
    %%LanguageLevel: 2
    %%EndComments
    %%Page: 1 1
    save gsave
    /Rectangle {
    1 index 0 rlineto
    0 exch rlineto
    neg 0 rlineto
    closepath
    } def
    /N { newpath } def
    /Q { moveto 1 1 neg Rectangle fill } def
    0 setgray
    N 1 2 Q
    N 1 3 Q
    N 2 2 Q
    N 2 3 Q
    N 3 2 Q
    N 3 3 Q
    N 4 2 Q
    N 4 3 Q
    N 5 2 Q
    N 5 3 Q
    grestore restore

    Are you sure didn't have the Shift key down at the same time as you pressed Cmd and the + (plus) key?
    Cmd-Shift-plus and Cmd-Shift-minus are the shortcuts for rotate clockwise and counterclockwise.
    For me, with Acrobat X 10.1.1 on Lion Mac OS X 10.7.2, Cmd-plus and Cmd-minus are working fine for zooming in and zooming out.

  • Hi, I am new to using iTunes.  Just downloaded 50 shades of Grey only to find it is the BOOKS and not the music.  How do I get a refund for this?

    Hi, I am new to using iTunes.  Just downloaded 50 shades of Grey only to find it is the BOOK and not the music.  Incidentally, I find that entering this community is somewhat akin to trying to get into Fort Knox!!  Too much officiousness.

    There are no refunds.
    You can try contacting itunes support and ask for an exception:
    http://www.apple.com/support/contact/

  • Required Shade column

    Hello Abap Gurus;
    I have a report of invoice list.In this report i want shade column
    of the SD document: Delivery: Item data in which the shade is displayed.I m attaching the code also.
    *& Report  ZRPT_SD_002
    REPORT  zrpt_sd_002 LINE-SIZE 70 NO STANDARD PAGE HEADING
                            MESSAGE-ID zcvs.
                              TABLES
    TABLES : vbak  ,              " Sales Document Header
             vbap  ,              " Sales Document Item
             kna1  ,              " Customer Master
             vbkd  ,              " Business Data
             t023t ,              " MAterial Group
             ekkn  ,
             mara ,
             lfa1,
             t134t ,              " Material Type
             t024d ,              " MAterial Controller
             t188t ,              " Zone
             tvkbt ,              " Sales OFfice Text
             tvaut ,              " Order Reason
             vbfa  ,              " Order Status
             vbep  ,              " Schedule Line Data
             mska  ,              " Sales Order Stock
             vbrp  ,              " Billing Header
             afko  ,              " Production Order
             vbrk  ,              " Billing Header
             konv  ,              " Condition Type Table
             likp  ,              " Delivery Header
             knb1  ,
             bkpf  ,
             cabnt , vttp,vttk,
             tvro,vbpa.
    TYPE-POOLS
    TYPE-POOLS : slis.
    VARIABLE DECLARATION
    DATA       : maktx  LIKE makt-maktx,
                 knttp  LIKE ekpo-knttp,
                 city1  LIKE adrc-city1,
                 tknum  LIKE vttk-tknum,
                 name1  LIKE lfa1-name1,
                 lzone  LIKE kna1-lzone,
                 mtbez  LIKE t134t-mtbez,
                 wgbez  LIKE t023t-wgbez,            " Material Group Text
                 bezei  LIKE tvaut-bezei,            " Order Reason Text
                 kvgr1  LIKE vbak-kvgr1,             " Product Manager
                 vtext  LIKE t188t-vtext,            " Product Manager Text
                 vtext2 LIKE t188t-vtext,            " Regional Mgnr Text
                 vtext3 LIKE t188t-vtext,            " Key Account Group
                 vtext4 LIKE t188t-vtext,            " Special Group
                 vtext5 LIKE t188t-vtext,            " Executive
                 vbezei LIKE tvkbt-bezei,            " Sales office
                 matkl  LIKE mara-matkl,             " Material Group
                 mtart  LIKE mara-mtart,             " Material Type
                 erdat  LIKE vbak-erdat,
                 audat  LIKE vbak-audat,
                 auart  LIKE vbak-auart,
                 bstkd  LIKE vbkd-bstkd,
                 prdha  LIKE mara-prdha,
                 belnr  LIKE bkpf-belnr,
                 text(30)   TYPE  c ,
                 v_tabix LIKE sy-tabix,
                 lifnr    LIKE lfa1-lifnr,
                 tname    LIKE lfa1-name1,
                 bstdk    LIKE vbkd-bstdk,
                 ordat    LIKE vbrk-erdat,
                 stext    LIKE tspat-vtext,
                 ktext    LIKE t151t-ktext,
                 v_brtxt  LIKE t016t-brtxt,
                 v_month  TYPE i,p_mon  TYPE i,
                 v_mname(20),p_mname(20),
                 v_ptext  LIKE t052u-text1.
    DATA : cl_data LIKE clobjdat OCCURS 0 WITH HEADER LINE.
    DATA : i_cl_data LIKE clobjdat OCCURS 0 WITH HEADER LINE.
    DATA :       dmbtr LIKE bseg-dmbtr,
                 gbsta LIKE vbup-gbsta,
                 mbdat LIKE vbep-mbdat,
                 kalab LIKE mska-kalab,
                 bonba LIKE vbrp-bonba,
                 gltrp LIKE afko-gltrp,
                 mblnr LIKE mseg-mblnr,
                 budat LIKE mkpf-budat,
                 prtext  LIKE t179t-vtext,
                 signi LIKE vttk-signi,       " Truck Number
                 landx LIKE t005t-landx.
    DATA :       BEGIN OF tline OCCURS 0 .
            INCLUDE STRUCTURE tline .
    DATA :       END OF tline .
    DATA :       soh LIKE rstxt-tdname ,
                 destcty(30).
    DATA :       klmeng LIKE  vbap-klmeng.
    DATA :       tabix  LIKE  sy-tabix.
    DATA :       cmgst  LIKE  vbuk-cmgst,
                 option(10) TYPE c .
    DATA : BEGIN OF delivery_header.
            INCLUDE STRUCTURE likp.
    DATA : END OF delivery_header.
    DATA : BEGIN OF shipment_header.
            INCLUDE STRUCTURE vttk.
    DATA : END OF shipment_header.
    DATA : BEGIN OF ivbrk OCCURS 0.
            INCLUDE STRUCTURE vbrk.
    DATA : brsch LIKE kna1-brsch,
           name1 LIKE kna1-name1,
           ort01  LIKE kna1-ort01.
    DATA : END OF ivbrk.
    DATA : v_regio LIKE kna1-regio,
           v_brsch LIKE kna1-brsch,
           v_ort01 LIKE kna1-ort01,
           v_land1  LIKE kna1-land1.
    New For Days Start
    DATA: len TYPE i.
    DATA : BEGIN OF head OCCURS 0,
           field(5),
           text(30),
           END OF head.
    DATA :   p_ftext1(30),
             p_ftext2(30),
             p_ftext3(30),
             p_ftext4(30),
             p_ftext5(30),
             p_ftext6(30).
    New For Days End
                          DECLARATION FOR ALV
    DATA: fieldtab TYPE slis_t_fieldcat_alv,
           heading  TYPE slis_t_listheader,
           layout   TYPE slis_layout_alv,
           events   TYPE slis_t_event,
           repname  LIKE sy-repid,
           f2code   LIKE sy-ucomm VALUE  '&ETA',
           g_save(1) TYPE c,
           g_variant LIKE disvariant,
           gx_variant LIKE disvariant,
           g_exit(1) TYPE c.
    DATA: keyinfo  TYPE slis_keyinfo_alv.
    CONSTANTS: formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
    DATA: alv_print        TYPE slis_print_alv.
    DATA: alv_detail_func(30).
    DATA: g_pos TYPE i.
    DATA: tabname   TYPE slis_tabname.
    INTERNAL TABLES DECLARATION
    DATA : BEGIN OF ivbeln OCCURS 1,
           vbeln    LIKE vbrk-vbeln,         " Billing Document
           posnr    LIKE vbrp-posnr,         " Billing Doc Item
           fkart    LIKE vbrk-fkart,         " Billing Type
           vbtyp    LIKE vbrk-vbtyp,         " SD Docnument Category
           vbtyp_desc(35)         ,          " Vbtyp description
           vkgrp    LIKE vbrp-vkgrp,         " Sales Group
           fkdat    LIKE vbrk-fkdat,         " Billing Date
           matnr    LIKE vbrp-matnr,         " Material
           arktx    LIKE vbrp-arktx,         " Material Desc
           kunnr    LIKE vbrk-kunag,         " Customer Code
           name1    LIKE kna1-name1,         " Customer Name
           ort01    LIKE kna1-ort01,         " Customer City
           fkimg    LIKE vbrp-fkimg,         " Billed Qty
           werks    LIKE vbrp-werks,         " Plant
           pl_land1 LIKE t001w-land1,        " Plant Country
           pl_regio LIKE t001w-regio,        " Plant Region Code
           regio_tx LIKE t005u-bezei,        " Plant Region Name
           netwr    LIKE vbrp-netwr,         " Net Price
           vkorg    LIKE vbrk-vkorg,         " Sales Organisation
           vtext    LIKE tvkot-vtext,        " Sales Org.Text
           vtweg    LIKE vbrk-vtweg,         " Distribution Channel
           vttxt    LIKE tvtwt-vtext,        " Dist.Channel Text
           vkbur    LIKE vbrp-vkbur,         " Sales Office
           vbezei   LIKE tvkbt-bezei,        " Sales Office Text
           spart    LIKE vbrp-spart,         " Division
           stext    LIKE tspat-vtext,        " Sales Division Text
           kvgr1    LIKE vbrp-kvgr1,         " District
           vtext1   LIKE tvv1t-bezei,        " District Name
           kvgr2    LIKE vbrp-kvgr2,         " Taluka
           vtext2   LIKE t188t-vtext,        " Taluka Name
           kvgr3    LIKE vbrp-kvgr3,         " Village
           vtext3   LIKE t188t-vtext,        " Village Name
           kvgr4    LIKE vbrp-kvgr4,         " Special Group
           vtext4   LIKE t188t-vtext,        " Special Group
           kvgr5    LIKE vbrp-kvgr5,         " Executive
           vtext5   LIKE t188t-vtext,        " Executive Text
          ZZLZONE  LIKE  VBAP-ZZLZONE ,     " Transport.Zone(Sold To Party)
           lztxt    LIKE  tzont-vtext,       " Trans.Zone Desc(Sold To Party)
           waerk    LIKE vbap-waerk,         " Document Currency
           inco1    LIKE vbkd-inco1,         " Inco Terms1
           inco2    LIKE vbkd-inco2,         " Inco Terms2
           bukrs    LIKE vbrk-bukrs,         " Company Code
           lgort    LIKE vbrp-lgort,         " Storage Loc
           vrkme    LIKE  vbrp-vrkme,        " Sales Unit
           aubel    LIKE  vbrp-aubel,        " Sales Doc
           aupos    LIKE  vbrp-aupos,        " Sales Doc Item
           audat    LIKE  vbak-audat,        " Sales Order Date
           klmeng   LIKE  vbap-klmeng,       " Sales Qty
           knumv    LIKE  konv-knumv,        " Cond.Doc No
           frate    LIKE  konv-kbetr,        " Rate
           fvalue   LIKE  konv-kwert,        " Value
           erate    LIKE  konv-kbetr,        " Excise Rate
           evalue   LIKE  konv-kwert,        " Excise Value
           kschl    LIKE  konv-kschl,        " Condition Type
           mtart    LIKE  mara-mtart,        " Material TYpe
           matkl    LIKE  mara-matkl,        " Material Group
           stceg    LIKE  vbrk-stceg,        " VAT Reg.No
           sfakn    LIKE  vbrk-sfakn,        " Cancelled Bill Doc No
           sfakn1   LIKE  vbrk-sfakn,        " Reversed Bill Doc No
           rfbsk    LIKE  vbrk-rfbsk,        " Accounting Transfer Status
           fksto    LIKE  vbrk-fksto,        " Bill Doc.Cancel Ind
           fksto_tx(60),                     " Bill Doc.Cancel text
           erdat    LIKE  vbrk-erdat,        " Creation Date
           erzet    LIKE  vbrk-erzet,        " Creattion Time
           regio    LIKE  kna1-regio,        " Region
           pstyv    LIKE  vbrp-pstyv,        " Sales Doc Item Cat.
           vgbel    LIKE  vbak-vgbel,        " Ref.Doc No
           vgpos    LIKE  vbap-vgpos,        " Ref.Doc.Item.No
           cmgst    LIKE  vbuk-cmgst,        " Credit Status
           zterm    LIKE  vbrk-zterm,        " Pay Term
           auart    LIKE  vbak-auart,        " Sales Order Type
           bstkd    LIKE  vbkd-bstkd,        " Cust.PO No
           bstdk    LIKE  vbkd-bstdk,        " Cust.PO Date
           mwsbp    LIKE  vbrp-mwsbp,        " Tax Amount
           belnr    LIKE  bkpf-belnr,        " Acc.Doc No
           kzwi1    LIKE  vbrp-kzwi1  ,      " Base Price
           kzwi2    LIKE  vbrp-kzwi2  ,      "
           kzwi3    LIKE  vbrp-kzwi3  ,      " Discounts
           kzwi4    LIKE  vbrp-kzwi4,        " Packing and forwarding
           kzwi5    LIKE  vbrp-kzwi5  ,      " Excise
           kzwi6    LIKE  vbrp-kzwi6  ,      " LST/ CST
           mtbez    LIKE  t134t-mtbez,       " Material Type Text
           wgbez    LIKE t023t-wgbez,        " Material Group Text
           land1    LIKE vbrk-land1,         " Country
           landx(20),                        " Country Text
           abrvw    LIKE tvlvt-abrvw,        " Usage Ind.
           reasn    LIKE tvlvt-bezei,        " Desc
           prdha    LIKE mara-prdha,         " Prod Hir.
           edg(2),
           char1    LIKE  ausp-atwrt ,       " Characteristic
           char2    LIKE  ausp-atwrt ,       " Characteristic
           char3    LIKE  ausp-atwrt ,       " Characteristic
           char4    LIKE  ausp-atwrt ,       " Characteristic
           char5    LIKE  ausp-atwrt ,       " Characteristic
           char6    LIKE  ausp-atwrt ,       " Characteristic
           char7    LIKE  ausp-atwrt ,       " Characteristic
           char8    LIKE  ausp-atwrt ,       " Characteristic
           char9    LIKE  ausp-atwrt ,       " Characteristic
           char10   LIKE ausp-atwrt ,        " Characteristic
           char11   LIKE ausp-atwrt ,        " Characteristic
           char12   LIKE ausp-atwrt ,        " Characteristic
           char13   LIKE ausp-atwrt ,        " Characteristic
           char14   LIKE ausp-atwrt ,        " Characteristic
           char15   LIKE ausp-atwrt ,        " Characteristic
           char16   LIKE ausp-atwrt ,        " Characteristic
           lifnr    LIKE lfa1-lifnr,         " Vendor
           tname    LIKE lfa1-name1,         " Vendor Name
           ordat    LIKE vbrk-fkdat,         " order Date
           charg    LIKE vbrp-charg,         " Batch
           kdgrp_auft LIKE vbrp-kdgrp_auft,  " Customer Sales Group
           ktext    LIKE t151t-ktext,        " Customer Sales Group Text
           signi    LIKE vttk-signi,         " License No
           route    LIKE likp-route,         " Route
           routid   LIKE tvro-routid,        " Route ID
           rt_bezei LIKE tvrot-bezei,        " Route Desc
           vstel    LIKE likp-vstel,         " Shipping Point
           sp_vtext LIKE tvstt-vtext,        " Ship Point Desc
           distz    LIKE v_tvro_com-distz,   " Distance
           brsch    LIKE kna1-brsch,         " Industry Key
           brtxt    LIKE t016t-brtxt,        " Industry Name
           mname    LIKE kna1-name1,         " Name
           exnum    LIKE j_1iexchdr-exnum,   " Ex.Number
           exdat    LIKE j_1iexchdr-exdat,   " Ex.Date
           exbed    LIKE j_1iexcdtl-exbed,   " Ex.BED Amt
           ecs      LIKE j_1iexcdtl-ecs,     " Ex.ECESS Amt
           expind   LIKE j_1iexchdr-expind,  " Export Ind.
           expind_desc LIKE dd07t-ddtext,    " Export Ind.Desc
           exgrp    LIKE j_1iexchdr-exgrp,   " Exc.Group
           srgrp    LIKE j_1iexchdr-srgrp,   " Series Group
           sanum    LIKE vbap-vbeln,         " Sales Order No
           sapos    LIKE vbap-posnr,         " SO Item No
           tknum    LIKE vttk-tknum,         " Shipment No
           exti1    LIKE vttk-exti1,         " Vehicle Number
           exti2    LIKE vttk-exti2,         " Driver Name
           tr_count TYPE i,                  " Truck Count
           vsart    LIKE vttk-vsart,         " Shipment Type
           st_bezei LIKE t173t-bezei,        " Shipment Type Desc
           zb00     LIKE konv-kbetr,         " Basic Rate
           xcpdk    LIKE vbpa-xcpdk,         " One Time Account
           adrnr    LIKE vbpa-adrnr,         " Address Number
           shpcd    LIKE kna1-kunnr,         " Ship to Party
           shpnm    LIKE kna1-name1,         " Ship to Party Name
           sh_regio LIKE kna1-regio,         " Region(SH)
           sh_land1 LIKE kna1-land1,         " Country
          SH_LZONE LIKE  VBAP-ZZLZONE ,     " Transport.Zone(Ship To Party)
           sh_lztxt LIKE  tzont-vtext,       " Trans.Zone Desc(Ship To Party)
           mblnr    LIKE mseg-mblnr,         " Material Doc No
           budat    LIKE mkpf-budat,         " Doc Date
           konda    LIKE vbrk-konda,         " Sales Zone
           ptext    LIKE t188t-vtext,        " Text
           zrbat    LIKE konv-kwert,         " Rebate Amount
           serdt    LIKE vbak-erdat,         " S.A Create Date
           groes    LIKE mara-groes,         " Size/Dimensions
           dtext(20),                        "
           prodt(20),                        "
           mtext(20),                        "
           prdqy    LIKE vbrp-fkimg,         "
           aufnr    LIKE afko-aufnr,         " Order No
           city1    LIKE adrc-city1,         " City
           packno(3),                        " Pack No
           inv_rate LIKE konv-kbetr,         " Inv Rate
           inv_amt  LIKE konv-kwert,         " Inv Amount
           frt_rate LIKE konv-kbetr,         " Frt Rate
           frt_amt  LIKE konv-kwert,         " Frt Amount
           td_fkimg LIKE vbrp-fkimg,         " Trade Inv.Qty
           nt_fkimg LIKE vbrp-fkimg,         " Non-Trade Inv.Qty
           st_fkimg LIKE vbrp-fkimg,         " Stk.Trsf.Inv.Qty
           tot_fkimg LIKE vbrp-fkimg,        " Total
           or_dl_vbeln  LIKE lips-vbeln,     " Original Delivery
           or_dl_posnr  LIKE lips-posnr,     " Original Del.Item
           or_in_vbeln  LIKE vbrp-vbeln,     " Original Invoice
           or_in_fkdat  LIKE vbrk-fkdat,     " Original Inv.Date
           or_in_posnr  LIKE vbrp-posnr,     " Original Inv.Item
           or_in_knumv  LIKE vbrk-knumv,     " Original Inv.Cond.No
           or_in_frt_amt LIKE konv-kwert,    " Original Frt Amount
           or_in_fkimg   LIKE vbrp-fkimg,    " Original Qty
           diff_date  TYPE  p,               " Date Differance
           pfield1      LIKE vbrp-fkimg,                        " Day 1
           pfield2      LIKE vbrp-fkimg,                        " Day 2
           pfield3      LIKE vbrp-fkimg,                        " Day 3
           pfield4      LIKE vbrp-fkimg,                        " Day 4
           pfield5      LIKE vbrp-fkimg,                        " Day 5
           pfield6      LIKE vbrp-fkimg,     " Above Days
           pfield7      LIKE vbrp-fkimg,     " TOTAL DAYS
           bolnr        LIKE likp-bolnr,    " LR/DC No
           INCLUDE STRUCTURE ZSD_MATGROUPS.  " Inc.For Mat.Groups
           chaname TYPE lfa1-name1,
           lcnum  TYPE vbkd-lcnum,
           tdline TYPE tline-tdline,
           docno  type j_1iexchdr-docno.
    DATA:  END   OF ivbeln.
    DATA  : BEGIN OF i_mat_tab OCCURS 0,
            dtext LIKE ivbeln-dtext,
            prodt(20),
            mtext(20),
            name1 LIKE ivbeln-name1,
            kunnr LIKE ivbeln-kunnr,
            fkimg LIKE ivbeln-fkimg,
            END OF i_mat_tab.
    DATA  : BEGIN OF it_vbtyp OCCURS 0.
            INCLUDE STRUCTURE dd07v.
    DATA  : END OF it_vbtyp.
    DATA  : BEGIN OF i_mseg OCCURS 0.
            INCLUDE STRUCTURE mseg.
    DATA  : END OF i_mseg.
    DATA  : BEGIN OF i_mseg_coll OCCURS 0,
            matnr  LIKE mseg-matnr,
            charg  LIKE mseg-charg,
            menge  LIKE mseg-menge,
            aufnr  LIKE mseg-aufnr,
            werks  LIKE mseg-werks,
            END OF i_mseg_coll.
    *-- For Sales Plan Details
    DATA  : exnum    LIKE j_1iexchdr-exnum,
            exdat    LIKE j_1iexchdr-exdat,
            exbed    LIKE j_1iexchdr-exbed,
            expind   LIKE j_1iexchdr-expind,
            exgrp    LIKE j_1iexchdr-exgrp,
            srgrp    LIKE j_1iexchdr-srgrp,
            shpcd    LIKE kna1-kunnr,
            shpnm    LIKE kna1-name1,
            shreg    LIKE kna1-regio,
            shlnd    LIKE kna1-land1,
            xcpdk    LIKE vbpa-xcpdk,
            adrnr    LIKE vbpa-adrnr,
            sanum    LIKE vbap-vbeln,
            serdt    LIKE vbak-erdat,
            ptext    LIKE t188t-vtext,
            sapos    LIKE vbap-posnr.
    DATA  : BEGIN OF iitem OCCURS 1,
            kunnr LIKE ivbeln-kunnr,
            name1 LIKE ivbeln-name1,
            vkbur LIKE ivbeln-vkbur,
            vbezei LIKE ivbeln-vbezei,
            dtext LIKE tvtwt-vtext,
            matnr LIKE ivbeln-matnr,
            arktx LIKE ivbeln-arktx,
           VTWEG LIKE ZCVI_VBRKVBRP-VTWEG,
            land1 LIKE kna1-land1,
            landx LIKE t005t-landx,
            END OF iitem.
    DATA  : BEGIN OF t_konv OCCURS 0,
            knumv LIKE konv-knumv,
            kposn LIKE konv-kposn,
            krech LIKE konv-krech,
            kwert LIKE konv-kwert,
            kbetr LIKE konv-kbetr,
            kawrt LIKE konv-kawrt,
            kschl LIKE konv-kschl,
            END OF t_konv.
    DATA  : kunnr LIKE kna1-name1,
            pdate LIKE sy-datum,
            frate LIKE konv-kbetr,
            erate LIKE konv-kbetr,
            evalue LIKE konv-kwert,
            fvalue LIKE konv-kwert,
            zwels LIKE knb1-zwels.
    *DATA  : BEGIN OF ISDCHAR OCCURS 0 .
           INCLUDE STRUCTURE ZCTA_SDCHAR .
    *DATA    END   OF ISDCHAR .
    DATA  : BEGIN OF it_char OCCURS 0.
    DATA  : tabix(2)     TYPE c,
            atbez(30),
            descrp(30)   TYPE c.
            INCLUDE STRUCTURE vbmuez.
    DATA  : END   OF it_char.
    DATA  : ichar LIKE sel_char OCCURS 0 WITH HEADER LINE.
    DATA  : reasn   LIKE tvlvt-bezei.
                          FIELD-SYMBOLS                                  *
    FIELD-SYMBOLS : <table>    TYPE  table ,
                    <struc> ,
                    <field> ,
                    <component> .
    Data Declaration for Dynamic Assignment                              *
    DATA : alv_fieldcat    TYPE                 slis_t_fieldcat_alv,
           lt_alv_cat      TYPE TABLE OF        lvc_s_fcat,
           it_fieldcat     LIKE LINE  OF        lt_alv_cat.
    DATA : i_table         TYPE REF   TO        data,
           i_structure     TYPE REF   TO        data.
    DATA : new_tabix  LIKE sy-tabix.
    DATA : v_ebeln LIKE ekkn-ebeln ,
           v_ebelp LIKE ekkn-ebelp ,
           groes   LIKE mara-groes.
    DATA : t_char LIKE sel_char OCCURS 0 WITH HEADER LINE.
         Macro Definition for assigning and unassigning component
    Assign a field to a component and component to a structure
    DEFINE assign_component.
      assign &1 to <component>.
      assign component <component> of structure <struc> to <field>.
    END-OF-DEFINITION.
    Unassign a Component.
    DEFINE unassign_field.
      if &1 is assigned.
        unassign &1.
      endif.
    END-OF-DEFINITION.
                    SELECTION - SCREEN
    *For ALV Variant
    SELECTION-SCREEN BEGIN OF BLOCK d WITH FRAME TITLE text-s01.
    PARAMETERS: p_vari LIKE disvariant-variant. " ALV Variant
    SELECTION-SCREEN END OF BLOCK d.
    For Basic Data
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-s02.
    SELECT-OPTIONS: s_kunnr FOR vbrk-kunrg MATCHCODE OBJECT debi,
                    s_vbeln FOR vbrk-vbeln MATCHCODE OBJECT vmva,
                    s_fkdat FOR vbrk-fkdat OBLIGATORY,
                    s_matnr FOR vbrp-matnr MATCHCODE OBJECT mat1,
                    s_fkart FOR vbrk-fkart ,
                    s_pstyv FOR vbap-pstyv,
                    s_spart FOR vbrk-spart.
    SELECTION-SCREEN END OF BLOCK a.
    For Organisational Data
    SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-s03.
    SELECT-OPTIONS: s_vkorg FOR vbrk-vkorg,
                    s_vtweg FOR vbrk-vtweg,
                    s_bukrs FOR vbrk-bukrs,
                    s_vkbur FOR vbrp-vkbur,
                    s_regio FOR kna1-regio,
                    s_werks FOR vbrp-werks,
                    s_brsch FOR kna1-brsch.         " Industry Key
    SELECTION-SCREEN END OF BLOCK b.
    NEW ADDED  BY AJAY 22-06-2006
    SELECTION-SCREEN BEGIN OF BLOCK c WITH FRAME TITLE text-d01.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-d02.
    SELECTION-SCREEN POSITION 32.
    PARAMETERS : p_field1(3) TYPE n DEFAULT '001',
                 p_field2(3) TYPE n DEFAULT '005',
                 p_field3(3) TYPE n DEFAULT '007',
                 p_field4(3) TYPE n DEFAULT '009',
                 p_field5(3) TYPE n DEFAULT '015'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK c.
    NEW ADDED END BY AJAY 22-06-2006
                          INITIALIZATION
    INITIALIZATION.
      repname = sy-repid.
      PERFORM build_eventtab USING events[].
      PERFORM build_layout .
      PERFORM initialize_variant.
                          AT SELECTION-SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      PERFORM f4_for_variant.
    AT SELECTION-SCREEN.
      PERFORM pai_of_selection_screen.
      PERFORM check_input.
                          START OF SELECTION
    START-OF-SELECTION.
      PERFORM build_comment USING heading[].
      PERFORM get_day_label.
      PERFORM get_data.
      PERFORM segregate_dist_chann_qty.
      PERFORM initialise_fieldtab.
      PERFORM attach_char_to_fieldcat.
      PERFORM get_transporter_data.
      PERFORM get_sd_matgroups.
      PERFORM get_plant_from_po.
      PERFORM get_excise_details.
      PERFORM display_data.
                          END OF SELECTION
    END-OF-SELECTION.
                              FORMS
    *&      Form  get_data
    *&      Extracts data as per the users selection criteria.
    FORM get_data.
      DATA domname LIKE dd07v-domname.
      DATA it_vrpma LIKE vrpma OCCURS 0 WITH HEADER LINE.
    In case Doc No is specified in Selection use VBRK
    Else use VRPMA(Material wise Billing Doc)
      IF NOT s_vbeln IS INITIAL.
        SELECT * FROM vbrk CLIENT SPECIFIED
                           INTO CORRESPONDING FIELDS OF TABLE ivbrk
                           WHERE mandt EQ sy-mandt
                                 AND   vbeln IN s_vbeln
                                 AND   fkart IN s_fkart
                                 AND   fkdat IN s_fkdat
                                 AND   kunag IN s_kunnr
                                 AND   vkorg IN s_vkorg
                                 AND   vtweg IN s_vtweg
                                 AND   bukrs IN s_bukrs
                                 AND   rfbsk NE 'E'
                                 AND   sfakn EQ space
                                 AND   fksto EQ space.
      ELSE.
        SELECT * FROM vrpma CLIENT SPECIFIED
                            INTO CORRESPONDING FIELDS OF TABLE it_vrpma
                            WHERE mandt EQ sy-mandt
                                  AND  matnr IN s_matnr
                                  AND  vkorg IN s_vkorg
                                  AND  fkdat IN s_fkdat
                                  AND  vtweg IN s_vtweg
                                  AND  fkart IN s_fkart
                                  AND  kunag IN s_kunnr
                                  AND  fkart NE 'ZCMR'
                                  AND  vbeln IN s_vbeln.
        CHECK NOT it_vrpma[] IS INITIAL.
        SORT it_vrpma BY vbeln.
        SELECT * FROM vbrk INTO CORRESPONDING FIELDS OF TABLE ivbrk
                           FOR ALL ENTRIES IN it_vrpma
                           WHERE vbeln = it_vrpma-vbeln
                                 AND   rfbsk NE 'E'
                                 AND   sfakn EQ space
                                 AND   fksto EQ space.
      ENDIF.
      domname = 'VBTYP'.
    Get the List of all Document Types
      PERFORM get_domtext TABLES it_vbtyp USING domname.
      IF NOT ivbrk[] IS INITIAL.
        SORT ivbrk BY kunag.
        LOOP AT ivbrk.
          v_tabix = sy-tabix.
    Get the Region,Industry Key, Name for Sold To Party
          ON CHANGE OF ivbrk-kunag.
            CLEAR : v_regio,v_brsch,name1,v_ort01,v_land1.
            SELECT SINGLE regio brsch name1 ort01 land1 FROM kna1
                                      CLIENT SPECIFIED
                                      INTO (v_regio,v_brsch,
                                            name1,v_ort01,v_land1 )
                                      WHERE mandt = sy-mandt
                                            AND kunnr = ivbrk-kunag.
          ENDON.
    Check for Region,Industry Key as per the Parameter
          IF NOT s_regio[] IS INITIAL.
            IF NOT v_regio IN s_regio.
              DELETE ivbrk INDEX v_tabix.
              CONTINUE.
            ENDIF.
          ENDIF.
          IF NOT s_brsch[] IS INITIAL.
            IF NOT v_brsch IN s_brsch.
              DELETE ivbrk INDEX v_tabix.
              CONTINUE.
            ENDIF.
          ENDIF.
          ivbrk-regio = v_regio.
          ivbrk-brsch = v_brsch.
          ivbrk-name1 = name1.
          ivbrk-ort01 = v_ort01.
          ivbrk-land1 = v_land1.
          ivbrk-netwr = 0.
          MODIFY ivbrk TRANSPORTING regio brsch
                                    name1 netwr ort01 land1.
          CLEAR  ivbrk.
        ENDLOOP.
    Get the Invoice Details from VBRP Table
        IF NOT ivbrk[] IS INITIAL.
          SELECT * FROM vbrp CLIENT SPECIFIED
                           INTO CORRESPONDING FIELDS OF TABLE ivbeln
                           FOR ALL ENTRIES IN ivbrk
                           WHERE mandt = sy-mandt
                                 AND vbeln = ivbrk-vbeln
                                 AND fkimg NE 0
                                 AND matnr IN s_matnr
                                 AND pstyv IN s_pstyv
                                 AND spart IN s_spart
                                 AND werks IN s_werks
                                 AND vkbur IN s_vkbur.
        ENDIF.
      ENDIF.
      IF NOT ivbeln[] IS INITIAL.
        LOOP AT ivbeln.
          READ TABLE ivbrk WITH KEY vbeln = ivbeln-vbeln.
          IF sy-subrc EQ 0.
            IF ivbrk-netwr IS INITIAL.
              ivbrk-netwr = ivbeln-netwr.
            ENDIF.
            MOVE-CORRESPONDING ivbrk TO ivbeln.
            CLEAR it_vbtyp.
            READ TABLE it_vbtyp WITH KEY domvalue_l = ivbrk-vbtyp.
            ivbeln-vbtyp_desc = it_vbtyp-ddtext.
            MOVE ivbrk-kunag TO ivbeln-kunnr.
            MODIFY ivbeln .
            CLEAR  ivbeln.
          ENDIF.
        ENDLOOP.
        SORT ivbeln BY vbeln posnr.
        DELETE ADJACENT DUPLICATES FROM ivbeln COMPARING ALL FIELDS.
        CLEAR  ivbeln.
    Get the Material Type, Group and Production Hiearchy
        LOOP AT ivbeln.
          ON CHANGE OF ivbeln-matnr.
            CLEAR : mtart,matkl,prdha.
            SELECT SINGLE  mtart matkl prdha FROM mara CLIENT SPECIFIED
                                 INTO (mtart,matkl,prdha)
                                 WHERE mandt EQ sy-mandt
                                       AND matnr EQ ivbeln-matnr.
          ENDON.
          ivbeln-mtart = mtart.
          ivbeln-matkl = matkl.
          ivbeln-prdha = prdha.
          MODIFY ivbeln TRANSPORTING  mtart matkl prdha.
          CLEAR ivbeln.
        ENDLOOP.
        LOOP AT ivbeln.
    Retrieving Sales Order Date ,Customer PO No,Customer PO Date
          ON CHANGE OF ivbeln-aubel.
            CLEAR : bstkd,bstdk,ordat,audat.
            SELECT SINGLE bstkd bstdk  FROM vbkd
                                  CLIENT SPECIFIED
                                  INTO  (bstkd,bstdk)
                                  WHERE mandt EQ sy-mandt
                                        AND vbeln EQ ivbeln-aubel.
            SELECT SINGLE erdat audat FROM  vbak CLIENT SPECIFIED
                                INTO  (ordat,audat)
                                WHERE mandt = sy-mandt
                                      AND vbeln = ivbeln-aubel.
           In case of Stock Transfer, Or Export Excise GP
           SO is really a PO Hence Date is tajken from EKKO
            IF ivbeln-fkart EQ 'ZSTF' OR ivbeln-fkart EQ 'ZSTE'.
              SELECT SINGLE bedat FROM  ekko CLIENT SPECIFIED
                                INTO  (audat)
                                WHERE mandt = sy-mandt
                                      AND ebeln = ivbeln-aubel.
            ENDIF.
          ENDON.
          IF ivbeln-erzet GE '000000' AND ivbeln-erzet LE '070000'.
            ivbeln-erdat = ivbeln-erdat - 1.
          ENDIF.
    Get the Counry Descripion
          ON CHANGE OF ivbeln-land1.
            CLEAR : landx.
            SELECT SINGLE landx INTO landx FROM t005t
                               WHERE land1 EQ ivbeln-land1
                                     AND  spras EQ  sy-langu.
          ENDON.
    For retrieving text for Customer Group
          ON CHANGE OF ivbeln-kdgrp_auft.
            CLEAR : ktext.
            SELECT SINGLE ktext FROM t151t
                                INTO ktext
                                WHERE spras EQ sy-langu
                                AND   kdgrp EQ ivbeln-kdgrp_auft.
          ENDON.
    For Retrieving texts for KVGR1 KVGR2 KVGR3 KVGR4 KVGR5
          ON CHANGE OF ivbeln-kvgr1.
            CLEAR : vtext.
            SELECT SINGLE bezei INTO vtext FROM tvv1t
                                           WHERE kvgr1 EQ ivbeln-kvgr1
                                                 AND spras EQ sy-langu.
          ENDON.
          ON CHANGE OF ivbeln-kvgr2.
            CLEAR :vtext2.
            SELECT SINGLE bezei INTO vtext2 FROM tvv2t
                                           WHERE kvgr2 EQ ivbeln-kvgr2
                                                 AND spras EQ sy-langu.
          ENDON.
          ON CHANGE OF ivbeln-kvgr3.
            CLEAR :vtext3.
            SELECT SINGLE bezei INTO vtext3 FROM tvv3t
                                           WHERE kvgr3 EQ ivbeln-kvgr3
                                                 AND spras EQ sy-langu.
          ENDON.
          ON CHANGE OF ivbeln-kvgr4.
            CLEAR :vtext4.
            SELECT SINGLE bezei INTO vtext4 FROM tvv4t
                                           WHERE kvgr4 EQ ivbeln-kvgr4
                                                 AND spras EQ sy-langu.
          ENDON.
          ON CHANGE OF ivbeln-kvgr5.
            CLEAR : vtext5.
            SELECT SINGLE bezei INTO vtext5 FROM tvv5t
                                           WHERE kvgr5 EQ ivbeln-kvgr5
                                                 AND spras EQ sy-langu.
          ENDON.
    Get the Description for Usage Indicator
          ON CHANGE OF ivbeln-abrvw.
            CLEAR : reasn.
            SELECT SINGLE bezei INTO reasn FROM tvlvt CLIENT SPECIFIED
                                           WHERE mandt = sy-mandt
                                                 AND abrvw EQ ivbeln-abrvw
                                                 AND spras EQ sy-langu.
          ENDON.
    Get Account Document
          ON CHANGE OF ivbeln-vbeln.
            CLEAR : belnr.
            SELECT SINGLE belnr INTO belnr FROM bkpf
                                     CLIENT SPECIFIED
                                           WHERE mandt = sy-mandt
                                             AND awtyp EQ 'VBRK'
                                             AND awkey EQ ivbeln-vbeln.
          ENDON.
    Get Division Text
          ON CHANGE OF ivbeln-spart.
            CLEAR : stext.
            SELECT SINGLE vtext INTO stext FROM tspat
                                           WHERE spart EQ ivbeln-spart
                                            AND spras EQ sy-langu.
          ENDON.
    Get Price group Text
          ON CHANGE OF ivbeln-konda.
            CLEAR : ptext.
            SELECT SINGLE vtext INTO ptext FROM t188t
                                           WHERE konda EQ ivbeln-konda
                                            AND spras EQ sy-langu.
          ENDON.
    Get Transporter Code ,Name
          ON CHANGE OF ivbeln-vbeln.
            CLEAR : lifnr,name1.
            SELECT SINGLE lifnr INTO lifnr FROM vbpa
                                           WHERE vbeln EQ ivbeln-vbeln
                                                 AND parvw EQ 'V1'.
            IF NOT lifnr IS INITIAL.
              SELECT SINGLE name1 FROM lfa1 INTO name1
                                            WHERE lifnr EQ lifnr.
            ENDIF.
    *Ship To party Details
            CLEAR: shpcd,shpnm,city1,kna1,xcpdk,adrnr.
            SELECT SINGLE kunnr xcpdk adrnr
                          INTO (shpcd,xcpdk,adrnr)
                          FROM vbpa
                          WHERE vbeln EQ ivbeln-vbeln
                                AND   parvw EQ 'WE'.
            IF NOT shpcd IS INITIAL.
              IF xcpdk EQ 'X'.
                SELECT SINGLE name1 city1 transpzone region country
                          FROM adrc
                          INTO (shpnm,city1,lzone,shreg,shlnd)
                              WHERE addrnumber EQ adrnr.
              ELSE.
                SELECT SINGLE name1 ort01 lzone regio land1
                          FROM kna1
                          CLIENT SPECIFIED
                          INTO (shpnm,city1,lzone,shreg,shlnd)
                              WHERE mandt = sy-mandt
                              AND kunnr EQ shpcd.
              ENDIF.
            ENDIF.
          ENDON.
    Retrieve Text for Sales Office
          ON CHANGE OF ivbeln-vkbur.
            CLEAR : vbezei.
            SELECT SINGLE bezei FROM tvkbt
                                INTO vbezei
                                WHERE spras EQ sy-langu
                                AND   vkbur EQ ivbeln-vkbur.
          ENDON.
    Retrieve Text for Industry Key
          ON CHANGE OF ivbeln-brsch.
            CLEAR : v_brtxt.
            SELECT SINGLE brtxt FROM t016t
                                INTO v_brtxt
                                WHERE spras EQ sy-langu
                                AND   brsch EQ ivbeln-brsch.
          ENDON.
    Retrieve Text for Payment Terms
          ON CHANGE OF ivbeln-zterm.
            CLEAR : v_ptext.
            SELECT SINGLE text1 FROM t052u
                                INTO v_ptext
                                WHERE spras EQ sy-langu
                                AND   zterm EQ ivbeln-zterm.
          ENDON.
    Get Material Type Description,Material Group Desc
          ON CHANGE OF ivbeln-mtart OR ivbeln-matkl.
            CLEAR : wgbez,mtbez.
            SELECT SINGLE wgbez FROM t023t
                               INTO wgbez
                               WHERE spras EQ sy-langu
                               AND   matkl EQ ivbeln-matkl.
            SELECT SINGLE mtbez FROM t134t
                                INTO mtbez
                                WHERE spras EQ sy-langu
                                AND   mtart EQ ivbeln-mtart.
          ENDON.
    Get Delivery doc Number.
          SELECT SINGLE vbeln erdat FROM vbfa INTO
                                    (mblnr,budat)
                                    WHERE vbelv = ivbeln-vgbel
                                    AND   posnv = ivbeln-vgpos
                                    AND    vbtyp_n = 'R'.
          CLEAR : exnum,exdat.
    Get the Excise Related Data
          SELECT SINGLE exnum exdat FROM j_1iexchdr CLIENT SPECIFIED
                                    INTO (exnum,exdat)
                                    WHERE  mandt = sy-mandt
                                           AND  trntyp = 'DLFC'
                                           AND  rdoc   = ivbeln-vbeln
                                           AND  rind   = 'N'
                                           AND  status = 'C'.
          IF sy-subrc = 0.
            SELECT SINGLE exbed ecs INTO (ivbeln-exbed,ivbeln-ecs)
                                    FROM j_1iexcdtl
                                    CLIENT SPECIFIED
                                          WHERE mandt = sy-mandt
                                            AND rdoc2 = ivbeln-vbeln
                                            AND ritem2 = ivbeln-posnr.
            IF sy-subrc NE 0.
              ivbeln-exbed = 0.
              CLEAR ivbeln-exnum.
            ENDIF.
          ENDIF.
    Read Characteristics
          IF NOT ichar[] IS INITIAL.
            PERFORM  read_characteristics   TABLES   ichar
                                            USING    ivbeln-we

    I have solved my query....

  • Need code for making shade for alternate row

    i want to show it my report's row as shade every other row.
    how to do it.
    thanks

    Duplicate Post!!!!
    You have already posted this query in the Reports forum and you have been given an answer.

  • How to shade properly in Illustrator?

    I'm trying to figure out how to shade a drawing in Illustrator in roughly the same way I would in Photoshop. Usually I would just select a surface with the magic wand, pick a brush and colour, and shade freehand. Simple!
    Well, that doesn't work in Illustrator! If I select a surface and pick a colour to shade with, it changes the base colour. Also, selecting a surface doesn't confine your shading within it; you can still paint outside the surface.
    I've watched a dozen tutorials on YouTube, but none of them answer my question. Their method of shading is completely impractical, since they draw the outline of the shading with the pen tool on a separate layer. That's not what I want. I'm using a segmented character for animation, so the shading is very strict.
    I just want to:
    - Select a surface and shade freehand.
    - Confine my shading to one surface like with Photoshop's magic wand.
    How do I do this?

    This is the most common of beginner fallacies: bringing completely erroneous assumptions that a program like Illustrator works like Photoshop. It doesn't. It's an entirely different world.
    Because this subject is so often repeated here, the following is intended as "open" advice to all (at least those with ears to hear); not as an affront to originator of this thread or anyone else. (I wish something at least conceptually like it were provided as an omnipresent FAQ or even required reading to which to direct newcomers.)
    (Apology for CAPS in the following. It's not in this case meant as yelling. I've used it in lieu of italics [for basic emphasis] because of bugs introduced yet again in the rich text editor of this forum.)
    When starting out with vector-based drawing program (any of them, not just Illustrator), you are far better off FORGETTING Photoshop. It's an entirely different process for entirely different purposes. And the differences are for good and legitimate reasons.
    I've watched a dozen tutorials on YouTube, but none of them answer my question.
    You're just making it harder on yourself. Diving into online "tutorials" posted all over the web by other Illustrator users IS NOT the way to get started. Such "tutorials" are created by other users of all levels of actual experience. The fact that the subject of a "tutorial" looks like something you want to do is absolutely no guarantee that its author is any more "expert" than you, nor that--even if he is--has enough technical writing skill or dilligence to accurately describe the process, nor that the process being described is even best practice in the first place. If I had a buck for every online Illustrator "tutorial" authored by relative beginners giving other beginners downright bad advice (blind leading the blind), I'd be richer than Adobe hopes to become by abusing its customers with a rent-only licensing scheme.
    The way to learn any software is to start with its official documentation. Read it start-to-finish, and work through every operation described as you go. There is no shortcut to this, and it IS the shortest path toward developing actual balanced proficiency. Don't trot out some bogus special case appeal like "I'm just not the type able to read documentation; I'm a 'visual' person," etc., etc., ad nauseam. If you can read posts in a user forum, you can also read the--yes, dry but at least RELIABLE--instructions in the provided documentation.
    Forget the self-proclaimed "expertise" of everybody-and-his-brother's online "tutorials." Buckle down with the provided documentation and use the program according to its instructions until you have a strong foundational understanding. Only then dink around with "clever tutorials" because only then will you at least have some discernment as to whether the "tutorial" is accurate, complete, or even best practice.
    The fundamental, bedrock, foundational difference between programs like Photoshop and programs like Illustrator boils down to this: There are TWO basic and very DIFFERENT kinds of computer graphics: Raster images and vector-based drawings. They are equally important. EVERY serious digital graphics producer should develop proficiency with BOTH. Think of them as two hemispheres of the entire graphics world. If you're only proficient with one, you are living blind to an entire half of your chosen endeavor world.
    Mainstream graphics programs produce graphics in either of two ways:
    By filling a rectangular area with an array (rows and columns) of color values, completely "dumb" to any idea of actual "shape" (raster imaging; Photoshop and similar programs).
    By describing actual shapes in terms of mathematical formulae (vector-based drawing; Illustrator and similar programs).
    Now, given that, wouldn't you EXPECT those two classes of graphics programs to work differently? Like it or not, they do and they SHOULD. One is not inherently more difficult than the other. Like anything else, it's a matter of first grasping the underlying concepts involved and then developing familiarity with the tool. You wouldn't expect English literature to be learned and executed in the same way one learns and executes algebra. You don't roof a house with the same tools or by the same methods used to paint it.
    So set aside your initial frustration because it IS generally-speaking invalid (despite Illustrator's worst-of-class vector drawing interface). Don't condemn something for which you don't yet possess even the most basic conceptual understating because any assumption that you understand ANYTHING basic about Illustrator on the basis that you understand the basics of Photoshop is wrong. The two exist as separate programs for FUNCTIONAL REASONS, not just to provide some "alternative preference" for doing the same things.
    I'm trying to figure out how to shade a drawing in Illustrator in roughly the same way I would in Photoshop.
    Vector-based drawing programs are inherently OBJECT-BASED by nature. A vector drawing is essentially a stack of any number of discrete, individual, independent OBJECTS. Each object may be a path (mathematically defined shape), a raster image, or a live text object . By contrast, when you work in a program like Photoshop, you are basically engaged in creating just one SINGLE object (a raster image).
    Because vector paths are mathematically-defined OBJECTS, things like color and gradients and effects are ASSIGNED TO them as attributes and commands. This is entirely different from merely re-coloring pixels (which are not discrete objects, but mere color values in the single rectangular array), which is all you're really doing when you "color something" in a raster imaging program. There's no "someTHING" to color; there's just a subset of the color values to alter.
    If I select a surface,...
    As you read and work through a program's provided documentation, pay attention to the terminology and force yourself  to use that terminology when discussing it with others. "Surface" doesn't really mean anything in Illustrator (except perhaps generically in reference to its 3D Effect), just as "Node" means something clearly defined in CorelDraw, but not in Illustrator.
    ...and pick a colour to shade with...
    By the same token, when asking questions avoid making up your own language to describe what you're doing. "Pick a color to shade with" makes sense to you, but is ambiguous in the context of Illustrator; it can be interpreted as your doing any of several things in multiple very different ways. Always state what you are doing in tool-by-tool, command-by-command, click-by-click ordered sequence --again, always using the program's terminology.
    Don't apologize for being a beginner. (We all started as beginners, and It will be obvious in your question if you are one anyway.) On the other hand, also don't appeal for special treatment for being a beginner. It's not an excuse for at least trying to use the program's terminology, because you have the same access to the provided documentation as everyone else did when they were beginners.
    Their [tutorials'] method of shading is completely impractical...since they draw the outline of the shading with the pen tool on a separate layer. That's not what I want. I'm using a segmented character for animation, so the shading is very strict
    Don't assume that the methods employed for one kind of drawing problem are "impractical" or "inferior" just on the basis that they're not best for your specific use. You can easily embarrass yourself with such assumed "superiority" when you find out that you're failing to understand the most basic things about the program. And don't assume that your use is inherently "more advanced" than someone else's, for example like the attitude frequently exhibited by users of 3D modeling programs who assume the "technical sophistication" and "complexity" of a third dimension (egads!) must surely render the use of a merely 2D program brain-dead simple. Their own assumption of "this has to be simple compared to what I already understand" becomes their own insurmountable stumbling block in learning.)
    JET

  • Can one choose the automatic colour change to an htnl link after using it to make it more obviously changed (currently two similar shades of blue)

    having performed a search and visited a paticular web page produced by that search, the colour of the link changes and if found again in another search you know it has already been visited.
    In many cases the change is from one shade of blue to another very similar shade of blue and it is very difficult to distinguish between them. An example would be at http://www.archive.org/advancedsearch.php?q=(parish%20registers).
    Can this colour change be edited to something much more easily recognised?

    I had the same issue and resolved it
    I first remove the prefs folder and the plist files for illustrator in ~/Libary
    next I logged off,
    then I uninstalled illustrator using the adobe uninstaller(http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html)
    Next I reinstall illstrator
    after that it worked for me.

  • [svn] 4159: Enhancement SDK-18016 - updating mxmlc' s Embed functionality to recognize .pbj files as precompiled Shader files.

    Revision: 4159
    Author: [email protected]
    Date: 2008-11-21 13:06:29 -0800 (Fri, 21 Nov 2008)
    Log Message:
    Enhancement SDK-18016 - updating mxmlc's Embed functionality to recognize .pbj files as precompiled Shader files. This change still retains the old octet stream MIME type mapping to a ByteArray based class, but this change removes the hoop you have to jump through to embed a Shader. The new Embed usage should simply be as follows:
    [Embed(source="TubeView.pbj")]
    private var TubeViewClass:Class; //Subclass of flash.display.Shader
    Also updating Embed MIME types to recognize .dfont files since these are supported by CFFFontManager.
    Finally, updating FXG TextGraphic -> SymbolClass to use a simple FlexSprite instead of a Group. TextGraphic should now render at the right depth among SWF graphics primitives when compile time optimized FXG is used.
    QE: Yes
    Doc: If we've documented embedding .pbj, this is a simpler approach and represents a slight change in syntax.
    Checkintests: Pass
    Reviewer: Corey (Note he said he'll update ShaderFilter with a new property to accept a shader directly in a future check-in).
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18016
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/TextFXGGraphics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/TextHelper.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/DataTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/PBJTranscoder.java

  • Purchased ringtone  iphone 4 that is not in my itunes library when i click transfer purchases from it appears in the tones library but in a paler shade of print with a dotted circle to the left of it when i take any action it disappears

    have purchased ringtone on iphone 4 not in my itunes library when i click devices, transfer purchases from, it appears in tones in my library but in a paler shade of print with a dotted circle to the left of it, if i try to click on it or take any other action it disappears and leave a blank space i have tried this several time i want to transfer library to my new iphone 5 but i will loose the ringtone

    I had the exact same issue!! Seriously p*ssed me off when I checked out my ITunes purchased items (via my computer) and noticed that most of the additional tracks listed on my IPhone playlist was listed there too. However, I never authorized any purchases!!  (I have actually written Apple Support asking for a full refund of all tracks listed on my purchased list)
    Be careful when you swipe your finger to the left/right on those "additional" tracks on your IPhone playlist... I'm pretty sure that the cloud symbol is an option to download or automatically buy those tracks.
    Solution for the problem:
    1 - go to your IPhone settings
    2 - choose "iTunes & App Store"
    3 - go to "Show All" & "Music"
    4 - turn off "Music" by moving the bar to the left (it should be a white color once you turn it off)
    Should solve your problem :~)

  • Unable to shade a cell in template sap 4.6C

    Hi All,
    I am using the version SAP 4.6C.
    I  am unable to shade cell in template.i got message 'Boxes and Shading not allowed in within the table'.
    But able to shade a cell in templete from SAP 5.0 onwards.
    Please suggest how can we resolve this issue.
    Thanks
    Sitaram

    Yes u can not shade cells in template in 4.6 so what u can do is the cell that u want to shadeuse a text element and give it shading and use it out of templateu can use templates above and below this element but for the cell u want to shade keep it out of template and give shade to the elemnt

Maybe you are looking for