Template of List of line items

Hi Gurus,
              Here is my requirement.
Business wants to store list of line items as template by the time of taking the orders.
This templates will be used for future order reference.
I want to create a new sales document type which is copy of quotation.
Is it good way of doing it? Does it has any implications?
Can some one update this thread?
Thank you
ANil
Edited by: anil maguluri on Jun 9, 2008 5:04 PM

Dear Anil,
If you want to have a template for a single customer or the same for a lot of customers or a different template for different customers, in SAP there is a provision called Item Proposal where you make a list of Items that the customer orders regularly and store that in his CMR.
Go to VA51,
Item Proposal Type: PV and enter your Org data and click ENTER
in next screen, on 'Item Proposal' use F4, and system gives you the number range and from it select one number and give it a description and enter a list of Items and required quantities and save.
The Item Proposal No. that you selected can be entered in the Customers CMR in XD02 and whenever  you are making a sales order and when you click on  Item Proposal icon, which is the first icon just above the field where you enter the Sold to Party, it will give you the list what you saved and from this you have the option of selecting either all or part of items with or without the quantities you entered.
It was a long time that you asked this question and since you did not close this thread I am replying to this. If found to be useful plz do reward points and once you found your answer kindly remember to close the thread.
Regards.
yajee_venkat yahoo.co.in

