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()"); 

Similar Messages

  • Which table stores the condition values of a purchase order line item?

    Hi,
    Please let me know the table that stores the condition values of purchase order line items(when we click on conditions tab after selecting an item then we can see the condition types and there is a corresponding condition value for that condition type.
    My requirement is to get the actual price for a purchase order line item(it can be seen in the last line and it is calculated after considering all the condition types) and display this value in a custom report.
    Thanks,
    Ravindra

    Hi Ravindra
    You can find the conditions data for PO in TAble KONV.
    KONV-KSCH is the condition type
    KONV-KWERT is  the cond value
    KONV-KNUMH is the condition doc no. which is there in EKKO field KNUMH.
    So u have to make a link between KONV-KNUMH and EKKO-KNUMH.
    Thanks
    Vijeta

  • How to show logic of picking multiple stores to fulfill an order line item

    I'm still learning some basics with OPA.
    How do I represent the logic of picking multiple stores to fulfill an order line item when no one store has the requested quantity? A concrete example would be greatly appreciated as I'm still thinking procedurally for solutions.

    Hi!
    I believe this is following on from the thread:
    Calculating least cost of a product across stores using OPA
    So I'm assuming we're using a similar data model.
    If we want to involve quantity as well as cheapest price, then I'm assuming the requirement is:
    Find the cheapest price for the product from all the stores which still have quantity left of that product.
    This is where inferred relationships come in handy.
    Here is an example of what you can do with them to help solve this requirement.
    the store is a member of the product's stores if
    .ExistsScope(the store's prices)
    ..the price's product name = the product name
    the store is a member of the product's stores with remaining stock if
    .the store is a member of the product's stores and
    ..ExistsScope(the store's quantities)
    ...the quantity's product name = the product name and
    ...the quantity's amount > 0
    Then we basically want to pick the cheapest price for the product from the members of the relationship "the product's stores with remaining stock"
    Note that "the product's stores with remaining stock" could obviously be many instances, all with different prices. But for an order, a product needs to come from only one place! The deciding factor to "pinpoint" one place from this potential list of many could be based on anything, such as location, sales ranking, etc. But in this case Im going to assume lowest price is the decider.
    In the previous post we created a simple relationship between "the product" and "the prices" (which are contained by the store).
    We can make a more powerful relationship now:
    the price is a member of the product's available prices if
    ForScope(the price's store, the main store)
    .the main store is a member of the product's stores with remaining stock
    (I'm using an alias here to be 100% sure of which store is in scope)
    Now we can use the rules in the previous post, but change the relationship to the more advanced one we just created:
    the product's cheapest available price = InstanceMin(the product's available prices, the price's amount)
    Then
    the product's cheapest available store name = InstanceValueIf(the product's available prices, the price's store name, the price's amount = the product's cheapest available price)
    This is all psuedo code so many need some slight tweaks when you put it into OPM. Make sure you set up the relationships in a property file and declare all the attributes etc.
    Inferred relationships are really useful as "filters" sometimes. Here we first filtered all the stores which have prices for the product (i.e. have it in their catalogue). Then we filtered to get a list of all the stores which have stock remaining for the product. From that, we could find the cheapest available price.
    This is by no means the only way to do it! It's also by no means a simple problem but the great thing about OPA is that you can put all of the relationship config rules in the system rule folder / word doc, meaning that the source / business rules can still look relatively simple (in the end, it only took 2 lines of source rules to find the cheapest available price!). Once you've got the right set up and invested time in designing your data model, you will find it much easier to solve seemingly complex problems across entities.
    One word of warning though: if you have thousands of instances of prices, stores, products etc. then there is a performance impact of using many inferred relationships and alternatives should also be considered.
    Hope this helps!
    Feel free to contact me for more help on this. If you are relatively new to OPA and trying to tackle this you should consider investing in some training.
    Cheers,
    Ben

  • Sales Order Line item characteristics (classes)

    I am not 100% sure what I am talking about but I need to get characteristics for materials on sales orders (line items).  I am told that these characteristics are stored in classes which get assigned to materials via the material master.  I am also told that these characteristics (classes) are created/maintained in transaction CT04.
    My ultimate goal is to create an iDoc similar to LOIPRO01 only include the characteristics for each material.  I imagine that I will be getting the characteristics from a BAPI or FM but I do not know which one.  Also, is there an existing iDoc that contains the fields of LOIPRO01 and also the characteristics?  Right now my plan is to copy LOIPRO01 into a Z iDoc and add the characteristics.
    I did search and I found that people were suggesting BAPI_OBJCL_GETDETAIL and FM CLAF_CLASSIFICATION_OF_OBJECTS.  However, I ran them using the test functionality and they didn't seem to return what I need.
    Regards,
    Davis

    Max,
    Thanks but those give me the details of the characteristics but I need the characteristics of the line items on an order.  I am looking for the way to link up the line item to the characteristics. 
    Davis

  • How to set Confrimed quantity as 0 in the sales order line item

    hi all
    i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
    scenario is make to order.
    i have set strategy group is 20 -make to order
                                            MRP Type is PD
                                           Lot size -
    EX , still its showing confirmed quantity.
    could pls any one tell me how to set 0 quantity in the sales order line item
    thnx

    Dear Sateesh,
    If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
    If you don't want to carry out the availability check,
    To achieve this,
    1. Remove the availability check in the transaction OVZG against your requirement class.
    You can find the requirement type assigned to the sale order in the procurement tab.
    In OVZH transaction, you can find the requirement class assigned to your requirement type.
    2. Remove the availability check for your schedule line category in VOV6.
    In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
    If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
    To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
    Thanks,
    Venkatesh.S.P

  • Quantuty on the Sale Order line item

    HI,
    Can anyone suggest how to control the Quantity on the sales order line item.
    Sale order line item should not be reduced below the delivered or invoiced quantity. For EX:Sale order line item 10 has 200kgs,delivery quantity created aganist that order is 100kgs, now the system should not allow us to change the sale order line item quantity below the delivery quantity i.e 100kgs.
    Thanks in Advance.

    In the transaction OVAH, for the message class V4 and message number 083, in the category column, change the entry from W to E. Then system will issue hard error when you change the order qty to below delivered qty.
    Regards
    Sai

  • Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date

    Hello Experts
    I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
    For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
    Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
    My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
    use GR Doc date as billing date
    3rd party sales process (w/o ship notif) - Billing

    Hi Lakshmipathi ji,
    As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
    For Ex
    Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
    Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
    So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
    Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
    Regards
    Hiba

  • Access control on Sales Orders - Line items

    Is it possible to control access to users from deleting line items in sales orders?
    (since Julius would reply saying a "YES" or a "NO" , i will complete my question )
    If it is feasible to control, could some one make a suggestion on how to do this and help me, please?

    Hi Manjula,
    Thanks for trying to help and for sending the link, but unfortunately, the link doesnt help me for my question.
    the discussion in the link you sent is more on the stock situations that is a mis-match in MD04, when a order line item is rejected then the stock of the line item should be refelcted in MD04 and since this doesnt happen the program was supposed to be eecuted for consistency ==> this was the issue in the link
    Now, coming to the problem on hand: If i create a sales order with 25 line items and make a delivery of 22 line items , do a PGI for the 22 and then , i check for the other 3 line items in the Order, realize that the schedule lines in the order are for a date that doesnt meet the date of goods issue of the other 22 items - i delete the 3 line items in the order <== this is what i want to restrict, users shouldnt be able to delete line items of a order that has a subsequent document.
    I know i can manage doing this via ABAP based on a few validations on the document flow, but i wanted to know if there is an alternate method of achieving this.
    I vaguely remember a situation where i had a user who couldnt enter line items in Purchase orders although he had all required transactions, org,values.......after much research and quite a few trial and error methods i got to a solution by adding/deleting (i dont remember corretly) a parameter value to the user and he could add line items. The curiosity i have is in knowing if there is some parameter value or an other Authorization object, that could help me achieve my objective
    Although it could be efficient, ABAP would be my last option
    Do keep posting, any help is good help

  • Sales order line items delivery cancelled but still appears in MD04.

    Hi PP Gurus,
    In the sales there are 6 line items are there out of which for 1 line item delivery and PGI happened. And for remaining line items delivery got cancelled, but these line items for which delivery cancelled appearing in the MD04, I have rejected the sales order line items but these line items still shows in MD04. Please advise how to remove these line items from MD04.
    Thanks and Regards,
    SHARAN.

    Hi
    Pl refer SAP Note : 1166713 for the Problem which says " You have posted goods issue and therefore the delivery requirements should no longer be existing. These inconsistencies can be seen using report SDRQCR21"
    Regards
    Brahmaji

  • How to upload sales order line items?

    SAPGurus,
    For years my customer service department has been asking for a way to upload sales order line items into the VA01 sales order-entry screen.
    Many of our customers submit PO's with huge amount of line items, up to 1,000 lines. Our CS reps need to key in the data line by line (or copy/paste
    approx 17 lines at once from Excel into the VA01 screen), and we are looking for a way to make this process leaner. One idea we have is that user creates the order header, and then has a way to upload the material numbers and quantities in a separate (newly created Z-transaction) screen in one go.
    Obviously rules then need to be built that deal with the various pop-up messages related to e.g. ATP, material status, etc.
    Does anyone have any experience or thoughts on how we could achieve this? A way to make the sales order-entry process a bit less time-consuming? Any feedback would be greatly appreciated !
    Thank you,
    RVS

    Take the inputs from this Blog created by  SUNIL PILLAI                   
    Sales Documents upload  using Standard Direct Input Program in LSMW
    G. Lakshmipathi

  • Need to Split Sales Order Line Item in VA01

    Hi,
      I have a requirement in which i have to split an order line item for KMAT materail number. system popup configurable screen, here all the required characteristic values have to be selected as per the customer requirement.
    After entering all the required customer specific characteristic values, system determines batch automatically. If characteristic values of the Batch matches with the characteristic values of configurable screen selected in the sales order
    Here also we have to check the sales Order Quantity (VBAP u2013 KWMENG) and order Confirmed quantity (VBEP u2013 BMENG), if the both the quantities are not same, consider order has partially confirmed.
    If Order quantity is partially confirmed, check for the batches with the same characteristic values of the quotation configurable screen and if batch found, system has to create a one more line item and new batch has to be assigned to create line item.
    Reduce the order quantity equal to the confirmation quantity in the first line item.
    Create a new line item in the quotation, copy all the remaining unconfirmed quantity from the first line item and also copy all the characteristics and properties (item category, schedule line category, business data, item data, and requirement type) and assign the batch to the new line item. System does the availability check automatically and confirms.
    In another scenario system doesnu2019t find batch, in this case capable to promise has to trigger directly.
    Here we have to check the Order confirmed quantity, if confirmed quantity is equal to zero.
    Change the item category of the line item, due to which system determines different Requirement type and schedule line category.
    Based on the Requirement type system triggers the capable to promise.
    I would lke to know which is the suitable user eixt or BADI to split the line items and what all the tables or structures i need to populate in order to create a new line item successfully.
    I have seen many post in sdn but no body gives the right user exit name where i can add new line item.
    Regards,

    Hi Amit,
      Thanks for your reply. In this scenario configurable material is involved. And first Make to Stock scenario is executed to check any material with customer entered characteristics are avialable. If its so it will determine its batch and assigned the quantity.
    If zero quantity is assigned or no quantity is assigned then I have to trigger the Make to Order scenario for rest of unconfirmed quantities in order.
    I have check it in USEREXIT_MOVE_FIELD_TO_VBAP but it was of no use. I even tried in USEREXIT_CHECK_VBAP but still no result. I am not sure what all the tables and structures i need to populate there.
    Regards,

  • How to Find Out The Production Order Number For The Sales Order Line Items

    Hi All,
    I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.

    I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK.  or in table AFPO.
    Regards,
    Rich HEilman

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • Changing Pay Terms on Order Line Item

    Hello -
    When an invoice is cancelled,  SAP permits payterms to be changed on the line item of the corresponding sales order,  however, upon saving the order,  the payterms revert back to the original ones.   I am trying to re-invoice using new/changed payterms but cannot do this when changing the payterms on the order line item.   
    The payterms can be changed on the header level of the sales order and everything works and follows into a new invoice with the new payterms and the original baseline date.     If you only use the line item payterms on the sales order,  then SAP will revert back to the original payterms on the sales order. 
    How can I re-invoice using the new payterms?   I am aware and expect that the original baseline date /  original invoice creation date will remain the same.    This is also what I want to happen.
    Also - if an adjustment document (crediting the customer for additional payterms / extending their payment date) should be done,  please suggest what type of adjustment document and how to create one.   A credit memo request requires a quantity and there is no crediting for a product quantity in this scenario.
    Thank you,
    LP
    Edited by: LP on Apr 14, 2008 4:45 PM

    Forms Personalization is NOT a feature of Oracle Forms. It is a feature of the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • In Purchase Order Line item Maintaining Serial Numbers for Material Codes

    Dear Gurus,
    We have a business process in legacy system for Purchase Order like in PO line item, Material code with description, Quantity, unit of Measurement, Serial Number Start and Serial Number End is maintained, for example for Material code when we enter the data AXMLN00001 in Serial Number Start column, if the Qty 500 is maintained, by default system will calculate AXMLN00500 in Serial Number End column. 
    We understand that in standard SAP we donu2019t have this option of maintaining Serial Number Start and End in Purchase order Line item. Please let us know how this can be mapped and is it advisable to create two Z fields in EKPO table or else can we make any development.
    Suppose if this is not possible in SAP for PO then in Banks if we want to place a order for Cheque books how we can maintain Start and End Serial Numbers to print in cheque books.
    Also client is not agreeing to maintain manually Serial numbers in item text.
    regards,
    Dhanu

    Aamir,
    When the PO Item was created say for example Material had Valuation category "Y" and latter you wanted to change the category to "Y". Now system would have check for all open PO's etc...based on this you must have set Deletion Indicator to this Line Item to allow valuation category change in material master. Now when this Item got created in the table level (EKPO), system updates the valuation category "Y". Currently this valuation category is not active so it would not allow you to perform removal of deletion indicator as program cannot automatically nor you have an option to manually update the valuation category to this Item.
    Regards,
    Prasobh

Maybe you are looking for

  • Mini Month views

    I seem to be able to only view the mini months as previous month>current month. Is there a way to show current month>next month?

  • Maintain Accounting Configuration - Special GL - properties

    Hello Experts, while maintaining Configuration in Special GL, in its properties tab, there's a column "Special G/L transaction types". in this we have 3 Radio Button option : 1. Down payment / Down payment request 2. Bill of exchange / Bill request 3

  • Use of "ViewObject.QUERY_MODE_SCAN_VIEW_ROWS" in OAF

    Hello, how to do in memory searching or sorting in OAF appliation? Actual problem is: we insert rows in table, before commit we apply search(written custom search code). This search is executed on Database data not on newly created records. I have tr

  • Shared 2013 Excel File on Server Error Message

    When a user attempts to open a shared file on the server and another staff member already has it open, the Read Only message shows that the file is in use by someone who is no longer with the company.  We close the file - User 1 opens file, it is OK;

  • Getting a Word-Doc stored in DB as Blob

    Hi ! I'm an intermedia-beginner and I would like to know, how can I get the content of Word-Doc (stored as blob) by searching (if kriteria is found)? Example: I have a table: documents(id number pk,note varchar2(20), doc blob ) indextype is ctxsys.co