How To Determine from what modifier line a pricing attribute is called

Hello,
We would like to know from what modifier line a pricing attribute is called.
When creating the attribute mapping you have the global record structure to your disposal,
however do you also have the opportunity to determine the modifier line id.
We would like to create some modifiers with some pricing attributes (using attribute mapping)
and those pricing attributes should return different results based on the modifier they are attached to.
Many thanks!
rgds
Leen
Edited by: user798765 on Apr 13, 2010 6:25 AM

The only one I know is using java version 1.4:
http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace()

Similar Messages

  • How to determin who/what set application status "UNAVAILABLE"?

    Hello Experts,
    I've had users reporting that Application is unavailable during normal business hours... Surely, when I've received those reports it was back to normal. Is it being logged anywhere who (user) or what (process) set an application status "UNAVALIABLE"?
    From what I can tell, the only job was running during that time was a Data Auditing job (created by Manage Data Audit option).
    I have also noticed that from time to time (when Auditing job is running) I receive the following error message trying to access Manage Data Audit:
    "Job name :  http://outlooksoft.kaplaninc.com/osoft/Admin/AuditAdmin.aspx
    Detail       :  No accessible overloaded LogHandler.WriteLog can be called without a narrowing conversion. "
    Eventually, the error goes away and I can access Data Audit page.
    Thanks in advance for any info.
    Akim

    Audit is the one which can provide you the information what process was putting the appset offline.
    You have to be aware that only the Admin processes are able to put the appset offline. And the admin processes are refering to entire appset not only for one application.
    So usually this happen when an administrator was creating a copy of application or it is playing into another application just for test.
    The bad thing it is that admin actions into that application is disturbing also the users using the applications from the same appset.
    That's the reason because this should not happen into production environment.
    Any Admin process for any application from an appset :
    Process dimension,
    Modify Application.
    Full Optimize,
    can make the appset to be offline.
    So my expectation is that actually nobody is doing something wrong into your current application but you have an admin users doing tests into an application from the same appset and this is creating the application to be sometimes offline.
    I hope this will help you.
    Regards
    Sorin Radulescu

  • How to determine actual table control line

    Hi experts,
    How can I determine the table control line in case of scrollable table control.
    I tried this one, but did not worked correctly:
        GET CURSOR LINE l_line_fc2.
        l_line = l_line_fc2 + ctrl_mod-top_line - 1.
    Everytime I try to catch the top_line of the table control its value is always 1. Is it possible?

    Hi,
    Current table control line will be found in SY-STEPL.
    Regards
    Mohammad Shaik.

  • How to determine from PL/SQL which processes are running

    Hi,
    I would like to find out which processes are runing. Is there any way how to determine this directly from PL/SQL? I know I can run external C libraries, but if there is another way, that would be great.
    Thanks for help, Dan

    Rahul India wrote:
    YOu might want to check these
    http://www.dba-oracle.com/plsql/t_plsql_v$.htm
    http://www.dba-oracle.com/t_plsql_monitoring.htm
    Please DO NOT post links to commercial websites. It is a breach of the Terms of Use of the forums.
    Such websites tend to provide snippits or excerpts of information in order to try and get people to purchase their products (books or whatever) or services.
    There are plenty of good resources out there, including the Oracle documentation, other threads on these forums with similar questions and solutions, or expert's blogs or websites that are not trying to sell something.

  • How to read from a file line by line

    Hi
    I am new to using LabView and was wondering how I could read data from a text file one line at a time and display this data one line at a time as well. I tried looking through the Reading from Text File . vi example but that just seems to be reading and displaying everything together.
    Thanks
    -Karan

    Hi
    My aim is to read text line by line and to then go ahead and display the last 8 reaad lines of code to give the impression of text falling down a screen. I tested the first while loop and that seemed to work fine. However, when I encounter an EOF, I would like the text already read to keep making its way down the screen and keep inputting NULL characters into the array to simulate the effect of the text falling down the screen which is why I created the second while loop. I tried to input the NULL characters using a box for ENUM constants. However, I kept getting an error saying the data types do not match. What would I need to do? For the display I plan on putting indicators next to the 8 places where the text would be stored which I have not done so far.
    I am also attaching a copy of the error.
    Thanks
    -Karan
    Attachments:
    DisplayText.vi ‏40 KB
    Error.JPG ‏89 KB
    PictureOfBlock.JPG ‏120 KB

  • How value determined for Inv offsetting line items

    Hi,
    I want to know the following for the reversal of Process Order for materials for which the price control is 'S'.
    How the value for GBB (Inventory offsetting) is determined. I have observed it taking the weighted rate of the (Summation of the Total Actual Cost / Sumation of Actual Qunatity) * Reversal Quantity. The BSX line item is determined by Standard Price * Reversal Quantity
    The balance is posted in the Price difference.
    I want to know why this difference is determining tge line items.
    I have gone thru SAP Note 216080 in this regard but failed to understandard the basic resaon why this is happening.
    Regards
    Partha

    Hi,
    When you do the reversal of the Production consumption.
    There may be two type of consumption for production,the raw matrerial with V price determination & Semi finished goods with the S pricing.
    So when you do the reversal entry the Value & Qty update will be happen in the Inventory.
    Say when consume the system will capture from GBB with valuation class.the G/L with P&L Account.
    When you reverse the same then it will reverse with same G/L & assignment.
    There will be 2 entry one is reversal from consumption G/L & post to Price difference,then other document with reverse price difference & post in the inventory account Balance sheet account.
    So 2 entry will be entered during reversal.
    If there is any difference then the difference amount will posted to price difference account.it will update the inventore also with qty & value.
    Regrds,
    Raj.

  • How to determine on what segment a point is in

    i have line segments that are connected and assuming that i can get the points of the segments, how do i know on what segment the point is in?

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class ProximityTest extends JPanel {
        Color[] colors = { Color.red, Color.green.darker(), Color.blue };
        Line2D.Double[] lines;
        Point probe;
        Point offset = new Point(5,20);
        JLabel lineLabel;
        JLabel distLabel;
        public ProximityTest() {
            lines = new Line2D.Double[3];
            lines[0] = new Line2D.Double(50,50,350,250);
            lines[1] = new Line2D.Double(50,350,375,150);
            lines[2] = new Line2D.Double(100,50,150,350);
            probe = new Point();
            addMouseMotionListener(mml);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            for(int j = 0; j < lines.length; j++) {
                g2.setPaint(colors[j]);
                g2.draw(lines[j]);
            g2.setPaint(Color.red);
            g2.fill(new Ellipse2D.Double(probe.x-2,probe.y-2,4,4));
        private void checkProximity() {
            int index = -1;
            double min = Double.MAX_VALUE;
            for(int j = 0; j < lines.length; j++) {
                double distance = lines[j].ptSegDist(probe);
                if(distance < min) {
                    min = distance;
                    index = j;
            lineLabel.setForeground(colors[index]);
            distLabel.setText(String.format("%.1f", min));
        private JPanel getLast() {
            lineLabel = new JLabel("line");
            distLabel = new JLabel(" ");
            Dimension d = distLabel.getPreferredSize();
            d.width = 45;
            distLabel.setPreferredSize(d);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            gbc.anchor = GridBagConstraints.WEST;
            gbc.weightx = 1.0;
            panel.add(new JLabel(), gbc);
            gbc.weightx = 0;
            panel.add(new JLabel("closest"), gbc);
            panel.add(lineLabel, gbc);
            panel.add(distLabel, gbc);
            gbc.weightx = 1.0;
            panel.add(new JLabel(), gbc);
            return panel;
        public static void main(String[] args) {
            ProximityTest test = new ProximityTest();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test);
            f.getContentPane().add(test.getLast(), "Last");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private MouseMotionListener mml = new MouseMotionAdapter() {
            public void mouseMoved(MouseEvent e) {
                Point p = e.getPoint();
                probe.setLocation(p.x-offset.x, p.y-offset.y);
                checkProximity();
                repaint();
    }

  • Transfer: how do identify from what stock to which stock is the movement

    Hey Gurus can someone help me with this:
    Trying to make a report which has to identify each and every movement that affects the transfer stock at storage location and at plant level. My question is I know that movements 305 affects transfer stock and even when the movement is in "+" direction in unrestricted use I also have to take it in "-" direction for transfer stock in the same warehouse. How in the system is that represented, is there any indicator within the material document that tells me you're taking this quantity out of transfer stock and putting it into unrestricted use? Or should I hardcode by movement type?
    Something similar  for movement 303 I know I take it out of the stock at a certain plant and it is directed to another plant but isn't in unrestricted use yet. How do I make such distinction from other movemets that actually affect unrestricted use? Only by movement type or is there any indicator that says that it goes into transfer stock and not into unrestricted?
    Thx for your help.-

    Hi,
    I'm afraid you need to use movement type to differentiate the movements in your report.
    You probably already know that 303 is the one with all the financial impact.  From stock account point of view, 303 withdraws from sending plant and receipts into receiving plant as transfer stock.  305 is only statistical posting in the receiving plant to move from transfer stock to unrestricted, no accounting impact.
    Phyllis.

  • Help Needed on Read/Modify Line Statement

    Hi,
    I am writing a report which is having a check box as first column, followed by sales data. I am giving F4 Key to user to Select ALL the check box. I have used Modify Line to do this, but it is not working for me.
    Here is the pseudo code which i am using.
    Report <report name>.
    data cb1 value SPACE.
    Write :/ cb1 as CHECKBOX, 'X'.
    Write :/ cb1 as CHECKBOX, 'Y'.
    Write :/ cb1 as CHECKBOX, 'Z'.
    AT PF04.
       DO 3 times.
          MODIFY LINE sy-index field value cb1 from 'X'.
       ENDDO.
    This is not working and giving weird results.
    I tried the following things too.
    Trial a:
    cb1 = 'X'.
    modify line sy-index field value cb1.
    Trial b:
    modify line sy-index of current page value cb1 from 'X'.
    Trial c:
    read line sy-index....
    modify line sy-index..
    But none of them were working.
    Please let me know if my approach to select all check box is correct. Is there any alternate way to select all the checkbox in the list?..What is wrong with my modify line statement.
    Regards
    Mitesh

    Hi Anand,
    Thanks for throwing a light on the "Read Statement". This cleared up my concept of modify line too.
    When I dont use Read Line, the output will be:
    Checked X
    Checked X
    Checked X
    Let me try to answer the question as "Why it is happening".Correct me if i am wrong as i am only 15 days Old for ABAP ;-((.
    Here is how I will now defining modify line statement. Modify Line Statement modify the current line or line number n with the value of sy-lisel. With Field Addition in Modify line, you change the content of sy-lisel.
    So in our case, the sy-lisel value is (Checked,'X').
    So if we dont use read line, only first column will get updated , whereas second field will remain in the sy-lisel.
    So to get the value of other lines, we use read line. This will fill up the sy-lisel with the the line content of sy-index and so modify will work.
    So, if we are using AT LINE-SELECTION event to select line, in that case, there is no need to do a read line as sy-lisel is already in the buffer.
    Please correct me if i am wrong.
    Regards
    Mitesh

  • How to determine who is connected via AFP in WORKGROUP

    I am running a WORKGROUP configuration leopard server on a MP early 2008. Using the server widget I can tell if there are users connected but I have not figured out how to determine Who is connected and how to contact them if I want to reboot the server. Moreover, how do I determine what users are doing? The AFP log is turned off in this config and I can't get it to come on. From the command line I could use serveradmin to find out who is connected but in the workgroup config it is not clear if it is OK to run serveradmin since the GUI counterpart "Server Aministrator" is forbidden unless you upgrade to the advanced config. Does anybody know if the CLI serveradmin is OK to use in the WORKGROUP config or know any other way to determine who connected via AFP and SMB and what files they have open? This semms like a terrible security risk without knowing who is doing what.
    Thanks
    -Chris

    Just in case others have the same question, I have determined that the CLI tools can be used to query the file services without any apparent detrimental effects while using our leopard server 10.5.3 in a workgroup configuration. Hence the names of AFP users can be determined from the command line by:
    sudo serveradmin command afp:command = getConnectedUsers | grep name
    and the smb users can be found with:
    sudo serveradmin command smb:command = getConnectedUsers | grep name
    Hope that helps
    -csl

  • How to determine the address of the server whence the application through W

    The application is loaded from the server taking place in Intranet networks. How to determine from this application the address of the server with which it it is loaded?
    KSV

    Use could use the javax.jnlp BasicService.getCodeBase(). See http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/examples.html and http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/javax/jnlp/BasicService.html

  • How to check from code in Excel Addin that Excel is embedded in Microsoft word

    We've developed an Excel Addin in C# for Excel 2010 and it works perfectly OK. But one issue is reported very recently as below.
    1. Microsoft word document is created with an embedded excel work sheet.
    2. Save the document and close.
    3. Open the word document and try to edit the work sheet there.
    4. Following error comes.
    "The program used to create this object is Excel. That program is either not installed on your computer or it is not responding.
    To edit this object, install Excel or ensure that any dialog boxes in Excel are closed."
    5. This is because, our Addin is initialized and one excel process is running.
    6. If the Excel Addin is disabled, above work flow works correctly.
    Please let me know how to determine from the Excel Addin that the excel worksheet is embedded in another applicatoin. Because I want to disable the Addin in those cases and enable it if the Excel is opened standalone. The Addin is developed in C#.

    Hi,
    Since the error message, please try to install this Hotfix test if it works:
    http://support.microsoft.com/kb/2596494
    Note: Delete the Excel instance running in the background(Go to your task manager and delete it) before opening your Word document and edit your embedded Excel.
    If the issue still exists, please see the article and try the solution which I copied here:
    "The basic simple answer is to place a Marshal.ComReleaseObject(Wb) at the end (or better, in the Finally block) of your event handlers. This will properly allow Word and excel to handle the OLE communication by not having VSTO hang on to an instance
    handle of the workbook, therefore causing the error.
    And this is not carte blanche to start placing ComReleaseObject() all over your code. I have found VERY VERY few limited cases where using ComReleaseObject() in an add-in necessary. And this is one of them."
    http://davecra.com/2012/10/09/vsto-and-comole/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

  • How to determine weblogic health status column when it is in NOT OK via wlst?

    Dear Legends,
    Is there a command to determine weblogic managed or admin servers HEALTH COLUMN Status? Because some times in STATE Column it would be RUNNING and in HEALTH Column it would be in "NOT OK" or the OK will not be visible.
    Thanks,
    Karthik

    Just in case others have the same question, I have determined that the CLI tools can be used to query the file services without any apparent detrimental effects while using our leopard server 10.5.3 in a workgroup configuration. Hence the names of AFP users can be determined from the command line by:
    sudo serveradmin command afp:command = getConnectedUsers | grep name
    and the smb users can be found with:
    sudo serveradmin command smb:command = getConnectedUsers | grep name
    Hope that helps
    -csl

  • Choose customer from a command line

    Hi All, 
    I am using report builder 3.0 and wondered if there was a way to choose a customer from a command line so I can potentially call them from our CRM system which stores all our customer records? At the moment our customer record is being pulled from Microsoft
    GP Dynamics and wanted it to pull from our CRM system instead.
    Thank you in advance!

    Hello,
    The main intention of Report Builder is to create SSRS server based reports, not as a Report Viewer; so no, you can't pass any parameter from command line.
    When you have deployed the Report to SSRS then you can pass Parameter values via URL; see
    Pass a Report Parameter Within a URL
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to Exit from Session by executing program

    How to Exit from Session by executing program

    Hi,
    Try the following
    CALL the function module HLP_MODE_CREATE and pass '/nex' to tcode import parameter.
    Regards,
    Sesh
    Message was edited by: Seshatalpasai Madala

Maybe you are looking for