Similar Messages

  • Invoice List-Header & line items

    Dear Expert,
    If I want to create an invoice list which both AR invoice header & line items, then how can I create it as the line items has the same header?
    Could you advise this?
    Thank you.
    Raymond

    Hi Raymond,
    You can use the following query,
    SELECT T0.CardCode, T0.CardName, T1.ItemCode, T1.Dscription, T1.Quantity FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    If you are using QPLD for this then you can sort and group header items so that not to repeat again n again with row items.
    Regards,
    /Siddiq

  • Exit for CO02-FOR QUANTITY FIELD FOR THE LIST OF LINE ITEMS

    Hi,
    Can anyone just let me know the user exit to code the authority check for the quantity field in CO02 for the screen SAPLCOMK.
    The quantity assigned for the list of items should not be changed by the user.
    For this in which exit should i go and write the code?
    Regards,
    P.S.Chitra

    CCOWB001  Customer exit for modifying menu entries
    COIB0001  Customer Exit for As-Built Assignment Tool
    COZF0001  Change purchase req. for externally processed operation
    COZF0002  Change purchase req. for externally procured component
    PPCO0001  Application development: PP orders
    PPCO0002  Check exit for setting delete mark / deletion indicator
    PPCO0003  Check exit for order changes from sales order
    PPCO0004  Sort and processing exit: Mass processing orders
    PPCO0005  Storage location/backflushing when order is created
    PPCO0006  Enhancement to specify defaults for fields in order header
    PPCO0007  Exit when saving production order
    PPCO0008  Enhancement in the adding and changing of components
    PPCO0009  Enhancement in goods movements for prod. process order
    PPCO0010  Enhancement in make-to-order production - Unit of measure
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0013  Change priorities of selection crit. for batch determinati
    PPCO0015  Additional check for document links from BOMs
    PPCO0016  Additional check for document links from master data
    PPCO0017  Additional check for online processing of document links
    PPCO0018  Check for changes to production order header
    PPCO0019  Checks for changes to order operations
    PPCO0021  Release Control for Automatic Batch Determination
    PPCO0022  Determination of Production Memo
    PPCO0023  Checks Changes to Order Components
    STATTEXT  Modification exit for formatting status text lines
    hi check your field where it is present
    if it header then check with the description header most probably the first must be your exit

  • Current Header Rows Not Appearing on FBL1N - A/P Detailed Line Item Report

    Our A/P staff somehow turned off the header rows at the top of the FBL1N report.    The rows contain the various variables related to the report such as vendor name, vendor address, city, state etc.
    Does anyone know how I can change the report so that these variables once again appear on the report?
    Thanks,

    Michael,
    Do you mean that you can not access via the following link?
    http://service.sap.com/notes
    Well, if this is your case, I will copy note 181592  here since there is only text information and not code correction. I am sorry but the format is not good, but I think this note will help you to insert header again.
    If this note does not help you, let me know and I will check the other notes that I have provided.
    Please kindly check the note text below:
    Best Regards,
    Vanessa Barth.
    ==============================================================
    SAP Note No. 181592                          20.01.2009           Page 1
    Number              181592
    Version             6 from 03.03.2000
    Status              Released for Customer
    Set on              02.03.2000
    Language            EN
    Master language     DE
    Short text          Line item: Setting-up the headers
    Responsible         Christian Auth
    Component           FI-GL-GL-D
                         Reporting/Analysis/Display
    Long text
    Symptom
    You want to display information in the headers or change information
    preset in the headers for the following: line item display for vendors,
    G/L accounts customers or customer information on an account.
    Additional key words
    Program RFITEMAP, RFITEMGL, RFITEMAR, Transactions FBL1N, FBL3N, FBL5N,
    layout variants, layout headers
    Cause and prerequisites
    You are not familiar with the option of individually setting header
    information or how to use maintenance transactions.
    Solution
    1.  Overview
         In the line item report you can display information in the header of
         the list (given that this information is equal for all items
         displayed).
         For example, a customer accounts clerk wants to display the
         following data in the header: account number and name of the
         customer, name and telephone number of the responsible accounting
         clerk for the customer, current date.
         You can use information taken from the account master data. General
         variables like the time and date are also available.
         The following describes how you can set up the layout of header
         information yourself. A header layout is always assigned to the
         particular display variant of the list which you set on the bottom
         of the selection screen or which you can choose using CTRL+F9 on the
         display ('Choose' button). You can therefore personalize the header
         layout as well as the remaining display layout.
         The header layout is output if the account number group is changed,
         if the list has been sorted according to the 'Account' field, and if
         a page break has been set for this field. You can maintain these
                                                                       Page 2
            settings under the menu option Edit -> Subtotal (Ctrl+F1).
         2.  Setting up the headers
             Choose from the menu
             Settings -> Display Variant -> Current header rows
             You now see rows in which you can arrange variables. Using the
             pushbuttons in the function bar, you can create or delete rows.
             When you position the cursor at the start position and choose
             function "Gen. variables" (Shift+F5) or "Characteristics..."
             (Shift+F8) a new variable is positioned in the header area. From the
             following dialog box, you can choose the variable (also called
             characteristic) from an inventory.
             Under "Text type", you determine whether the label for the variable
             (for example, the label 'Customer') or if the value itself should be
             used (that is, the appropriate customer number for the items
             displayed in each case). You can display pairs as follows:
             <Label>: <Value>
             for example,
             Customer: 47110815
             If the value is a key for a short or long text (either a name or a
             description), you can also select this under "Text type".
             After selecting and positioning the characteristics, save and return
             to the list. The headers are displayed immediately with correct
             values so that you can check your results right away.
         3.  Save the list variant
             Choose "Save" (Ctrl+F12) in the list. In the following dialog box,
             you can enter a name and a label for the list variant that will be
             stored together with your header layout.
             Note that general variants visible to every user have a name
                                                                           Page 3
           starting with the character '/'. User-specific variants on the other
           hand must begin with a letter and are only visible to you.
           Standard variants delivered by SAP in general start with a number
           and have preconfigured headers. You cannot change the SAP variants,
           but you can use them as template for your own enhancements, which
           you can store under another variant name.
       Valid releases
       Software Component                        Release
                                                 from            to
       SAP_APPL
            SAP Application
                                                 46C          - 46C
                                                 46A          - 46B          X
       Further components
       FI-AP-AP-D
        Reporting/Analysis/Display
       FI-AR-AR-D
        Reporting/Display/Credit Management
       Reference to related Notes
       Number    Short text
       306225    Line item: page break when printing lists
       213144    Line item: Header information disappears
       181697    Line item: Header information is missing

  • Copy line items from Master Agreement to SubAgreement

    Dear all,
    As a requirement, we need to create a dummy line item at master agreement and subagreement level to be able to publish them to ERP without need
    to complete line items (they are completed in ERP via a development).
    We have created master agreement templates with a dummy line item but at subagreement level, templates are not available.
    What we are trying to develop is a script on post_create at agreement level to copy line items from Master Agreement to SubAgreement. We are able to get Master Agreement line items and copy them to the SubAgreement, but the subagreement is not created. This is the code we are using:
    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanHomeIfc;
    import com.sap.odp.api.doccommon.masterdata.ValueListTypeIBeanIfc;
    import com.sap.eso.api.contracts.ContractIBeanHomeIfc;
    Mst_agreementBean = doc.getParentIBean();
    lineItemCollectionSub = doc.getLineItems();
    lineItemCollection = Mst_agreementBean.getLineItems();
    collectionsize = lineItemCollection.size();
    colln = Mst_agreementBean.getCollectionMetadata("MA_LINEITEMS").get(Mst_agreementBean);
    colln2 = doc.getCollectionMetadata("MA_LINEITEMS").get(doc)
    newProject = Mst_agreementBean.getIBeanHomeIfc().createFromAnother(Mst_agreementBean);
    newMember = colln.get(1);
    //  Get Values Line Item
    assCat = newMember.getAcctAssignCategory();
    actLimP         = newMember.getActualLimitPercent();
    delAdCity       = newMember.getDeliveryAddressCity();
    delAdCount    = newMember.getDeliveryAddressCountryRef();
    delAdDist       = newMember.getDeliveryAddressDistrict();
    //... (all fields included in the script)
    // Create Line
    newMember2 = newMember;
    AgreementHome = IBeanHomeLocator.lookup(session, doc.getObjectReference());
    AgreementHome.upgradeToEdit(doc);
    // Set Values
    newMember2.setAcctAssignCategory(assCat);
    newMember2.setActualLimitPercent(actLimP);
    newMember2.setDeliveryAddressCity(delAdCity);
    newMember2.setDeliveryAddressCountryRef(delAdCount);
    newMember2.setDeliveryAddressDistrict(delAdDist);
    //... (all fields included in the script)
    try{
    colln2.add(newMember2);
    AgreementHome.save(doc);
    AgreementHome.downgradeToView(doc);
    collectionbean = colln2.get(0);
    logInfo("Value of  collectionbeanSub " + collectionbean );
    }catch (ApplicationException e){
    logInfo("Error " + e.getClass() + ". " + e.getMessage());
    When we try to create an Agreement under a Master Agreement (clicking Add on Agreement tab), following error message is shown related to the line in blue:
    Facility=local4;sessionid=4e73bb8e73304d6284816f93f4e04522a7c387b; tenantid=#tenant.ecb#;username=LUGUELL; exception=Sourced file: inline evaluation of: ``// **   import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// **    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
    Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
    of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
    ;stacktrace=Sourced file: inline evaluation of: ``// *JLA*    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : Method Invocation AgreementHome.save : at Line: 164 : in file: inline evaluation of: ``// *JLA*    import com.sap.odp.api.doccommon.masterdata.ValueListValueIBeanHomeI ... '' : AgreementHome .save ( doc )
    Target exception: java.lang.NullPointerException: while trying to invoke the method com.sap.eso.contracts.ContractTypeBo.getVendorVisible()
    of a null object returned from com.sap.eso.contracts.ContractCommonBo.getTypeBo()
    Any ideas what is causing the error? What are we missing on our code to copy line items?
    Many thanks,
    Marc Romagosa
    Message was edited by: Marc Romagosa de Riba

    We managed to create a line item at VALIDATE script, but not at POST_CREATE. Either it is a bug or it is not possible at POST_CREATE script.

  • Customer line items ...dispute case

    Friends,
    when i go into the customer line item report (FBL5N) and click on a record it opens up a page where we see a button for 'Dispute Case'and i went there and changed the reason for case and saved it and came back to the fbl5n customer line item screen and checked the record against which i changed the reason for case, but it didnt changed the reasion on the record but when i go into the record and try to view it in additional details it shows me the one i have made changes. not able to understand why it is not showing in the list of line items when it is showing inside the record details that it has been changed,even i did refreshed it . Our end user wants to see the changed reason code on the line items page wich is on the AR side when we change the reason for case on the dispute side.
    its kind of urgent please put some light onto it, any help would be highly appreciable...
    Thanks
    Jay

    sounds like changing the ALE from system 1 to the other system.
    However I doubt it will be that easy.
    I believe that could should contact SAP SLO to work out the best route for data migration.

  • Commitment line items

    Hi gurus,
    I am facing the problem please help
    When viewing When viewing commitment line items and actual/plan/commitment reports in CO, there appears to be a difference between the two.
    I have executed transaction KSB2 with the following parameters:
    Cost centre group – CSAW-01001
    Expected debit date – 01.04.1998 to 25.05.2007
    Open items only selected
    Layout - /RCSYSADM
    Maximum no of hits – 100,000
    If this report is sorted by value there are some rather large credits e.g. purchase order 4500121042 is showing a credit of 3.4m.
    Firstly I don’t understand why there is such a large credit commitment for this purchase order and why when I execute S_ALR_87013620 for cost centre THETST90 in this financial year does the commitment not show up?
    Does this imply that the commitments have not been rolled over correctly every year?
    Thanks

    Hi,
    Check reports S_ALR_87013018 (List Total Plan /Actual / Commitment) and S_ALR_87013019 (List Budget/ Actual / Commitments).
    KOB2 report lists Commitment line items and KOB1 gives actual line items for Internal Orders.
    Thanks
    Murali.

  • Control Line Items of table in Smartforms

    Hi,
    Please help me out for following problem which  I am facing in smartforms.
    Scenario u2013 I am trying to print Bank Payment voucher, In this I am passing two internal  tables from my driver program, One internal table is for header details and other internal table for Line item details.
    I am Looping for header details and under the templates, I am populating header data into itu2019s appropriate places, for line item details, I am using Table and able to populate line item details, Now say my line item should print only 5 line items in one  page and if there are more than 5 line items , it should print next line items on next page.   when new page will start it should print header details  and footer details also,
    In last last row, I have put the program code where I am counting the number of line items, and below that i have put 'Command' and in command condition, I have stated that if linecnt > 5 , go to next page%2 and in page 2, I have again copied the header details but , it is not working,
    In short the Flow of Smartforms is given below.
    Loop    (For Header details)
    Template
    Template
    Template
    Table   (For Printing Line Item Details)
      (row 1
       row 2
      program line (Whre I am counting Number of Line items
      Command (Go to next page is activated )
    Template ( For Printing the footer details
    Page%2
    Template
    Template
    Template
    Looking out for your valuable help .
    Thanks and Regards
    Rani

    And one thing more that line count may not be increasing. ..... so try to send the flag of page triggring from ur driver program.
    as i have done here.
    *  Page Break after 21 Records means
      count_rec = 1.
      loop at it2_all_outlet_sale into wa_it2_all_outlet_sale.
        count_loop = sy-tabix.
        if count_rec = 21.
          wa_it2_all_outlet_sale-zyear = '9998'.
          modify it2_all_outlet_sale from wa_it2_all_outlet_sale index count_loop.
          clear: count_rec.
        endif.
        add: 1 to count_rec.
      endloop.
      describe table it2_all_outlet_sale lines count_rec.
    " This part of code for not page triggering after last 21 records
      read table it2_all_outlet_sale into wa_it2_all_outlet_sale index count_rec.
      if sy-subrc = 0.
        count_loop = sy-tabix.
        if wa_it2_all_outlet_sale-zyear = '9998'.
          wa_it2_all_outlet_sale-zyear = '9999'.
          modify it2_all_outlet_sale from wa_it2_all_outlet_sale index sy-tabix.
        endif.
      endif.

  • Sales order line item status for an item with PR

    Hi Gurus,
                  Here is my business scenario.
    i have got following list of line items in a sales order.
            Line item no        Material no       Order quantity     Schedule line confirmed qty     Line item overall status           Plant
                    10        A                    3                              3                                   Open                         X
                    20        B                    5                              5                                    Open                        X
                     30        C                    8                              0                                    Open                        X
    1. I can create delivery for the line tiem 10 & 20 as they are confirmed for schedule lines.
    2. Line item 30 is not actually available in Plant X now if i do the availability check and select another plant "Y" where the material is available. For this STO should process should follow up (Correct me if i am wrong)
    Now i have got following questions
    1. How can i track which line items are followed up by PR's and which are not in the sales order.
    2. tell me how follow up happens by creating PR's
    Thank you

    1. So i am assuming that for each schedule line item there will be associate PR number and PO number if there are any.
    Yes every non stock article will have a associated PO.
    2. Suppose if Purchasing department make a decision to get this line item thru 3rd party then what happens for this schedule line item.I mean how do we differentiate in showing Sales order? Here my scenario is one Material can get thru either STO or thru 3rd Party.
    If you have more than 1 vendor listed for an article in EINA table. Then at that point the system will prompt you to select the vendor you want to create the PO against. (Given that the regular vendor flag is not checked for any vendor).
    Eg: Suppose if i have a schedule line item which can get thru STO and i have got another schedule line item which i can get thru 3rd party, Can i see this differentiation in sales order?
    3. How to create purchase requisition?
    Tcode Me21n (Advise to use this tcode) or ME21
    Found a link hope this helps
    http://www.le.ac.uk/mis/docs/sapdocs/mm/mm46b_41.doc

  • MIRO Invoice Posting Line Item Not Available

    Dear Gurus,
    I am trying to post a PO Invoice. There are 10 line items in the PO but two of them does not appear in the list of line items when trying to post the invoice by entering the PO number in MIRO.
    There is no prior invoice exist in the PO so all 10 line items are open and should show up while processing the invoice.
    I checked those 2 line items which do not appear and nothing seems to be unusual about them. Do you know what could be the reasons?

    Hi ,
    Is it a GR based IV - check the same in the Po.
    Secondly if yes then you will have to have GR for processing the same , in case if the same is put as a mistake then remove the tick from the Po using the T code ME22n and if there are release strategy then you will have to revoke them using the T code ME29n .
    Regards ,
    Dewang.

  • Fi document: different tax code for each line item

    Dear All,
    Our FI department needs to post FI documents by uploading the list of line items. For each line item (even when they have the same g/l account) tax code may be different from 0 to 10%. Also the tax code needs to be entered in EUR not in %. So for example they may need to post the folowing document:
              PstKey   Account    Amount     Tax amt
    001     21          Vendor       95 EUR     Tax amount 5 EUR
    002     50          GRIR          100 EUR
    003     21          Vendor       90 EUR     Tax amount 10 EUR
    004     50          GRIR          100 EUR
    At the moment users have to post it manually. Tax rate cannot be restricted to allow tax from 0 to 10%.
    Can you please advice what would be the best approach for them to make it? Providing they do want to upload the document not enter the items manually..
    Thanks a lot in advance for your help!

    Hi,
    are there some messages during this process? Upload this list in foreground batch input execution. Verify if in stop point displays any messagem. If it is the case, go to OBA5 to change its status.
    Let me know results.
    regards

  • Store an Array of Classes e.g. Order / Line Items example

    Hello, I am having trouble storing an array of classes, they all end up having the same value.
    Consider the following simple class definition:
    Class Order
    private LineItem[] lineItems;
    Class LineItem(amount, price)
    private int amount;
    private float price;
    Consider the following pseudo code as part of the constructor of class order (to fill the array with a bunch of LineItems):
    for x = 1 to 10
    lineItems[x] = new LineItem(amount, price);
    however all lineItems[x] have the same LineItem
    any ideas?

    i posted the design since its a bit more complicated then my summarized version, but at any rate i will post the full solution for those who want to view either or...
    basically this takes an XML field and creates an object Order which has some attributes plus an array of Line Item objects.
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import org.dom4j.Node;
    import org.dom4j.Document;
    public class SiebelOrder
      private String accountId;
      private String backOfficeOrderNumber;
      private String contactFirstName;
      private String contactId;
      private String contactLastName;
      private String currencyCode;
      private String description;
      private String entryAssociate;
      private String legalEntity;
      private String orderRevenue;
      private String orderDate;
      private String orderNumber;
      private String orderType;
      private String orderTypeId;
      private String primaryOrganization;
      private String primaryServiceRegion;
      private String primaryShipToAddress;
      private String PrimaryShipToAddressId;
      private String PrimaryShipToCity;
      private String PrimaryShipToCountry;
      private String PrimaryShipToPostalCode;
      private String PrimaryShipToState;
      private String RegionAddress;
      private String RegionAddressId;
      private String RegionCity;
      private String RegionCountry;
      private String RegionPostalCode;
      private String RegionState;
      private String Revision;
      private String SalesRecognizedDate;
      private String status;
      private String taxExempt;
      private String taxExemptNumber;
      private String taxExemptReason;
      private SiebelLineItem[] lineItems;
      protected SiebelOrder()
        //default constructor
      protected SiebelOrder(Node pOrderNode)
        //gets the attribute by using an xpath query of the given node
        accountId = pOrderNode.valueOf("//AccountId/text()");
        backOfficeOrderNumber = pOrderNode.valueOf("//BackOfficeOrderNumber/text()");
        contactFirstName = pOrderNode.valueOf("//ContactFirstName/text()");
        contactId = pOrderNode.valueOf("//ContactId/text()");
        contactLastName = pOrderNode.valueOf("//ContactLastName/text()");
        currencyCode = pOrderNode.valueOf("//CurrencyCode/text()");
        description = pOrderNode.valueOf("//Description/text()");
        entryAssociate = pOrderNode.valueOf("//EntryAssociateEMP/text()");
        legalEntity = pOrderNode.valueOf("//LegalntityEMP/text()");
        orderRevenue = pOrderNode.valueOf("//OrderRevenueEMP/text()");
        orderDate = pOrderNode.valueOf("//OrderDate/text()");
        orderNumber = pOrderNode.valueOf("//OrderNumber/text()");
        orderType = pOrderNode.valueOf("//OrderType/text()");
        orderTypeId = pOrderNode.valueOf("//OrderTypeId/text()");
        primaryOrganization = pOrderNode.valueOf("//PrimaryOrganization/text()");
        primaryServiceRegion = pOrderNode.valueOf("//PrimaryServiceRegionEMP/text()");
        primaryShipToAddress = pOrderNode.valueOf("//PrimaryShipToAddress/text()");
        PrimaryShipToAddressId = pOrderNode.valueOf("//PrimaryShipToAddressId/text()");
        PrimaryShipToCity = pOrderNode.valueOf("//PrimaryShipToCity/text()");
        PrimaryShipToCountry = pOrderNode.valueOf("//PrimaryShipToCountry/text()");
        PrimaryShipToPostalCode = pOrderNode.valueOf("//PrimaryShipToPostalCode/text()");
        PrimaryShipToState = pOrderNode.valueOf("//PrimaryShipToState/text()");
        RegionAddress = pOrderNode.valueOf("//RegionAddress/text()");
        RegionAddressId = pOrderNode.valueOf("//RegionAddressId/text()");
        RegionCity = pOrderNode.valueOf("//RegionCity/text()");
        RegionCountry = pOrderNode.valueOf("//RegionCountry/text()");
        RegionPostalCode = pOrderNode.valueOf("//RegionPostalCode/text()");
        RegionState = pOrderNode.valueOf("//RegionState/text()");
        Revision = pOrderNode.valueOf("//RegionRevision/text()");
        SalesRecognizedDate = pOrderNode.valueOf("//SalesRecognizedDateEMP/text()");
        status = pOrderNode.valueOf("//Status/text()");
        taxExempt = pOrderNode.valueOf("//TaxExempt/text()");
        taxExemptNumber = pOrderNode.valueOf("//TaxExemptNumber/text()");
        taxExemptReason = pOrderNode.valueOf("//TaxExemptReason/text()");
        // ----- create line items -----
        //queries the order node using xpath and returns it as a list of line item nodes
        List lineItemList = pOrderNode.selectNodes("//OrderEntry-LineItemsEmp");
        //sizes the array to the number of line items
        lineItems = new SiebelLineItem[lineItemList.size()];
        //update the array to be a list of blank lineitems
        for(int i=0; i < lineItemList.size(); i++)
          lineItems[i] = new SiebelLineItem();
        //store the lineitem details in each array item
        int i = 0;
        for (Iterator iter = lineItemList.iterator(); iter.hasNext(); )
          Node lineItemNode = (Node) iter.next();   
          //  ALL lineItems[i] ARE THE SAME VALUE
          lineItems.setLineDetails(lineItemNode);
    i++;
    import java.util.HashMap;
    import java.util.Map;
    import org.dom4j.Document;
    import org.dom4j.Node;
    public class SiebelLineItem
        private String actualSalesPrice;
        private String costProduct;
        private String ESRPLabor;
        private String inactiveFlag;
        private String installationMethod;
        private String integrationId;
        private String laborOptionFlag;
        private String lineItemType;
        private String lineNumber;
        private String lineSequenceNumber;
        private String lineStatus;
        private String orderHeaderId;
        private String product;
        private String productId;
        private String productSeries;
        private String productStyle;
        private String servicePartFlag;
        private String taxRate;
        private String taxType;
        private String UOMLine;
        private String UOMQuantity;
        private String vendorCode;
        private String vendorName;
      protected SiebelLineItem()
        //default constructor
      protected void setLineDetails(Node pLineItemNode)
        //gets the attribute by using an xpath query of the given node
        actualSalesPrice = pLineItemNode.valueOf("//ActualSalesPriceEMP/text()");   
        costProduct = pLineItemNode.valueOf("//CostProductEMP/text()");
        ESRPLabor = pLineItemNode.valueOf("//ESRPLaborEMP/text()");
        inactiveFlag = pLineItemNode.valueOf("//InactiveFlagEMP/text()");
        installationMethod = pLineItemNode.valueOf("//InstallationMethodEMP/text()");
        integrationId = pLineItemNode.valueOf("//IntegrationIdEMP/text()");
        laborOptionFlag = pLineItemNode.valueOf("//LaborOptionFlagEMP/text()");   
        lineItemType = pLineItemNode.valueOf("//LineItemTypeEMP/text()"); 
        lineNumber = pLineItemNode.valueOf("//LineNumberEMP/text()");
        lineSequenceNumber = pLineItemNode.valueOf("//LineSequenceNumberEMP/text()");
        lineStatus = pLineItemNode.valueOf("//LineStatusEMP/text()");
        orderHeaderId = pLineItemNode.valueOf("//OrderHeaderId/text()");
        product = pLineItemNode.valueOf("//Product/text()");
        productId = pLineItemNode.valueOf("//ProductId/text()");
        productSeries = pLineItemNode.valueOf("//ProductSeriesEMP/text()");
        productStyle = pLineItemNode.valueOf("//ProductStyleEMP/text()");
        servicePartFlag = pLineItemNode.valueOf("//ServicePartFlagEMP/text()");
        taxRate = pLineItemNode.valueOf("//TaxRateEMP/text()");
        taxType = pLineItemNode.valueOf("//TaxTypeEMP/text()");
        UOMLine = pLineItemNode.valueOf("//UOMLineEMP/text()");
        UOMQuantity = pLineItemNode.valueOf("//UOMQuantityEMP/text()");
        vendorCode = pLineItemNode.valueOf("//VendorCodeEMP/text()");
        vendorName = pLineItemNode.valueOf("//VendorNameEMP/text()"); 

  • BAPI for Deletion of line Items from PR

    Hi Experts,
                    I need to delete line items from Purchase Requisition when user check the check box.Check box available on output display i.e check box to delete item.
    thanks,
    santhosh.

    Use "BAPI_REQUISITION_CHANGE". Existing list of LIne items should be filled in the structure "REQUISITION_ITEMS_OLD" & New list of line items should be included in the structure "REQUISITION_ITEMS_NEW"
    OLD - will contain the records currently in database.
    NEW - fresh list of records (in your case exclude the line item which is to be deleted)
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 14, 2010 3:36 PM

  • COPA line item report, Number format  -output type - object list(ALV).

    Hi,
    I am preparing COPA line item report. I want to change number format (two decimal place). I did the changes in form level then I did the changes in drill down report as well and saved as save definition.
    But changes are not reflecting in- output type - object list(ALV).
    Please provide help in this.
    Regards

    HI
    What t-code you are using to write this line item report ?

  • S_ALR_87012103 - List of Vendor Line Items

    Hi,
    Can any one help me on how we can populate following fields in this report:
    - Purchasing Document Number
    - Invoice Reference
    Please note that above fields are available in FBL1N, but they are not available in Report S_ALR_87012103 (- List of Vendor Line Items).I can not depend on FBL1N as it is not executed when number of vendor / selction period is large, whereas this report runs fast.
    Regards,
    AK

    hi,
    please u r create a report in related to vendor account.
    and add field ur required ....
    e.g _y-vledger etc.
    step 2; if any required any field so u r add the fbl1n report ur requirement.....
    rohit

Maybe you are looking for

  • New Macbook Pro to be 64bit?

    Are the Core 2 Duo processors that are expected to be used in the Macbook Pro 64bit? I see that the iMac is 64, but as I understand it, their C2D is a slightly different kind, no? MacBook Pro 17" 2gig Ram 7200rpm   Mac OS X (10.4.6)  

  • IMessage lost messages

    upgraded from iPhone5 to iPhone6+, have yosemete, iMessage has kept my old messages in my desktop iMessage but didn't import them onto my iPhone6+, so i don't have any of old iMessages on phone only on desktop and iPad??? how do i get them onto my ph

  • ToolTip triggers are shifting down when previewing or exporting

    I have a page with two columns of text (lists of names). In "design" I set up triggers over each name corresponding to a pop-up tooltip with a picture and bio. Everything looks great in "design." When I preview the page within Muse or export HTML to

  • Automatic created Java file error when compile JSP file

    I got the following error message when i try to load the JSP file given below (FlightSearch.jsp). Given also below the JAVA files (flightsearch$jsp.java) created by the compiler. Thanks for your help Susan Error message org.apache.jasper.JasperExcept

  • PRT in Project systems

    Dear gurus! Can any body let me know how to assign PRT in operative projects activities?