Gray (only display) in base condition value column VF01

We have Manual conditions for discount, the problem its that if in a new empty row you add the Condition Type (Cn Ty) and an amount in the condition value column, SAP will take it without doing any check (like in the Amount Column).
So I require to gray out the condition value column (KOMV-KWERT) just like the column on the right (KOMV-KWERT_K) so no value can be entered this way for 2 discount conditions we use.
I understand that some code in USEREXIT_FIELD_MODIFICATION  may do this, anyone has experience on this?
Best Regards,
Carlos

I hope I understood your question properly.
I assume you know how it works in the condition tab. When you enter condition type and enter the value. It will multiply the value with the number of material you entered in the sales order, and place the value in the condition value column.
When you have manual condition discount condition it means you enter the value manually. If it is percentage basis it will calculate on the price (for instance PR00). If you do not want to enter it as manual the easy solution would be to uncheck the manual check box in the pricing procedure that you use V/08 and if you want to generate automatic values as you might know, create condition records for this condition type in VK11.
For any particular you want to leave it as manual but to make it grayed out, as you already knew you can do it with user exit or another way with user exit would be, order can be blocked if there some changes done manually and later someone with proper authorization can approve the change and release it.

Similar Messages

  • Protect Condition Value Column in VA01

    I have a security problem on my sales orders: If somebody adds a line and enters the discount Z condition and some number on the value column, SAP updates the Order without going thru the regular checks of discount limit which it does on the amount column.
    What I want is to put an if to check if the Amount column its 0, to delete the number on the condition value column, I have tried with ' ' but the value turns to cero and it does not show an error.
    Here its the code:
    IF xkomv-kbetr = 0.
            MOVE '' TO xkomv-kwert .
            MODIFY xkomv INDEX sy-tabix.
        ENDIF.
    Regards,
    Carlos
    Edit: or if somebody knows how to make screen input = 0 (gray) for the Value Column that would be great.
    Edited by: Carlos Salazar on Jul 9, 2010 4:09 PM

    turns out 0 its correct as it will not get saved.

  • Why "condition value column" is there 2times in sales order under condition

    Hi Friends,
    Can any one say that why "condition value column" is there 2 times under condition tab  in sales order and in which scenario it will be useful.
    Thanks in advance
    JM.

    Hi JM,
    Suppose you r using conduction XYZ ok for that xyz conduction one access sequence is maintain for example AOO1 ok now just go in V/07 tcode for access sequence select your access sequence AOO1 from given option go inside one exclusion indicator is their make sure it is market tick for all access  
    If u r not clear.
    U r always welcome to ask question.
    Ahmed

  • How to access/display custom pricing condition values in the webshop (eg. o

    Hello,
    we are using B2B with IPC-pricing, using our own pricing conditions. Calculation of the prices works fine (can be verified when enabling the price analysis link).
    Now we need to show some of these own pricing condition's values (not the ones available in the salesdocument header/item like getNetValue, getTaxValue,..) in the shopping basket (order.jsp).
    How can we achieve this (eg. get the IPC to transfer these values back to the shop or read them somewhere)?
    Thanks for any hint
    Kind regards,
    Manuel

    Hi all,
    We've found the solution according to the post from Rajinikanth G and Sateesh Chandra (http://scn.sap.com/thread/2046477). That will work (return any pricing information/details like custom pricing conditions, subtotal1 - 6 etc. as in pricing analysis) for order.jsp (display shopping basket), order_change.jsp and orderstatusdetail.jsp (display order), but not for confirm.jsp (order confirmation / print order).
    <%@ page import="com.sap.isa.businessobject.header.HeaderSalesDocument" %>
    <%@ page import="com.sap.isa.businessobject.ipc.IPCBOManager" %>
    <%@ page import="com.sap.isa.core.UserSessionData" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCClient" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCDocument" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCException" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCItem" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCPricingCondition" %>
    <%@ page import="com.sap.spc.remote.client.object.IPCPricingConditionSet" %>
    <%
       String priHdrCondTxt = "";
       String priItmCondTxt = ""; 
       HeaderSalesDocument hsDoc = ui.header;
       UserSessionData usd = UserSessionData.getUserSessionData(request.getSession());
       IPCBOManager ibom = (IPCBOManager) usd.getBOM(IPCBOManager.NAME);      
       IPCClient ipcClient= ibom.getIPCClient();
       if (ipcClient == null)
           ipcClient = ibom.createIPCClientUsingConnection(hsDoc.getIpcConnectionKey());
       ipcClient.getIPCSession().setCacheDirty(); // important to get the correct data
       ipcClient.getIPCSession().syncWithServer(); // important to get the correct data
       IPCDocument ipcDocument = ipcClient.getIPCDocument(hsDoc.getIpcDocumentId().getIdAsString()); //getIpcDocumentId: null without setCacheDirty and syncWithServer
       try{
           // Header
           priHdrCondTxt += "<br>------HEADER--------";
           IPCPricingConditionSet hPriCondSet = ipcDocument.getPricingConditions();
           IPCPricingCondition[] hPriCond = hPriCondSet.getPricingConditions();
           for(int i=0; i<hPriCond.length; i++)
               priHdrCondTxt += hPriCond[i].getConditionTypeName() + "(" + hPriCond[i].getDescription() + ")" + hPriCond[i].getConditionValue() + " //<br>";
           //Item
           IPCItem[] ipcItems = ipcDocument.getItems();
           for(int i=0; i<ipcItems.length; i++)
               priItmCondTxt += "<br>------ITEM--------";
               IPCPricingConditionSet iPriCondSet = ipcItems[i].getPricingConditions();
               IPCPricingCondition[] iPriCond = iPriCondSet.getPricingConditions();
               for(int x=0; x<iPriCond.length; x++)
                   priItmCondTxt += iPriCond[x].getConditionTypeName() + "(" + iPriCond[x].getDescription() + ")" + iPriCond[x].getConditionValue() + " //<br>";
       }catch(IPCException e) {
       %>
       <%=priHdrCondTxt%><br>
       <%=priItmCondTxt%>
    In confirm.jsp there is no IPC-document available (<HeaderSalesDoc>.getIpcDocumentId()/getIpcConnectionKey() are null). Also BOM -> getBasket()/getOrder()/getCustomerOrder()/getQuotation() are empty. Here we've transferred the necessary pricing informations from basket to confirmation through the UserSessionData.
    Set data in order.jsp:
    <%
       String itemId = "Item-" + item.getProductId() + "SomeValue";
       HashMap pricesForConfirm = new HashMap();
       pricesForConfirm.put("Header-SomeValue", "Val1");
       pricesForConfirm.put(itemId, "Val2");
       UserSessionData usd = UserSessionData.getUserSessionData(request.getSession());
       usd.setAttribute("pricesForConfirm", pricesForConfirm);
    %>
    Show data in confirm.jsp:
    <%
    String itemId = "Item-" + item.getProductId() + "SomeValue";
    UserSessionData usd = UserSessionData.getUserSessionData(request.getSession());
    HashMap pricesForConfirm = (HashMap) usd.getAttribute("pricesForConfirm");
    s2 += pricesForConfirm.get("Header-SomeValue");
    s2 += pricesForConfirm.get(itemId);
    %>
    That whole solution does work fine also when pricing analysis is disabled in XCM. (Note that we've enabled "doItemCalls" in backendobject-config.xml according to note https://service.sap.com/sap/support/notes/1004533, but we did not use the ExtensionData-mechanism to transfer data from/to ABAP, because that would need changes on ABAP- (to fetch and fill) and Java-side (to read and display) and because we could not find/access relevant pricing information from IPC at the time the BAdI is called. Also the BAdI CRM_ISA_HDR_PRICING mentioned in the note does apply for the web catalog. We've used that to give IPC more information to calculate the netValue using additional pricing conditions for the catalog.)
    We've also implemented note https://service.sap.com/sap/support/notes/892761 to show a different price (eg. grossValue) in the mini basket (total items and price in basket).
    If there's a need to display a different price in the catalog, there note https://service.sap.com/sap/support/notes/1022962 could be implemented.

  • Restrict display of Condition Value in the Conditions tab in Purchase Order

    Dear All,
    We have a requirement that in the Conditions tab the condition value column should be displayed as blank to users other than those related to Purchasing and Costing.
    I have checked that there are no standard authorization objects to restrict these.
    Any inputs on how to achieve this?
    Thanks!
    Tejasav

    Hi,
    you can influence fields using BADI ME_PROCESS_PO_CUST. I don't think that you can disable just your field but you should be able to hide whole tab "Conditions". So you can perform your own authorization check in implementation of this BADI and then display or hide tab.
    Cheers

  • Pricing amount and condition value in sales order

    Hi all,
    I have noticed for a sales order we are not able to see condition type amount, condition value in sales order even though it shows net price finaly ofr a sales order. Not even able to select the condition lines.
    To be specific not able to find value in field KBETR  - amount column and KWERT - condition value column
    When we go to sales order line item and select condition tab, do see value displayed in Amount and Condition column. Is there are specific reason it is doing visa vis in our production we see both values.
    Advise what could be the reason value not getting displayed in Amount and Condition value column.
    thanks

    It is due to auth for specific columns we have solved the problem.

  • Condition value is not displaying in sales order

    Hi Friends,
    when i am creating sales order, condition type(JEXP,JECP,JA1X..) is displaying in cond.type column and percentage(14%,2%,1%) is displaying in amount column and
    the condition value is not displaying in cond. value column in conitions tab of  sales order.
    In analysis it is showing as condition record found...
    please help me...
    with regards

    Hi,
    can it be that you have a problem with units of measure? Often, if there is no value in Condition value, the problem is in the master data of material. Did you use standard schema? If you not, have you tried it with standard schema? What is your value under "per" and "UoM"?
    Regards Thomas

  • Can bind a LONG value only for insert into a LONG column

    I got an exception when I was using sesame adapter to dump a turtle file which contains long texts as objects into oracle semantic database. The exception information is:
    org.openrdf.repository.RepositoryException: org.openrdf.sail.SailException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    ORA-06512: in "SF.ORACLE_ORARDF_ADDHELPER", line 1
    ORA-06512: in line 1
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3530)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4735)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at oracle.spatial.rdf.client.sesame.OracleSailConnection.addStatement(OracleSailConnection.java:1976)
         at org.openrdf.repository.sail.SailRepositoryConnection.addWithoutCommit(SailRepositoryConnection.java:249)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:510)
         at org.openrdf.repository.util.RDFInserter.handleStatement(RDFInserter.java:193)
         at org.openrdf.rio.turtle.TurtleParser.reportStatement(TurtleParser.java:963)
         at org.openrdf.rio.turtle.TurtleParser.parseObject(TurtleParser.java:416)
         at org.openrdf.rio.turtle.TurtleParser.parseObjectList(TurtleParser.java:339)
         at org.openrdf.rio.turtle.TurtleParser.parsePredicateObjectList(TurtleParser.java:315)
         at org.openrdf.rio.turtle.TurtleParser.parseTriples(TurtleParser.java:301)
         at org.openrdf.rio.turtle.TurtleParser.parseStatement(TurtleParser.java:208)
         at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:186)
         at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:131)
         at org.openrdf.repository.base.RepositoryConnectionBase.addInputStreamOrReader(RepositoryConnectionBase.java:404)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:295)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:226)
         at sforcl.dao.support.OracleSailDaoTemplate.addTTLFile(OracleSailDaoTemplate.java:114)
         at sforcl.test.OracleSailDaoTemplateTest.testAddTTLFile(OracleSailDaoTemplateTest.java:33)
         at sforcl.test.OracleSailDaoTemplateTest.main(OracleSailDaoTemplateTest.java:122)
    How can I solve this problem?

    Hi,
    Can you please try loading the same file following Example 5 in Section 8.10.5 of
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25609/sem_sesame.htm
    Thanks,
    Zhe

  • Why all of a sudden has one of my apps (Condition Report App) only displaying at the top right hand corner it is a quarter of the size it should be, i have tried setting my ipad back to factory settings and this hasnt helped some please help??? :)

    One of my apps (condition report app) has decided to only display on the top right hand corner which is only a quarter of the screen, not sure what has happened as i have not changed any settings went to go into it one day and it was just like it.
    Please help!!!! Thanks Kristy

    Do you have the most up-to-date version of the app? Did you upgrade to iOS 6? Did you check to make sure that the developer has updated the app for the new OS? Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears? Have you tried uninstalling and re-installing the app?

  • Condition value need to be applicable only once

    Hi,
    I am working on solution to define set up cost for machined components. When components needs to be ordered, irrespective of the quantity there will be a fixed cost for the given material which is other than the normal unit price.
    Although I can simply define a fixed value condition, it will not solve my problem. When we run MRP, based on MRP area requirements / project requirements, each of the requirement for the same material can come as different line items in a PR and when we covert the same into a PO, there is always a possibility that same material can appear in several line items. If I use fixed value type of condition, this value will appear for all such line items for that given material which is not the desired situation.
    I think I can't even use condition grouping functionality (I am not very sure of this), as same condition if used for other materail number in the same PO, it should consider that value.
    I am looking for a solution, how to define a condition that will be applicable only once for a particular material number in one given PO.
    Any ideas / help? Thanks in advance.
    Cheers
    Jags

    Hi
    Thanks for your reply but I am not clear how it will solve my problem.
    Please note:
    1. Manually intervention is impossible as volume of such scenario and materials are very high.
    2. MAP of the material should be impacted with the cost which is to be paid as set up cost which is nothing but fixed cost for that given material at PO level.
    3. During IV, the condition value should be available for processesing (not to be provided manually).
    Will definitely reward points if it can help me in solution.
    Cheers
    Jags

  • ORA-01461: can bind a LONG value only for insert into a LONG column in 11.2

    Hello,
    We have been getting the following exception when we try to save an XML (>5k).
    SQL state [72000]; error code [1461]; ORA-01461: can bind a LONG value only for insert into a LONG column
    This is occurring only for Oracle 11g (11.2.0.1.0)
    Our column is CLOB type, not LONG type.
    Could anyone please suggest what could be the reason and fix?
    Thanks in advance
    --Cheers
    paruvid

    Thanks for quick response!!
    Inserting throw JDBC (Spring jdbcTemplate)
    using the ojdbc6.jar as driver
    here is the stask strace
    Caused by: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO tabl1(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15,c16(CLOBCOL),c17, c18, c19) SELECT c1,c2, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? FROM table2 S JOIN table1 D ON S.c1 = D.c1 WHERE S.c2 = ? AND D.c5 = ? GROUP BY S.c1];
    SQL state [72000]; error code [1461]; ORA-01461: can bind a LONG value only for insert into a LONG column
    ; nested exception is java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:602)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:786)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:842)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:846)
    at com.smartstream.cms.message.dao.SSIMessageDao.editSSIInstance(SSIMessageDao.java:522)
    ... 52 more
    Caused by: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    Edited by: paruvid on Aug 9, 2011 5:07 AM
    Edited by: paruvid on Aug 9, 2011 5:17 AM
    Edited by: paruvid on Aug 9, 2011 5:23 AM

  • Weird exception in 12c (ORA-01461: can bind a LONG value only for insert into a LONG column)

    I have a Windows app that accesses an Oracle 12c database via ODBC (the driver version is 12.01.00.01).
    I have a table that has a key column named REGION_ID (NVARCHAR2(9)), and about a dozen other columns, three of which are named REGION1, REGION2, and REGION3, all of type NVARCHAR2(40).
    When I try to insert a string into the REGION1 field that's greater than 9 characters (the length of REGION_ID), I get an ORA-01461 error ('Can bind a LONG value only for insert into a LONG column). If I define the length of REGION_ID to be NVARCHAR2(15), then I can add strings to the REGION1 field with a length up to 15 before I get the ORA-01461 exception again. Oddly, if I change the REGION1 column name to REGIONONE, I do not get any errors, and everything works fine. It's almost as if the column name REGION1 is being confused with REGION_ID behind the scenes.
    Any ideas? I’m using SQLBindParameter to bind the columns, and all of the calls succeed. I get the exception when I execute the insert statement. This same code worked for previous versions of Oracle (11g, 10g, and 9i). And if I use an 11g client driver against the 12c server, I do not get the exception.
    Thanks!

    Sorry, I was just now able to install the patch for bug 18232462, and it did indeed solve the issue I described above. Thanks!

  • Column Header in 2 rows in report file but export to excel data only displays only bottom row of column header

    Post Author: blofrese
    CA Forum: Exporting
    I am using Crystal XI and need to output several columns worth of data. Do to so I attempted to have the data presented in 2 rows within the same section.
    Example:Page Header b contains:  7 columns  5 columns
    Details a contains:  7 columns  5 columns
    When exporting to excel data only I only see the bottom 5 column header info and all the detail data in the correct order. How do I get all the Headers to display on the export file?
    Thank you for your time.

    Post Author: jw1234
    CA Forum: Exporting
    I have the same problem. Have you find the solution yet??
    I'm trying to export as Excel data only and have 2 page header band. It only display the 2nd band with the bottom label. None of the 1st band shows up. 
    Page Header a contains:Report TitleDate Range
    Page Header b contains:Dept Name4 columns
    Please help. Thanks!

  • I have just updated to 3.6.4 and my browsers web pages only display in a narrow column in the centre of my screen.

    I have just updated to 3.6.4 and find that my browser web pages only display in a narrow column in the centre of my 16 inch screen.
    How can I stretch the web pages to fit my screen ?
    == This happened ==
    Every time Firefox opened
    == After ungrading to Firefox 3.6.4

    Set the pref <b>browser.tabs.insertRelatedAfterCurrent</b> to <i>false</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Flash Stacked Chart - Only displays 15 columns

    I have created a flash stacked chart. I have 30 values in my series but the chart will only display 15. Is there a setting I am missing
    Thanks
    Owen

    Owen,
    Yes, if you edit the first series query for your chart, near the bottom there is a setting for Maximum Rows.
    - Marco

