Building OCI samples: Why is code commented out in ocikpr.h?

I am trying to build a SDI application using VC++ 6.0 on Windows 2000.
When I use this header ocikpr.h I get these errors:
d:\projects\vc\oci\testme2\cdemo2.cpp(78) : error C2660: 'oopen' : function does not take 7 parameters
As in the header file ocikpr.h the function has been defined like so:
sword obindps( /*_ struct cda_def cursor, ub1 opcode, OraText sqlvar,
          sb4 sqlvl, ub1 *pvctx, sb4 progvl,
          sword ftype, sword scale,
          sb2 indp, ub2 alen, ub2 *arcode,
          sb4 pv_skip, sb4 ind_skip, sb4 alen_skip, sb4 rc_skip,
          ub4 maxsiz, ub4 *cursiz,
          OraText *fmt, sb4 fmtl, sword fmtt _*/ );
Why?
If I use this header file instead ociapr.h
I get this error when my application tries to logon. At this line:
if (olog(&lda, (ub1 *)hda, username, -1, password, -1, (text *) 0, -1, (ub4)OCI_LM_DEF))
with this error.
First-chance exception in TestMe2.exe (ORANLS8.DLL): 0xC0000005: Access Violation.
What could be the problem?
Thanks.

Note that there's an OCI group here on OTN where this question is more germane. This is an OLE DB forum.
Justin

