HR Payslip split and display Life Assurance separately

Hi Guys,
I am using the HR payslip transaction pe51 to edit the payslip. The deductions for life assurance, for instance are displayed as an accumulated figure for the same life assurance e.g XYZ Life would have R350, for an employee who has multiple policies with XYZ Life. I want it to display all the policies (different ref numbers) that the employee holds with XYZ Life on the payslip, with their correct, separate figures e.g.
Code Description Amount
2093 XYZ Life (ref 34567) R200
2093 XYZ Life (ref 45679) R50
2093 XYZ Life (ref 12345) R100
Currently it displays:
Code Description Amount
2093 XYZ Life (ref 34567) R350
How can I do it?
Thanks and Regards

I am not sure which one of the options I should use for the indicator. When I display the F1 help for that field I get:
You can use the following split indicators:
Set Delete Split- Description
  indicator
X X A work center/basic pay
X X K cost distribution
X X R payroll type
X X T substitution/alternative payment
X X U bank transfer
X X X variable assignment
X X Y absence
X X Z time unit
X X 1 country-specific
X X 2 country-specific
X X 3 country-specific
X * all split indicators listed above
X  = rate
X X D retroactive accounting date
X  L initialize for-period date (CE only)
X X P personnel number (CE only)

Similar Messages

  • Why GL balance  is splitting and displaying Bus. Area wise in F.01

    Why GL balance  is splitting and displaying Bus. Area wise in F.01, eventhough I have selected Bus. Area summarization 3 under output control tab.

    Hi Paul,
    Even after selecting 3 in output control under BA summarization it is dispalying same as earlier.  Even i have tried by selecting for both Company code summarization and BA summarization as 3, it is not displaying correct.

  • I have a early 2011 Macbook pro 13 inch, I'm running Lion 10.7.4, and i want to upgrade to 10.8 Mountain Lion. Is it safe for my computer or are people experiencing problems with displays and Battery life?

    I have a early 2011 Macbook pro 13 inch, I'm running Lion 10.7.4, and i want to upgrade to 10.8 Mountain Lion. Is it safe for my computer or are people experiencing problems with displays and Battery life?
    Do Not post stuff about how Airplay doesnt work, because i dont have Apple TV and dont need to hear about it.

    If you have an external drive equal to or larger than your internal HD, clone your internal to it with either Carbon Copy Cloner or Super Duper. Test the clone to make sure it's bootable. Then upgrade either one. Try it out first.

  • Depriciation key and useful life periods in asset master should in display mode only

    Hi all
    At the time of creation asset master AS01 we are given the Asset class, company code and similar of asset (1) then we click enter button we will get Create asset: master data screen here in general tab we enter the description and in time dependent tab we enter cost center manually
    But
    When we click on Depreciation tab here the  Depreciation key and use life fields are automatically come with Dep.key(ABC) and use life(15) (Because we maintained in OAYZ)
    Here user have a chance to change the Dep.key(ABC) and use life(15).so my requirement is these two fields are display with only display mode .
    User don’t have chance to modify this.

    Hi Anil,
    The screen layout for Asset and its depreciation tab are different. You have to make these fields as Display only in the screen layout. This can be done using T-Code AO21. Below are the screenshots for the path and screen layout for your reference. This should solve your issue
    Regards
    Pankaj Pareek

  • How to "group by" and display  in separated table views

    What cloud be the approach to the following scenario:
    1) A RFC returns a list of lot of invoices.
    2 How to group by "customer code" and display in separated table views  for each customer "group of invoices" ?
    Is there a way to do this using VC or only using WebDynpro ?
    thanks

    Issac,
    you dont hv to do this using dynpro. you can achieve this in vc by using the 'Filter' operator. from the output port of the rfc, feed the results to multiple filters. hv one filter for each segregation (for eg for each customer code). Then feed these filtered entries to the table views.
    prachi

  • How to read list item and display Title and on click hyperlink as value by javascript /jquery

    on newform.aspx just above the top of cancel button I want to put 1 hyperlink "Help"
    but I want to do this by script/jquery by reading my configuration list where 1 column is TITLE and other is- URL
    in TITLE column will write "Help" and in URL column  I will write
    http://portal1234/sites/sudha/MyHelppage.aspx
    so script should read Title and display Help--->1st part
    Script should read Value column and on click of help-(display link) the respective url should be open in new window.-->second part
    Please let me know reference code for adding anchor tag dynamically by reading from list
    I can see hyperlink near cancel button-
    $(document).ready(function(){
    var HelpLinkhtml ='<a href="#" text="Help">Help</a>';
    var position =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
    now for reading from list I am trying below script-
    $(document).ready(function() {
        GetHelpLinkFromConfigList();
    function GetHelpLinkFromConfigList()
     //The Web Service method we are calling, to read list items we use 'GetListItems'
     var method = "GetListItems";
     //The display name of the list we are reading data from
     var list = "configurationList";
     //We need to identify the fields we want to return. In this instance, we want the Title,Value fields
     //from the Configuration List. You can see here that we are using the internal field names.
     var fieldsToRead = "<ViewFields>"+"<FieldRef Name='Title' />"+"<FieldRef Name='Value' />"+"</ViewFields>";
     //comment
     var query = "<Query>" +
                            "<Where>" +
                                "<Neq>" +
                                    "<FieldRef Name='Title'/><Value Type='Text'>Help</Value>"
    +
                                "</Neq>" +
                            "</Where>" +
                            "<OrderBy>" +
                                "<FieldRef Name='Title'/>" +
                            "</OrderBy>" +
                        "</Query>";
     $().SPServices(
     operation: method,
        async: false,
        listName: list,
        CAMLViewFields: fieldsToRead,
        CAMLQuery: query,
        completefunc: function (xData, Status) {
        $(xData.responseXML).SPFilterNode("z:row").each(function() {
        var displayname = ($(this).attr("ows_Title"));
        var UrlValue = ($(this).attr("ows_Value")).split(",")[0];
        AddRowToSharepointTable(displayname,UrlValue)
    function AddRowToSharepointTable(displayname,UrlValue)
        $("#NDRTable").append("<tr align='Middle'>" +
                                    "<td><a href='" +UrlValue+ "'>+displayname+</a></td>"
    +
                                   "</tr>");
    <table id="NDRTable"></table>
    Thanks :)
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    From your description, you want to add a help link(read data from other list) into new form page.
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    ExecuteOrDelayUntilScriptLoaded(AddHelpLink, "sp.js");
    function AddHelpLink() {
    var context = new SP.ClientContext.get_current();
    var list= context.get_web().get_lists().getByTitle("configurationList");
    var camlQuery= new SP.CamlQuery();
    camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>Help</Value></Eq></Where></Query></View>");
    this.listItems = list.getItems(camlQuery);
    context.load(this.listItems,'Include(Title,URL)');
    context.executeQueryAsync(function(){
    var ListEnumerator = listItems.getEnumerator();
    while(ListEnumerator.moveNext())
    var currentItem = ListEnumerator.get_current();
    var title=currentItem.get_item("Title");
    var url=currentItem.get_item("URL").get_url();
    var HelpLinkhtml ='<a href="'+url+'">'+title+'</a>';
    $("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
    },function(sender,args){
    alert(args.get_message());
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How would you read in each line of data and display them to message box?

    How would you read in each line of data from the _.txt file_ and display the whole data using an information-type message box?
    I know how to display each line of the .txt file data, but I do not know how to display the whole thing.
    Here is how I did to display each line of data using the message box:
    import javax.swing.JOptionPane;          // Needed for the JOptionPane class
    import java.io.*;                         // Needed for file classes
    public class problem3
         public static void main(String[] args) throws IOException
              String filename;          // Needed to read the file
              String categories;          // Needed to read the categories
              // Get the filename.
              filename = JOptionPane.showInputDialog("Enter the filname.");
              // Open the file.
              FileReader freader = new FileReader(filename);
              BufferedReader inputFile = new BufferedReader(freader);
              // Read the categories from the file.
              categories = inputFile.readLine();
              // If a category was read, display it and
              // read the remainig categories.
              while(categories != null)
                   // Display the last category read.
                   JOptionPane.showMessageDialog(categories);
                   // Read the next category.
                   categories = inputFile.readLine();
              // Close the file.
              inputFile.close();
    }I think I need to change here:
    // If a category was read, display it and
              // read the remainig categories.
              while(categories != null)
                   // Display the last category read.
                   JOptionPane.showMessageDialog(categories);
                   // Read the next category.
                   categories = inputFile.readLine();
              }but I don't know how to.
    Could you please help me?
    Thank you.

    kyorochan wrote:
    jverd wrote:
    What is not understood about your question is which part of "read a bunch of lines and display them in a textbox" do you not understand.
    First thing's first though: You do recognize that "read a bunch of lines and display them in a textbox" has a few distinct and completely independent parts, right?I'm sorry. I'm not good at English, so I do not understand what you said...
    What I was trying to say is "How to display the whole lines of .txt file in single dialog box."We know that.
    Do you understand that any problem can be broken down into smaller pieces?
    Do you understand that your problem has the following pieces?
    1. Read lines from the file.
    2. Put the lines together into one String.
    3. Put the String into the message box.
    and maybe
    4. Make sure the message box contents are split into lines exactly as the file was.
    (You didn't make it clear if that last one is a requirement.)
    Do you understand that 1-4 are completely independent problems and can be solved separately from each other?
    Do you understand that you have stated that you already know how to do 1 and 3?
    Therefore, you are NOT asking "How to display the whole lines of .txt file in single dialog box." Rather, you ARE asking either #2 or #4 or both.
    If you say once more "display all the lines of the file in one dialog box," then it is clear that we are unable to communicate with you and we cannot help you.

  • Pass ArrayList to jsp and display first index of resultset?

    Is it possible for me to pass an ArrayList to a jsp, and display the each resultset stored in the ArrayList by the ArrayList index?
    The code below gets passed two paramaters. An invorg, and item. It then creates resultset based upon the Object and puts the results into an ArrayList.
    The resultset returned varies, but the largest resultset that I have received back has not been bigger thatn 10 resultset rows, and the largest number of columns has been 27 columns.
    I would then like to pass the whole ArrayList to the jsp and display the contents for each row based on the index it is on.
    Is this possible?
    public class RunReportAction extends MTDAction
        ArrayList results;   
        public RunReportAction()
        public boolean execute(HttpServletRequest _req, HttpServletResponse _res) throws ServletException, IOException
            String item = _req.getParameter("itemsToAdd");
            String invorg = _req.getParameter("invorg");
            try
                if (rep_type.equals("Vendor"))
                    runVendorReport(item, invorg);
                else if (rep_type.equals("Purchase Order"))
                    runPOReport(item, invorg);
                else if (rep_type.equals("Inventory"))
                    runInventoryReport(item, invorg);
                else if (rep_type.equals("Item Usage"))
                    runWhereUsedReport(item, invorg);
                else if (rep_type.equals("Cost/Purchasing"))
                    runCostReport(item, invorg);
                else if (rep_type.equals("Planning"))
                    runPlanningReport(item, invorg);
            catch (Exception e)
                setView("SSMErrorPage.jsp");
                model = e;
            model = results;
            view = "SSM_Reports";
            return true;
        boolean runInventoryReport(String item, String invorg) throws MTDException
            try
                CallableStatement cs = conn.prepareCall("{call CTI_SSM_PKG.get_inventory_report(?,?,?)}");
                cs.registerOutParameter(3, OracleTypes.CURSOR);
                cs.setObject(2, item, Types.VARCHAR);
                cs.setObject(1, invorg, Types.VARCHAR);
                cs.execute();
                ResultSet rs = (ResultSet)cs.getObject(3);
                while (rs.next())
                    InventoryObj inventory = new InventoryObj();
                    inventory.setInvOrg(rs.getString(1));
                    inventory.setItem(rs.getString(2));
                    inventory.setItemDescription(rs.getString(3));
                    inventory.setInvFlag(rs.getString(4));
                    inventory.setStockEnabled(rs.getString(5));
                    inventory.setTransactable(rs.getString(6));
                    inventory.setRevQtyControl(rs.getString(7));
                    inventory.setReservable(rs.getString(8));
                    inventory.setCheckShortage(rs.getString(9));
                    inventory.setLotControl(rs.getString(10));
                    inventory.setShelfLife(rs.getString(11));
                    inventory.setLotStartPrefix(rs.getString(12));
                    inventory.setLotStartNumber(rs.getString(13));
                    inventory.setLotCycleCount(rs.getString(14));
                    inventory.setPosMeasureError(rs.getString(15));
                    inventory.setNegMeasureError(rs.getString(16));
                    inventory.setSerialGeneration(rs.getString(17));
                    inventory.setSerialNumbStart(rs.getString(18));
                    inventory.setSerialPrefixStart(rs.getString(19));
                    inventory.setLotStatus(rs.getString(20));
                    inventory.setSerialStatus(rs.getString(21));
                    inventory.setLotSplit(rs.getString(22));
                    inventory.setLotMerge(rs.getString(23));
                    inventory.setLocatorControl(rs.getString(24));
                    inventory.setToday(rs.getString(25));               
                    results.add(inventory); 
                    System.out.println(results);
            catch (SQLException e)
                throw (new MTDException("Failed to run report in database.", e));
            //model = results;
            //setView("SSM_Reports.jsp");
            return true;
    }jsp code:<%@ page import="java.util.*"%>
    <%@ page import="ssmmtd2.InventoryObj"%>
    <html>
    <head>
    <title> SSM 2 Inventory Report </title>
    <style>
              A {text-decoration:none;color:black;}
              A:Hover {color:Blue}
    </style>
    </head>
    <%
      ArrayList inventory;
      if (request.getAttribute("model") != null)
        if ((request.getAttribute("model").getClass().getName()).equals("java.util.ArrayList"))
          inventory = (ArrayList)request.getAttribute("model");     
          if (inventory != null && inventory.size() > 0)
          %>
        <body  bgcolor="#FFFFFF">
          <table border = "1" width="755" cellpadding="0" cellspacing = "0">
          <tr>
            <td colspan="3" width="755" align="center">
              <p align="center"><big><b><font color="#000080">Inventory Report</font></b></big>
            </td>
          </tr>
          </table>
          <table border="1" width="755">
            <tr>
              <td width="100%">
                <form>
                  <table>
                <%
                  Iterator i = inventory.iterator();
                  while (i.hasNext())
                    InventoryObj invObj = (InventoryObj)i.next();
                %>
                  <TR>
                    <TD><B>ITEM:</B>
                      <align="left" valign="center"><%=invObj.getItem()%>
                    <td><B>DESCRIPTION:</B>
                      <align="left" valign="center"><%=invObj.getItemDescription()%>
                  <TR>
                  </TR>
                  <TR>
                  </TR>
                  <TR>
                  </TR>
                    <td><B>ORGANIZATION:</B>
                      <align="left" valign="center"><%=invObj.getInvOrg()%>
                    </TD>
                    <TD>
                      <B>CURRENT DATE:</B>
                        <align="left" valign="center"><%=invObj.getToday()%></TD>
                    </TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                    <TR>
                      <TD><B>INVENTORY ITEM</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getInvFlag()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>STOCK ENABLED</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getStockEnabled()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>TRANSACTABLE</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getTransactable()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>REVISION QTY CONTROL</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getRevQtyControl()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>RESERVABLE TYPE</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getReservable()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>CHECK SHORTAGES</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getCheckShortage()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>LOT CONTROL</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotControl()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>SHELF LIFE DAYS</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getShelfLife()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>STARTING LOT PREFIX</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotStartPrefix()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>STARTING LOT NUMBER</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotStartNumber()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>CYCLE COUNT</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotCycleCount()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>POSITIVE MEASUREMENT ERROR</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getPosMeasureError()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>NEGATIVE MEASUREMENT ERROR</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getNegMeasureError()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>SERIAL GENERATION</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getSerialGeneration()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>STARTING SERIAL NUMBER</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getSerialNumbStart()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>STARTING SERIAL PREFIX</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getSerialPrefixStart()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>LOT STATUS</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotStatus()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>SERIAL STATUS</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getSerialStatus()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>LOT SPLIT</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotSplit()%>
                      </TD></TR>
                    <TR>
                      <TD><B>LOT MERGE</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLotMerge()%>
                      </TD>
                    </TR>
                    <TR>
                      <TD><B>LOCATOR CONTROL</B>
                      <TD align="left" valign="center"><b>:</B>  <%=invObj.getLocatorControl()%>
                      </TD>
                    </TR>
                <%} %>
                  </table>
                <input type="hidden" name="SearchValue">
                <BR>
                <img src="images/close11.bmp" style="cuinvObjor:hand" onmouseover='this.src="images/close12.bmp"' onmouseout='this.src="images/close11.bmp"' onClick="window.close()">     
                <img src="images/print1.bmp" style="cuinvObjor:hand" onmouseover='this.src="images/print2.bmp"' onmouseout='this.src="images/print1.bmp"' onClick='this.src="images/print3.bmp"; window.print()' >
                </form>
              </td>
            </tr>
          </table>
        </body>
    <%
    %>
    </html>

    Your arraylist object should be a list of inventory bean objects and then, If you are using struts, you could use logic:iterate tags.. or something equivalent.. you could use forEach in jstl..

  • Validate the XML tag value and display the Binding data in XDP

    Hi,
    I am new to Adobe Life Cycle.... and i am working on the following requirement and XML file is enclosed...
    1. Need to validate the XML value of <pp> with condition
    2. Basing on the value of <pp>, need to display the <ct> values in text field
    If i simply bind, it takes the values from top of array and display..
    Please suggest how to restrict the binding values basing on the condition.
    Thanks
    Madhu

    Hi Paul,
    Thank you for quick respose.
    The solution which you have give me not excatly looking for.... working for the solution in alternative methods...
    Regards
    madhu

  • Retrieve variable value from local Storage and display on canvas

    Hi
    I'm working on a project that has multiple html files (the projects are split into 12 so 12 different edge projects and im linking them via window.open()). I have a variable that keeps track of correct answers stored in LocalStorage html object. I have managed to get the localStorage variable to increment up by one each time the object is correct however my last step is to get the variable and them display the result on the canvas. I have tried
    var outPut localStorage.getItem(' ') method to retrieve the variable then used the set and get method to display the result however it doesn't work. Im not sure if I need a for loop to go though the localStorage and get the elements
    Code:
    // insert code to be run when the composition is fully loaded here
    yepnope({nope:['jquery-ui-1.10.0.custom.min.js','jquery.ui.touch-punch.min.js'],complete: init}); // load the jquery files
    sym.setVariable("myScore", 0);
    var c = localStorage["myCount"] || 0; //loading from localStorage
    function init(){
    sym.getSymbol("barLimit").$('scrubber').draggable({start: function(e){
    },drag: function(e,ui){ // start: ...  // Find original position of dragged image
    var leftLimitScrubber  = sym.getSymbol('barLimit').$('scrubber').position().left; // position of the scrubber
    var rightLimitScrubber  = sym.getSymbol('barLimit').$('leftLimit').position().left;
    var LimitTwoLeft  = sym.getSymbol('barLimit').$('rightLimit').position().left;
    if(leftLimitScrubber == rightLimitScrubber){
      sym.getSymbol('correctBar1').play('in'); //
      sym.getSymbol('nextButton').play('in');
      sym.getSymbol('incorrectBar1').play('out'); //
      sym.getSymbol('thumbsDown1').play('out'); //
      sym.getSymbol('thumbsUp1').play('in'); //
      sym.getSymbol('congrats').play('in'); //
    localStorage["myCount"] = parseInt(c)+1; //Converting string to number, and then saving it
    console.log("numberOfCorrectAnswers", localStorage["myCount"]);
    var finalScore = sym.getVariable("myScore");
    finalScore = c;
    sym.setVariable("myScore", finalScore);
    sym.$("Score").html(finalScore);
    } else if(leftLimitScrubber == LimitTwoLeft){
    sym.getSymbol('incorrectBar1').play('in');
    sym.getSymbol('correctBar1').play('out');
    sym.getSymbol('thumbsUp1').play('out');
    sym.getSymbol('thumbsDown1').play('in');
    axis: "x",
    containment: "parent"
           //for (var i = 0; i < localStorage.length; i++){ // iterate throught the local storage
             //var getItem = localStorage.getItem(localStorage.key(i));
              //if(getItem == 'numberOfCorrectAnswers' ){
    The above is the code for the 12th project in  this projects it needs to display the variable inside the object localStorage and display on the canvas.
    Any help will mean a lot. Thank You in advance
    P.S edge animate has a lot of bugs hard to code in

    what you need to do is to create a text box and set a default value of zero. Once that is don't you need a code on the stage which grabs the value form the localStorage object. I used the .text() jquery method to display the value on the canvas. So the zero will be replaced with whatever the value of the localStorage is.
    You also need a if statement to check if the localStorage is undefined, if its not then grab the value and display on the canvas.
    e.g
    var number = localStorage['finalValue']; // for the sake of completeness I had to put this line of code
    if( number ! = undefined){ // if not undefined so the object exits then ...
         sym.$(' (text identifier) '). text(number); // note text identifier is the name of the text box you create in edge
    } // Done

  • // Code Help need .. in Reading CSV file and display the Output.

    Hi All,
    I am a new Bee in code and started learning code, I have stared with Console application and need your advice and suggestion.
    I want to write a code which read the input from the CSV file and display the output in console application combination of first name and lastname append with the name of the collage in village
    The example of CSV file is 
    Firstname,LastName
    Happy,Coding
    Learn,C#
    I want to display the output as
    HappyCodingXYZCollage
    LearnC#XYXCollage
    The below is the code I have tried so far.
     // .Reading a CSV
                var reader = new StreamReader(File.OpenRead(@"D:\Users\RajaVill\Desktop\C#\input.csv"));
                List<string> listA = new List<string>();
                            while (!reader.EndOfStream)
                    var line = reader.ReadLine();
                    string[] values = line.Split(',');
                    listA.Add(values[0]);
                    listA.Add(values[1]);
                    listA.Add(values[2]);          
                    // listB.Add(values[1]);
                foreach (string str in listA)
                    //StreamWriter writer = new StreamWriter(File.OpenWrite(@"D:\\suman.txt"));
                    Console.WriteLine("the value is {0}", str);
                    Console.ReadLine();
    Kindly advice and let me know, How to read the column header of the CSV file. so I can apply my logic the display combination of firstname,lastname and name of the collage
    Best Regards,
    Raja Village Sync
    Beginer Coder

    Very simple example:
    var column1 = new List<string>();
    var column2 = new List<string>();
    using (var rd = new StreamReader("filename.csv"))
    while (!rd.EndOfStream)
    var splits = rd.ReadLine().Split(';');
    column1.Add(splits[0]);
    column2.Add(splits[1]);
    // print column1
    Console.WriteLine("Column 1:");
    foreach (var element in column1)
    Console.WriteLine(element);
    // print column2
    Console.WriteLine("Column 2:");
    foreach (var element in column2)
    Console.WriteLine(element);
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Doc splitting and new Gl a/c

    Hi All,
    can any one tell me the difference between doc splitting and new gl concept. and explain me how will it useful in preparing profit center wise balance sheet.
    and pls explain me the configuration steps.
    Thanks In advance
    Sarayu

    Hi
    Document splitting enables a complex display of documents. Line items are split here for selected dimensions. This ensures that you can draw up complete financial statements for the selected dimensions at any time. Below example would further clear :-
    Suppose a vendor invoice containing the following items is entered:
    Posting Key Account Segment Amount
    31 Payable 100.00-
    40 Expense 0001 40.00
    40 Expense 0002 60.00
    Document splitting then creates the following document in the general ledger view:
    Posting Key Account Segment Amount
    31 Payable 0001 40.00-
    31 Payable 0002 60.00-
    40 Expense 0001 40.00
    40 Expense 0002 60.00
    Settings for Splitting are as follows :-
    In the IMG, choose Financial Accounting (New)->General Ledger Accounting (New)-> Business Transactions-> Document Splitting.
    1. Classify G/L Accounts for Document Splitting - You need to classify the individual document items so that the system knows how to handle them. You do this by assigning them to an item category. The item category is determined by the account number. In this IMG activity, you need to assign the appropriate accounts.
    2. Classify Document Types for Document Splitting - Every business transaction that is entered is analyzed during the document splitting process. In this process, the system determines which splitting rule is applied to the document. To enable the system to determine the splitting rule, you need to assign a business transaction variant to each document type.
    3. Define Zero-Balance Clearing Account - Here you define a clearing account for account assignment objects for which you want to have a zero balance setting when the balance is not zero.
    4. Define Document Splitting Characteristics for General Ledger Accounting - Here you specify to which document splitting characteristics document splitting applies, for example, profit center or segment. The characteristics that you specify should be maintained in at least one of your ledgers. You determine which characteristics are maintained in your ledger by assigning scenarios or customer fields to your ledgers.
    You also define how this characteristic is to be handled by specifying, for example, whether you want to apply a zero balance setting, whether the field is a required entry field, and the appropriate partner field.
    5. Define Document Splitting Characteristics for Controlling - Here you specify which additional characteristics you want to apply in document splitting. The additional characteristics are not relevant for General Ledger Accounting. Instead, they are relevant for components in Controlling that use documents transferred from General Ledger Accounting.
    6. Define Post-Capitalization of Cash Discount to Assets - Here you define whether the cash discount that is applied in the payment of an asset-relevant invoice should be capitalized to the asset. When you select this setting, the cash discount amount is not posted to the cash discount account in the payment document, but instead directly to the asset.
    7. Edit Constants for Nonassigned Processes - Here you define default account assignments (for example, a default segment) for specific line items in processes for which it is not possible to derive the correct account assignments at the time when the document is posted. This is the case if the required information is not yet available when the posting occurs.
    8. Activate Document Splitting - In this IMG activity, you activate document splitting. The splitting method used is that delivered by SAP as standard, which contains the splitting rules for the different business transactions. If this splitting method does not meet your requirements, you can first define and then select your own method in Customizing for document splitting (see the next step).
    Settings for Extended Document Splitting
    Here you define your own rules for document splitting and make the necessary settings so that the system applies the rules you defined and not the SAP standard rules.
    9. Define Splitting Method - Here you define your own method for document splitting. A splitting method contains the rules governing how the individual item categories are dealt with.
    10. Define Splitting Rule - Here you define the splitting rules for document splitting. You assign one or more business transaction variants, the account key for the zero balance setting, and the leading item categories for cross-company code transactions to a splitting method.
    11. Assign Splitting Method - Here you assign the splitting method to be used for document splitting after activation. If you want to activate your own splitting method, replace the standard method with your own method.
    12. Define Business Transaction Variants - Here you can define business transaction variants for the business transactions in document splitting.
    Regards,
    R.Ramakrishnaraj

  • Read two different arrays and display

    I have a text file, which has 1000 of entries in the way mentioned below:
    Kozos customer
    sabze employee
    I am reading the content of text file and saving as an arrays.
    $global:Content = get-content info.txt
    $global:Name=$Content | foreach {
    $hashTab=@{Name="" ; Info=""}
    $hashTab.Name, $hashTab.Info=$_.Trim() -split '\s+'
    New-Object PSObject -Property $hashTab
    $global:Names=$ServerList | select -ExpandProperty Name
    $global:Infos=$ServerList | select -ExpandProperty Info
    How do I read two arrays, I mean read the values of two arrays one by one and display the result as:
    Names Infos
    Kozos Customer
    sabze employee

    We get that you are unable to do this, but it is still not clear precisely what it is that you want, a two-dimensional array, or a structure such as SeanQuinlan suggested? Also:
    there seems no reason for any of the variables to be global in scope.
    Where is the $serverlist variable defined?
    what relationship is there between the file you mention and the data in the $serverlist variable?
    Your code has three arrays, $name, $names, and $infos; which two of these do you want to combine into a single array? If $names and $infos, would this work for you:
        $namesNinfos = $serverlist | select name,info
    I suggest that you describe your situation without trying to state it in powershell (as that is partly where your problem lies). You could, for example, show sample content of the file and each of the two arrays, and show what this would look like in your
    desired two-dimensional array, perhaps like this:
    file info.txt
    Kozos customer
    sabze employee
    array 1:
    Kozos
    sabze
    array 2:
    customer
    employee
    resultant 2D array
    column 1 2
    row
    1 Kozos customer
    2 sabze employee
    As an aside, it could be that we are getting confused by the term "array". languages such as fortran and basic support multidimensional arrays in which each element is addressed by a set of integer indices, the most common form being row and column, as in
    a spreadsheet.
    In Powershell, arrays are generally one dimensional, with a single numerical index being used to select a single element ($row3 = $array[2]). That element can optionally have multiple values if it is defined as an array or a hash. This is referred to as
    a "jagged array" as each element of the array may not all have the same number of sub-elements as each other.
    Powershell also supports true multidimensional arrays, however, these seem fairly rarely used, I suspect because jagged arrays generally provide more easily used functionality.
    You can get more details on this from
    here and
    here.
    This, then, leads to my final question:
    what type of two-dimensional array are you looking for, and how will your script be processing it?
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • How to show character length 60 ,If we split and distribute..??

    Hi Friends,
    As per other threads ,It was mentioned like split the string into parts depending upon length and split and send it into different Infoobjects....It is ok ..after sending it into different objects ..how can we see it in query as a single string..Is it by using customer exit variables kind of things??

    MSTF ,
    What you can use is , You can use the table modifier and concatenate the three columns into one at runtime and hide the other two columns of the table. But again I assume you are using BeX.
    Arun Varadarajan
    P.S Otherwise store the comments in a BW Internal Table and then display the data in the concerned cell at runtime using the table modifier.

  • T61 8891-CTO split screen display on startup - nVidia drivers don't work

    Greetings,
    I have a T61 model 8891-CTO laptop. The laptop has the following nVidia part - 42X0809SBB NVID Q NVS 140M W/O-WWAN. Whenever I start my laptop I get a split screen display. I tried restoring an old system image and even tried re-installing Windows 7 several times and I still have the same problem. When ever I tried to install the nVidia driver, the OS goes into recovery mode upon startup. The warranty on the machine is expired. I read a few threads in the forum regarding T61 display problems, but was not able to find a solution to my problem. Does anybody have any suggestions or advice for this problem.
    Thanks in advance for any help!

    bhaga,
    Well, that would tend to unfortunately confirm that you have a problem with the video subsystem - mostly likely the GPU as lead_org suggests above.
    If your system is still under warranty, or six months or less outside of warranty, please contact support and they should be able to service the system and replace the system board.
    If you are otherwise out of warranty, you may want to check the support site to find the FRU number for your system board and do a bit of searching online for the best price on a replacement board and swap it out.  It's not too hard - will take you about 45-50 mins start to finish. 
    You will want to pick up some artic silver and clean off all the old thermal paste and use the artic silver on the CPU and GPU when you install the fan / heatsink.
    Wish I had some better news for you!
    Best regards,
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

Maybe you are looking for

  • Screensaver is not working in OSX Yosemite

    Hi, My screensaver is not working in OSX Yosemite on my macbook pro late 2008 Can't solve it by my self..

  • Can't get iCloud to work on my Mac

    I am trying to get iCloud on my Mac and iPhone so I can sync documents, photos, etc.  But I can't seem to get iCloud on my Mac to work.  Example: there's no option to save in iCloud on Pages.  I have OS 10.7.5, and Pages 4.3; my wife has OS 10.8.5 an

  • Is there anything better than the cloud app

    I am new to the "cloud" and although I understand FTP pretty well, I don't understand the cloud very well. I am going on vacation with my ipad and want to take along some word documents and an mp3 file to transcribe some audio. I have the pages app a

  • [SOLVED] - all qt packages = segmentation fault

    Title says it all. kdm doesn't start, only kde related package which appears to work is ksensors. To give a few examples: toad@archtop 1004\7 /home/toad > okular Segmentation fault toad@archtop 1004\8 /home/toad > kate Segmentation fault toad@archtop

  • Debit Material to Vendor

    Dear Experts how to debit the Material to the Subcontracting Vendor , when some of material Which Was send by us to vendor but Now Vendor having No stk of that item in that case we r putting Debit Note of Value, but how we can debit material At vendo