Validation - Periodict data filter

Dear All,
In our present system we get master data changes monthly..
We are (Flexi upload) uploading cumulative transaction data in to the BCS system every month.
Need to create validation which should check the present period data with its break down category.
For example Business unit should have a specific PCAT which is a required filed as per the Master data.
In fact I am struck at making a formula which will allow only periodic data for this validation.
Thanks
Kamal

For periodic validations use the xx_PER Application functions in the method.
For checking periodic values for the key figure determined in the task, use VAL_PER.
For checking periodic values for only local currency use LC_PER.
For checking periodic values for only group currency use GC_PER.
For checking periodic values for only transaction currency use TC_PER.

Similar Messages

  • Date Filter uses unknown property by default, doesnt work

    Created a filterable and sortable table by dragging and dropping in VO from a AM. While it automatically sets the appropriate properties for filtering, and for non-date fields it works fine, for dates always "no row are found," even if I specifically choose a valid date where rows should return.
    I noticed in the property inspector, the inputdate value in the column's facet filter is set to an invalid value (by default when dragged and dropped!). In the property inspector, the value is outlined in orange (value=#{vs.filterCriteria.trSentOnDate}, populated by default), and the tooltip states "filterCriteria is an unknown property."
    Here's a snippet of the table def
            <af:table value="#{bindings.RequisitionsAllVO11.collectionModel}"
                            var="row"
                            rows="#{bindings.RequisitionsAllVO11.rangeSize}"
                            emptyText="#{bindings.RequisitionsAllVO11.viewable ? 'No data to display.' : 'Access Denied.'}"
                            fetchSize="#{bindings.RequisitionsAllVO11.rangeSize}"
                            rowBandingInterval="0"
                            filterModel="#{bindings.PoRequisitionHeadersAllVO1Query.queryDescriptor}"
                            queryListener="#{bindings.PoRequisitionHeadersAllVO1Query.processQuery}"
                            filterVisible="true" varStatus="vs"
                            selectedRowKeys="#{bindings.RequisitionsAllVO11.collectionModel.selectedRow}"
                            selectionListener="#{bindings.RequisitionsAllVO11.collectionModel.makeCurrent}"
                            rowSelection="single"
                            binding="#{backingBeanScope.backing_browseReqsPOs.t3}"
                            id="t3">
                    <af:column sortProperty="SentOnDate" filterable="true"
                               sortable="true"
                               headerText="#{bindings.RequisitionsAllVO11.hints.SentOnDate.label}"
                               id="c26">
                      <f:facet name="filter">
                        <af:inputDate value="#{vs.filterCriteria.SentOnDate}"
                                      id="id2"/>
                      </f:facet>
                      <af:outputText value="#{row.SentOnDate}" id="ot20">
                        <af:convertDateTime pattern="#{bindings.RequisitionsAllVO11.hints.SentOnDate.format}"/>
                      </af:outputText>
                    </af:column>BTW, I looked at the ADF RC Demos, and I noticed that for the filterable table demos, the date filter isn't enabled.

    We're getting there.
    New error now. I neglected to set the attribute Format and Format Type. I set those in the VO (Simple Date and MM/dd/yyyy, respectively), and now I get a nullPointerException.
    I hit enter after entering a date, and a popup shows the following:
    java.lang.NullPointerException
    For more information, please see the server's error log for an entry beginning with: Server Exception during PPR, #2with the following in the DefaultServer log
    Aug 13, 2009 11:14:35 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #2
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    ...

  • RSUSR002 and Valid To date

    I am currently running 4.6C and when I execute RSUSR002 to show which users are assigned to a role the data being returned is ignoring any valid to dates which have been set for that role within a user's account, thus we are receiving "false positives" when trying to determine what users are actually assigned to an activity group.  I know there are other methods of obtaining this data, but does anyone know how to get the correct data returned via rsusr002?
    Thanks!!

    Hi Lisa,
    as Lakshmi stated the valid to dates returned by RSUSR002 are the dates from the user (as this is a user report). An option to filter afterwards only the valid assignments is in the output list switch to "roles". That output you can then filter for valid (direct) assignments only.
    Apart from that the report is showing the assignments of all roles (regardless of their valid to dates) as the role is still assigned to the user. The only thing that is effected by the role's valid to dates are the actual profile assignments. If you want to get rid of your false positives you have to remove outdated roles in regular intervals.
    Kind regards
    Petra

  • Restriction of Validity start date in Scheduling agreement

    Hi,
    I am not able to convert the message 06 170( Start of validity period is in the past) in error message , when i am going to define attributes of system messages in purchasing and converting this message into error , system still does not give error message when i am selecting  back  validity start date in the header of Scheduling agreement (me32l)
    What can be the possible reason.
    Regards
    Sachin

    Hi,
    I believe the message 06-170 is hard-coded in Include "MM06EFRP_EKKO-KDATE" in the Program SAPMM06E
    Laufzeitbeginn in der Vergangenheit -
        IF ekko-kdatb < sy-datlo.
          MESSAGE w170 INTO gl_dummy.
          mmpur_message 'W' '06' '170' '' '' '' ''.
    Please consul your ABAP Team on this to change it to Error.
    But SAP does not recommend changing standard Programs, so please discuss this and see that its really required and will not have any effects to your business process, because there may be instances wherein you might require to create scheduling agreements with a past validity date sometime in future based on business requirement.
    Regards
    Chandra Shekhar

  • "Validity of data" in WAD

    I made a web report in the WAD containing a query in a table item.
    What I would like to display is "Validity of data" (as date/time) which I see when I display the query on the web from BEx with the default view.
    How do I display that?

    Thank you very much!
    I had already tried that one before but it must have flashed in front of my eyes cause I didn't see it.
    Problem solved...

  • Help reqd on Changing the Valid from "date"  for both BOM & Routing

    Hi all...
    Pls advise me how to do the changing of Valid from "date"....
    Is there any process in CC01 or ECM???....
    pls reply me in detail step format (step by step analysis)....
    I wrongly created in CS01 and CA01 as 05.10.2007 as my valid from date instead of 01.10.2007.....
    How to change to my actual one......
    I dont know how to change it exactly.....as im beginner in SAP...pls take this into consideration...and post ur replies imm.
    Pls reply me in detail....will be rewarded at the end while closing this issue.
    thanks & regards
    sankar

    Dear Sankarbabu,
    IF there's no setting for Date Check in OS54 - Engineering Change Management
    Control Data,then you can create a change number with past dates,and also to
    use the same one for changing BOM.
    Tell me one thing you are saying you want to use ECM.Was the earlier one
    created without BOM was created without an ECN?
    See already if you have created your BOM with an ECN,then remove the date
    check setting which I have mentioned in OS54.
    Now goto T code CC02 ,enter the Change number and give the valid from date as
    01.10.2007.
    After that check in CS03 whether this date(01.10.2007)is getting reflected or not.
    I'm sure this will solve your problem.
    Regards
    Mangal

  • Error: No valid complaint data was found in this sales area

    Hi All,
    I am getting below error while delta or request download of customer.
    No valid complaint data was found in this sales area
    Message no. CRM_SPL_BUPA_FRG0010203
    Validation error occurred: Module CRM_BUPA_MAIN_VAL, BDoc type BUPA_MAIN.
    Message no. SMW3018
    Error case:
    ECC-->Customer(Sold to) extended to a sales area and saved.
         CRM-->Business partner gets updated in the CRM properly.
    ECC--> Deletion flag for same customer and same sales area is set. (Deletion flag - "Selected sales area").
         CRM-->Business partner gets updated in the CRM properly and is not shown as extended to the sales area via BP t code.
    ECC-->Deletion flag is removed for the customer.
         CRM--> BDOC fails to update the Partner and goes in error.
    Problem comes when deletion flag is removed in ECC.
    Any help would be highly appreciated.
    Thanks in advance.
    -Ram

    Hi Ram,
    Hope you have not make any field mandatory in the Complaint tab in the sales area section in the BP.
    When you are removing the deletion flag please check if any entry is mandatory in the Complaint tab.
    Hope this will be useful
    Thanks and Regards
    DJ

  • Performance issue on Date filter

    In my where condition I wanted a date filter on sale date.  I want all sales after 9/1/2014.   
    CASE1
    If I explicitly use date filter like 
    SaleDate > '2014-09-01 00:00:00:000' I am getting the result in 2 seconds.
    CASE2
    Since I may need to use this data value again, I created a date table with single column "date" and loaded the value '2014-09-01 00:00:00:000' . 
    So now my where is like 
    SaleDate > (Select date from dateTable)
    When I run this , the result does not show up even after 10 mins. Both date types are datetime. I am baffled.  Why is this query not coming up with the result?

    As mentioned by Erland, for the optimizer, both situation are very different. With a literal, the optimizer can properly estimate the number of qualifying rows and adapt the query plan appropriately. With a scalar subquery, the value is unknown at compile
    time, and the optimizer will use heuristics to accommodate any value. In this case, the selection for all rows more recent than September 1st 2014 is probably a small percentage of the table.
    I can't explain why the optimizer or engine goes awry, because the subquery's result is a scalar, and shouldn't result in such long runtime. If you are unlucky, the optimizer expanded the query and actually joins the two tables. That would make the indexes
    on table dateTable relevant, as well as distribution and cardinality of dateTable's row values. If you want to know, you would have to inspect the (actual) query plan.
    In general, I don't think your approach is a smart thing to do. I don't know why you want to have your selection date in a table (as opposed to a parameter of a stored procedure), but if you want to stick to it, maybe you should break the query up into something
    like this. The optimizer would still have to use heuristics (instead of more reliable estimates), but some unintended consequences could disappear.
    Declare @min_date datetime
    Set @min_date = (SELECT date FROM dateTable)
    SELECT ...
    FROM ...
    WHERE SaleDate > @min_date
    If you use a parameter (or an appropriate query hint), you will probably get performance close to your first case.
    Gert-Jan

  • Table to find BOM valid-till-date

    Hi Friends,
      I have to check the vality of BOM components,  through transaction CS03 i could able to see the Valid-till-date and i need to check the same in my code.
    Looked into following tables, thre is a field valid-from-date(DATUV) but i'm not getting field Valied-to-date(DATUB).
    MAST Material to BOM Link
    EQST Equipment to BOM Link
    STAS BOMs header
    STKO BOM header
    STPN BOM follow-Up control
    STPO BOM item
    STPU BOM sub-item
    STST Standard BOM link
    STVB Bills of material - Serialisation of posting
    STZU Permanent BOM data
    Can any one please help me.
    Thanks in advance.
    /Kiran

    Hi kiran,
    I think the Valid-to-date is in table AEEF-DATE_HI which can be linked with the BOM Header table STKO by field AENNR. Try this.
    Otherwise you can also get the Date using the FM CS_BOM_EXPLOSION....
    Use it as follows;
    CALL FUNCTION 'CS_BOM_EXPLOSION'
    EXPORTING
    AUMNG = 0
    CAPID = ' '
    DATUV = DATVAL "valid-from date
    EHNDL = '1'
    MKTLS = 'X'
    MEHRS = 'X'
    MMORY = '1'
    MTNRV = MATNR
    STLAL = LAL "like mast-stlal default '1'
    STLAN = LAN "like mast-stlan default '2'
    SVWVO = 'X'
    VRSVO = 'X'
    WERKS = WERKS
    mmaps = 'X'
    IMPORTING
    TOPMAT = STARTMAT "includes structure CSTMAT
    TABLES
    STBD = TBD "includes structure CSXDOC
    STBE = TBE "includes structure CSXEQUI
    STBK = TBK "includes structure CSXKLA
    STBM = TBM "includes structure CSXMAT
    STBP = TBP "includes structure CSXGEN
    STBT = TBT "includes structure CSXTDL
    EXCEPTIONS
    ALT_NOT_FOUND = 1
    CALL_INVALID = 2
    MISSING_AUTHORIZATION = 3
    NO_BOM_FOUND = 4
    NO_PLANT_DATA = 5
    NO_SUITABLE_BOM_FOUND = 6
    OBJECT_NOT_FOUND = 7
    CONVERSION_ERROR = 8
    OTHERS = 9.
    After the function call you will get the Valid to Date(DATEUB) from table STBP.
    Hope this Helps you...
    Regards
    Karthik D

  • Table for Valid to date in BOM item

    Hi Exeprts,
    Can any one help me on this in which db table Valid to date:DATUB is Updates with reference to Change Number.
    Best Regards,
    Venkata Siva.
    Edited by: venkata siva reddy on Apr 27, 2011 9:28 PM

    Hi
    The Valid-to date will always be set to 31.12.9999. Instead you can get the valid-to date using the below logic.
    -> Get all the BOM from T415A table for the material number into T_T415A
    -->LOOP AT t_t415a.
        ON CHANGE OF t_t415a-matnr OR t_t415a-werks OR t_t415a-stlal.
          IF sy-tabix NE 1.
            MOVE : v_matnr TO t_dates-matnr,
                   v_werks TO t_dates-werks,
                   v_stlan TO t_dates-stlan,
                   v_datuv TO t_dates-datuv,
                   v_stlal  TO t_dates-stlal.
            IF v_matnr NE t_t415a-matnr.
              t_dates-datub = c_99991231.
            ELSE.
              t_dates-datub = t_t415a-datuv - 1.
            ENDIF.
            APPEND t_dates.
            CLEAR :
            v_matnr,
            v_werks,
            v_stlan,
            v_datuv,
            v_stlal.
          ENDIF.
        ENDON.
        v_matnr = t_t415a-matnr.
        v_werks = t_t415a-werks.
        v_stlan = t_t415a-stlan.
        v_datuv = t_t415a-datuv.
        v_stlal = t_t415a-stlal.
      ENDLOOP.
    Regards
    Dhurga

  • Table for Valid To date field in C203 Tcode

    Let me know the table name for "Valid To Date" field in C203 transaction.
    Thanks,
    Angavai.E

    Hi Angavai,
    Check with table PLMW.
    Regards,
    Raghu

  • How to create a data filter for BAPI used in a Distribution Model ?

    I am trying to create IDOC's for a QM inspection plan via message type QPMK in ECC 6.0. When creating the new message type in the Distribution Model, it forced me to use a BAPI (MasterInspectionChar) rather that just the message as I have done in the past. In order to ensure that only IDOC's related to a specific plant and material type get sent out, I was trying to create a filter.
    I am able to get into a 'Change Filter' dialog by double clicking 'No data filter set' under the node 'MasterInspectionChar.SaveReplica'. However, an attempt to highlight anything on this dialog and clicking button 'Create filter group' results in msg. 'Select node: Content-dependent parameter filtering'.
    Online help led me in a different direction, one thread led me to believe I needed to create a table entry for the filter in table TBD16 via BD81 for later attachment to the BAPI in the Distribution Model. Before this, I created two Z* ALE Object Type records for plant and material type in table TBD11 via BD95 for what I thought would provide a lookup back in BD81 for creation of a new filter record, but these objects are not found. Per the help, I am also unclear as to whether I would need to set up Receiver determination or Parameter filtering, nor where to make this step in the configuration happen?
    Can anyone point me back in the correct direction to get a data filter set up for this BAPI within the Distribution Model ?
    Thanks - Mike

    Just to clarify, what I am having trouble with is finding where exactly to plug in the name of the plant to be filtered? If using a message type such as MATMAS in a distribution model, it is very straight forward to navigate down from the 'Data filter active', and assign a value to whatever field you wish to filter via the 'List of Values'.  But in this example, message type QPMK required use of the BAPI MasterInspectionChar, and therefore the different method in creating the filter. 
    I cannot find similar functionality when navigating the BAPI related row, for MasterInspectionChar. The 'Change Filter' dialog popup displays a row for 'Container' and then 3 more rows containing 'BAPI structure...'.   Clicking the 'Attribute' checkbox on any of these rows sets 'Data filter active' as a node under the BAPI.  Double clicking the 'Data filter active' brings me back into the same dialog, and selecting any row with an attempt at this point to create a filter results in the 'Select node: content-dependent parameter filtering' warning.  Is this warning occuring because of missing configuration?
    Thanks - Mike

  • Source List Validity Start Date

    I have noticed that, if the source list validity start date and contract validity start date are same then, the contract price is not considered while creating PO and receive error message as "Source not included in list despite source list requirement"
    If I change the validity start date of source list to one day before the validity start date of Contract then system is picking the contract price in PO and able to save PO successfully.
    Is there any way to create PO even if the validity start date of source list and contract are same?

    from OSS Note 44368 - ME51 ME57 Contract as source of supply
    A contract that is valid on the delivery date but not on the current date is not taken into account in the source determination process.
    Cause and prerequisites
    This is programmed this way.
    Solution
    For reasons of upward compatibility, check will continue to be carried out on basis of current date.
    However, if you wish the check to be against delivery date, you can implement the modification described under the advance corrections.
    If Note 116464 is implemented in a 4.0B Release, use the advance correction from Release 4.5A, however, in Release 4.0B the program name is LMEQRF01.

  • Validity end date tab is suppressed in scheduling agreement

    Hi ,
    In scheduling agreement , Validity end date tab is suppressed ,
    There is no layout is assigned to the doc type & standart transaction varient is acitve , but while doing ME31L above field is not coming ( it is in suppressed / hide mode )
    Please let me how to get that validity date tab in scheduling agreement.
    Thanks,
    Pradeep

    Hi,
    Go to SPRO > IMG > MM > Purchasing > Purchase Order > Define Screen Layout > NBF > Administrative data, header > make the fiels Validity Period field optional / Required.
    Hope this will help you.
    Regards,
    Manish Jain

  • Restriction of Validity start date in Info record ME11/12

    Hi,
    Can anybody suggest how can we put a check in validity start date of conditions so that back date is not selected while putting the price/conditions in info record.
    Regards
    sachin

    hi..
    When u create info-record for any comabination of material and vendor..u go to condition tab ..where ehile defining condition type and their details u can specify their validity....
    and after saving this..if u again want to see that condtion type then it prompt u for "choose validity" for which u want to see the condition type...
    Hope it works,,
    Thanks..

Maybe you are looking for

  • Mac mail not syncing deleted messages with iPad email?

    I'm very frustrated with the mail sync between my MacBook and my iPad. My Microsoft Exchange (@student.uml.edu) email for school will NOT sync between my Mac and my iPad. When I delete mail from from Mac mail, it does not delete on my iPad. This has

  • Location Configuration for Tax Types VAT, Excise

    Hi, Our Client has manufacturing plants, Depot Sales  in different states and even more than one plant in a State with different excise registrations. Some of the products are excisable and some are not. The requirement is Vat payble is to calculated

  • Writing SQL statements in piublic methods

    Why shouldnt i write my sql statements in the public method itself rather than directing it to a private method and access the data base?

  • Battery issue after iOS upgrade to 4.1

    I have upgraded my iOS to release 4.1. After that my battery will be empty within a 4 or 5 hours. before the upgrade the battery works more than a day. Another issue is to delete emails. If I delete some mails and wait a few seconds the mail will be

  • OIM 11g Login page not loading properly

    Hi, I have configured a new OIM 11g environment in a Linux environment. All my applications were running fine. I was able to work on OIM administrator and Design Console (Client). Suddenly the OIM 11g administrator login screen is not loading properl