Similar Messages

  • Why web dynpro commented my code out?

    Hi All,
    <b>as i tried to save the code for a method i have written in a view.java. the web dynpro comment my code out. and gives me the following message:</b>
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
    <b>i  have had this problem couple of times already. sometimes i just needed to try one more time, it worked fine again. i just lose my patient to type the code again and again...
    does anybody know wwhat's wrong?</b>
    thanks!

    Hi guys,
    the webdypro has sometimes my code commented out and sometimes complete thrown away. so i guess i the problem is that i didn't pay attention to the UCA and code had errors.
    now i tried it again, i have no problem any more.
    thank you all!
    Ting

  • Comment out code in Update Rule

    Hello,
    Quick question.
    How do I comment out code in the update rule?  I need to comment out a large amount of code for testing purposes.
    Thanks,
    Sheila

    Hi Sheila
    Go to Update rule code (routine) ->> select the code you want to comment out with mouse ->> then go to top menu Utilities -> Block/Buffer-> Insert Comment *
    This will comment out the code that you had selected.
    Regards
    Pradip
    (don't forget points)

  • [svn:bz-trunk] 21017: Comment out the line in Tomcat7Valve that was causing the build to fail.

    Revision: 21017
    Revision: 21017
    Author:   [email protected]
    Date:     2011-04-05 05:59:33 -0700 (Tue, 05 Apr 2011)
    Log Message:
    Comment out the line in Tomcat7Valve that was causing the build to fail. I am not sure what this line was supposed to do - likely, this is not-functional right now.
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

    soon as you start up the computer, keep hitting the F1 key.  That should get you into the BIOS.
    Also, try disabling Active System Protection for your freezing issues.  I'm using XP so  I don't know where to tell you to find it in Vista.

  • Commenting Out Library Code

    When a Library item is inserted into an html document, it automatically adds some commenting out code
    <!-- #BeginLibraryItem "/Library/footer.lbi" -->
    <!-- #EndLibraryItem -->
    but still appears in Design View (which is expected). There are times when I don't want the actual Library item (a footer in this case) to be visible in Design View, and simply applying an html comment doesn't work (I assume because you are basically trying to double comment the code). So the question is: is there another way to temporarily hide a library item from appearing in Design View? The reason I'm asking this (and maybe there is another underlying issue) is because looking in Design View, the footer appears in the middle of hte page, but renders properly when previewing in either Live Mode or previewing in browser.
    Design View: the red outline shows where the library item (footer) appears - in the middle of the design view area - worth noting, I work in Split view (with code on top, preview on bottom), so maybe that has something to do with not rendering items properly on screen?
    Live View or Browser Preview:
    I don't know if this is happening because of CSS styles of possibly some html code or maybe even an underlying issue somewhere else. This is more irritating than anything else. Does anyone have a clue what might be going on?
    To add: the only way I am currently able to temporarily hide the footer library item is to open the library item, comment out that code, then update all pages (which is a pain for when I need to go back and forth)...

    If this helps, I've uploaded what I think is enough to see what I'm facing.
    As an FYI, your page content falls out of the box when end-users increase default text-size in their browsers (Firefox, View >  Zoom > Zoom Text Only), hit Ctrl+++.
    See screenshot below where I've highlighted dark text on dark background to be visible:
    Height: value in pixels is a restriction in all browsers except IE.  If needed to reveal a background image, use values in ems or the min-height property with Conditional Comments for pre-IE7 browsers.
    CSS:
    #homeContent {
        position: relative;
        width: 892px;
       min-height:400px;
    Conditional Comment:
    <!--[if lt IE 7]>
    <style type="text/css">
    #homeContent {
    height: 25em
    </style>
    <![endif]-->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • [svn:bz-4.0.0_fixes] 19745: Comment out sdk. version dependent main target to fix build.

    Revision: 19745
    Revision: 19745
    Author:   [email protected]
    Date:     2011-01-13 12:12:29 -0800 (Thu, 13 Jan 2011)
    Log Message:
    Comment out sdk.version dependent main target to fix build. Using main that omits ds-console build.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/build.xml

    Before compiling the architecture must be adjusted in the FFdecsa/Makefile (defaults to athlon-xp).
    The readme file in the src directory provides more details.

  • Commenting out code in TrueCode mode deletes code

    We used RoboHelp X3 and was trying to comment out specific
    sections of a code by moving over to the True Code view and
    commenting them out following the usual HTML standards/conventions.
    However, we found that when we saved the project, generated the
    file, and opened the topic(s) from the source project next time,
    the sections that we had commented out had actually got deleted.
    Could you please help me with this? Is there a specific way to
    comment out code in RoboHelp?

    (I began the earlier reply before I knew what I wanted to
    say).
    Is it possible that when those particular lines are commented
    out, the result is a syntax error in the remaining html or js code?
    Also, consider that html and js code techniques have come a
    long way since X3. Maybe your code is technically correct now, but
    X3 doesn't know it.
    Good luck.
    Harvey

  • [svn:fx-trunk] 10065: Comment out code causing an RTE in SWFLoader.

    Revision: 10065
    Author:   [email protected]
    Date:     2009-09-08 13:14:26 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Comment out code causing an RTE in SWFLoader. Will fix as part of per-module styles feature development.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-23081
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23081
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as

    Hello, first post here..
    I maintain a java based lobby for an opensource RTS
    engine called spring at http://taspring.clan-sy.com
    You can find my lobbys source code at:
    https://taspring.clan-sy.com/svn/spring/trunk/AFLobby/
    Of note being the unitsync.dll/so library used to
    handle mods and maps. Implementing this library in
    pure java is not an option.
    I've dealt with quite a few JNi errors dealing with
    the linux users but we got through them all and it
    all worked great.
    I released a windows installer, and most users can
    run it fine with no issues with JNI, but 2 users seem
    to have problems, despite correctly installing
    everything.Does the JNI code use perl?
    This error message shows several hits on Google for perl related stuff.

  • Why hub sample app windows phone comment characters ò è à cause error ?

    why hub sample app windows phone comment characters ò è à  cause error in
    global::System.Diagnostics.Debugger.Break(); ?

    Hi Orgest,
    Do you add these characters "ò è à" in the SampleData.json file? If so as far as I known the SampleData.json is initially a simple ASCII text file, so if we want to use these special characters, we need to do something with the encoding,
    for the detailed information, please try to refer to the following similar thread:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/4d829e96-29dc-4029-911b-f32a40ac01a3/polish-characters-in-sampledatajson-file?forum=wpdevelop
    If I have misunderstood you, please try to post a simple reproduce project in here.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [svn:osmf:] 16206: Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.

    Revision: 16206
    Revision: 16206
    Author:   [email protected]
    Date:     2010-05-18 17:42:03 -0700 (Tue, 18 May 2010)
    Log Message:
    Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.
    Modified Paths:
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLogger.as
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLoggerFactory.as
        osmf/trunk/docs/examples/org/osmf/logging/LoggerExample.as

    Tks for posting the resolution, it solve my problem too.
    keywords:
    ECLIPSE SSL ERROR "could not generate secret" TOMCAT 8
    java.security.NoSuchAlgorithmException: Algorithm DiffieHellman not available
    SOLUTION, In my case: REBUILD JDK over TOMCAT 8 configuration

  • Can i comment out lines of code in a .sql script file to be run in SQL PLUS

    Hi All,
    I have commented out part of the script, and when i ran the script (.sql) file in Sql*Plus
    I am getting some errors like
    SP2-0734: unknown command beginning
    how to avoid these errors?
    any help is appreciated
    Thanks
    R.R

    >
    select * from dual; -- me too!Nope, not this one...
    test@ORA10G>
    test@ORA10G> host type c:\test.sql
    select * from dual; -- me too!
    test@ORA10G>
    test@ORA10G> -- doesn't work
    test@ORA10G>
    test@ORA10G> @c:\test.sql
      2
    test@ORA10G>
    test@ORA10G> @c:\test.sql
      2  /
    select * from dual; -- me too!
    ERROR at line 1:
    ORA-00911: invalid character
    test@ORA10G>
    test@ORA10G> -- now this works...
    test@ORA10G> host type c:\test.sql
    select * from dual -- me too!
    test@ORA10G>
    test@ORA10G> @c:\test.sql
    D
    X
    test@ORA10G>
    test@ORA10G> -- and so does this...
    test@ORA10G> host type c:\test.sql
    select * from dual -- me too!
    test@ORA10G>
    test@ORA10G> @c:\test.sql
    D
    X
    test@ORA10G>
    test@ORA10G>pratz

  • Why does commenting out calculated member formulas in BIDs cause several minutes of CPU spike and non-responsive BIDs?

    I'm using SQL Server 2012.  I have noticed that commenting out calculated member formulas in BIDs (like even just 10 lines of formula) can cause BIDs to throttle all the CPU and become unresponsive for minutes.  What could be the cause of that?

    Hi Lee,
    According to your description, you get high CPU usage when commenting out the calculated member formulas. Right?
    With your information, we are not sure this is a MDX Query performance issue or the BIDS issue.  We suggest you optimize your MDX query and diagnose the Formula Engine performance. Please refer to the links below:
    Query Performance Tuning in Microsoft Analysis Services: Part 2
    Analysis Services Query Performance Top 10 Best Practices
    If possible, please post some screenshots or detail information about calculated member formulas so that we can have some deep analysis.
    Best Regards,
    Simon Hou
    Simon Hou
    TechNet Community Support

  • How to use documentbeforesaved method? And why my code doesn't work in template files?

    Can someone help me with these two codes?
    ----Beginning of code 1-------------
    Private WithEvents App As Word.Application
    Private Sub Document_Open()
    Set App = Word.Application
    End Sub
    Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
    MsgBox("BeforeSave")
    End Sub
    --------------End of the code----------------
    Beginning of code 2--------------- Code 2 is from https://msdn.microsoft.com/en-us/library/office/ff838299(v=office.15).aspx
    Public WithEvents appWord as Word.Application 
    Private Sub appWord_DocumentBeforeSave _ 
     (ByVal Doc As Document, _ 
     SaveAsUI As Boolean, _ 
     Cancel As Boolean) 
     Dim intResponse As Integer 
    Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
    MsgBox("BeforeSave")
    End Sub
    In the first code, they have:
    Private Sub Document_Open()
    Set App = Word.Application
    End Sub
     I test these two codes in "This document" object, and I find out the first code works but the second code are not!
    Why second code doesn't work?
    Extra question: I am using microsoft 2013. I insert this code into a macro-enabled template. But when I am about to save my file I am expecting these code works. However, they didn't work!
    Thank you for solving these problem for me!

    Hello,
    Please note that the code snippet 2 in your post is different from the code snippet in the MSDN document. Also please read the comments of the MSDN code sample:
    This example prompts the user for a   yes or no response before saving any document.
    This code must be placed in a   class module, and an instance of the class must be correctly initialized to   see this example work; see
    Using Events with the Application Object for   directions on how to accomplish this.
    Public WithEvents appWord   as Word.Application
    Private Sub   appWord_DocumentBeforeSave _
     (ByVal Doc As Document, _
     SaveAsUI As Boolean, _
     Cancel As Boolean)
     Dim intResponse As Integer
     intResponse = MsgBox("Do you really   want to " _
     & "save the document?", _
     vbYesNo)
     If intResponse = vbNo Then Cancel = True
    End Sub
    So the problem in your code snippet 2 is that you didn't put it into a class module and initialize the class module. If you just put it into ThisDocument, you have to initialize the word application object.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Wb_rt_mapaudit_util register_custom_param call commented out in gen'd sql

    Using OWB 10.2.0.3.33.
    In the OWB client if I right mouse on a map and Generate..., then choose the Script tab, then select the script, then Save As...
    it results in a generated script for the map which has the call to wb_rt_mapaudit_util.register_custom_param commented out as seen here (where DATAMART_SEQ is my custom param):
    -- register custom input parameters:
    -- Temp fix until selective registration ensures correct handling of complex types
    -- wb_rt_mapaudit_util.register_custom_param(x_audit_id,
    -- '"DATAMART_SEQ"',
    -- TO_CHAR("DATAMART_SEQ"));
    Does anyone know how to make this not be commented out?
    If I execute that script to define the map, then run the map using the Main procedure in the package {MAPNAME.Main(p_status, p_datamartseq);} it runs but the impact of having it commented is that it leaves the VALUE field of the ALL_RT_AUDIT_EXECUTION_PARAMS table null for the custom param.
    If I run the map using wb_rt_api_exec.run_task, then OWB correctly stores the custom param value in the ALL_RT_AUDIT_EXECUTION_PARAMS table. You can see the two types of runs here, notice the null is the problem caused by the commented out code (if I uncomment it it works -- but for dozens of maps it would be easier if it was generated that way):
    select execution_audit_id,PARAMETER_NAME,PARAMETER_TYPE,VALUE_KIND,nvl(value,'NULL') from ALL_RT_AUDIT_EXECUTION_PARAMS where execution_audit_id in (64908,64859) and parameter_kind='CUSTOM'
    EXECUTION_AUDIT_ID     PARAMETER_NAME     PARAMETER_TYPE     VALUE_KIND     NVL(VALUE,'NULL')
    64859     DATAMART_SEQ     NUMBER     INPUT_VALUE     2000
    64908     DATAMART_SEQ     NUMBER     INPUT_VALUE     NULL

    Hi,
    you used undocumented OWB API and Oracle tech.support or development can explain what is wrong with this code.
    There is exist legal way running OWB mappings/processflow since OWB10gR2 ([url http://download.oracle.com/docs/cd/E11882_01/owb.112/e10935/scheduling_etl.htm#CIHJBCCA]RUN_TASK function from WB_RT_API_EXEC package). Why you didn't use this function?
    Regards,
    Oleg

  • Weblogic 12c on Mac OS X: Cannot build SAMLSSO sample

    I'm trying to build the SAML sample which comes with WLS 12c (/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso). I'd like to create both a SAML 2.0 IdP and SP and test them before I attempt to integrate a 3rd party IdP with WLS as SP. I'm following the instructions found at /Oracle/Middleware/wlserver_12.1/samples/server/index.html which indicate I should do the following:
    Create and configure the IdP domain: ant prepareIdentityProviderServer
    Create and configure the SP domain: ant prepareServiceProviderServer
    In both cases the domains are creates, the server starts and I see the configIDPServer (and configSPServer) being called. In the case of the IdP I see the following, correct, output:
    configIDPServer:
    [wlst]
    [wlst] +++++ Properties passed to script +++++
    [wlst]
    [wlst] adminUser: weblogic
    [wlst] adminPwd: welcome1
    [wlst] adminURL: t3://localhost:7003
    [wlst] preferredBinding: HTTP/POST
    [wlst] ssoServerName: examplesServer
    [wlst] entityID: http://localhost:7003/idpentityid
    [wlst] publishedSiteURL: http://localhost:7003/saml2
    [wlst] loginURL: http://localhost:7003/loginapp/loginapp.jsp
    [wlst] ssoSigningKeyAlias: idpSSOSigningKeyAlias
    [wlst] ssoSigningKeyPassPhrase: idpSSOSigningKeyPassPhrase
    [wlst] sport: 7004
    [wlst] customTrustKeyStoreFileName: /Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/samlattr-cert/idpTrust.jks
    [wlst] customTrustKeyStorePassPhrase: idpTrustKeyStorePassPhrase
    [wlst] customIdentityKeyStoreFileName: /Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/samlattr-cert/idpIdentity.jks
    [wlst] customIdentityKeyStorePassPhrase: idpIdentityKeyStorePassPhrase
    [wlst] serverPrivateKeyAlias: idpServerKeyAlias
    [wlst] serverPrivateKeyPassPhrase: idpServerKeyPassPhrase
    [wlst] replicatedCacheEnabled: false
    [wlst] credentialMapperName: saml2cm
    [wlst] KeyStoresName: CustomIdentityAndCustomTrust
    [wlst]
    [wlst] +++++ Properties passed to script +++++
    [wlst]
    [wlst] Connecting to t3://localhost:7003 with userid weblogic ...
    At this point I should be able to connect to http://localhost:7003/console but cannot (I do see an active listening port open on 7003). After 4 minutes the WLST times out with the following error:
    [wlst] WLST lost connection to the WebLogic Server that you were
    [wlst] connected to, this may happen if the server was shutdown or
    [wlst] partitioned. You will have to re-connect to the server once the
    [wlst] server is available.
    [wlst]
    [wlst] WLST detected that the RuntimeMBeanServer is not enabled. This
    [wlst] might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
    [wlst] Please ensure that this MBeanServer is enabled. Online WLST cannot
    [wlst] function without this MBeanServer.
    [wlst] Disconnected from weblogic server: examplesServer
    [wlst] Traceback (innermost last):
    [wlst] File "/Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/scripts/saml20cfg/IdP_configSite.py", line 50, in ?
    [wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
    [wlst] File "<iostream>", line 22, in connect
    [wlst] File "/Users/dgrstl/Oracle/Middleware/wlserver_12.1/samples/server/examples/src/examples/security/samlsso/scripts/saml20cfg/IdP_configSite.py", line 50, in ?
    [wlst] File "<iostream>", line 648, in raiseWLSTException
    [wlst] File "<iostream>", line 22, in connect
    [wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST." : No message was received for: '240' seconds
    [wlst] Use dumpStack() to view the full stacktrace
    [wlst]
    [wlst] File "<iostream>", line 648, in raiseWLSTException
    [wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST." : No message was received for: '240' seconds
    [wlst] Use dumpStack() to view the full stacktrace
    [wlst]
    [wlst]      at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:146)
    [wlst]      at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:111)
    [wlst]      at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:30)
    BUILD FAILED
    Is this sample broken? Any ideas on what the problem could be? I should note that I can manually start the server from a new command shell, connect to the console, etc. so the domain seems fine except when started from WLST.

    I was able to work around this by modifying the prepareServers.xml ant import. Specifically I did the following:
    1. Setup the environment
    2. ant prepareIdentityProviderServer
    3. Server started, killed the script
    4. Repeated 2-4 for the SP
    5. Modified the prepareServerController target in prepareServers.xml by commenting out the ant-call target="stopServer" and target="createServer"
    6. ant prepareIdentityProviderServer (which remarkably worked despite needing to stop and restart the server with the same startServer target)
    7. ant prepareServiceProviderServer
    Could this be a bug in the wlserver task? startServer looks like this (hangs when it has to create a domain, works fine when a domain already exists)
    <target name="startServer">
    <echo message="*****************************************" />
    <echo message="Starting WLS......" />
    <echo message="*****************************************" />
    <property name="generateConfig" value="true" />
    <property name="customNameMapperLib" value="" />
    <property name="extra-server-verbose" value="" />
    <property name="sleepHours" value="${spServerSleep}" />
    <property name="wls-min-stack" value="512m" />
    <property name="wls-max-stack" value="512m" />
    <wlserver dir="${domainDir}" servername="${serverName}" host="${host}" port="${port}" generateConfig="${generateConfig}" username="${username}" password="${password}" action="start">
    <jvmarg line="-ms${wls-min-stack} -mx${wls-max-stack} -XX:MaxPermSize=128m -DCommonSecurityEnabled=true ${extra-server-verbose}" />
    <classpath>
    <pathelement location="${wl.home}/server/lib/weblogic.jar"/>
    <pathelement location="${customNameMapperLib}"/>
    </classpath>
    </wlserver>
    <sleep hours="${sleepHours}" />
    </target>

Maybe you are looking for

  • N97 connecting to Internet help please

    I got my N97 on Friday and could connect to the internet fine, but saturday morning came - no internet connection available. I rang my contract provider who kindly told me that becasue the N97 is a new phone they don't have any settings or configurat

  • Append 'init=/bin/systemd' to kernel command line

    I have just updated my Arch_64bit and have been adviced by Pacman to ":: Append 'init=/bin/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd". I dual boot Ubuntu and Arch and use the GRUB2 from Ubuntu. I have in

  • ORA-01446 - Help Please

    Whenever I add another table to the query, and run it, I receive this error: ORA-01446: cannot select ROWID from view with DISTINCT, GROUP BY, etc. I have a simple query that currently has 77 columns in the SELECT and 17 tables using both joins & lef

  • DNG 6.2.0.28 doesn't recognize my CR2s.  Why not?

    I am pulling my hair out trying to make DNGs, since apparently simply opening a file in Photoshop is not an option with my incredibly widely-selling camera (Canon T3i). So, I have the appropriate version of DNG for my OS (yes, I checked), and when I

  • BADI for Sales order

    Hi Gurus,   I have to caculate the volume discount based on the goods ordered. So that i have to calculate the discount and update it into Net value in condition tab in va01. Please provide the what is the BADI for that suitable requirement so that i