Stock figures uploaded wrongly

Dear All,
           we have done initial uploaded the stock using movement type 561.
there are some  FERT materials where the base unit of measure is each EA.
the client has given us the stock in boxes, as the material is sold in boxes.
alternative unit is maintained.
the right way would have been that the boxes should have been converted into each so that the right figure could have arrived.
this data was loaded 2 months back that is on 30.6.2007.
now the june period is closed.
now what we are planning is that we take out the stock using movement type 562.
and upload with correct figure in the period 1..7.2007.
is this a right way/
can somebody purpose what precautions need to be done.
what will the impact on system?
is it required to do MR22 and MR21 again for the material.
please help
regards

Hi
The <b>UoM</b> in Material Master is <b>"ea".</b>
When you do 562, the stock becomes Zero and hence the Stock Value becomes Zero. Again when the stock is uploaded, the stock value becomes correct (as we already have the price unit as ea).
Hence <b>i believe that MR21 need not be used</b>.
Before using 562, check for :
<b>1.</b> <b>Reservations</b>, if any
<b>2.</b> <b>Existing Purchasing Documents</b> on that Material
<b>3.</b> <b>Freeze Physical Inventory</b>
Pls Revert & Reward.
Regards
Vijay

Similar Messages

  • Opening and closing stock figure

    Hi Experts,
    How can i get the opening stock figure and closing stock figure for one month in SAP Buiness one 8.8?

    Hi,
    I found this on the forum; try this:
    DECLARE @FromDate DateTime
    DECLARE @ToDate DateTime
    /* SELECT T0.DocDate FROM OINM T0 where T0.DocDate >=[%0] */
    SET @FromDate = [%0]
    /* SELECT T0.DocDate FROM OINM T0 where T0.DocDate <=[%0] */
    SET @ToDate = [%1]
    Select X.DocDate, X.ItemCode,
    ((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) As 'OpeningStock',
    IsNull(max(X.price),0) as 'OpeningUnitPrice',
    ((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) *
    IsNull(max(X.price),0) AS 'OPENING VALUE',
    IsNull(sum(X.InQty),0) As 'Received Qty',
    IsNull(max(X.price),0) as 'Purchase  Unit Price',
    IsNull(sum(X.InQty),0) *
    IsNull(max(X.price),0) as 'PURCHASE VALUE',
    IsNull(sum(X.OutQty),0) As 'Consumed Qty',
    IsNull(max(X.price),0) as 'Sale Unit Price',
    IsNull(sum(X.OutQty),0) *
    IsNull(max(X.price),0) AS 'SALE VALUE',
    ((Select isnull(sum(InQty-OutQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)+
    (Select isNULL(sum(T0.InQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And T0.DocDate<=X.DocDate And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate = X.DocDate)-
    (Select isNULL(sum(T0.OutQty),'0') From OINM T0 Where T0.ItemCode=X.ItemCode And T0.DocDate<=X.DocDate And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate = X.DocDate)) As 'ClosingStock',
    ((((Select isnull(sum(InQty-OutQty),'0')From OINM T0 Where T0.ItemCode=X.ItemCode And
    (T0.DataSource='I' or T0.DataSource='N') And T0.DocDate < X.DocDate)) *
    IsNull(max(X.price),0)) + (IsNull(sum(X.InQty),0) * IsNull(max(X.price),0)) - (IsNull(sum(X.OutQty),0) *
    IsNull(max(X.price),0))) as 'Final Balance Value'
    FROM OINM X Where ItemCode=X.ItemCode And
    (X.DataSource='I' or X.DataSource='N')
    Group by X.DocDate,X.ItemCode
    Order by X.DocDate
    Hope this helps.
    Thanks,
    Joseph

  • Error when CRETING STOCK INITIAL UPLOAD USING MB1C

    THE ERROR IS : The number range for document number assaignment has not been maintained in the year 2011 for the transaction event type WA.
    we are getting this error while creating stock initial upload using t.code MB1C.
    and another ERROR is : Number range for trans/event type WA in year 2011 does not exist.
    please give me the solution to this error.
    Moderator message:
    Locked. Reason: 1) basic question 2) improper use of capitals
    Please read forum rules before posting.
    Edited by: Csaba Szommer on Jan 7, 2012 8:18 AM

    Hi Dear,
                Use T . Code u2013 OMBT, then go to change interval , then go to edit > insert year (f6) and mention in year 9999 and choose the number range interval from number to number and mention in current number is 0 and save exit.
    Hope it helps you.
    Regards,
    Yawar Khan

  • URGENT, bdc uploaded wrong data

    Dear all SAP-ABAP consulatants,
                                                     i would request you people to kindly help me out from my scenario.
    i need to delete records from transaction 'cs02' , where in  by validating the field so that  it wont delete  the existing records.
    the fields are matnr,werks,stlan,idnrk,meng,meins,postp
    From all d fields above i need to delete the record for field stlan,idnkr meng,meins &postp.
    MY BDC ISNT WORKING IN A PROPER MANNER ITS DELETING ALL D RECORDS FOR DIFFERENT MATERIAL NUMBERS.
    ths code is
    report Z_PP_BOM_DEL_SCRAP
           no standard page heading line-size 255.
    include bdcrecx1.
    start-of-selection.
    data:begin of it_data occurs 0,
         matnr(18),    "Material
        idnrk(18),    "Component
         end of it_data.
    Parameters:p_file type IBIPPARMS-PATH.
    data:p1_file type string.
    at selection-screen on value-request for p_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_file
    start-of-selection.
    p1_file = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = p1_file
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = '#'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = it_data.
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    perform open_group.
    loop at it_data.
    Refresh bdcdata.
    perform pro_data.
    endloop.
    perform close_group.
    form pro_data.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR'
                                  it_data-matnr.      "'S_HIFUH2A1A1A1A-02'.
    perform bdc_field       using 'RC29N-WERKS'
                                  'sm01'.
    perform bdc_field       using 'RC29N-STLAN'
                                  '1'.
    perform bdc_field       using 'RC29N-DATUV'
                                  '28.11.2007'.
    perform bdc_dynpro      using 'SAPLCSDI' '0150'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SETP'.
    perform bdc_dynpro      using 'SAPLCSDI' '0708'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CLWI'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-SELID'.
    perform bdc_field       using 'RC29P-SELID'
                                  'scrap100002'.
    perform bdc_dynpro      using 'SAPLCSDI' '0150'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-AUSKZ(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCDL'.
    perform bdc_field       using 'RC29P-AUSKZ(01)'
                                  'X'.
    *if sy-subrc  <> 0.
    perform bdc_dynpro      using 'SAPLCSDI' '0150'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    *endif.
    perform bdc_transaction using 'CS02'.
    endform.

    Thanks for the reply sandeep, actually wt happen is by mistake I have uploaded wrong line item  for the material in my first BDC so I have to delete those records that is the line items which were entered wrong.
    the fieds of the line items are IDNRK,meng, meins & postp.
    I am able to delete the records using the program I have posted but the problem is if that particular line item(which I need to delete) is not available in that material the BDC stuck saying the line item not found or else its deleting some other line item which is not  right .
    so I need some help in writing the logic to this BDC so that it only deletes the required line items and if not found it has to go to the next material.
    Thanks for your time and appreciate your help

  • TRansfer Order - Negative stock figures

    Dear Friends:
    Using T.code LT03, I entered Warehouse no,plant,delivery and pressed enter
    In storage, I selected 003(open storage) and selected post
    In movement data, I entered the data
    source storage type: 003 (open storage)
    source storage section - 001 (Total section)
    storage bin - 16-03-69 and pressed enter
    I get the error ' Storage type 003 does not allow negative stock figures'.
    How to overcome the error?Please advise.
    Thanks&Regards
    MSReddy

    You need to activate negative posting allowed indicator at two levels:
    1. In the material master, in Plant data / stor 2 you have to tick the indicator Negative stocks allowed in plant
    2. In TCode OMJ1 allows negative stock allowed for each plant / storage location.
    Regards,
    Suraj

  • Flow vs. Stock Figures in BPC

    Dear Experts,
    I quess, this is a really stupid question but I just couldn't find out how to solve this issue. Where can I set wether or not a figure is supposed to be summed up periodically or not?
    E.g. ebit for the whole year 2009 shows right because it is a sum of the moths. Price however is not supposed to be a sum. Balance Sheet figures is the same problem. They are stock figures no flow figures.
    I searched for the property in the member sheet but couldnt find anything.
    Can somebody help me?
    Thanx in advance,
    Cora

    Cora,
    There is an interplay of application type and account type here. In the PERIODIC measure accounts with ACCTYPE "INC" and "EXP" (income statement accounts) will display periodically (flow) while accounts with ACCTYPE "AST" and "LEQ" (balance sheet accounts) will display year-to-date. Interestingly, AST and LEQ accounts are always stored and displayed as YTD values, no matter what the measure selected or the application type.
    Now, you are asking about time-rollups for prices, which is a bit tougher. Off the top of my head, I don't remember a good way to do this. You probably ought to set them to be balance sheet type accounts (AST, most likely), which will result in the last price of the period you choose displaying (so if you choose 2009.TOT, you will see the price for 2009.DEC).
    This probably isn't exactly what you want (maybe you want an average, for example), but if you want another behavior you will probably have to turn to custom measures. I think that user education and careful report design is probably a better approach than a custom measure in this scenario.
    Ethan

  • Incorrect Unrestricted Use Stock Figure in VL10h

    Hi,
    The unresticted use stock figure in VL10h is not correct for a sales BOM scenario as described below.
    I have an order consisting of sales BOM:
    Top level material          Item category TAP (pricing at item)       Schedule line CT (no goods movement)         Stock 0
    Component material       Item category TAN (standard)              Schedule line CP (with goods movement)      Stock 1
    When running VL10h the unrestricted use stock column is showing 0 for both items - even though there is 1 in stock for the component.
    Thanks
    Caroline

    First check in MMBE whether the stock is not flowing against "Reserved against Delivery".  Alternatively, you can check in MD04 also.
    As you would be aware stock in sale order will be determined based on the schedule line category VOV6 where you should have checked the box "Availability".  The control is also in Requirement Class where you can make a check.
    thanks
    G. Lakshmipathi

  • Stock Balances uploading through Mvt type 561

    Hello,
            We are uploading Stock Balances by T.Code MB1C through Mvt. Type 561. IN FI-MM Integration T.code OBYC, In transaction key "GBB" I have assigned GL Account "Stock Suspense A/c" for BSA. And in transaction key BSX, I've assigned
    GL Account "Raw Material". After that when i enter stock balance through T.code MB1C, The document entry generated is as follows;
    Posting Key      GL Account             Amount
         89           Raw Material A/c           XXXXX
         91*         Stock Suspense A/c      XXXXX
    *The posting Key "91"  is for COSTS, which i believe is incorrect, so where have i gone wrong? what is the solution?? Please help!!!
    Regards
    Ashwin

    Hi,
    I agree with ajay.
    I think you want to know how this will effect u r Balnce Sheet. This is only a intermediary account for balance upload. In sap u uplaod u r trial balance in part using different transactions. For this u devide total transactions in gl, materials, ar, ap, assets etc and use different balancing account which in turn in total is having dr= cr as u r trial balance is having dr= cr.
    Please revert if any querry

  • Strategy for Stock Posting (Upload)

    Hello Experts,
    One of the clients business is having around 45000 materials belonging to spares. They have 1 plant and 20-30 storage locations.
    Out of the total storage locations, around 15 are spares related.
      So in this case, what should be the best strategy for stock upload:
    1)One material document having 999 materials-1 plant - 15 storage locations???
    OR
    2)One material document having 999 materials-1 plant - 1 storage location???
    OR
    What else could be the best strategy. Can anyone suggest?
    Regards
    Mahesh

    why do you need to have 999 items in a document?
    having just one item per document makes migration much easier, maybe not faster, and it certainly creates much more documents. But believe me, 2 days working with the system and you have already more material documents than you created with the initial load, why trying to save ressources then with migration.
    Espcially if you have to cancel something, e.g. if the price was wrong as you loaded the stock, then it is easier to cancel the document when there is only 1 item.

  • NullPointerException while uploading wrong file in af:inputfile

    Hi All,
    I am uploading excel sheet data into jspx Page(database table) by using af:inputFile.After uploading file af:inputFile need to be refresh.It is getting refresh for right file(excel file),but it is not refreshing for wrong file upload.
    it showing following error.
    UIComponent is null
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2
    i had refer frank's blog https://blogs.oracle.com/jdevotnharvest/entry/how_to_reset_adf_faces.
    Could any one help on this!!
    Thanks in advance!!

    here is my jspx source code.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="ExcelToTable.jspx" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1" usesUpload="true">
    <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx" id="pt1">
    <f:facet name="center">
    <af:panelSplitter id="ps1" orientation="vertical" splitterPosition="146">
    <f:facet name="first">
    <af:panelFormLayout id="pfl2">
    <af:panelLabelAndMessage label="#{bindings.Deptno.hints.label}" id="plam1">
    <af:outputText value="#{bindings.Deptno.inputValue}" id="ot1">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.Deptno.format}"/>
    </af:outputText>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.Dname.hints.label}" id="plam2">
    <af:outputText value="#{bindings.Dname.inputValue}" id="ot2"/>
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage label="#{bindings.Loc.hints.label}" id="plam3">
    <af:outputText value="#{bindings.Loc.inputValue}" id="ot3"/>
    </af:panelLabelAndMessage>
    <f:facet name="footer">
    <af:panelGroupLayout layout="vertical" id="pgl2">
    <af:panelGroupLayout layout="horizontal" id="pgl3">
    <f:facet name="separator">
    <af:spacer width="10" height="1" id="s1"/>
    </f:facet>
    <af:commandButton actionListener="#{bindings.First.execute}"
    text="First" disabled="#{!bindings.First.enabled}"
    partialSubmit="true" id="cb1"/>
    <af:commandButton actionListener="#{bindings.Previous.execute}"
    text="Previous"
    disabled="#{!bindings.Previous.enabled}"
    partialSubmit="true" id="cb4"/>
    <af:commandButton actionListener="#{bindings.Next.execute}" text="Next"
    disabled="#{!bindings.Next.enabled}"
    partialSubmit="true" id="cb5"/>
    <af:commandButton actionListener="#{bindings.Last.execute}" text="Last"
    disabled="#{!bindings.Last.enabled}"
    partialSubmit="true" id="cb6"/>
    </af:panelGroupLayout>
    <af:commandButton text="Submit" id="cb7"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelFormLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelCollection id="pc1">
    <f:facet name="menus"/>
    <f:facet name="toolbar">
    <af:toolbar id="t2">
    <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
    text="InsertRow"
    disabled="#{!bindings.CreateInsert.enabled}" id="cb2"
    immediate="true"/>
    <af:commandButton actionListener="#{bindings.Delete.execute}"
    text="DeleteRow"
    disabled="#{!bindings.Delete.enabled}" id="cb3"
    immediate="true"/>
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.EmpView3.collectionModel}" var="row"
    rows="#{bindings.EmpView3.rangeSize}"
    emptyText="#{bindings.EmpView3.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmpView3.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.EmpView3Query.queryDescriptor}"
    queryListener="#{bindings.EmpView3Query.processQuery}"
    filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.EmpView3.collectionModel.selectedRow}"
    selectionListener="#{bindings.EmpView3.collectionModel.makeCurrent}"
    rowSelection="single" id="t1" partialTriggers="::cb2 ::cb3">
    <af:column sortProperty="#{bindings.EmpView3.hints.Empno.name}"
    filterable="true" sortable="true"
    headerText="#{bindings.EmpView3.hints.Empno.label}" id="c1">
    <af:inputText value="#{row.bindings.Empno.inputValue}"
    label="#{bindings.EmpView3.hints.Empno.label}"
    required="#{bindings.EmpView3.hints.Empno.mandatory}"
    columns="#{bindings.EmpView3.hints.Empno.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Empno.precision}"
    shortDesc="#{bindings.EmpView3.hints.Empno.tooltip}" id="it1">
    <f:validator binding="#{row.bindings.Empno.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmpView3.hints.Empno.format}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Ename.name}"
    filterable="true" sortable="true"
    headerText="#{bindings.EmpView3.hints.Ename.label}" id="c2">
    <af:inputText value="#{row.bindings.Ename.inputValue}"
    label="#{bindings.EmpView3.hints.Ename.label}"
    required="#{bindings.EmpView3.hints.Ename.mandatory}"
    columns="#{bindings.EmpView3.hints.Ename.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Ename.precision}"
    shortDesc="#{bindings.EmpView3.hints.Ename.tooltip}" id="it2">
    <f:validator binding="#{row.bindings.Ename.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Job.name}" filterable="true"
    sortable="true" headerText="#{bindings.EmpView3.hints.Job.label}"
    id="c3">
    <af:inputText value="#{row.bindings.Job.inputValue}"
    label="#{bindings.EmpView3.hints.Job.label}"
    required="#{bindings.EmpView3.hints.Job.mandatory}"
    columns="#{bindings.EmpView3.hints.Job.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Job.precision}"
    shortDesc="#{bindings.EmpView3.hints.Job.tooltip}" id="it3">
    <f:validator binding="#{row.bindings.Job.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Mgr.name}" filterable="true"
    sortable="true" headerText="#{bindings.EmpView3.hints.Mgr.label}"
    id="c4">
    <af:inputText value="#{row.bindings.Mgr.inputValue}"
    label="#{bindings.EmpView3.hints.Mgr.label}"
    required="#{bindings.EmpView3.hints.Mgr.mandatory}"
    columns="#{bindings.EmpView3.hints.Mgr.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Mgr.precision}"
    shortDesc="#{bindings.EmpView3.hints.Mgr.tooltip}" id="it4">
    <f:validator binding="#{row.bindings.Mgr.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmpView3.hints.Mgr.format}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Hiredate.name}"
    filterable="true" sortable="true"
    headerText="#{bindings.EmpView3.hints.Hiredate.label}" id="c5">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.Hiredate}" id="id1">
    <af:convertDateTime pattern="#{bindings.EmpView3.hints.Hiredate.format}"/>
    </af:inputDate>
    </f:facet>
    <af:inputDate value="#{row.bindings.Hiredate.inputValue}"
    label="#{bindings.EmpView3.hints.Hiredate.label}"
    required="#{bindings.EmpView3.hints.Hiredate.mandatory}"
    columns="#{bindings.EmpView3.hints.Hiredate.displayWidth}"
    shortDesc="#{bindings.EmpView3.hints.Hiredate.tooltip}"
    id="id2">
    <f:validator binding="#{row.bindings.Hiredate.validator}"/>
    <af:convertDateTime pattern="#{bindings.EmpView3.hints.Hiredate.format}"/>
    </af:inputDate>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Sal.name}" filterable="true"
    sortable="true" headerText="#{bindings.EmpView3.hints.Sal.label}"
    id="c6">
    <af:inputText value="#{row.bindings.Sal.inputValue}"
    label="#{bindings.EmpView3.hints.Sal.label}"
    required="#{bindings.EmpView3.hints.Sal.mandatory}"
    columns="#{bindings.EmpView3.hints.Sal.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Sal.precision}"
    shortDesc="#{bindings.EmpView3.hints.Sal.tooltip}" id="it5">
    <f:validator binding="#{row.bindings.Sal.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Comm.name}" filterable="true"
    sortable="true" headerText="#{bindings.EmpView3.hints.Comm.label}"
    id="c7">
    <af:inputText value="#{row.bindings.Comm.inputValue}"
    label="#{bindings.EmpView3.hints.Comm.label}"
    required="#{bindings.EmpView3.hints.Comm.mandatory}"
    columns="#{bindings.EmpView3.hints.Comm.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Comm.precision}"
    shortDesc="#{bindings.EmpView3.hints.Comm.tooltip}" id="it6">
    <f:validator binding="#{row.bindings.Comm.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmpView3.hints.Deptno.name}"
    filterable="true" sortable="true"
    headerText="#{bindings.EmpView3.hints.Deptno.label}" id="c8">
    <af:inputText value="#{row.bindings.Deptno.inputValue}"
    label="#{bindings.EmpView3.hints.Deptno.label}"
    required="#{bindings.EmpView3.hints.Deptno.mandatory}"
    columns="#{bindings.EmpView3.hints.Deptno.displayWidth}"
    maximumLength="#{bindings.EmpView3.hints.Deptno.precision}"
    shortDesc="#{bindings.EmpView3.hints.Deptno.tooltip}"
    id="it7">
    <f:validator binding="#{row.bindings.Deptno.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.EmpView3.hints.Deptno.format}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:panelCollection>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:facet name="header"/>
    <f:facet name="start">
    <af:panelGroupLayout id="pgl1">
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer">
    <af:commandButton text="Upload" id="uploadButton"
    actionListener="#{FileProcessor.checkFile}" partialSubmit="true"/>
    </f:facet>
    <af:inputFile label="EmpFile" id="if1" value="#{FileProcessor.uploadedFile}"
    partialTriggers="uploadButton" binding="#{FileProcessor.inputFile}"/>
    <af:messages id="m2"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="branding"/>
    <f:facet name="copyright"/>
    <f:facet name="status"/>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    and bean class code is as follows.
    package xxorn.model.view;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UIViewRoot;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputFile;
    import oracle.adf.view.rich.component.rich.output.RichMessages;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.model.UploadedFile;
    import org.apache.myfaces.trinidad.util.ComponentUtils;
    public class FileProcessor {
    private CSVtoADFTableProcessor tablecreator;
    private UploadedFile uploadedFile;
    private String filename;
    private long filesize;
    private String filecontents;
    private String filetype;
    private RichMessages errorMsg;
    private RichInputFile inputFile;
    public FileProcessor() {
    public void setUploadedFile(UploadedFile uploadedFile) {
    this.uploadedFile = uploadedFile;
    this.filename = uploadedFile.getFilename();
    this.filesize = uploadedFile.getLength();
    this.filetype = uploadedFile.getContentType();
    try {
    if (filename.endsWith(".csv"))
    tablecreator.processCSV(uploadedFile.getInputStream());
    else if(filename.endsWith(".xls")){
    System.out.println("uploaded file is ********"+uploadedFile);
    tablecreator.fileSubmit(uploadedFile.getInputStream());
    //tablecreator.WriteXLS(uploadedFile.getInputStream());
    else if (filename.endsWith(".xlsx")){
    tablecreator.fileSubmitXSSF(uploadedFile.getInputStream());
    //wrong file upload
    else{
    String msg="this is a global message.";
    FacesContext ctx =FacesContext.getCurrentInstance();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "Please Upload proper file");
    ctx.addMessage(null,fm);
    } catch (IOException e) {
    e.printStackTrace();
    public void convertStreamToString(InputStream is) throws IOException {
    StringBuilder sb = new StringBuilder();
    String line;
    BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
    while ((line = reader.readLine()) != null) {
    sb.append(line).append("\n");
    System.out.println(sb.toString());
    public UploadedFile getUploadedFile() {
    return uploadedFile;
    public void setFilename(String filename) {
    this.filename = filename;
    public String getFilename() {
    return filename;
    public void setFilesize(long filesize) {
    this.filesize = filesize;
    public long getFilesize() {
    return filesize;
    public void setFilecontents(String filecontents) {
    this.filecontents = filecontents;
    public String getFilecontents() {
    return filecontents;
    public void setFiletype(String filetype) {
    this.filetype = filetype;
    public String getFiletype() {
    return filetype;
    public void setTablecreator(CSVtoADFTableProcessor tablecreator) {
    this.tablecreator = tablecreator;
    public CSVtoADFTableProcessor getTablecreator() {
    return tablecreator;
    public void setErrorMsg(RichMessages errorMsg) {
    this.errorMsg = errorMsg;
    public RichMessages getErrorMsg() {
    return errorMsg;
    public String checkFile(ActionEvent actionEvent) throws Exception {
    // Add event code here...
    System.out.println("in upload action event");
    /* RichInputFile vTheInputFileComponent = getInputFile();
    vTheInputFileComponent.resetValue();*/
    FacesContext vFacesContext = FacesContext.getCurrentInstance();
    UIViewRoot vUIViewRoot = vFacesContext.getViewRoot();
    RichInputFile vTheInputFileComponent =
    (RichInputFile)vUIViewRoot.findComponent("if1");
    vTheInputFileComponent.resetValue();
    AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
    adfFacesCtx.addPartialTarget(inputFile);
    return null;
    public void setInputFile(RichInputFile inputFile) {
    this.inputFile = inputFile;
    inputFile=null;
    public RichInputFile getInputFile() {
    return inputFile;
    }

  • WRT610N v1 Problem after uploading wrong firmware

    Hello
    I thought to upgrade my WRT610 wireless modem with the latest image. Unfortunately I believe I had a version2, and download the latest firmware of this version.
    After uploading the firmware it doesn't pop-up with a screen that the image was successful and after waiting 30 min. I reboot the router.
    Now the router initialization fails (power light is flashing) and I find out that I have a WRT610 version 1 router.
    Reset to factory default with pushing the reset button for 30 sec and turn off the power for the same amount of time doesn't solve the problem. I can't access the GUI to configure the modem. I can ping the default ip-address 192.168.1.1.
    Can somebody inform me if it's possible to access this modem in ROM-mode with telnet or ssh to uploade the correct firmware via ftp? Such a the big brother Cisco routers?
    Thanks
    Regards Ronald

    Upgrading router's firmware with wrong version can damage the router.As the Power light blinking on the router,
    You may try upgrading the router's firmware using TFTP utility....Download 44.3 KB the tftp utility and save it on the dekstop....
    Follow these steps to upgrade the firmware on the device : -
    Double click the TFTP.exe file and click run.
    For Server- Enter the IP Address of the router that you assigned.  By default, the router is 192.168.1.1...
    For Password- Enter the password you assigned the router. By default, the router's password is admin.
    For File- Click the triple ??? button and browse for the .bin firmware file...
    Click Upgrade button to start upgrading.  A progress bar should show up to show the
    progress.
    Once the Upgrade is done press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router if the power light stable....if the power light still kept blinking then router will not work

  • Calculated key-figures are wrong in result rows

    Hi,
    I developed a BEx query which shows profi-centers and materials in the rows, and the price, the amount and the amount-value in the columns.
    Price and amount are basic key-figures on the cube, the value is calculated via a calculated key-figure in the query (price*amount).
    Now I have added result rows an profit-center level in the workbook. Everything works fine, BUT when I hide the materials, the result-row on profit-center level is calculated wrong.
    Is there any possibility to hide the material-lines without having the resul-rowts calculated wrong? Is there any feature like "caculate material in background but hide in the workbook"?
    I don´t like to create other basic key-figures on cube level, as this is only an example for lots of calculated key-figures which I use.
    Thanks for your help,
    Patrick

    Hi Patrick,
    Since the prices and amounts are on the material level, therefore the calculation for amount value will be correctly done only when you have materials in the rows.
    Now when you hide the materials, then the system would not know on what basis to do the calculation: I'll explain with an example.
    Let's take four materials which have the same profit center assignment. But the prices for each of them are different and so are the amounts. Now if you remove the materials from the rows, then say the system calculates amount-value by taking the average price and multiply that with the total amount of the four materials. That would also give an incorrect result - isn't it?
    So there is no way to define what the system should do when material is removed from the rows.
    So material would be the minimum required granularity for such a report to show correct results.
    Regards,
    Shweta

  • EBS upload wrong G/L account determination for incoming payments

    Hello,
    I´ve got problem with G/L account assignment in EBS upload.
    Client has 3 company codes 6250, 6251 and 6300. For each CC several bank accounts.
    Company codeHouse banks and Bank acccount ID is 1:1, one house bank - one bank account ID.
    House banks have the same names in company codes, also the Bbank Account IDs are the same in CC.
    CC 6300 has G/L accounts for bank settlements:
    Main:       13102211
    Incoming: 13106271
    Outgoing: 13106272
    Account symbol mask is +++++6+1 for icoming payments (transaction type: incoming)
                                                                                    main      /      incoming
    While uploading EBS for cc 6300 system post incoming payments as        40: 13102211 / 50: 13106211
    13106211 is wrong G/L account (it should be 13106271 ) and in CC 6300 is not defined, it is account from company code 6250.
    Could someone please tell me how the system determine the G/L account for icoming payments? Where to make the config?
    Please advise.
    Thank you.
    Lubos

    You account digits logic is little unclear. Thats why it is always important have the proper logic while formulating the accounts.
    For example
    If the main account is
    120300 (ending with 0)
    120301 (Cheque Payable Sub account 1)
    120302 (Cheque Receivable Sub Account 2)
    Now you can mask
    +++++1 for Cheque Payments
    +++++2 for Cheque Receipts
    But, you said, you
    main account 13102211 and incoming subaccount was 13106271
    If I understand correctly
    the masking should be ++++6271
    Otherwise
    +++67+

  • Stock (inventory upload)  upload while data migration

    Hi,
    can any one tell me that how we will upload the stock in SAP. and also please tell wheather we need to upload the values in finance G/L for stock or Finance G/Ls will get updated automatically.
    Regards

    Hi Kuldeep,
    You need to do the OBYC settings, give your stock alc BSX and offsetting G/L in transaction GBB and general modifier is BSA.
    Once you assign the G/Ls after using 561 movement type stock value gets updated in respective G/L automatically.
    Thanks & regards,
    Reva

  • Please help ... Lightroom galleries upload wrong :(

    Please can someone help me, this is driving me nuts. I create galleries in LR, export them fine to my hard drive (they work fine from there) and then upload them to my website using Ace FTP.
    However, once on the web, they go all patchy - thumbnails are fine, but thumbnails link to the wrong image, or half images ???
    I have no idea what is wrong !!! Any help would be really appreciated.
    Sample problem here: www.alexandralowson.co.nz/thevillage
    Thanks !!!

    I'm pretty sure it's not his ftp software. I'm running into similar issues. Something is very wrong with LR. I'll build a web page and then go back and change a title or something and thumbnails will move around on me and get misshapen. I even renamed all the files in the series I was using to see if that would help. It still does the same thing.
    Not sure what else to do here. I can't afford to lose more hair!
    Where is LR storing the previews of this website? Maybe if I clean it out that will help????

Maybe you are looking for

  • Daqmx 9.02 on windows vista x64

    I tried to install the latest daqmx drivers but it gave me a bunch of errors while installing NI-VISA and a bunch of other products. Eventually it finished installation but now nidevmon.exe does not start. Here's what I'm trying to do: I already have

  • Separate Work and personal CONTACTS (not BB Balance)

    Is there an alternative way to have separate CONTACTS (work and personal) in a BB Z10 for us whom do not have BB Balance. I just want this for the contacts, and perhaps the text messages, I do not need the security and all other features that Balance

  • Trying to download FCPX trial.  Disk image is corrupt.

    I've tried multiple times in different browsers to download this trial.  It's always 1.69gb and when I open the disk image I get an error message (a different one each time) that the image is corrupt.  Whats going on? 

  • Rotate and edit videos

        Im searching for a good app to rotate and edit videos I've taken. Im affraid to purchase any of them I get in search. imove and rotate HD came up. I go upon the rating but looking at them it seems the developers of those apps rate them to make th

  • How do I solve this problem I have with Itunes?

    Suddenly a good chunk of my itunes music library can't be found.  The songs are on my ipod but itunes says it can't find them on my computer.  Luckily I had a backup of most on an external drive but I had move these individually back to my itunes lib