Order split functionality with PP-PI

Hello Forum,
I am not sure whether we can use the order split functionality with process orders .  I had implemented it earlier for a client with discrete MFG production type but not aware whether we can do so in process industry (couldn't find the provision to do so in process order operation overview screen function menu path).
Cheers
Kaushik

Hi Kaushik,
Yes your right.
Order split functionality is only applicable for Discrete manfg not for PI industry this is major difference between PI & DM.But you can achieve this at the time of process order confirmation.
Example :-In the Goods Movement Overview of Process Order confirmation FG material is done Auto GR. This FG material Quantity needs to be splitted. Push button "Split" is provided in the bottom of the Goods Movement Overview screen of Process Order Confirmaton.
Say FG quantity = 25 KG  which is to be confirmed. Client wants to split the FG quantity into 1 KG wise, for this he needs to split into 25 times.
You can implement this by using below work order
Please use the WORKORDER_GOODSMVT for splitting the GR in Confirmation
This u can implement in PI.Also check Mr.Paulo reply that could be one possibility.
check & revert.
TnX

Similar Messages

  • Problem with Creation of CRM Order via Function Module Test

    I am trying to check the order creation process from external systems by using the test function in Tcode SE37 with Function Module BAPI_BUSPROCESSND_CREATEMULTI.
    I have created a Test Sequence of the following FMs:
    BAPI_BUSPROCESSND_PROCSETTINGS
    BAPI_BUSPROCESSND_CREATEMULTI
    BAPI_PROCESS_SAVE
    BAPI_TRANSACTION_COMMIT
    All that I have been able to create so far is an order header without a Sold-to or Ship-to and no items. I am able to populate the Organization data, Header text and Appointments. The only partner function that is being populated is the one that is being automatically picked up from my user master.
    For the BAPI_BUSPROCESSND_CREATEMULTI I am populating the following tables:
    HEADER          1 entry
    ITEM               2 entries
    PARTNER          2 entries
    ORGANISATION     1 entry
    APPOINTMENT          2 entries
    INPUT_FIELDS          41 entries     
    SCHEDULELINE     2 entries
    I have created the entries based upon information gained through debugging function module CRM_ORDER_MAINTAIN during the creation of a service order.
    It would be interesting to know if anybody has successfully created an order via the SE37 test function and if so, it would be useful to see the data in the relevant tables.

    HEllo ,
    Write a wrapper to the function module CRM_ORDER_MAINTAIN.
    To populate the Text use below code
      ls_input_field_names-fieldname  = 'REF_GUID'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'REF_KIND'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDID'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDSPRAS'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDSTYLE'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDFORM'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'LINES'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'MODE'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid    = attr_guid.
      ls_input_fields-ref_kind    = 'A'.
      ls_input_fields-objectname  = 'TEXTS'.
      CONCATENATE 'CRM_ORDERH' order_guid INTO ls_input_fields-logical_key.
      ls_input_fields-field_names = lt_input_field_names.
      INSERT ls_input_fields INTO TABLE attr_t_inputfields.
    Call Order maintain FM to create any order
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_text               = lp_order->attr_t_text
          it_partner          = lp_order->attr_t_partner
        IMPORTING
          et_exception     = et_exception
        CHANGING
          ct_orderadm_h     = lp_order->attr_t_orderadm_h
          ct_input_fields      = lp_order->attr_t_inputfields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards
    Satish

  • Function module to get Service Order details created with a Sales Order

    Hi,
    Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
    When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item #  in the DB view  CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
    I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
    Your early response is greatly appreciated.
    Thanks in advance,
    venu

    Hi Akshay,
    I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
    Can you please tell me if there is anyother way.
    Thank you,
    venu

  • Problem with   split function

    The split function doesn't work.
    Following function:
    var s:String ="test (H) :) (L) (L)  :) (H) (H)(H)(H:):) "
    var myPattern:RegExp = /\([a-zA-z0-9]\)/g;
    trace(s.match(myPattern))
    trace(s.split(myPattern))
    this is the output:
    (H),(L),(L),(H),(H),(H)
    test , , ,  , ,,(H:):)
    The split function is deleting all the matches! Why is this happening?

    The split function works differently with Regular expressions
    For example look at this code
    var s:String ="test (H) :) (L) (L)  :) (H) (H)(H)(H:):) "
    var myPattern:RegExp = /\([a-zA-z0-9]\)/g;
    trace(s.match(myPattern))
    trace(s.split(myPattern))
    var myPattern2:RegExp = /(:[)|(pD*]|;[)(*])/g;
    trace(s.match(myPattern2))
    trace(s.split(myPattern2))
    Regular expression pattern 2 will find emoticons and split them into items in the array. For some reason this is not happening in the first regex pattern.
    this is the output of the above code (ignore the emoticons):
    first pattern: Notice (H) is removed
    (H),(L),(L),(H),(H),(H)
    test , , ,  , ,,(H:):)
    second pattern: Notice smiley not removed, but split a new array item. This is correct.
    test (H) ,:), (L) (L)  ,:), (H) (H)(H)(H,:),,:),

  • Split function failed with '&'

    Hi, I'm using the split function to retrieve some values, like this:
    String s_id = request.getParameter("id");
    String[] id_array=s_id.split("�");
    if (id_array != null){
         out.println(id_array[0]);
         out.println(id_array[1]);
    It works almost fine, except when the "id" field contains '&', then I got an error:
    java.lang.ArrayIndexOutOfBoundsException: 1
    Does anyone have any idea?!
    thanks..

    oops, my code was a bit messed up with the formatting...
    try one more time......
    if(s_code.equalsIgnoreCase("Participant1")){
                             while(i3.hasMoreElements()){
    final Participant1VO vo = (Participant1VO)i3.nextElement();
    out.println("<tr><td><a href=\"insert_code.jsp?id=" + StringUtil.escape(vo.getParticipant1()) + "�" + StringUtil.escape(s_code) + "\">"+ vo.getParticipant1() +" </a></td>" +
                   "</td><td> <input type='checkbox' name='checked' value= " + vo.getParticipant1() + "> " + "</td></tr>" );

  • BAdI needed for transfer order split with the maxi.of 5 item level

    Hi,
    BAdI needed for transfer order split with the maximum of 5 item level.
    If a transfer order contains 12 item level, three separate transfer order should be created with item level 5,5 and 2.
    This transfer order is for the material which bound to flow to production from warehouse.
    Can anyone explain the step by step procedure to implement this BAdI?
    It would be great if the procedure is for New BAdI.
    Thanks.

    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.allsaplinks.com/badi.html
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3430https [original link is broken] [original link is broken] [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt

  • Using BADI ORDER_SAVE to implement order split?

    I'm working in a CRM 4.0 system in which I need to create an order split based on sales organizations. My initial idea was to create an implementation of the BADI ORDER_SAVE in which I call the method CHANGE_BEFORE_UPDATE where I want to read the available sales order data and perform the split.
    The scenario could be that a sales order comes in from internet sales or is generated directly in CRM with one line from sales organization X and one from sales organization Y. I want to read the available line item data and split the order in two orders. One for each sales organization.
    I have been looking through the functions in function group CRM_ORDER_API and through the available methods for business object BUS2000115, but I cannot seem to find anything that works at the point in time where my BADI is called.
    In my system one order containing two different sales organizations will fail, so an alternative might be to have a batch job running that reads the failed orders after they have been saved in CRM and splits them according to my requirements using the function module CRM_ORDER_MAINTAIN.
    Would any of you CRM gurus have a suggestion to how I can implement the first scenario as I find this solution a bit more elegant than the second?
    Best regards,
    Anders

    Anders,
    Another approach is the following:  Save the order generated by ISA as a different document type from the target split order.  The next step is to use the SPPFCADM action configuration to build a scheduled action that is kicked off when your document is saved(I believe you can make the order save as a triggering condition).  Then in the new action class read the document determine whether it needs to be split and generate the subsequent sales documents as needed.
    The problem with splitting out the original document is that you lose track of the "logical" orginal order, and you face the issue of deleting the items from the original document.  The benefit of creating subsequent documents is that you maintain the document flow, and only have to create new orders which is much simpler.
    Good luck,
    Stephen

  • Production Order Split

    I am exploring the functionality in LOG_PP_PROD_ORD_SPLIT in our sandbox region.  We are currently at EHP 4, thus rendering OSS note 170819 not relevant.  I have activated  LOG_PP_PROD_ORD_SPLIT  via SFW5.  I am trying to split a production order for a MTO end item that is NOT batch managed.  Also, since we have ECC 6.0 EHP 4 the requirement of a product cost collector is no longer there.
    I select the operation in the parent order that I want the split to occur and always get a message "Missing by-product/missing batch for cost transfer material".  I tried creating a by-product that is batch managed. When I add that material in the by-product field in the material for cost transfer, I get the message "No batch numbers could be determined".  So now I enter a batch number and get the message "Material uses internal batch number assignment (Entry will be deleted)".  I have also tried to add an existing batch with no inventory that I manually created and get the Batch number already exists message. 
    I have not activated the business function LOG_PP_WIP_BATCH, as I do not wish to use WIP batches. 
    Questions: 
    How do I get around the fact that our MTO end items are NOT batch mangaged?  Do I use a generic by-product as the material for cost transfer?  If so, how do I get past the need to add a batch number or get the system to accept the internally assigned number as outlined above?  It is not an option to batch manage the end item.
    What is the purpose/reason for needing this material for cost transfer to be batch managed?
    Thanks for any help you may be able to provide.

    Shrek66 wrote:
    I am exploring the functionality in LOG_PP_PROD_ORD_SPLIT in our sandbox region.  We are currently at EHP 4, thus rendering OSS note 170819 not relevant.  I have activated  LOG_PP_PROD_ORD_SPLIT  via SFW5.  I am trying to split a production order for a MTO end item that is NOT batch managed.  Also, since we have ECC 6.0 EHP 4 the requirement of a product cost collector is no longer there.
    >
    > I select the operation in the parent order that I want the split to occur and always get a message "Missing by-product/missing batch for cost transfer material".  I tried creating a by-product that is batch managed. When I add that material in the by-product field in the material for cost transfer, I get the message "No batch numbers could be determined".  So now I enter a batch number and get the message "Material uses internal batch number assignment (Entry will be deleted)".  I have also tried to add an existing batch with no inventory that I manually created and get the Batch number already exists message. 
    >
    > I have not activated the business function LOG_PP_WIP_BATCH, as I do not wish to use WIP batches. 
    >
    > Questions: 
    > How do I get around the fact that our MTO end items are NOT batch mangaged?  Do I use a generic by-product as the material for cost transfer?  If so, how do I get past the need to add a batch number or get the system to accept the internally assigned number as outlined above?  It is not an option to batch manage the end item.
    >
    > What is the purpose/reason for needing this material for cost transfer to be batch managed?
    >
    > Thanks for any help you may be able to provide.
    Hi,
    Assume you have to do 5 operations to get the product
    creating the production order .
    confirm the first two  operations using Co11N
    now open the production order in the change mode using Co02
    In production order operation overview, select the operation 0030 and go to functions menu and click on split order.
    System will display a  screen with all parameters for order split.
    enter split quantity and order type(you can select different order type for child order)
    Click execute Split Order
    operation quantity for the current order will be reduced based on the split quantity
    Balance quantity would be assigned to the new production order created because of order split .
    Regards,
    Raj

  • Production order splitting

    Dear All ,
    We have discrete Mfg scenario.
    Say i have created a production order for qty 100 with Prodn version 01 in Workcenter W01.
    I have partially confirmed 50 Qty for the same in confimation .
    Now remaining 50 qty have to be confirmed by using Prod Version 02 in workcenter w02.
    How to carry the same ?Pl guide
    regards

    Dear,
    It can be possible though the  business function
    LOG_PP_PROD_ORD_SPLIT.
    to split an order using the entire open order quantity or the open operation quantity.
    Example: A production order has a planned quantity of ten pieces. All operations of the order are already partially confirmed with a quantity of one piece. Therefore, the order quantity and the operation quantity that are still open both amount to nine pieces.
    If you specify nine pieces as the split quantity during the order split you can use the another production live for it also.
    Please refer this link for details,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/95/21a524ec9c40c8840f7cef07d3ef32/frameset.htm
    Regards,
    R.Brahmankar

  • Problem using DECODE() function with a Query of Queries

    I
    posted
    on my blog about an issue I was having trying to use the PL/SQL
    DECODE() function with a Coldfusion Query of Queries. This function
    works fine when you query a database for information. However, when
    you query another query, it seems that CF doesn't recognize it. I
    got errors stating that it found a left parenthesis where it
    expected a FROM key word. Here is a simplified version of what I am
    trying to do:
    quote:
    <!--- Simulated query; similar to what I was calling from
    my database --->
    <cfscript>
    qOriginal = queryNew("Name,Email,CountryCode",
    "VarChar,VarChar,VarChar");
    newRow = queryAddRow(qOriginal, 5);
    querySetCell(qOriginal, "Name", "Joe", 1);
    querySetCell(qOriginal, "Email", "[email protected]", 1);
    querySetCell(qOriginal, "CountryCode", "AMER", 1);
    querySetCell(qOriginal, "Name", "Sally", 2);
    querySetCell(qOriginal, "Email", "[email protected]", 2);
    querySetCell(qOriginal, "CountryCode", "AMER", 2);
    querySetCell(qOriginal, "Name", "Bob", 3);
    querySetCell(qOriginal, "Email", "[email protected]", 3);
    querySetCell(qOriginal, "CountryCode", "ASIA", 3);
    querySetCell(qOriginal, "Name", "Mary", 4);
    querySetCell(qOriginal, "Email", "[email protected]", 4);
    querySetCell(qOriginal, "CountryCode", "EURO", 4);
    querySetCell(qOriginal, "Name", "John", 5);
    querySetCell(qOriginal, "Email", "[email protected]", 5);
    querySetCell(qOriginal, "CountryCode", "EURO", 5);
    </cfscript>
    <cfquery name="qCountries" dbtype="query">
    SELECT DISTINCT(CountryCode) AS CountryCode,
    DECODE(states, "AMER", "North America &amp; Canada",
    "EURO", "Europe &amp; Africa", "ASIA", "Japan &amp;
    Asia","") CountryName
    FROM qOriginal
    ORDER BY CountryCode
    </cfquery>
    <cfdump var="#qCountries#">
    <!--- ========== END OF CODE ========== --->
    So running this returned the following error:
    Query Of Queries syntax error.
    Encountered "(. Incorrect Select Statement, Expecting a
    'FROM', but encountered '(' instead, A select statement should have
    a 'FROM' construct.
    Does anybody know why this doesn't work? Is it just not
    supported? Please note that I have also tried to use the CASE()
    function instead of DECODE() and that resulted in basically the
    same error. For now I an looping over my distinct query with a
    switch statement and manually loading a new query with the data how
    I want it. But it would be a lot cleaner and less code to have the
    DECODE() to work. Thx!

    DECODE() is an Oracle function, not generic SQL. Q-of-Q is a
    very limited subset of SQL and lacks many functions and clauses
    available in standard SQL, especially what you may be used to using
    in your particular RDBMS.
    See
    Query
    of Queries user guide
    Phil

  • How do I get my ipod to play a playlist from reverse order? (Start with recently added song instead of first added)

    How do I get my ipod to play a playlist from reverse order? (Start with recently added song instead of first added)
    So I'm adding new songs to a very old playlist? Is there anyway that when I add them, they automatically go to top of playlist? How about getting one song to the top of a playlist.  That drag to arrange function is very annoying because it is slow and the playlist does not scroll up very well on a PC.

    Make a new playlist by pressing the little plus button at the very lower left corner of iTunes. An new playlist will appear in the Source pane called "untitled playlist". While the name is highlighted, you can change it to whatever you want. Drag all of the tracks from all the albums that comprise a single book to that playlist. Sync that playlist to your iPod.

  • How to create Billing Plan in sales order using Function module /BAPI

    hi,
    How to create Billing Plan in sales order using Function module /BAPI
    i hv check few FM such
    BILLING_SCHEDULE_READ
    BILLING_SCHEDULE_GET_NUMBER
    BILLING_SCHEDULE_SAVE
    But unable to create billing plan for a sales order.....any other method to create???

    Hi,
    Use this link.
    Create sales order with billing plan via LSMW and BAPI BUS2032
    BAPI or Function to update Billing Plan in Sales Order Items
    Hope this will help you.
    Regards,
    Vijay

  • Sales Order ATP (ECC) with Working Times - available customizing methods?

    Dear All.
    We're having some issues with sales order atp and working times.
    Seems like the sales order atp function is not looking at the time zone assigned to the working times.  I would have guessed the time zone would have come from the shift sequence or just the time zone off the shipping point or plant.
    Seems like it's taking the time zone assigned to the user though.
    Any thoughts on this ECC functionality?  
    Seems like it works ok if atp is checked in APO.
    Otherwise, we may need to do a little customizing update the material availability date to the correct date, or update the correct timezone if possible, or possibly roll back the confirmed dates by one day if the  request misses the cut off on the working times due to the delta in the timezone checked.
    I've been reviewing:
    userexit_availability_in, userexit_availability_out, exit_saplatpc_001, and userexit_check_vbep but nothing jumps out at me as a good option.
    Any thoughts on an approach for this?
    Anyone made any similar updates through userexit, badi, cmod, other?
    Looking for structures, tables, fields in these programs which we could use for this purpose, or possibly just adding a check to skip the working times under certain circumstances.
    Many thanks.

    More on this one (below) in case anyone has come across this before and found a reasonable solution to it.
    Looks like there is an OSS note on this, but it just describes the fact that it doesn't work.  The note = 547961, and looks to be related to #7.  I'm not sure how adjusting the transportation duration would help as it suggests. Seems like we would then just be sending more packages overnight rather than ground.
    Going to take a look at adding some custom code to set the material availability date (mbdat) to the correct date based on the shipping point cut off time.
    Any extra input would be helpful on issues this might cause, how to go about, etc.....
    Thinking that we could roll the mbdat back one day if the item was confirmed but was rolled forward one day due to the time zone issue.
    Looking at mverf, mverf_pos, xvbep.  Others?
    One possible issue I can think of is that initial delivery scheduling for the requested date has already been completed before the ATP check.  But not sure if there's a userexit, routine, badi, etc... available specific to the delivery scheduling peice?
    Thanks again!

  • Problem in using Split function

    Hello,
    I have a problem using the Split function and I can't find any solution in internet.
    I'm trying to make a list of int but it seems that the Split function doesn't work.
    Can you help me please ?
    Here is my code :
    public class Dessin
            List<Forme> dessin = new List<Forme>();
            public void Ajouter(Forme forme)
                dessin.Add(forme);
            public void Lecture()
                StreamReader monStreamReader = new StreamReader("ExempleTout.csv");
                int ligne = int.Parse(monStreamReader.ReadLine());
                while (ligne != null)
                    int[] temp = ligne.Split(';');        // Error : 'int' doesn't contain a definition for 'Split'
                    if (temp[0].Equals("Cercle"))
                        Cercle cercle1 = new Cercle(temp[1], temp[2], temp[3], temp[4], temp[5], temp[6], temp[7], temp[8]);
                    ligne = int.Parse(monStreamReader.ReadLine());
                foreach (Cercle c in dessin)
                    Console.WriteLine(c.ToString());
                    Console.ReadKey();
                Console.ReadKey();
                monStreamReader.Close();
    Best regards,

    Split is a method of string, not int. You are looking for strings anyway, I don't know why you'd parse to an int to begin with. Try this:
    string ligne = monStreamReader.ReadLine();
    while (ligne != null)
    string[] temp = ligne.Split(';');
    if (temp[0].Equals("Cercle"))
    Cercle cercle1 = new Cercle(int.Parse(temp[1]), int.Parse(temp[2]), int.Parse(temp[3]), int.Parse(temp[4]), int.Parse(temp[5]), int.Parse(temp[6]), int.Parse(temp[7]), int.Parse(temp[8]));
    ligne = monStreamReader.ReadLine();
    ~~Bonnie DeWitt [C# MVP]
    http://geek-goddess-bonnie.blogspot.com

  • Nth_value() function with IGNORE NULLS in oracle 10g

    Is there any easy way to mimic ORACLE 11g nth_value() function with IGNORE NULLS clause in 10g or earlier Oracle release?

    SQL> select  ename,
      2          sal,
      3          nth_value(sal,5) over() fifth_min_sal
      4    from  emp
      5    order by sal
      6  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> select  ename,
      2          sal,
      3          min(case rn when 5 then sal end) over() fifth_min_sal
      4    from  (
      5           select  ename,
      6                   sal,
      7                   row_number() over(order by sal nulls last) rn
      8             from  emp
      9          )
    10    order by sal
    11  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> SY.

Maybe you are looking for

  • Error (MUT-02041) during Installation of Enterprise Portal 6.0

    Hi, I have got a serious problem during the installation of SAP EP 6.0. <b>Background Information:</b> I succesfully installed Netweaver '04 Web AS Java 6.40 system. Operating System is Red Hat Enterprise Linux 3. SAP Database is MaxDB 7.50. <b>Probl

  • How do I open a wps document on my Mac??

    How do I open a wps document on my Mac??  I have word.....

  • FS10N balance not tie with FBl3N line item totals

    Hi I searched the forum for posting on FS10N and FBL3N incorrect balances and I did not any post appropriate for my issue. Hence I am posting my issue here. For a particular month, say 072010, FS10N GL balance does not tie with FBL3N line item totals

  • Compiled .swf suddenly grows in size.

    I am working on an application that normally generates a .swf file of about 1.01 MB in size. After making very slight changes to the application (text changes, placement changes, very minor items, etc.) the .swf will jump to a wopping 2.45 MB file si

  • How do I make the header, content, and footer transparent in Dreamweaver CS6?

    I try setting background color to transparent but it just turns white instead. I want to be able to just see my background image and color and have all content "floating" on my web page. Also on backgrounds, what is the coding for making sure the bac