Validating clearing functions

Hi,
can we validate the clearing functions F-03, F-32, F-44 for certain document types? We want to make sure that DocType 'ZL','ZG','ZS','ZI' can't be cleared with regular document types like 'KR','SA' etc.
  what we can write in prerequisite and check or do we require to write any Exit in OB28?.
Thanks
Suresh

hi,
I'd solve this with an exit in OB28 as you mentioned.
so create 2 Customizing tables:
1 for allowed Z-doctypes and 2 for regular doctypes
and check e.g., if  payment is in 1 and invoice is in 2
Andreas

Similar Messages

  • IHC errors valid clearing partner not found and no header details found while idoc creation after f110

    IHC errors :valid clearing partner not found and no header details found while idoc creation after f110
    Please let me know where the config is missing for ihc automatic payment program.in we02 status is not 53.
    Please help

    Hi
    Please share the error message in the IDOC.
    If the error message is IHC204 "No valid clearing partner was found", it may be due to the missing correct configuration in Set Up Creation of Payment Requests for Inbound IDoc in FI, which links the clearing partner, ALE logical system partner type and IHC account number.
    Cheers
    taro

  • Extend Cross Validation Rule functionality

    Hi,
    Does anyone know if it is possible to leverage Cross Validation rule functionality to check combinations against external data sources?
    I am sure I have seen this before, but do not know how it was implemented techincally.
    When users entered an invalid combination of two segments, maintained outside the EBS, an error message was generated and they could not continue posting the journal. The reason from maintaining the data outside EBS was due to the nature and volume of the relationship being defined.
    Any help appreciated.
    Kind Regards
    Heath

    Cross-Validation rules only affect new account combinations that are created after you define or enable the rules. If you have existing combinations that violate your rules, your cross-validation rules will not be enforced. You will need to disable all existing combinations that violate your rules before your cross-validation rules can take effect.
    Check if the combination 101.399.1323.5240.000.0000.00000.000 was already created before you created your CV rules.
    Thanks,
    Anil

  • CLEAR Function is very slow.  Remedy?

    The Run Package > CLEAR function is running very slowly for segments with large number of records for clear down.
    My questions:
    1)  Is there anything I can do to prep before the CLEAR is executed to speed up processing?
    2)  Are there benchmarks available so I can determine if the performance of our system and application requires tuning/maintenance?
    CLEAR Statistics:
    Instance:                 No. of Records:           Load Cube time in sec.:        Total CLEAR run time:
    1                             25                                  8                                           13 sec.
    2                             39,782                           155                                       2 min 57 sec.
    3                             371,880                         14,557                                  4 hrs 3 min and 19 sec
    4                             307,273                         10,016                                  2 hrs 49 min 07 sec
    5                             221                                7                                           13 sec
    I am most concerned about instances 3 & 4.
    Questions continue:
    3)  Can I continue to process in other areas of the application that is not in the same time period and category as the selected area for CLEAR while the long clear downs are running?
    Thank you.

    Hi Connie,
    Instead of using the CLEAR try using the CLEAR FROM FACT package.
    If you don't see it as an existing package in DM then you'll need to create it. There should be a Clear From Fact.dtsx in the Examples or System folder.
    Thanks,
    John

  • Spry validation custom functions

    I see that there is a way to specify a custom function to a
    spry validation widget like so:
    var customFunction = new
    Spry.Widget.ValidationTextField("customPasswordFunction", "custom",
    {validation: passwordStrength, validateOn:["blur", "change"]});
    Is there a way to pass additional parameters to the function?
    I see that it passes (value,options) by default. I want to pass
    additional parameters to my custom function. Is this
    possible?

    I see that there is a way to specify a custom function to a
    spry validation widget like so:
    var customFunction = new
    Spry.Widget.ValidationTextField("customPasswordFunction", "custom",
    {validation: passwordStrength, validateOn:["blur", "change"]});
    Is there a way to pass additional parameters to the function?
    I see that it passes (value,options) by default. I want to pass
    additional parameters to my custom function. Is this
    possible?

  • Clearing function

    Hi all,
    I would like to write a program for auto. clearing for GL accounts/AR/AP, would anyone tell me which standard function(SE37) can be used? thanks.
    Ben

    HI,
    You can check standard tcode f.13 for its programme also check document type.
    Best of luck

  • Apexlib validation not functional

    Hello pros and Apex devs!
    I have an application where I integrated the Apexlib! I followed the official tutorial and check back and fourth.
    However, the item or column validation is not working!
    In debug mode I stumbled upon the following code, which suggests that the validation is not ignored but aborted.
    Generate item data(ApexLib_Item.generateBrowserData)
    ...done
    Read report column mapping(ApexLib_TabForm.init)
    ...processing MYREPORT
    ...ignore validation = NO
    ...*** Condition found! Abort and continue with next regionThe resizable text areas, a feature of Apexlib, are working. An indicator that Apexlib is partly functional in this app.
    Do you have an idea what needs to be done to get the column/item validation to work?
    $APEXLIB_REQUIRED$ is present in the link attribrutes for the columns to be checked. I have no more ideas!
    Any help is greatly appreciated!
    Thanks a lot for reading this post,
    Sebastian

    Hello Peter!
    Just wanted to coma back to you and tell you that the Apexlib is finally working to a certain extent.
    The only thing that bugs me is the fact that the validation is obviously not carried out before submitting the page. If a field that has an option attribute $APEXLIB_REQUIRED$ is left empty and I hit the submit button, the respective db constraint catches the error and display an ORA-20001 error.
    Actually I wanted to use Apexlib error validation to avoid the constraint violation directly at frontend level!
    regards,
    Sebastian

  • Help: Clear Function for JSF

    Hi Experts,
    I have a page with several jsf textfields in which the first half is being populated by my first bean and the other is being populated by my second bean. I would like to know on how anyone of you would go about clearing all the textfields if you have two beans populating them?
    What I tried doing is calling my second bean's reset() method as the second bean is the one saving all the information to the database. After which I tried calling the instance of my first bean to clear the rest of the fields, below is my code.
    <!--JSF Page-->
    <h:commandButton value="Clear" action="#{secondBean.reset}" />
    // Bean Class
    public class SecondBean {
        private String field1 = null;
        private String field2 = null;
        public void doSomeProcessing() {
        // Populate Fields Here
        public void reset() {
            // Clear Here
            field1 = "";
            field2 = "";
            // Call First Bean
         FacesContext context = FacesContext.getCurrentInstance(); 
         FirstBean proBean = (MyBean) context.getELContext().getELResolver().getValue(
                   context.getELContext(), null, "FirstBean");
         proBean.reset();
    }The problem with the above approach is that it doesn't clear all fields in one click, you need to click it the second time to clear everything. If you have any other solution please help.
    Thank you.

    The_Developer wrote:
    Hi Raymond,
    What wrong with getting the context? and can I ask why do I need to inject it in as a managed property?You do not need to, it is more of a style and good practice thing. E.g. doing so makes writing unit tests on your beans much easier.
    Also if I set the immediate=true then my button will not be able to go to the manage bean phase which is not what I want as I am clearing the records in the bean itself.I do not know what phase you are referring to. The JSF phases are Restore View, Apply Request Values, Process Validations, Update Model Values, Invoke Application and Render Response. Using the immediate attribute on a command component will cause the Process Validations and Update Model Values phases to be skipped.

  • Why is my history clearing function "disabled"? How the heck do I turn it on?

    The dang system is not allowing me to clear history. Why? I am a solo operator - no one else uses it. How is it that it's diaabled???

    Where are you trying to clear the history and what history items?
    *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • ITunes clear function

    Is there a way to disable the pop-up window message that appears when a song is cleared from the library?
    Here is the message: "Do you want to move the selected items to the Trash, or keep them in the iTunes music folder?"
    When I use the "clear" option on a song I "always" want to move it to the trash, so the question for me is redundant.
    Thanks for any tips.
    Power PC G5   Mac OS X (10.4.6)   Memory: 1.5 GB

    No, there (unfortunately) isn't.
    I guess the names are included in the first packet of the stream. As soon as you're connecting to a radio station, the name reverts to the original.
    I've also tried to change the genre, to make it more descriptive to myself, but that doesn't work either.
    Some streams have 'music' as genre, which isn't very descriptive.
    M

  • Validation on Clearing documents

    Hello
        We need to write a validation on Clearing Documents.
    can we validate the clearing functions F-03, F-32, F-44 for certain document types? We want to make sure that DocType 'ZL','ZG','ZS','ZI'( Z doc types in our business landscape) can't be cleared with regular document types like 'KR','SA'.
      How can we descriminate the Document type of Actual document and Clearing document type with respect to field names.
    Appreciate your valuable answers.
    Thanks
    Suresh

    hi,
    look this discussion:
    Re: F-03 Clearing
    A.

  • How to skip the mandatory field validation for clearing the screen fields

    Hi Friends,
      I have created a module pool screen, and made some fields mandatory. after entering some fields, if i try to clear the fields, am unable to clear. Its throwing the error "Enter all required fields"., since some mandatory fields are there. But i could able to navigate through other screen. Both the "CLEAR" and "NEXT" command are given in the at-exit command only. Next is working but clear is not working.
    Please  provide me the solution.
    Thanks
    Karthikeyan.L

    Hi,
    To avoid automatic input checks you have to assing function type - E to appropriate screen field, which is not to be checked.
    These function codes don't trigger PAI processing, instead they go directly to
    MODULE mod AT EXIT-COMMAND.
    ..placed in PAI of the screen. In this way you can ommit automatic checks performed by system on mandatory fields. Please ensure you have assing E type to next and clear functions in GUI status.
    Regards
    Marcin

  • Javascript function for validating string for length

    hi all,
    i am having a string whose datatype is CHAR in the database and length is 7 .
    can any one help me with the javascript validation code(function) for this?
    regards and thanks in advance

    sigh Another user to the ignore list. :)You should see this thread
    http://forum.java.sun.com/thread.jspa?threadID=632908&tstart=0ram.

  • FDM export to HFM - 2nd export did not clear all data from 1st export?

    Has anyone experienced exporting a replacement FDM file to HFM where the 2nd file did not contain an account that was present in the original file and that account/value in the 1st file then remained in the HFM trial balance and caused it to be out of balance? Does the replace export option not clear all the prior file data? The only unusual part of it might be that the problem account was derived using logic group script? Thanks.

    Thanks Hensen - Sure, it was easy enough to fix once I deduced what the problem was - although my solution was just to use the data clear function and reload. The real question is how to prevent it from happening again and it sounds like I can't do much about it - other than trying to train the users to watch out for do-over files that have fewer accounts than the original load?? Am I wrong to think that HFM should try to fully clear all previous data from a load file if there is a replacement or at least try to validate whether or not all prior accounts have been repopulated?? There's plenty of good validation in the validation step of FDM. Why not during the export step? If this makes sense, I'll put in another "enhancement request" to support.

  • Unit Test Validation for Output Ref Cursor Not Working

    Here is the problem:
    I have a stored procedure as follows:
    CREATE OR REPLACE
    PROCEDURE usp_GetEmployee(
    p_employeeId IN NUMBER,
    cv_employee OUT Sys_RefCursor )
    AS
    BEGIN
    OPEN cv_employee FOR SELECT * FROM employees WHERE employee_id=p_employeeid;
    END usp_GetEmployee;
    For this, I am implementing a unit test.
    * In the "Select Parameters" step, I am unchecking the "Test Result" check box for the cursor OUT variable.
    * In the "Specify Validations" step, I am choosing "Boolean Function" and putting the following PL/SQL code:
    DECLARE
    emp_rec {cv_employee$}%rowtype;
    BEGIN
    FETCH {cv_employee$} INTO emp_rec;
    IF {cv_employee$}%FOUND THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    RETURN TRUE;
    END;
    But, when I try to execute this Test, I get the following error:
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@4f0617> to REF CURSOR.
    If I run in the debug mode, I get the following content in a dialog box:
    The following procedure was run.
    Execution Call
    BEGIN
    "ARCADMIN"."USP_GETEMPLOYEE"(P_EMPLOYEEID=>:1,
    CV_EMPLOYEE=>:2);
    END;
    Bind variables used
    :1 NUMBER IN 1001
    :2 REF CURSOR OUT (null)
    Execution Results
    ERROR
    CV_EMPLOYEE : Expected: [Any value because apply check was cleared], Received: [EMPLOYEE_ID                             COMMISSION_PCT                          SALARY                                 
    1001                                    0.2                                     8400                                   
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@31dba0> to REF CURSOR.
    Please suggest how to handle this issue.
    Thanks,
    Rahul

    979635 wrote:
    But, when I try to execute this Test, I get the following error:
    Validation Boolean function failed: Unable to convert <oracle.jdbc.driver.OracleResultSetImpl@4f0617> to REF CURSOR.
    If I run in the debug mode, I get the following content in a dialog box:
    The following procedure was run.
    Execution Call
    BEGIN
    "ARCADMIN"."USP_GETEMPLOYEE"(P_EMPLOYEEID=>:1,
    CV_EMPLOYEE=>:2);
    END;
    Bind variables used
    :1 NUMBER IN 1001
    :2 REF CURSOR OUT (null)
    Try explicity declaring the ref cursor instead of using a bind variable, something like (untested)
    begin
      foo sys_refcurosr;
    begin
      test_procedure(foo);
    end;Alternately, in SQL*PLUS use the DEFINE command to ste a named bind variable to type REFCURSOR and use the named bind variable in your test
    Edited by: riedelme on Jan 23, 2013 7:10 AM

Maybe you are looking for

  • How can I play a dvd on my Mac and display it through Apple TV

    I want to use my DVD drive on my mac to play back movies through my apple tv2. I notice that on my iPad, iPhone, iTunes on my computer all have the AirPlay option to display the video on my TV through Apple TV. I do not want to burn my DVD onto my Ma

  • Passbook not showing up in lock screen at Starbucks.

    I added my Starbucks card (via the Starbucks app) into Passbook. I also added several "favorite locations" to the card.  I have all necessary settings, including those in Notifications and Location Services, turned on as described in http://support.a

  • Server Error Related To Set Alarms

    There is another thread going about the following error message: The server responded: "HTTP/1.1 403 Forbidden" to operation CalDAVWriteEntityQueueableOperation. I have found that this is occurring for me only when I set a future event and then try t

  • Please great apple we love you don't make us upset ?

    Hello great apple.before i start to speak. I know you will not fix my problem. But i wish. Please i bought ipad mini 2 and screen colors very bad. Low contrast. If you can fix it by updating firmware. I will be very happy. My old ipad 3 colors was am

  • Cash sales and rush order --immediate delivery problem

    Hi all, Need some help! Well this is a very basic questions and could not get answers quite well from anywhere. In CASH SALES & RUSH ORDER ...i am not getting "immediate delivery" during saving. This is happening to me for the first time ...........