Piece of code that is getting executed in determining vprs in billing

Hi,
I am a functional consultant and I desperatley need your help in finding out the piece of code that is responsible in calculating the value for VPRS condition in billing document. Its a special condition type(with condition category G) whose value is determined in the background by SAP. Generally the business scenario is like this
SALES ORDER-DELIVERY DOCUMENT-BILLING.
of course there are so many sources for the system to find out the value for VPRS  like from material master,sales order and material document .
please give me the set of lines in the standard program which are relvant for this calculation because system is not behaving in a what SAP is saying .
Thanks in advance.
Ravi

Can you post your bean and exception code? Is your exception checked or unchecked exception? If logMsg method throws an application exception, it should be thrown to the calling MDB as is.
-cheng

Similar Messages

  • CommandButton code does not get executed with partialSubmit=false

    Following code in Jdev11g
    <input type="text" value="#{myBacking.text}"/>
    <af:commandButton text="Click" action="#{myBacking.doSomething}"/>
    <af:commandButton text="Click" actionListener="#{myBacking.doSomethingElse}"/>
    public void setText(String value)
       System.out.println("Setting value");
    public String doSomething()
       System.out.println("Clicked");
        return "";
    public String doSomethingElse(ActionEvent e)
       System.out.println("Clicked with event");
    } I always get following output:
    Setting valueI never see the output from my commandButton. It seems that my button does not executes it's code but just notifies the components to call their setters.
    I notice that when i set the partialSubmit to true, de code do get executed.
    Why is that and what is causing this behaviour? How can i use my own code in the buttons without setting the partialSubmit to true? I do need a complete refresh of the page and can not use the partialSubmit but when it's set to false, it ignores my code...

    They are inside an af:form
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document id="doc1">
          <af:messages id="m1"/>
          <af:form id="frm1">
               //MY buttons are here
          </af:form>

  • What is wrong with the following Java servlet code that downloads files?

    Hi,
    I need urgent help.
    This is the issue. I have a JSP code that calls a Java servlet class. This class is used to download files from the JSP page. The following is the piece of code that does the file download.
    String pathOfFile = gsPath + "/" + gsFileName.substring(gsFileName.indexOf("~")+1);
    File F = new File(pathOfFile);
    res.setContentType("application/stream");
    res.setHeader("Content-Disposition", "attachment; filename=" +gsFileName.trim());
    This code works just fine with IE. However, when this is used with Netscape, the class name gets added to the original file name extension. For example, if the class name is 'FileRetriever' and the file being downloaded is originally named 'a.doc', the file gets a name of 'a.doc.FileRetriever' after download using Netscape or Mozilla.
    One way to solve this is by adding the appropriate file type in the MIME settings in browser preference. However, this not a permanent solution.
    Can somebody let me know the correct code to fix this issue?
    Thanks for your time.

    We loose control of the file name once we pass the original file name to the input stream. When our code instructs Netscape to write the file on the local disk using an output stream, that is when Netscape/Mozilla adds this additional extension to the original file. So, essentially, we do not know about this additional extension.
    Any ideas on how to resolve this?
    Thanks.

  • When I execute my code that contains SetCtrlVal, I get the following error:

    When I execute my code that contains SetCtrlVal, I get the following error:
    “Invalid argument type found double expected int.”   The variable in question is declared double, and from reading the help info, the variable should adapt to the declared type.
    Solved!
    Go to Solution.

    A typical reason for this error is using a wrong panel handle in SetCtrlVal: check that the handle passed to the function effectively is the one returned from LoadPanel or NewPanel function.
    Another common issue it trying to address a control on a tab page using the handle of the panel that holds the tab control: you must consider that each tab page has its own panel handle as it were a separate panel; you can retrieve the handle associated with tab pages with GetPanelhandleFromTabPage () command.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Before installation of "flasplayer 13x32" recieved Security message re" it being an executable file that may contain viruses and codes that can corrupt my computer".

    Downloaded "flashplayer 13x32". A security message appeared from Microsoft "This is an executable file and may contain viruses or codes that will harm your computer". Question: If its corrupted, why did Adobe Website download it.??

    "This is an executable file and may contain viruses or codes that will harm your computer".
    The keyword is "MAY"...
    NOWHERE in that does it say "This is a virus."
    What you're seeing is a standard Windows warning about ANY executable file you can download.
    Adobe isn't, and never has been, in the business of making malware. That said, there are literally millions of fake downloads of things like Reader, Shockwave and Flash Player.
    Bottom line: If you don't trust the download... DON'T USE the download.
    There are two sources to trust for Adobe freeware:
    For Flash Player - Adobe Flash Player Distribution | Adobe
    For Reader - Adobe - Adobe Reader Distribution
    You can bookmark those links and use them ANY time you get an update notification, to know you're getting the download directly from the source.

  • Starting can't automatically,i can't updates 3.6.4 and get message may contain viruses or other malicious code that could haram my computer.why?can you help me to install by techno updates?what match for all my condition,exe yahoo toolbar2,ie8,windows 201

    i can'use firefox automatically,in my computer i have got write arima in my start autimatically.what's the meaning?since 22june i got message mozilla firefox 3.6.4:executable files may contain viruses or other malicious code that could harm your computer.use caution when opening this file.are you sure you want to launch firefox setup 3.6.4.exe?after i click yes,i got answer:file is corrupt?What is the meaning?what happened with mozilla add ons ie8,windows,yahoo toolbar?can you help me to choose match for my programm 2010 and install automatically with flashget the lastest?i got permission from licensi yahoo to use it for ie8 and google,for ie8 i never try it.thanks
    == This happened ==
    Not sure how often
    == when i got programm 2010,install 3.6.4 from yahoo.tollbar2(YM9),i tried it last week.

    I did some googling and found alot of topics from you on this issue, to me it simply seems like on of the connectors is broken or loose.

  • I keep getting an error code that my billing info doesnt match my card info.  I verified with my bank, the bank card, and my itunes account and all are exactly the same.  I need this crap fixed, how?

    I keep getting an error that my billing info for my card doesnt match my bank info, but it does.  Nothing has ever been changed.  I called my bank, the card company, and all are exactly the same, word for word as my billing info in iTunes.
    In fact, every time I get the error code that billing doesnt match, my card gets charged a $1.00 authorization fee.  It later falls off, but it shows my card is being billed when they say they cant verify billing info.
    I called Apple support and they want to charge me to get their crap together.
    I need to do some updates and by a couple apps for work and am about ready to go to ANdroid if I cant get it fixed.
    $##@@$%%$##$%%$$%$!!!!!!!!!!!

    If you're in the US, this is usually caused by the simple fact that what the Postal Service shows as your address does not match what you're entering. Go here & see:
    https://tools.usps.com/go/ZipLookupAction!input.action

  • HT5188 Nearly every time I buy a VPP app and download the spreadsheet there are multiple redemption codes that say that they are invalid!  HOW can a code I am getting directly from apple be invalid!!!!!!!!  Seems like your system has A LOT of flaws.

    Nearly every time I buy a VPP app and download the spreadsheet there are multiple redemption codes that say that they are invalid!  HOW can a code I am getting directly from apple be invalid!!!!!!!!  Seems like your system has A LOT of flaws.

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • Why is it that when I request a PAC code I keep getting cutoff?

    Why is it that when I request a PAC code I keep getting cutoff/agent cannot hear me? This has not happened for any other query

    This is EE customer service for you. Your not the only one who gets cut off.

  • HT201303 How to I get by this security code that this is asking for?

    How to I get by this security code that this is asking for?

    Thanks, Stedman, that is helpful (I seem to be able to get past the "bubble" somewhat) but it is still there....I have, in the past, stroked across the music of choice and that was it...now the "bubble" with the choice name comes up and if I go all the way across I get a delete choice?  Can you help with this also or where would I go to research changes (I see there are 200!!!) in this upgrade?

  • HT1539 I keep getting an error code that says "code redemption temporarily unavailable try again later". how long do I need to wait to try again?

    I keep getting an error code that says "code redemption temporarily unavailable try again later". how long do I need to wait to try again?

    Hi, Kenny. 
    Thank you for visiting Apple Support Communities. 
    There are a couple things that I would recommend trying.  Try closing all open applications and power cycle the device.  Next, go through the section labeled Troubleshoot issues on an iPhone, iPad, or iPod touch in the second article below.  If the issue persists, try completely signing out of the iTunes Store on the iOS device and sign back in.  Be sure to test downloading an application after each step. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Cheers,
    Jason H. 

  • I am trying to reboot my granddaughters I pod it gets to 22 minutes the iPod switches on automatically and requests her pass code that she has forgotten please advise

    I am trying to reboot my granddaughters I pod it gets to 22 minutes the iPod switches on automatically and requests her pass code that she has forgotten please advise

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:         
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store   
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • How can I get a copy of Firefox 3.5 for use with an old piece of equipment that cannot use a newer version?

    I have an old piece of equipment that hasn't been updated in years. When trying to access the internal web page, it states that I need to use Mozilla 3.5 or better. Although the latest version is far superior, this thing doesn't like it. Could really use some help with this. Thanks.

    Hello to all
    another option is to download and install the portable firefox version from the next link, if you want to use it occasionally : http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./
    portable version is more flexible, and you can delete it any time without worries
    please read the [http://forums.mozillazine.org/viewtopic.php?f=23&t=2249039 ultimate guide from '''the-edmeister''']
    thank you

  • Queries are not getting executed in the EJB

    Hi,
    I am using Stateless EJB for database transactions. I have one getConnection() method in it which I am calling in every method for connection. I have created one more method in that I am executing one simple query for count(*) from one table and returning the count in the Web dynpro application. But I am not getting the count. It seems the query is not getting executed. I have added classes12 jar externally to the EJB and also to the WebDynpro application. Is there anything I am missing????
    Thanks,
    Swati Gaur

    Hi Swati Gaur,
    Did you print any logs in the your code to print the count after executing the query?
    For debugging purpose you can try
    System.err.println("Count after executing the query "+count);
    count is the variable which contains the count after executing the sql query.
    Check for the above statement in default trace. If count is printing in default trace then the problem is in your webdynpro code.
    Hope this helps!
    Regards,
    Jaya.

  • In data template xml , dataQuery not getting executed

    hello i have the data template XML as :
    name of the file XMLPDF.xml
    <?xml version = "1.0" encoding="UTF-8" ?>
    <dataTemplate name="XMLTEST" description = "testing the" Version = "1.0">
    <properties>
    <property name="xml_tag_case" value="upper" />
    <property name="include_parameters" value="true"/>
    <property name="include_null_Element" value="true"/>
    </properties>
    <parameters>
    <parameter name="P1" dataType = "DATE"></parameter>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT CASH_RECEIPT_ID , AMOUNT , SET_OF_BOOKS_ID
    FROM AR_CASH_RECEIPTS_ALL
    WHERE STATUS = :P1
    ]]>
    </sqlStatement>
    </dataQuery>
    <datastructure>
    <group name = "G1" SOURCE = "Q1" groupFilter="">
    <element name="CASH_RECEIPT" value ="CASH_RECEIPT"/>
    <element name="AMOUNT" value="AMOUNT"/>
    <element name="SET_OF_BOOKS_ID" value="SET_OF_BOOKS_ID"/>
    </group>
    </datastructure>
    </dataTemplate>
    Date Definition:
    Name XMLPDF Code XMLPDF
    Application Receivables Start Date 07-Jan-2011
    Concurrent Program
    registered the report output xml and used the seeded executable XDODTEXE
    when i run the report output is:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <XMLTEST>
    <P1 />
    </XMLTEST>
    i do not see my query in the data template getting executed. i am expecting my 3 columns that i have defined in the query to be shown up in the output xml file.
    I'd really appreciate if someone can help me here. Thanks a lot

    <?xml version = "1.0" encoding="UTF-8" ?>
    <dataTemplate name="XMLTEST" description = "testing the" Version = "1.0">
    <properties>
    <property name="xml_tag_case" value="upper" />
    <property name="include_parameters" value="true"/>
    <property name="include_null_Element" value="true"/>
    </properties>
    <parameters>
    <parameter name="P1" dataType = "CHARACTER"></parameter>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[
    SELECT CASH_RECEIPT_ID , AMOUNT , SET_OF_BOOKS_ID
    FROM AR_CASH_RECEIPTS_ALL
    WHERE STATUS = :P1
    ]]>
    </sqlStatement>
    </dataQuery>
    <datastructure>
    <group name = "G1" SOURCE = "Q1" groupFilter="">
    <element name="CASH_RECEIPT" value ="CASH_RECEIPT"/>
    <element name="AMOUNT" value="AMOUNT"/>
    <element name="SET_OF_BOOKS_ID" value="SET_OF_BOOKS_ID"/>
    </group>
    </datastructure>
    </dataTemplate>
    i have modified the date datatype. im still seeing the same output. how do i change the element to be derived value? can you help me with the syntax.
    Thanks!

Maybe you are looking for

  • To next label in a flash movie

    Hi, Is it possible to add a button in a flash movie that will take you to next label - independent of label name? Thanks Jonas

  • Loading a Previously Saved Task into LabView

    I have created a digital generation task in LabView and saved it using DAQmx Save Task.vi. I am able to open and run my task in Measurement and Automation Explorer. Now I am wondering if it is possible to load this task back into LabView and run it i

  • Imported Photos But Front Row Says "No Photos In Library"  --- What Gives?

    I imported many (about 3500) photos into iPhoto. When I launch Front Row, it says I have no photos imported. Does anyone know if I'm doing something wrong? Any info would be greatly appreciated. Thanks, - Brad Jacob

  • Help! CS5 illustrator keeps quitting!

    Hi, My illustrator CS5 on my iMac keeps quitting out.  At first I was able to open files but I'd get an error message about "previewing in overprint preview" - Something about too many spot colors... followed by a "not enough memory" error.  I've alr

  • Validate filenames in Unix using PLSQL

    Hello, I need to check for the existence of files and its contents in a given directory that exist on a unix server using PLSQL. Could anyone suggest me how do I approach this? I am using Oracle 10g database. Message was edited by: user519027