Maybe you are looking for

  • 'start from' of bullets & lists in Korean version

    I'm Korean user and of course I usually type text in Korean with pages. What the matter is that when I type something in Korean, 'continue from previous' and 'start from' are automatically changed into each other, especially 'start from' into 'contin

  • Error in Transfer posting for movement type 303

    Hi Sir, I am getting following error while doing Transfer posting for movement type 303 thru BAPI_GOODSMVT_CREATE Error in Function: Order    not found or not permitted for Goods Movement. I am passiing all mandatory parameter for it as per BAPI Docu

  • I'm having trouble connecting to the network on my HP stream 7

    I'm having so much trouble with connecting my interet to my HP tablet , when i got it .. it was working perfectly fine couple days later it did not want to connect to my internet, it doesn't give any choices to what network to connect too. The troubl

  • Write data to Text file - Column by Column

    Hi, I want to write a table of data(2D) to a text file. I acquire 1D array(6 lakh rows) of data & want to write that in text file as column 0. And next 1D array to the same text file as column 2. Is it possible todo that? I don't want to accumulate 2

  • Google is annoying me with searches

    Folks, when I go to Google and start typing in the search words, I get this funny requestor on the screen. I am pretty sure it is not malicious, but I don't know what to do with it. The requestor says something like: You have chosen to open search wh