Calling FI Validation Rules in BPM server through call transaction

I m trying to call FI validation rules through call transaction (for FBV0) in BPM server but in the messages table of call transaction it does not gives us the validation rules error messages while when i run manually the transaction in R/3 system i get the validation error messages. So please tell how i can get these validation error messages when called through BPM server.

Hi madhvi,
                   You are using jtab within the form.. i dont think you can use it directly inside ur FORM sub1 without declaring it or without passing it. and it will give you the syntax error.
and please send me the step by step code you have written in editor so that i can check it and can reply you with proper solution'
Thanks ,
Prasanna

Similar Messages

  • Conditional Execution of Validation Rule defined in EO

    Hi All
    I'm developing a web application using jdeveloper 11.1.0.3
    I have a drop down list with some values. There is a compare validation rule defined in EO object for an attribute. But I dont want to fire this validation only when a certain value from the drop down list is selected.
    When we go to edit option of this validation rule there is a tsb called validation execution. I want to know how to fill conditional execution area to full fill my problem

    You can create a Groovy expression in the 'Validation Execution' tab to return true based on which the validation rule will be applied. The new value of the attribute can be accessed via the attribute context validation variable 'newValue'
    Check this blog for more details on validation rules:
    http://blogs.oracle.com/workingwithadf/2010/11/adf-bc_business_rulesvalidation_eovo.html
    hope this helps.
    Regards,
    ~K

  • Calling Function in SQL Server through DBLINK

    Hello
    I need to call a function that exists in other database (*SQL Server*) through DBLINK
    Is It possible? If yes, please give me the syntax
    Thanks

    Hi,
    You can call remote functions on SQL*Server if you create the database link using the Database Gateway for SQL*Server (DG4MSQL).
    You need to install and configure DG4MSQL then you can call remote functions as follows -
    SELECT function1@Remote_DB(7782) FROM dual;
    You need to set the parameter -
    HS_CALL_NAME
    in the DG4MSQL init<sid>.ora file with the owner and name of the function, for example -
    HS_CALL_NAME = "owner1.function1, owner2.function2 "
    and if you want to return values using the function you need to set the parameter in the gateway init file -
    HS_FDS_PROC_IS_FUNC=TRUE
    For full details you need to refer to the documentation -
    Oracle® Database Gateway for SQL Server User’s Guide, 11g Release 2 (11.2)
    Oracle® Database Heterogeneous Connectivity User’s Guide 11g Release 2 (11.2)
    which is available from -
    http://www.oracle.com/pls/db112/homepage
    and click on the 'Integration Information' option on the left.
    The documentation has further details on how to call and use remote functions.
    For information about installing and configuring the gateway and links to further information have a look at the following note -
    Note.1083703.1 Master Note for Oracle Gateway Products
    available in My Oracle Support
    You cannot use the Database Gateway for ODBC (DG4ODBC) to create the database link as it does not supported stored procedures or remote functions.
    Regards,
    Mike
    Edited by: mkirtley on Sep 2, 2011 11:09 AM

  • Cross-Validation Rules: How to re-validate segments all ready enabled?

    Is it possible to call one of the APIs to re-validate the code combinations againts the Cross-Validation Rules? If the enabled flag is set to 'Y' then the CVR is ignored. I am aware of the Cross-Validation Rules Report which is helpful, but I need to go a step further. I'm looking to loop through the gl.gl_code_combinations tables, re-validate the combinations that are enabled, if CVR fails then determine if there are any amounts that need to be moved prior to disabling the combination.
    I have a routine that:
    1. creates temp table of all enabled combinations
    2. loops through gl_code_combinations
    3. deletes record from gl_code_combinations, do not commit
    4. calls API fnd_flex_keyval.validate_segs
    5. updates status of temp table
    6. rollback deleted record
    7. repeat 2 - 7 until done
    8. query gl_balances using temp table combintions that have failed.
    I'm a little nervous to run such a routine, because of the delete.
    Does anyone have any ideas or suggestions?
    Thanks,
    Jamie
    Edited by: jmdavis on Dec 15, 2008 6:17 PM
    Edited by: jmdavis on Dec 15, 2008 6:18 PM

    Use where clause for that UDA's in attribute that refer to other attributes data source. the where clause may required use Lookupcodes, these lookup codes may have to be configure in the source attribute values table column.
    Edited by: user11979254 on May 13, 2010 2:49 AM

  • Validation Rules

    Hi,
    I need to develop component, which can perform Validations at Objects.
    External components will call it and pass it the following data:
    * The object to validate
    * The name of the validation rule to execute
    And then my component will perform validation (on that object) through the specified validation rule.
    Rule is a logical set of operations, which checks that a given data complies with specific restrictions. For example rule MinMax should check that given number is within defined range.
    Rules can be anything: MinMax (for integers), StringLength, ValidMailAddress and so on.
    I want my component to come with some out-of-the-box rules and I want to give the developers a good way to add rules.
    Before I develop that I need to know if there is an existing tool, which provides all that (more or less).
    I searched the Internet and I found only Jakarta's Validator.
    Do you know some other tools?
    Thanks,
    T.

    I want my component to come with some out-of-the-box
    rules and I want to give the developers a good way to
    add rules.When I saw this, I instantly thought of the W3C XML schema (Actually it's the W3C XML schema schema but I didn't go to school here.)
    It has validation for all the 'normal' types you can think of and allows for custom rules using a rich set of tools (including regex.)
    The (possible) downside is that you must at some point represent your data in an XML tree.

  • Error 500 calling an ES from a BPM

    Hi experts,
    I have a BPM in XI that calls an ES many times. The standard ESs called are the Create Project Create Network an Create Activity. The BPM calls first of all the create project, then calls the create network, once for each network realted to the main project and then calls the create activity once for each activity realated to each network.
    The BPM works fine for few networks and activities, but when calling many networks and activities it returns an error 500 of conection. It will be because the project object gets blocked when its called many times in a little period of time.  I think it's not due to the XML or related because if I do the same process but with a wait step between each send it works fine. Do you know how can avoid this problem?
    Regards
    Gonzalo

    ou are working with XI 3.0 or 7.0. If you have one XI installation across different network domains, host names may not be resolvable across network domains depending on your network setup. For the XI inter-component communication, URLs registered in the System Landscape Directory (SLD) are used.
    XI Tools, Integration Engine and XI Adapter Engine register their URLs in the SLD in different ways:
    XI Tools: Hostname and port used by the Tools (RWB, Integration Builder -Repository and -Directory) are stored in the Exchange Profile. During J2EE system restart they get self registered in the SLD using the values defined there.
    XI Adapter Engine: In case of the XI Adapter Engine, these URLs are automatically entered to the SLD as part of the Adapter Framework self registration process. Host and port are taken from the J2EE server.
    In most cases the host name in these URLs is not fully qualified whereas in cross-domain scenarios fully qualified host names are required.
    Solution
    The problem can be solved in most cases by forcing the XI self-registration to use fully qualified host names.
    For XI Integration Builder, Integration Engine and Runtime Workbench, you accomplish this by entering fully qualified host names in the XI Exchange Profile, then initiating a new self-registration (restarting the J2EE engine).
    For the Adapter Engine, the approach is different: Change the properties "SLD.selfregistration.httpPort", "SLD.selfregistration.httpsPort" and "SLD.selfregistration.hostName" of the J2EE service SAP XI AF CPA Cache. Enter the fully qualified host name under which the Adapter Engine can be reached from all relevant network domains. Do this in the Visual Administrator of the J2EE Engine.  Then restart the applications "com.sap.aii.af.cpa.app" and "com.sap aii.af.app", or restart the complete J2EE engine. This triggers a new Adapter Engine self-registration.
    Go in the Integration Server (IS) to transaction "SXI_CACHE -> Goto -> Adapter-Engine-Cache" and delete the old Adapter Engine cache entries. After that the cache is refreshed from SLD as soon as a new message in sent to the respective Adapter Engine.
    Check: After restart, navigate in SLD through "Content Maintenance -> XIAdapter Framework" to your Adapter Engine.  As part of the "associated instances" you find e.g. at "XI  Adapter Service XIRA -> Associated Instances -> Port for XIRA of af.<SID>.<hostname>" the new URL with the fully qualified host name.
    regards
    chandra

  • IS validation rule export to Data Services invalidates datastore logon details

    I am exporting an Information Steward 4.2 SP1 validation rule to Data Services 4.2 SP1; a part of the rule is a database table lookup. In the export process, IS creates a new datastore with that table I'm doing the lookup against.
    The problem is that every time I re-export the rule after changing it, I have to maintain db server logon details in that generated datastore again.
    Have I missed a configuration step, or it's just an error to raise through OSS?

    Hi Apurva ,
    Now I got Variable Id  and Varibale Value i have give From Data Fields of VC  .
    When i click on Button Export To  Excel it gives
    SET_VARIABLES_STATE is Correctly placed For
    VARIABLE_VALUES VARIABLE_VALUE
    if give 
    VARIABLE_VALUES VARIABLE_VALUE instead of SET_VARIABLES_STATE it is giving  No MetaData  is available for VARIABLE_VALUES VARIABLE_VALUE
    it throws like .
    please help in this regard.
    I Have given The Formuls AS Below
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=zmp_prodn_mtef_ccp_1&BI_COMMAND_1-BI_COMMAND_TYPE=VARIABLE_VALUES VARIABLE_VALUE&BI_COMMAND_1-VARIABLE_VALUES VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING="&2009&"&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0P_FYEAR&BI_COMMAND_3-BI_COMMAND_TYPE=EXPORT&BI_COMMAND_3-EXPORT_FORMAT=XLS&BI_COMMAND_3-null="
    Regards ,
    venkat p

  • Should customised row validation rules put in EntityImpl.java or EntityDefImpl.java?

    Qestion:
    1) Should customised row validation rules put in EntityImpl.java or EntityDefImpl.java?
    2) Where am I recommended to define customized Exceptions?
    Thanks for any replies!

    Qestion:
    1) Should customised row validation rules put in EntityImpl.java or EntityDefImpl.java?If you want to write validation logic in java, EntityImpl subclass is the place to do it. You may choose to write validation per attribute in the relevant setXXX methods (where XXX is attribute name)
    or in the validateEntity() method (before/after calling super.validateEntity() as your case may be).
    2) Where am I recommended to define customized Exceptions?You should define new exceptions in a package separate from your server classes, (so that you can download them to client-side incase you are in a thin-client environment).
    Exceptions should be a sub-class of JboException if you want these exceptions to be tier-independent and work without conversions in Bc4J.
    If the exceptions are part of validation logic you may choose to subclass ValidationException or one of the subclasses thereof.
    Thanks for any replies!

  • FDM validation rule

    Hi all, I have FDM 11.1.2.1 and during the testing of a validation rule I'm getting the follow
    Round(28367722753347.5,0)=Round(28367722753347.4,0)
    FALSE
    The rule is this
    Round(|,,,,,,R93,[ICP Top],AJUSTADO,SALDO,[None],[None],,,,,,,,,,,,,,,,|,0)=Round(|,,,,,,R96,[ICP Top],AJUSTADO,SALDO,[None],[None],,,,,,,,,,,,,,,,|,0)
    Why is this giving False as a result ???
    Also is there a way to have FDM to do the expression eval by selecting this Round(28367722753347.5,0) ??? All I get is Expected ')'
    Thanks for your help
    Edited by: HFMColUser on Nov 23, 2011 6:46 PM

    Thanks for your answer, I saw the result of your test ... thanks a lot I actually feel kind of stupid for not seeing that before.
    About the second part or my question I'm refering about the Test tab, when you have an actual validation rule (not just Round(x,y)), once you select the entity and hit the test rule button all the fields on the screen get filled.
    On the Expression field it shows the rule
    Round(|,,,,,,R93,[ICP Top],AJUSTADO,SALDO,[None],[None],,,,,,,,,,,,,,,,|,0)=Round(|,,,,,,R96,[ICP Top],AJUSTADO,SALDO,[None],[None],,,,,,,,,,,,,,,,|,0)
    On the Expression after Look up substitution (Scratch Pad) field it shows the replacement of the fields, it looks something like
    Round(28367722753347.5,0)=Round(28367722753347.4,0)
    Now my question was about the bottom right button called "Expression Eval", what's its function ??
    I highlighted Round(28367722753347.5,0) (on the scratch pad) and then used the Expression eval button, then an error message showed up with the phrase Expected ')'
    but when I highlight for example Int(28367722753347,5) (on the scratch pad) and then use the Expression eval button it shows me 28367722753347.
    Is there a problem with the round function and it cannot be evaluated through that method ???
    Thanks again for your interest and help

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • How to delete the files from server through OAF page

    Hi All,
    I have a requirement in which i am creating files on server through my CO code.
    Now once the page is rendered, i want to delete the files from the server.
    Just wondering how can we achieve this.
    Kindly advice!
    Thanks,
    Sachin

    Hi Sachin
    all the methods in the processRequest() are called during loading of the page.
    all the methods in the processFormRequest() are called during any action events on the page.
    So Use the method in processFormRequest() : write a method in
    that on which action you want to delete the file.
    regards
    sridhar

  • Exit in the Validation rule is not working in Project system

    Hi Team,
    I have created a validation rule for wbs and inserted a exit under check condition. But when i trying to test the validation rule, exit is not called. Is there any other step to activate the exit??
    Best regards,
    Dileep

    Hi,
    The code you have written in the exit must be activated. Please check the same.
    Regards,
    Harsh.

  • ADF: showing error message on a validation rule programatically

    Jdeveloper : 11.1.2.2.0
    i m using ADF. i ve a form that contains input text that is binded to a managed bean property.
    that input text value is inserted into an entity attribute.the attribute in the entity has a validation rule.
    i submit the form and in my managed bean i call
    am.getDBTransaction().commit();
    i want when i submit the form and the when the commit is called and throws exception regarding the validation rule,i want to show an error note window same style like this http://oi50.tinypic.com/15fhnpt.jpg
    how can i do that ?
    thanks in advance :)

    Hi,
    i submit the form and in my managed bean i call
    am.getDBTransaction().commit();A strict NO NO for doing this. You add the commit action to the binding and call the execute the commit operation binding programatically.
    i m using ADF.ADF is vast. Be specific on the technologies you use (ADF BC and ADF Faces?)
    that input text value is inserted into an entity attribute.the attribute in the entity has a validation rule.Are you doing something special with the binding you have in bean? If not, why don't you Drag and Drop the VO from the data control directly? (set the af:messages tag to have inline=true).
    -Arun

  • Can a Stored Procedure be called from a Rule (not using Scripted JDBC Adap)

    Hello smart people,
    Question: Can a stored procedure be called from a Rule without using the Scripted JDBC Resource Adapter?
    What's Desired: The project has very strong sql developers and average at best Java developers. We have been successful at implementing the scripted JDBC Resource Adapter which makes use of Java Bean shells. The custom Java Bean shell contains code that calls a stored procedure. We are cool with that process.
    However we would like to be able to set up a Rule that calls a Stored Procedure without jumping thru the Java Bean Shell layer. The Stored Procedures we will be developing will not access the tables in the Waveset database. Instead the Stored Procedures will be accessing custom tables in a custom database. The custom DBase will be housed on the same dBase server as the Waveset database.
    Environment: Identity Manager 7.1. Oracle 10i, and Unix OS.
    It seems to me that this task is possible, but the posts in this forum make it sound like perhaps it is not.
    Do any of you smart people agree that it should be possible or better yet has anyone implemented such an approach?
    Thanks.

    We did this by putting all of the JDBC calls into a Java class, then instantiated that class and called the methods from within a rule. An example of a rule we used is this:
    <Rule authType='UserMembersRule' name='List UserType'>
      <block>
        <defvar name='adapter'>
          <new class='com.waveset.adapter.ScriptedJdbcResourceAdapter'/>
        </defvar>
        <invoke name='setResource'>
          <ref>adapter</ref>
          <invoke name='getObject' class='com.waveset.ui.FormUtil'>
            <ref>context</ref>
            <s>Resource</s>
            <s>Banner</s>
          </invoke>
        </invoke>
        <defvar name='jdbcHelper'>
          <new class='edu.bates.JDBCHelper'>
            <invoke name='getConnection'>
              <ref>adapter</ref>
            </invoke>
          </new>
        </defvar>
        <defvar name='userList'>
          <new class='java.util.ArrayList'/>
        </defvar>
        <invoke name='addQueryToList'>
          <ref>jdbcHelper</ref>
          <s>SQL QUERY HERE</s>
          <ref>userList</ref>
        </invoke>
        <ref>userList</ref>
      </block>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
    </Rule>

  • How do you create custom validation rule in WS 9.2?!?!?!

    Hello,
    I am using Workshop 9.2. I created a page flow, and want to do some form validations.
    I saw the simple 9.2 example, but it is only good for very basic validation, what if you have to validate the form field against a database, must you write a custom validation rule? HOW would you do this in 9.2 so that will still stay with the workshop/netui paradigm?
    http://beehive.apache.org/docs/1.0.1/netui/validation.html
    Keith

    Hi Keith,
    Staying within the declarative validation framework the answer is probably that you do need to write a custom validation rule and refer to it using the @Jpf.ValidateCustomRule annotation.
    The NetUI Annotation Reference shows how the Struts validations are supported via the framework.
    http://beehive.apache.org/docs/1.0.1/netui/annotations/pageflow_annotations.html
    Specifically, if you look through the @Jpf.Validate* annotations, while most of these are "canned" common validations, there are a few that are more open-ended, such as @Jpf.ValidateMask and @Jpf.ValidateValidWhen.
    Those two let you write the validation logic in the annotation while @Jpf.ValidateCustomeRule only refers to a custom rule in the struts validator file.
    In any case, there is a validation rule editor which should help in authoring and managing the annotations. In the Page Flow Explorer or Page Flow Editor just right click on the action or form bean bean of interest and choose Validation Rules and the appropriate scope.
    I hope that's of some use,
    Troy

Maybe you are looking for

  • Next previous button

    hi there, I'm looking for it for few days and just couldn't find what i'm looking for. i need to use the same button on click to play the next animation (label) and i have a back button which need to play the previous animation. sounds pretty easy, b

  • Color correcting software!

    Hi I shot my film with SI-2K camera and I edited it final cut pro, do you know any good software that I can Color correct my raw footages with it?

  • Oracle service and listener not starting

    In my oracle 10.1.0.2.0 on windows Xp server today I found all the oracle services are stopped and when I try to start the listener it gives me the following error.. C:\>lsnrctl LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 15-JUL-20

  • Error in reading the pages of BAIO offline packages documents

    I downloaded a BAIO offline documents ----"SAP Best Practices Baseline package".  when I read the contents in "preconfigured processes"--->"entry level scope"----->"scenario maps", the page didn't show the map chart and gave me an error of javascript

  • ORA-04045 error on a 10g form

    I have a form 10g that runs fine on one server, then when I move the FMX over to another 100% identical server, I get the ORA04045 error as soon as i run the form. I've recompiled the form and still get the error. The problem is that teh message on t