VA02: protect a line in condition screen depending on a type condition

Hi all,
I need to protect a line in condition screen depending on a type condition
using the transaction VA02.
Does anybody know the user-exit to do this ?
I thank you in advance.
Best Regards.
Paolo

Hi,
I believe you cannot do it on condition basis...unless if you want to modify standard sap code.
In the condition type config V/06..In the "changes which can be made" section there is an input for manual entries...there you can give D to not allow to change the condition ...
Thanks
Naren

Similar Messages

  • Executing SCVMM PowerShell scripts via C# conditionally works depending on application type

    I suspect that this is the wrong forum but I could not find one that was appropriate.
    The environment is SCVMM 2012 R2. I have a series of PowerShell scripts that are executed via C# code from a variety of applications -- MVC, WCF, console, unit tests. It seems that successful connection to the VMM server is dependent on the type of application
    being used. For example, console apps and WCF apps can connect successfully but the
    same code running in a unit test or standard MVC app throw the following exception:
    {You cannot access VMM management server SC-01. (Error ID: 1604)
    Contact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again.}
        CategoryInfo: {ReadError: (:) [Get-SCVirtualMachine], CarmineException}
        ErrorDetails: {You cannot access VMM management server SC-01. (Error ID: 1604)
    Contact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again.}
        Exception: {"You cannot access VMM management server SC-01.\r\nContact the Virtual Machine Manager administrator to verify that your account is a member of a valid user role and then try the operation again."}
        FullyQualifiedErrorId: "1604,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetVMCmdlet"
        InvocationInfo: Command = {Get-SCVirtualMachine}
        PipelineIterationInfo: Count = 0
        ScriptStackTrace: "at <ScriptBlock>, <No file>: line 1"
        TargetObject: null
    I suspect that somehow, each app is running under different credentials but I cannot see how that is possible. Each app exhibits the stated behavior whether running within Visual Studio (w/ IIS Express) [running under my own account] or published to the
    server running under a specific specified account that definitely has permissions to the VMM environment.
    This behavior is easily reproducible with the following code
    -- PS Script as embedded resource
    Get-SCVirtualMachine -VMMServer "SC-01"
    -- C# code to load and execute script
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Management.Automation;
    namespace LabManagement {
    public class HyperVVirtualMachineManager {
    public IEnumerable<Models.VirtualMachine> GetVirtualMachines() {
    var vms = new List<Models.VirtualMachine>();
    try {
    using (var rs = System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace()) {
    rs.Open();
    using (var ps = PowerShell.Create()) {
    ps.Runspace = rs;
    var assembly = System.Reflection.Assembly.GetExecutingAssembly();
    var scriptName = "LabManagement.Scripts.GetAllVirtualMachines.ps1";
    using (var s = assembly.GetManifestResourceStream(scriptName)) {
    using (var reader = new System.IO.StreamReader(s)) {
    var script = reader.ReadToEnd();
    ps.AddScript(script);
    var output = ps.Invoke();
    if (ps.Streams.Error.Count > 0) {
    foreach (var item in ps.Streams.Error) {
    // do something
    if (output.Count > 0) {
    foreach (var o in output) {
    // do something
    rs.Close();
    catch (RuntimeException ex) {
    // do something
    return vms;
    -- Console app (Success)
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace VirtualLabManagement.ConsoleTests {
    class Program {
    static void Main(string[] args) {
    // Arrange
    var svc = new LabManagement.HyperVVirtualMachineManager();
    // Act
    var hosts = svc.GetVirtualMachines();
    // Assert
    -- Unit Test (Fails)
    [TestMethod]
    public void TestMethod1() {
    // Arrange
    var svc = new LabManagement.HyperVVirtualMachineManager();
    // Act
    var hosts = svc.GetVirtualMachines();
    // Assert
    Assert.IsNull(hosts);
    As you can see, the code is exactly the same between the different executions but the ability to connect differs.

    Hi Sir,
    I would like to check the following items:
    1. "a variety of applications -- MVC, WCF, console, unit tests." they are all installed on same computer?
    2. VMM server still installed on same computer as these app resides in ?
    (if it is possible please detail the topology of the environment )
    If they are running at same account on same computer , I would suggest you to post this issue into Code UI forum for further assistance :
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vstest
    Best Regards,
    Elton JI
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Appear flashing line on the screen during work

    I bought Macbook Air since 1st July 14. I found the flash line appear on screen during work but it's just shot line at the first and It appears just few secs. So I thought it's not too serious to me. Till now the line is seem more longer and appear frequently. Then I decide to take it to Service centre. They said my screen is not in its position. It's just a bit, If you don't look at it exactly, you won't notice it. I don't know what happen. It's usually as it was on fist day I bought it, never be fallen it. It's still in the good condition.  They fixed my problem by re-fit my screen but after I use it again I still found that flash line. what should I do? Now my air got the scratch on the screen edge from re-fitted it.  I really disappoint.

    I'm assuming by "flash line" you mean there's a horizontal or vertical line randomly appearing on your screen? If that's the case I've seen that on laptops before. If its an intermittent issue try to move the screen forwards and backwards on its hinge to see if you can find one spot where that line almost always appears. You should have an issue with the cable connection to the main logic board, or the cable itself could be malfunctioning.
    Also what exactly did they do when they "re-fit" your screen? Did they simple check the connectors, or actually dissemble the computer and resemble it? Either way if a cable is bad then it wouldn't have made a difference. You may be looking at a warranty replacement solution on this one.

  • PIR net price not follow the condition screen

    Hi all,
    I have a question regarding my pricing condition maintained in a PIR.
    In one of my PIR record, there is two validity line records in the pricing condition with the following date range and value:
    1 - 2008.04.01 to 2010.12.31 ==> PB00 is USD853,00/1 PC
    2 - 2011.01.01 to 2999.12.31 ==> PB00 is USD853,00/1 PC
    However, the strange thing is that in the Purchasing Org screen in the PIR, the NET price value is "879,00 per 1pc" even with the VALID-TO field value as "2999.12.31".
    May I know why the the Net price in this view not picking up the USD853? Something go wrong in the PIR?
    (in between the Pr Date Category is 2-delivery date).
    Please help.
    tuff

    Hi Jurgen,
    I am still a little bit confuse as of why in the Purchasing Org screen in the PIR, the NET price value is "879,00 per 1pc" even with the VALID-TO field value as "2999.12.31".
    Question1-
    Shouldn't the above field automatically pick-up what is maintained in the condition screen of the most latest pricing record which is the USD853,00 for the second line item I described previously?
    Question2 -
    What have caused the 879,00 being inserted into the Purchasing Org screen in the PIR, the NET price field? where is this USD879,00 coming from??
    Thanks and please help.
    Tuff

  • Condition AZWR Not appearing on billing condition screen

    Hi,
    While creating the partial milestone biling, on the second line item I am not able to change the value of AZWR condition in billing screen.
    Biiling condition screen has greyed out & AZWR value is not showing on the condition screen. Does it has any correlation with FI setting?
    Although AZWR is manual in the pricing procedure.It has all required setting there like calculation type 48 and it's placed correctly in the pricing procedure.
    I need immediate help on this.
    Regards
    Suman

    you need to do price analysis in your invoice (run VF03)
    check your cond.type in V/06 and cond. record in VK*
    do you update pricing in copying control (there should be "B")?

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Thin vertical lines appearing on screen, since wakeup from sleep mode.

    My Mac G5, 2GHz, DVD-R, 1GB DDR RAM, OSX 10.4.10, ATI RADEON X800 XT has recently developed a display issue. On start-up the screen shows vertical lines across the entire screen. The colors of theses lines is varying from green to black, depending of the background color. The lines are appearing from the grey loading screen and when a profile is logged in.
    Shutting down and restarting doesn't cure the problem, nor does staring in safe mode nor starting up from an install CD. I also tried re-installing the operating system, but I get the same result. I tried another monitor but I also get the lines on screen. I verified all the cables and that the graphic card is well in place in the pci slot.
    If I change the resolution, I also get thoses lines but they change place on screen. Also, if I set the colors level to 256 colors, I get very little single lines but If I set the color level to the highest (36,7 Millions), the lines appears in group of 5+ and are all over the screen.
    I tried taking a screenshot using the shortcut cmd-shift-3 and I can see the line in the pictures. Also, if I take a screenshot of a window that is behind the window in the front ( using cmd-shift-4-space ), I dont see the line on the screen shot.
    I started to have this problem when my mac was woke up from sleep mode and the problem has persisted since then.
    I guess my problem is the graphic card but I would like an external opinion before I got buy another one.
    Thanks

    Any new results?
    I'm having the same issue. Looks like this, but at a slight angle and different RGB colors (almost like JPG artifacting).
    Started this evening after a cold boot. I just put my X800 XT Mac G5 edition in 2 weeks ago. No real heavy use either, as I've been gone for a week.
    Looks to me like bad VRAM (according to TechTool Deluxe). I'm running the AHT now and will hopefully come to a final conclusion soon. I did test my 20" Apple monitor (DVI) with my laptop and there was no problem...so it is definitely the video card. Not sure if the aforementioned ATI ROM extender will fix it or not.
    Much luck to all of us who are having this problem.

  • Defining Selection-Screen Depending on Client

    Good Morning,
    I need to hide one parameter from my selection-screen depending on sy-mandt.
    Is it possible? If yes, can anyone show an example?
    Regards,
    Pedro Gaspar

    hi
    u can put ur fields in a block sepicific for a particular client.
    u check the mandt and display the corresponding block while hiding the others.
    check this sample code:
    TABLES: eban,
            SSCRFIELDS.
    SELECTION-SCREEN BEGIN OF SCREEN 100 TITLE title.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETER:rad1 RADIOBUTTON GROUP rad USER-COMMAND frad1 DEFAULT 'X',
              rad2 RADIOBUTTON GROUP rad .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETER: mtr AS CHECKBOX MODIF ID g3 USER-COMMAND chk1,
               p_matnr TYPE eban-matnr MODIF ID g1,
               sloc AS CHECKBOX MODIF ID g3 USER-COMMAND chk2,
               str_loc TYPE eban-lgort MODIF ID g4.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    SELECT-OPTIONS: matnr1 FOR eban-matnr MODIF ID g2.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN PUSHBUTTON /20(10) name USER-COMMAND UCOM.
    SELECTION-SCREEN END OF SCREEN 100.
    name = 'FETCH'.
    title = 'Test Report'.
    CALL SELECTION-SCREEN '100'.
    TYPE-POOLS slis.
    declaration of internal tables and work areas to be used
    DATA: BEGIN OF it_pr OCCURS 0,
          banfn TYPE eban-banfn,
          bnfpo TYPE eban-bnfpo,
          loekz TYPE eban-loekz,
          statu TYPE eban-statu,
          ekgrp TYPE eban-ekgrp,
          matnr TYPE eban-matnr,
          werks TYPE eban-werks,
          lgort TYPE eban-lgort,
          preis TYPE eban-preis,
          peinh TYPE eban-peinh,
          END OF it_pr.
    DATA: BEGIN OF it_mat OCCURS 0,
          matnr TYPE eban-matnr,
          END OF it_mat.
    *DATA:BEGIN OF ITAB1 OCCURS 0,
      DATA: l_answer.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
          wa_fieldcat LIKE LINE OF it_fieldcat,
          it_event TYPE slis_t_event,
          wa_event TYPE slis_alv_event.
    declaration of variables to be used
    DATA: r_ucomm TYPE sy-ucomm,
          mat_no TYPE eban-matnr,
          len TYPE i VALUE 1,
          count TYPE i VALUE IS INITIAL,
          iflag TYPE i VALUE IS INITIAL,
          iflag1 TYPE i VALUE 0.
    DATA :pr_id TYPE sy-repid,
    rt_extab TYPE slis_t_extab.
    INITIALIZATION.
      pr_id = sy-repid.
    AT SELECTION-SCREEN OUTPUT.
    <b>  IF rad1 = 'X' AND SY-MANDT = <client 1></b>
        LOOP AT SCREEN.
          IF screen-group1 = 'G1' OR screen-group1 = 'G4'.
            screen-active = '1'.
            screen-input = 0.
          ELSEIF screen-group1 = 'G2'.
            screen-active = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      <b>ELSEIF rad2 = 'X'  and sy-mandt = <client 1></b>
        LOOP AT SCREEN.
          IF screen-group1 = 'G1'  OR screen-group1 = 'G4' OR screen-group1 = 'G3' OR screen-group1 = 'G5'.
            screen-active = '0'.
          ELSEIF screen-group1 = 'G2'.
            screen-active = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF mtr = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G1'.
            screen-input = 1 .
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF sloc = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'G4'.
            screen-input = 1 .
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    clear sy-ucomm.
    iflag = 1.
    endif.
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Activate Button in Header Conditions Screen

    Hello,
      Can somebody tell me the purpose of 'Activate' button in Header Conditions Screen of Purchase Order (Trasaction ME22N)?
    Thanks for your help.
    Venu

    Hi venu,
    generally condition types are three types,
    these are specified  when you are defining the condition types in configuration
    Header condition
    item condition
    Group condition
    1 ) header condition applied for all line items,
    which in form of percentage or fixed amount,
    if it is % applicable that % for all items,
    if it fixed distributed among the items with their values
    eg : fixed amount is 500,
    3 items are 2000,2000,1000,
    distributed like 200,200,100,
    important thing is its not possible to give the access sequence for header condition
    2 ) item condition:applicable individually for items,
      can give the access sequence to that
    3 ) group condition :
    this relates to several conditions,
    in thecase of group conditionthe values of the relevant items are added and total used as the condition base,
    this is flexible for scales,
    if this useful reward points
    rgds
    lakshmi Reddy

  • Ipod Touch, black line on the screen

    Hello.
    I recently went on holiday to Corfu. I took my ipod with me, and while there, noticed one day that it had developed a black line across the screen. Even when turned off, you can still see it.
    It doesn't effect the touch screen from working, it just doesn't look so good.
    Is there a way to fix this?
    Thanks

    You may want to remove the Invisible Shield from the unit before taking it to the Apple Store. If they end up giving you a new touch, they likely won't replace/reimburse you for the Shield. If you have the Shield removed, at least you stand a chance in getting it replaced by sending it back to Zagg (you need to send your original Shield back to them to get a replacement). You can just send it back as being damaged and should get a brand new replacement which you can then use on the new touch. You cannot re-apply an already used Shield.
    Tip: if you get a new touch and are waiting for a replacement Shield, keep the original protective plastic film on the touch until you get the Shield. I'm sure you know that the back of the touch will get scratched if you even look at it the wrong way.

  • Horizontal White Line Right Across Screen iPod Classic 120GB

    I bought an Apple iPod Classic 120GB 14 months ago. I have looked after it very carefully (it hasn't even left the house) and only used it sparingly. Last week an annoying horizontal white line appeared right across the screen. I have tried all the recommended including resetting it.
    Having trawled the internet forums and asked at my local Apple franchise dealer this seems to be a common fault with the screen hardware. I gather I can expect more line to appear over the next few weeks. I followed Apple's online repair procedure and once I ticked the box for 'screen problem' there is another drop down box with about 4 options. One of these refers to horizontal or vertical lines across the screen so Apple must be aware of this fault. At the next stage I was advised that I must pay approx £95 before the iPod could be repaired or replaced.
    I subsequently phoned their Customer Services Department in India to ask why I was being charged so much for what was clearly a manufacturing fault and was told that they had no authority to offer discounts for repairs. Having asked to speak to someone who could help I was put through to Apple in Ireland.
    The person I spoke to again repeated that Apple would only repair the iPod if I paid £95. He claimed it was a very rare problem but they were aware of it. I suggested that if this was true, surely they would want to replace or repair the iPod free of charge or at least for a reasonable price. The answer to this was no. I asked how long they expected iPods to last as 14 months did not seem very long. He said that he couldn't answer my question. I would have thought that it was reasonable to expect a life cycle of nearer 5 years for an high quality mp3 player. I feel that if an iPod fails after only 14 months it is hardly fit for purpose.
    Has anyone else experienced this?

    this is the exact same problem as mine (mine is classic 80GB) :[
    it started happening out of nowhere, for no reason too. it happened 10 days ago, and ive had it for 2 years 3 months
    in addition to the line across my screen, there are some scattered dots above it that move around everytime i turn off my ipod and turn it back on, which is really odd and at first funny but now just very sad.
    please please tell me if you find a solution (minus the huge fix cost), and/or email me at [email protected]

  • Satellite P100-286 - Vertical lines on the screen and constant reboots

    I got this P100-286 with Nvidia Geforce Go 7900 GS and recently the laptop started freezing with vertical lines on the screen tried different options even tried recovery cd to re-install and after installation it started doing the same. I have read similar problems in the forum and is this a common problem with Toshiba? I have spend 1500 on this and it is only 3 years old. My friends have laptops older than this almost 6 years and in good working condition.
    Is there any solution or suggestion for this problem? The heat on the base of the laptop is really hot and it is like this for ages.
    Any help is really appreciated after spending this much would like to last longer or it is a realibility issue with Toshiba brand.

    It is happening in BIOS and even tried ubuntu on a boot cd and still having the same problem. I took to a PC servicing center they immediatly said it is a graphics card problem. The lines are comming in an external display as well. If you search in this forum you will see similar issues is reported by another user. I do think it is a genuine problem. The graphics chip is on board and it cost a lot to replace it that is what I been told.
    some link pointing to this type of issues
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=42897
    http://forums.toshiba.com/t5/Drivers-and-Utilities/Satellite-P100-screen-driver-issues/td-p/94671
    or in google search for "toshiba p100 video freezing"

  • Qosmio F30-117 - green and blue lines on the screen

    So my F30-117 has been working well recently until I turned it on and had green and blue lines (sort of like scan lines) overlapping the screen.
    I tried to install new drivers from nvidia, but that didn't work, as Vista just picked them up as unknown.
    Anyone got a solution? Do you think the graphics card needs to be reseated?
    Thanks in advance!
    - Shayde Zehetbauer.

    You can easy determine what the reason is for this.
    Do you know how?
    Just connect an external monitor to the notebook and check the picture on it.
    If you have the same issue on the external monitor the reason is the graphic card and/or mainboard, if not its an internal display issue.
    Check this!
    Furthermore you should only use the drivers from Toshiba. The Nvidia drivers dont have an overheat protection so the graphic chip could be damaged. Its on your own risk.
    So try to install the drivers from Toshiba.

  • I have purchased a movie and it has downloaded.   Next, I get a screen the says Terms and Conditions. It says to click Agree but I. Can not find Agree anywhere in the document.  how do I move forward and access the movie?

    I have purchased a movie and downloaded it. Next I get a screen that says Terms and Conditions and tells me to read and click on Agree. I cannot find the Agree anywhere in the document.  How do I move on and view the movie?

    Go to Settings>General>Usage. How much space does it show you have?
    If you connect your phone to your computer, what does iTunes say is on your phone? Do you see a large amount of "Other"? If so, you may have a corrupted database. You'll need to sync your phone then restore it as NEW (not from back up) then re-sync your data).

  • I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please

    I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has been happening for a while and i've tried everything but it doesn't work.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

Maybe you are looking for

  • Toshiba Regza 47" LCD via VGA adapter

    I'm plug the Mac into the TV via the PC VGA connection. I can see the video picture while the computer turns on but after it's on I get unsupported video signal on the screen. Any suggestins?

  • Integration of ESS Portal and SAP

    Hi, Project Systems report  RPSISKB000 - Capacity Requirements Overview  (t-code CN50N) is a report works correctly when analyzing time that was entered via the R/3 GUI in transaction CAT2 u2013 Time Sheet: Maintain Times.  However, when executing ag

  • [SOLVED] flightgear crashes with segmentation fault

    on startup: creating 3D noise texture... Segmentation fault what can I do? Last edited by miro279 (2011-05-05 07:51:18)

  • Apple photostream.exe a cessé de fonctionner

    Hello, I have installed Icloud a few months ago and everything was working. Since a few days, I have a message from windows whenever I open my computer that Photostream.exe doesn't work anymore. I didn't do anything on the computer. Would you know wh

  • L850 Battery can't use

    Hi there.  I'm currently using Toshiba Satellite L850 and faced some serious battery problem. My computer can't switch on when only with battery. When I put on the AC sources with battery, the orange light is blinking and computer shows that the batt