Put validation through SPRO

Hi,
There are not any userexists for down payment ( F-47 ) which are suitable to my requirment .So now i have only way to chane in spro for validation so can any one tell me how validation done through spro step by step.
Regards,
Gurprit Bhatia

Hi,
There are not any userexists for down payment ( F-47 ) which are suitable to my requirment .So now i have only way to chane in spro for validation so can any one tell me how validation done through spro step by step.
Regards,
Gurprit Bhatia

Similar Messages

  • Where to put validation logic...

    Hi,
    We have a lot of validation logic in our database. Next to the normal foreign key, check, unique constraints, we use triggers for validation (which throw errors with custom error codes when needed).
    On top of the database we are building a fairly large JClient based application using the BC4J framework. BC4J offers the possibility to use validation beans for validating the entity row. We are wondering if we should use this. If we implement the validation logic for each entity we are actually duplicating the validation logic that's already available in the database. And some database constraints are easily implemented using the standard validation beans (like not null and unique checks), but more complex validation rules can sometimes only be done in the database (so we need to use the database for validation using a method validation bean).
    Like I said this means a lot of duplicating validation logic. Which first of all is an inefficient thing to do. Second validation logic can change over time, which means we need to change the logic on two places. It's easy to forget to change the logic on one place.
    We found a way to somewhat use the database validation logic for validating entity rows. We just simple insert a row in the database and post the changes. If the new row contains an error an exception is thrown. This JBO exception contains a reference to the SQL exception. Which can be used to retrieve the database error code. Unfortunately we have not found a good way (yet) to find out where the error occured (in which trigger for example). Error codes don't have to be unique so it's important to know in which context they occured. Another problem with this method is we can't do an early validate on a limitted set of row data. E.g. we sometimes use wizards in our application for adding new rows. We really want to check the data after each step in the wizard (step by step). This is ofcourse impossible with the database logic. This means we again need to create the same validation logic again. I don't think it's even possible to use the row.validate() method for this (and ofcourse implement the validation logic in the entity too), because this method validates the complete row.
    In short, where is the best way to put validation logic? And (how) can this be done without duplicating (to much) logic?
    Regards,
    Peter
    P.S.
    Does anyone know how to retrieve the context of an SQL exception?

    Do you users have access to the data/tables outside
    of using your application? (as in using sqlplus?)Not at the moment.
    Ideally the database should just be going
    constraint--data integrity type of checks. The
    business rules would be in the business layer not
    persitance layer..So in this case, they would be in
    the bc4j entity objects.. Well most of them are simple integrity constraints, but sometimes we have to check things using triggers which are way more complicated and need extensive database access. It's more logical to do that in the database. If the trigger runs into a problem it raises an application error. We are hoping we can use this error somehow in our application.
    That assumes that the only way a user can modify that
    data is through your application only.Well it is, and if another application is written for it the BC4J entities etc. will probably be re-used, but like I said there are other reasons for not having all the business-rules in the BC4J layer.
    by the way, are you migrating an existing application
    that already has all the business rules in the
    database?No, it's a brand new application, but we started out with defining a lot of business rules in the database because that seems a more logical place to put them (to us). I understand that some business-rules can better be implemented in the BC4J entities, but it's not that easy for every business rule we have.
    Regards,
    Peter

  • Can anyone tell me how to fix my iPod. I was updating it and I turned it off in the middle of the update. I tried to put it through a recovery on the iTunes but it keeps giving me 3194.When I turn it on it will go to a light blue screen.

    Can anyone tell me how to fix my iPod.I was updating it and I turned it off in the middle of the update. I tried to put it through a recovery on the iTunes but it keeps giving me 3194.When I turn it on it will go to a light blue screen.

    See the action for that error included here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting

  • Add Button to Display Adobe Form through SPRO

    Hello All,
    I am trying to add a button to display Online Interactive Adobe Form through SPRO but its not working.
    So please suggest me how can i add a button for it ASAP.
    Thanks and Regards:
    Anugrah

    method ONACTIONCLICK .
      wd_this->fire_o1_plg(
    endmethod.

  • Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means

    Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means ending my contract, i just want the hell over. I went into my bill tonight and the mess was still there I paid $110. that's what I owe

    I guess I spoke too soon!  I really can't believe this nightmare is not over yet! My account is still wrong.  The credit that I was due totaled $63.00  I am looking at a message on my phone saying that $21.01 was credited which makes my balance $219.72.  I received a text the following day that says, I processed your credit of $30.00 and your new balance $216.73 how is that possible?  None of the late fees were credited and the amount due for my monthly charges are wrong.  Before any changes were made to my data plan back in Nov. My monthly charges were $140.00, I needed my hot spot back and i was told that the hot spot will increase my bill $10 for each phone that totals $20.  The customer rep that change my data plan at that time also gave me a credit of $20 to compensate for the increase until I had time to talk with customer service about the mix-up with my Hot spot. I originally had the hot spot, but the rep that change my plan almost a year prior told me nothing was changing except I was getting more for less money.  I explained to that rep that I need my hot spot 4 times a year...and I don't want my plan to have any changes. To verify what I'm telling u check my account and see that I called from Albany New York wanting to know where my hot spot was and I was told I didn't have the hot spot on my account since the last data change!  I lost money once again due to the verizon rep's.  so my current data plan the rep promised would increase $20 which makes my monthly charges that were $140 prior to the change $160 after the hot spot was returned to my account.  Then I was given a $12 credit per month for 12 months because of so many mistakes made to my account so with that $12 credit my monthly charges should $148 + surcharges + taxes and that's not what I see. I do know this much right now my account is in such a shambles I can hardly see the light at the end if there is an end!  I need real help!
    >> Personal information removed by Verizon Moderator to comply with the Verizon Wireless Terms of Service <<

  • Can i take apart the imac power cord to put it through a hole in my desk.  I'm able to get the ring off, but dont want take the housing off incase it breaks

    can i take apart the imac power cord to put it through a hole in my desk.  I'm able to get the ring off, but dont want take the housing off incase it breaks

    I hear you.  The reason I asked is that on the computer end of the cable, I took the ring off and it looks like there are some clasps around the housing, so I was wondering if these were for the purpose of threading the the cable.  I will try and get some pictures.  The drill is charging, however!!
    Thanks
    P

  • How to put validation between attributes at View Object level in BC4J

    Hi,
    Is it possible in BC4J to put validation between attributes at View Object level?
    I know that I can do it at Entity Object level in validateEntity method, but I have several View Objects connected with one Entity Object and don't want to have the same validation logic for all View Objects.
    Thanks for any help!

    It returns errorWhat error does it return?
    John

  • Where to put Validation Code?

    Up until now, Im still having second-thoughts of where to put validation code when setting attributes of an entity.
    Right now I have created lots of custom validators --(implement JbovalidatorInterface) that calls stored procedures to validate the value entered. But sometimes, i just use a ViewObject and query it on the setterAttribute method of the Entity and just manually throw a JboException of the value is invalid based on some business rule.
    Question is, what are the best practices where to put validation codes? do we have to be strict that we always put all validations on Validators or are we free to just throw JboExceptions anywhere on the BC classes' code.
    regards,
    Anton

    1. The reason I have a custom validator and I don't normally use the built in declarative validators is that the error message generated when the validation fails is fixed, only one message. I decided to have create a custom validator is that I need to test a one attribute for many cases in each case should produce a distinct error message. So if I use the built in validators, I would have to create lots of built in validators for that single attribute only. (and i have lots of entities and lots of attributes that needs business rule validation). So, I decided to create a custom validator, that calls the stored procedure, the stored procedure takes care of all test cases, for that attribute only, and I can return a dynamic error message depending on the test case that failed. What do you think about the approach?
    It's a little extra work to create a reusable validator class that will only be used once, but whether you do it that way or encapsulate the call in a helper class that your one-off method validator code delegates too, it seems similar to me. So it's more of a stylistic choice for you which you like better. Now, if your reusable validator were enable to encapsulate
    2. When I said anywhere; I meant inside the setterAttribute methods on the Entity and on the ViewRowImpl, orThe ViewImpl class or inside a method on an ApplicationModule?
    Rather than writing code in the setAttribute, I recommend using attribute-level method validators. This makes it more clear where all your validation code lives.
    I don't recommend performing validation in the view object level since entity objects are the component in the system that are tasked with handling validation. It would be easy to circumvent view level validation checks unless you make a lot of assumptions about exactly how your application is working.
    3. One other issue is that Validator methods are for validation purposes only. So its not a good idea to put in attribute setters to other attributes inside there. So you put the attribute setter logic outside of the validator usually inside the setAttribute() just after validator returns. But there are cases that is very straightfoward to put validation logic inside the setAttribute; meaning, inside the setAttribute() method, I test for a condition, if it fails, just throw a JboException, if its true, continue with the otherAttributes setter logic.
    Whether attribute setting of other attributes is performed in a setter method or in an attribute-level method validator, either way you will need conditional logic to avoid going into a validation "loop" (which eventually will throw an exception if after 10 attempts the object is still not valid at posting time.

  • Where do we put Validations in Internet Sales Application

    Where do we put validation on user input data in ISA.
    like in Actions,BO,BE.Please tell where exactly we do it.
    I need to compare Sold to Party with Ship to Party and Bill to Party.Any idea how i can do it.

    There was some problem from crm side....It working now

  • Add a button to display Adobe Form through SPRO on T-code IQS22

    Hello All,
    I am trying to add a button to display Online Interactive Adobe Form through SPRO on T-code IQS22 but its not working.
    So please suggest me how can i add a button for it ASAP.
    Thanks and Regards:
    Anugrah

    I asked my question in hopes that somebody has maybe had a similar question or has dealtwith something similar to what I am trying to do
    But you said you already know how to do this. You said you know how to create a JFrame and display it. So what is your problem?
    You said you know where to add the code. So again what is your problem?
    All you posted is code that was generated by the IDE. You have not make any effort to add your own code. Why do you think the code to show a frame here, is any different than the code you used to show a frame in the past?
    You learn by trying, not by asking people to spoon feed the answer to you.
    If you would even make the slightest effort at filling in the code where the IDE has told you to add the code I would be more willing to help. But apparently you have no desire to make the effort.

  • How to see OB40 tcode screen through spro

    Hi All,
    how to see OB40 tcode screen through spro (need path in SPRO)
    Thanks,
    Amit

    Hi,
    You use Tcode SPRO->Img (F5)->SAP Customizing Implementation Guide->Financial Accounting->Financial Accounting Global Settings->Tax on Sales/Purchases->Posting->Define Tax Accounts
    For details you can refer this link:
    http://www.upload2world.com/pic110/upload2world_08290.jpg
    Hope this will help you.
    TQ
    Regards,
    Nazrul

  • SAP target provisioning - 'Password Update' Rejected causes a Valid Through Update on target

    Hello Experts,
    we have recently noticed a strange behaviour.
    Some users had a strange Valid Through value on target SAP ECC system, after some researches we found that their SAP ECC resource had different task "Password Update" in status Rejected.
    The date of task rejection match with the valid through update on SAP system, but we cannot understand how the 2 things are linked..
    Could you help us?
    The Log says:
    [2013-02-27T11:14:13.576+01:00] [oim_server1] [ERROR] [] [OIMCP.SAPU] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 0000JoR9HvTEwGp5kRDCiZ1H1zIc000f74,0] [APP: oim#11.1.1.3.0] [dcid: f8874950d78348e2:39e64793:13c8715021b:-7ffd-0000000000013e96] oracle.iam.connectors.sap.usermgmt.integration.SAPUMProxyUserProvisionManager : modifyUser() : User update Failed
    [2013-02-27T11:14:13.577+01:00] [oim_server1] [ERROR] [] [OIMCP.SAPU] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 0000JoR9HvTEwGp5kRDCiZ1H1zIc000f74,0] [APP: oim#11.1.1.3.0] [dcid: f8874950d78348e2:39e64793:13c8715021b:-7ffd-0000000000013e96] oracle.iam.connectors.sap.usermgmt.integration.SAPUMProxyUserProvisionManager : modifyUser() : The validity date is being set to the last logon date
    Best Regards,
    AT

    Potomac wrote:
    check these bugreports :
    https://bugs.archlinux.org/task/42505
    https://bugs.archlinux.org/task/42353
    it seems that this bug related to i915 chip ( or intel graphic card ) is fixed in kernel 3.18rc3 mainline ( we can find this kernel package in AUR )
    there is also another and complete different bug when we use a kernel 3.17 and even 3.18 ( it's a random bug ) but with a similar effect : boot can hang ( the boot process suddenly stops ) :
    https://bbs.archlinux.org/viewtopic.php?id=189622
    https://bbs.archlinux.org/viewtopic.php?id=189324
    downgrading to kernel 3.16.x is the workaround
    I assume my computer is affected by one of these bugs. While I can get to the point where my window manager is loaded, everything almost immediately hangs (but doesn't freeze). Terminal windows become non-responsive and Chromium will refuse input. It's very weird. This happens with both of the 3.17 kernel updates but not in any of the 3.16 releases (including 3.16.7).
    This is on an AMD system (cpu/gpu w/ open source driver). Overall 3.17 seems rather buggy.

  • Define Valuation Class against Material Group through SPRO.

    Hi,
    Can we define Valuation Class against Material Group through SPRO.
    Because we don't want to insert valuation class during material master creation. Reason, User can select easily wrong Valuation class during creation of material master and due to this, valuated in wrong GL accounts...
    During material creation, valuation class should automatically show in Accounting View.
    Pleas guide..

    Hi,
    For your requirement as you have 10 Material Types and you should have 10 new account category reference &10 new  valuation class and link(OMSK)each Material Type with individual valuation class though respective account category reference. Also assign each account category reference in respective material type in OMS2. So when you create material (MM01) with a particular material type, then only assigned valuation class will be defaulted/allowed to enter in accounting -1 view.
    In the standard we have some predefined material type, valuation class and account category reference and a link between them has already established by the system. If we are using these standard setting no additional efforts are required. But to meet any specific requirement, if we have to create a new material type or a new valuation classes or a new Account Category Reference (all the three), then we have to establish this links in bewteen.
    Regards,
    Biju K

  • I got an email saying my Apple account was going to be suspended unless I validated through an email.  Is this legit?  I did go on line and update my info, but I'm not convinced that was actually from Apple.

    I got an email saying my Apple account was going to be suspended unless I validated through an email.  Is this legit?  I did go on line and update my info, but I'm not convinced that was actually from Apple.

    It is a phishing attempt. Do not respond. Do not divulge any personal or financial information. You can use the address below to forward the suspect email message to Apple.
    [email protected]
    The link below has information to help identify fraudulent emails.
    http://support.apple.com/kb/HT4933

  • How can I put validation for JTextField when gotfocus and lostfocus

    Hi,
    How can I put validation for JTextField when gotfocus and lostfocus ?
    Thanks
    Wilson

    You add a focusListener to the control you wish to monitor. In the focusLost() handler you do whatever, in the focusGained() handler you do whatever.

Maybe you are looking for