Different G/L a/c depending upon source country

Dear All
When i procure the same material from different country, i expect the system to post to different GL a/c depending upon the country. How to configure this in SAP?
Kindly share your experiance..
Thanks and Regards

Hi
Try using split valuation - creating country as valuation type. Create a valuation category and assign it to material. When there is procurement for material then specify valution type in purchase order. You can see GL account wise procurement (from that country). Check split valution customization in the forum.
Thanks

Similar Messages

  • How to decide target depending upon payload

    I am doing file to file scenario without BPM. In that depending upon source payload I want to send data to target.
    For eg: If source= 1 it shd go to receiver1 folder
               If source= 2 it shd go to receiver2 folder
    Here both folders are on same target.So my target business system is same.
    Can anybody suggest?
    -Gouri

    HI Gouri,
    Conditinal routing not very big deal...
    you can use standard or enhanced receiver determination..
    but in you case why are using conditional receiver determination..because in anyway your receiver business system is same in both cases..
    what exactly is required is that you should be able to decide based on the source data which folder should the target file be written..
    so in your case there will be no conditional routing.. only one is required...
    one file adapter is required...
    but in file receiver adapter you have to user variable substitution... go to Advanced Tab and check the variable substitution...
    in File directory/File schema give appropiate field syntax..
    there is a blog on variable substitution ' Dynamic File Name using XI 3.0 SP12 Part - I'
    Jayakrishnan Nair
    just go through it...

  • How to change the image dynamically depend upon the input parameter

    Hi All
    I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
    How to change the Logo dynamically depend upon the input passed by the user.
    If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
    Is it possible to change the logo according to the input without keeping this in Template.
    I have seen this link but its not working fine
    http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
    Regards
    Srikkanth.M

    Hi,
    I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
    Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
    Regards
    Srikkanth

  • Splitting file depends upon no of occurence of element

    Hi
    I have the scenario as follows where i need to split the file depends upon number of occurences of element e1 .
    I have input xml file having structure as follows:
    <ROOT>
    <root1 attribute>
       <field1> </field1>
       <e1>
           <field2> ....</field2>
       </e1>
        <e1>
            <field2> .......</field2>
       </e1>
    </root1>
    <ROOT>
    <u>element e1 has "1 to unbounded" occurence.</u>
    I would like to have output file structure as
    <ROOT>
    <root1 attribute>
       <field1> </field1>
       <e1>
           <field2> ....</field2>
       </e1>
    </root1>
    <ROOT>
    the key thing for every occcurence of element e1, the output file will be generated and
    attribue value of root1 and element position will  be included in the file name .
    Thanking you in adbvance.
    Regards
    Piyush

    Hi Piyush,
    Create a message mapping for the spliting you want.
    Under <b>Messages</b> tab
    <b>Source Message:-</b> Your message type name example
    <ROOT>
    <root1 attribute>
    <field1> </field1>
    <e1>
    <field2> ....</field2>
    </e1>
    <e1>
    <field2> .......</field2>
    </e1>
    </root1>
    <ROOT>
    <b>Note:- Occurence is 1</b>
    <b>Target Message:-</b> your message type name example
    <ROOT>
    <root1 attribute>
    <field1> </field1>
    <e1>
    <field2> ....</field2>
    </e1>
    </root1>
    <ROOT>
    <b>Note:- Occurence is 0 to unbounded</b>
    In the Design tab do your graphical mapping one to one mapping
    <b>Note:- <e1> of the source element (0 to unbounded) should be mapped to <ROOT> of the target element (0 to unbounded).</b>
    Then you can test your mapping by giving your test data
    <b>While Creating the Interface mapping please make sure that the target interface occurence is <i>0 to unbounded</i>.</b>
    that's it you are done with it.
    Make sure in BPM use <b>transformation step</b> to convert the source to target messages and use <b>multiline container element</b> and use <b>foreach block</b> to catch the message

  • Is there a dependency between source system patch level (IS-U) and BW 7.3

    Hello everybody,
    we think about upgrading our BW. Now there is the question if there is any dependency between source system patch level (IS-U) and BW 7.3.
    Perhaps someone knows a note. I don't find anything.
    Thanks

    Hello Ingo,
    we have also a Problem with the SSO between BOE Server and our BW Portal. Our Systems are in different Domains and we make all settings in BW as described in the SAP Documentation "http://help.sap.com/saphelp_nw04/helpdata/en/a0/88a340fa432b54e10000000a1550b0/frameset.htm"
    but now we didn´t know what we have to to on BOE side to install the SAPSSOEXT and to get the corret UME Proberties that we have to put into BW.
    Can you help us please on that issue? We can´t find any BOE Documentation for that and we working on that issue now for more then 5 weeks.
    Thank you/Kind Regards
    Evelyn

  • PXI 4065 - resistance depends upon range

    Hello!
    I am using a PXI 4065 DMM to measure 2-wire resistance through the soft front panel. The strange thing is that when I measure the resistance, it depends upon the range! For Instance, if I set the range to 10M, I read 0.9M, if I set the range to 1M, I read 0.15M, if I set it to 100k, I read 93k. How do I know which is correct? Autorange gives me 1.5M and a fluke 40Mohm dmm gives me an open.
    Also when I use labview to collect the resistance data, and I set the range to auto, it does not give the same value as when I measure with the soft front panel or a fluke DMM.  In fact the fluke DMM and the PXI often differ by an order of magnitude or more.
    How do I use the PXI DMM to read the correct resistance value?
    Thank you,
    Joe

    Joe,
    This is not uncommon with many ohmmeters.  If you look at the specifications for the 4065, you will see that the test current changes with range. 10 M => 500 nA, 1 M => 5 uA, 100 k => 10 uA. (20:1 range of current)  If the device you are measuring has any non-linearity or energy storage, the reading may be different on each range.
    Probably ALL of the measurements are within the accuracy specification of the meter (~100 to 500 ppm of reading).  You are just measuring something different on each range.
    To decide what is the "correct" reading, you need to carefully define the measurement conditions. In particular the applied voltage or current at which the measurement is made.  If the device being measured has energy storage or non-linearity, you must also specify the history of applied voltage or current over time to accurately define the measurement.
    Lynn

  • Shading part of a JTable Cell dependent upon the value of the cell

    Hi
    Was hoping some one woudl be able to provide some help with this. I'm trying to create a renderer that will "shade" part of a JTable cell's background depending upon the value in the cell as a percentage (E.g. if the cell contains 0.25 then a quarter of the cell background will be shaded)
    What I've got so far is a renderer which will draw a rectangle whose width is the relevant percentage of the cell's width. (i.e. the width of the column) based on something similar I found in the forum but the part I'm struggling with is getting it to draw this rectangle in any cell other than the first cell. I've tried using .getCellRect(...) to get the x and y position of the cell to draw the rectangle but I still can't make it work.
    The code for my renderer as it stands is:
    import java.awt.Component;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.swing.JLabel;
    import javax.swing.JTable;
    import javax.swing.table.TableCellRenderer;
    public class PercentageRepresentationRenderer extends JLabel implements TableCellRenderer{
         double percentageValue;
         double rectWidth;
         double rectHeight;
         JTable table;
         int row;
         int column;
         int x;
         int y;
         public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
              if (value instanceof Number)
                   this.table = table;
                   this.row = row;
                   this.column = column;
                   Number numValue = (Number)value;
                   percentageValue = numValue.doubleValue();
                   rectHeight = table.getRowHeight(row);
                   rectWidth = percentageValue * table.getColumnModel().getColumn(column).getWidth();
              return this;
         public void paintComponent(Graphics g) {
            x = table.getCellRect(row, column, false).x;
            y = table.getCellRect(row, column, false).y;
              setOpaque(false);
            Graphics2D g2d = (Graphics2D)g;
            g2d.fillRect(x,y, new Double(rectWidth).intValue(), new Double(rectHeight).intValue());
            super.paintComponent(g);
    }and the following code produces a runnable example:
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableModel;
    public class PercentageTestTable extends JFrame {
         public PercentageTestTable()
              Object[] columnNames = new Object[]{"A","B"};
              Object[][] tableData = new Object[][]{{0.25,0.5},{0.75,1.0}};
              DefaultTableModel testModel = new DefaultTableModel(tableData,columnNames);
              JTable test = new JTable(testModel);
              test.setDefaultRenderer(Object.class, new PercentageRepresentationRenderer());
              JScrollPane scroll = new JScrollPane();
              scroll.getViewport().add(test);
              add(scroll);
         public static void main(String[] args)
              PercentageTestTable testTable = new PercentageTestTable();
              testTable.pack();
              testTable.setVisible(true);
              testTable.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }If anyone could help or point me in the right direction, I'd appreciate it.
    Ruanae

    This is an example I published some while ago -
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class Fred120 extends JPanel
        static final Object[][] tableData =
            {1, new Double(10.0)},
            {2, new Double(20.0)},
            {3, new Double(50.0)},
            {4, new Double(10.0)},
            {5, new Double(95.0)},
            {6, new Double(60.0)},
        static final Object[] headers =
            "One",
            "Two",
        public Fred120() throws Exception
            super(new BorderLayout());
            final DefaultTableModel model = new DefaultTableModel(tableData, headers);
            final JTable table = new JTable(model);
            table.getColumnModel().getColumn(1).setCellRenderer( new LocalCellRenderer(120.0));
            add(table);
            add(table.getTableHeader(), BorderLayout.NORTH);
        public class LocalCellRenderer extends DefaultTableCellRenderer
            private double v = 0.0;
            private double maxV;
            private final JPanel renderer = new JPanel(new GridLayout(1,0))
                public void paintComponent(Graphics g)
                    super.paintComponent(g);
                    g.setColor(Color.CYAN);
                    int w = (int)(getWidth() * v / maxV + 0.5);
                    int h = getHeight();
                    g.fillRect(0, 0, w, h);
                    g.drawRect(0, 0, w, h);
            private LocalCellRenderer(double maxV)
                this.maxV = maxV;
                renderer.add(this);
                renderer.setOpaque(true);
                renderer.setBackground(Color.YELLOW);
                renderer.setBorder(null);
                setOpaque(false);
                setHorizontalAlignment(JLabel.CENTER);
            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col)
                final JLabel label = (JLabel) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col);
                if (value instanceof Double)
                    v = ((Double)value).doubleValue();
                return renderer;
        public static void main(String[] args) throws Exception
            final JFrame frame = new JFrame("Fred120");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setContentPane(new Fred120());
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    }

  • ALV top of page - heading depending upon list output

    Hi All,
    My alv grid report shows the report containing vendor account group and some other details.
    My requirement is to get the page break for every new vendor account group and also print the vendor account group description at the top of the list (in header section).
    I have achieved this by using * in sort table for page break and in top of page , I am reading the vendor acct grp desc table to print the header based on index sy-pagno.
    But this solution is only working in print preview mode. If I print the output, actual page breaks are getting applied and I am not getting the desired output as logic using sy-pagno is giving wrong output.
    My question is is there any way to get the current list in the top of page event? So that depending upon the displayed vendor acct grp per page, I will print its description?
    OR is there any other way to achieve this functionality?

    Any suggestions?

  • How to display the column dyanmically depending upon input

    I am doing a alv report of tax breaks in which i had 6 columns to be displayed as static and rest of ( vat tax )columns should be dynamic .
    if i enter a p.o.document no then if that p.o has taxes
    excise and excess then  they should be displayed and vat field contain 0 or nodata then it should not be in output .pls let me know .

    Farukh Quadri
       In the program, check if the PO has the EXCISE and EXCESS details. If yes, then make the FLAG = ' ' .
    If the PO doesnot have EXCISE and EXCESS  details then make FLAG = 'X'.
    While biulding the Field Catalog,  make that COLUMNS INVISIBLE depending upon the FLAG value
    loop at locFieldCatalog.
          case locFieldCatalog-fieldname.
            when 'WERKS'.
                locFieldCatalog-emphasize  = 'X'.
                locFieldCatalog-col_pos    = 1.
                modify locFieldCatalog.
            when 'MATNR'.
                locFieldCatalog-emphasize  = 'X'.
                locFieldCatalog-col_pos    = 2.
                modify locFieldCatalog.
    <b>        when 'EXCESS'.
              if FLAG = 'X'.
                 locFieldCatalog-no_out = 'X'.
                 modify locFieldCatalog.
              endif.</b>
      endcase.
    Please close your previous postings
    Thanks
    Kam

  • Need help in hiding particular column of a table depending upon value

    Hi experts,
    I have developed a custom smartform and Print program.
    My problem is ..depending upon the data i recieve,...i have to hide a particular column.
    For example ... i have a table with 2 rows...one header and main row..This table has 3 column.
    I have to hide one of the column depending upon the data i recieve. So my output should have 2 rows and 2 columns.
    Please help.

    well vishwa u r right it wont work for multiple columns,
    then i guess this shud work.
    @thendral
    U can try like this create the rows with single column
    then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
    кu03B1ятu03B9к

  • I want to install Yosemite onto an external hard drive, and keep Snow Leopard installed on the internal hard drive. I want to be able to boot from either system, depending upon circumstance (at least until Yosemite is stable). Is this possible?

    iMac, Model Identifier iMac12,1 with 121.5" screen, 2.8 GHz Intel Core i7 processor, 8 GB 1333 MHz DDR3 memory, 1 TB internal hard drive, running Snow Leopard 10.6.8 from internal drive.
    I want to install Yosemite onto a 1 TB external hard drive (OWC) , and keep Snow Leopard installed on the internal hard drive. I want to be able to boot from either system, depending upon circumstance (at least until Yosemite is stable). Is this possible?

    It is possible. I'll let you read some articles that cover the setup:
    Starting from an external USB storage device (Intel-based Macs) - Apple Support
    or
    http://osxdaily.com/2013/06/22/boot-mac-external-drive/

  • Can we hide column in a query depending upon the variable selected

    Hi all,
    let us say my report have 10 column.
    now i am giving user option to select the values (let us say 'a' or 'b')
    columns must be displayed depending upon the value selected by user ..
    for example if user has selected 'a' then first five columns should be displayed..and if user has selected 'b' last five column should be displayed..(it will be OK even if we can hide the columns depending upon the selection )
    Is it possible in BEx...please let me know

    I did it sometime back. A bit complicated process.
    Create an infoobject, manually enter the values "keyfig1" and "keyfig2".
    Include this infoobject in the filters and restrict it using a "ready for input" variable.
    Now create two formula variables.
    Write a customer exit such that when you select "keyfig1", first formula variable's value should be set to 1 and other one's to 0.
    Then in the query create two calculated key figures, multiply both with the formula variable. Also supress column (all active value == 0).
    Then it will show the key figure which you have selected.
    Pravender

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • From which table we can get cat_guid depending upon the guid of a tr.ticket

    Hi Experts,
    I have to find the cat_guid depending upon the guid which is in crmd_orderadm_h table to retrive the fields categeorization module/element/type maintained in the service ticket.
    Please tell me from which table we can get cat_guid depending upon the guid of perticular trouble ticket.
    points will be rewarded if helpful.
    regards,
    Ezal

    Hi Ezal
    Pass the GUID (CRMD_ORDERADM_H) to Function Module CRM_ORDER_READ to retrieve the required values.
    I think this should do the trick.
    Reward with points if helpful
    Regards
    Arden

  • XmlDataProvider .... is gone completely in my Xaml file. Why? How many different ways to deal with xml data source through WPF

    I followed a procedure described in a book.
    1. insert "Inventory.xml" file to a project "WpfXmlDataBinding" .
    2. add the XML data source through the data panel of "blend for 2013", named it "InventoryXmlDataStore" and store it in the current document.
    3. dragged and droppped the nodes from the Data panel onto the artboard.
    Then I checked my Xaml file against the one provided by the book
    Xaml file by the book:
    <Window.Resources>
    <!-- This part is missing in my xaml file --><XmlDataProvider x:Key="InventoryDataSource"
    Source="\Inventory.xml"
    d:IsDataSource="True"/>
    <!-- This part is missing in my xaml file -->
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid>
    <ListBox HorizontalAlignment="Left"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="89,65,0,77" Width="200"/>
    </Grid>
    my Xaml file:
    <Window x:Class="WpfXmlDataBinding.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="922" Width="874">
    <Window.Resources>
    <DataTemplate x:Key="ProductTemplate">
    <StackPanel>
    <TextBlock Text="{Binding XPath=@ProductID}"/>
    <TextBlock Text="{Binding XPath=Cost}"/>
    <TextBlock Text="{Binding XPath=Description}"/>
    <CheckBox IsChecked="{Binding XPath=HotItem}"/>
    <TextBlock Text="{Binding XPath=Name}"/>
    </StackPanel>
    </DataTemplate>
    </Window.Resources>
    <Grid DataContext="{Binding Source={StaticResource InventoryXmlDataStore}}">
    <ListBox HorizontalAlignment="Left" Height="370"
    ItemTemplate="{DynamicResource ProductTemplate}"
    ItemsSource="{Binding XPath=/Inventory/Product}"
    Margin="65,55,0,0" VerticalAlignment="Top" Width="270"/>     
        </Grid>
    </Window>
    All looks quite the same except the <XmlDataProvider ....> part under <Window.Resources>, which is gone completely in my Xaml file.
    1, Why?
    2, How many different ways to deal with xml data source through WPF?
    Thanks, guys.
    (ps My "WpfXmlDataBinding" runs without problem through.)

    Never do yourself down Richard.
    Leave that to other people.
    It's quite common for smart developers to think they're not as good as they are.
    I coach a fair bit and it's a surprisingly common feeling.
    And to repeat.
    Never use anything ends .. provider.  They're for trivial demo apps.  Transform xml into objects and use them.  Write it back as xml.  Preferably, use a database.
    You want to read a little mvvm theory first.
    http://en.wikipedia.org/wiki/Model_View_ViewModel
    Whatever you do, don't read Josh Smiths explanation.  I used to recommend it but it confuses the heck out newbies. Leave that until later.
    Laurent Bugnion did a great presentation at mix10.  Unfortunately that doesn't seem to be working on the MS site, but I have a copy.  Download and watch:
    http://1drv.ms/1IYxl3z
    I'm writing an article at the moment which is aimed at beginners.
    http://social.technet.microsoft.com/wiki/contents/articles/30564.wpf-uneventful-mvvm.aspx
    The sample is just a collection of techniques really.
    I have a sample which involves no real data but is intended to illustrate some aspects of how viewmodels "do stuff" and how you use datatemplates to generate UI.
    I can't remember if I recommended it previously to you:
    https://gallery.technet.microsoft.com/WPF-Dialler-simulator-d782db17
    And I have working samples which are aimed at illustrating line of business architecture.  This is an incomplete step by step series but I  think more than enough to chew on once you've done the previous stuff.
    http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
    The write up for step2 is work in progress.
    https://gallery.technet.microsoft.com/WPF-Entity-Framework-MVVM-78cdc204
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

Maybe you are looking for

  • IOS 5 not working with BOSE soundock

    After upgrading my ipod touch to IOS 5 my Bose soundock can not recognize it anymore. Has anyone solved this problem? Has anyone talked to Apple support about this problem?

  • Regarding Execution

    Hi friends, How to reduce the execution time ? venkat

  • HT201342 So explain to me why we're doing this?

    Seriously! Why do we now need 3 addresses? I started with .mac, then we had .me( which I hated and stuck with .mac), and now .iCloud? C'mon . This is now silly, and while I may take it, I'm still sticking with .mac. And not confusing everyone around

  • Wireless AAHHHHHH

    My friend is wanting to set up internet on his blue imac G3. And we're wondering. He was a wireless router in his house, can he have a bridge thing in his room that plugs directly into his mac, that connects to his wireless router? In other words, is

  • Which Tablet plays both Flash and Quicktime

    Hello need some advise from you~ I am looking at a Tablet that supports both Flash and Quicktime.  So far I only know that Honeycomb 3.0 supports flash. But you can download this "Rock Player" application to run Quicktime.  On the other hand, I Pad s