Regarding best practise

Hi ,
Is it best practise to do all filed validation using java...or could field validation be done using java beans in JSP ?
Thanks
Vivek

2. There's nothing wrong with what you have there,
this is a custom tag library.Yes, for small applications, that would suffice. Remember that you are going away from an MVC model while using jstl sql tags.
Consider having a dao layer if your app is medium/big or destined to grow with time.
You simply cannot maintain all the complexities in your application (and by extrapolation, your queries) - read
1. http://www.onjava.com/pub/a/onjava/2002/03/13/jsp.html?page=2
2. http://today.java.net/pub/a/today/2003/11/27/jstl2.html
There's some good points for and against here
1. http://weblogs.java.net/blog/johnm/archive/2003/11/the_community_i.html
There's some support here
1. http://acroyear.blog-city.com/a_reasonable_reason_for_the_sql_tags.htm
2. file:///C:/Documents%20and%20Settings/ramprasadmr/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/WL2JCD6Z/300,42,SQL tags: the debate
cheers,
ram.

Similar Messages

  • Best practise in SAP BW master data management and transport

    Hi sap bw gurus,
    I like to know what is the best practise in sap bw master data transport. For example, if I updated my attributes in development, what are the 'required only' bw objects should I transport?
    Appreciate advice.
    Thank you,
    Eric

    Hi Vishnu,
    Thanks for the reply but that answer may be suitable if I'm implementing a new BW system. What I'm looking for is more on daily operational maintenance and transport (a BW systems that has gone live awhile).
    Regards,
    Eric

  • What is the best practise to provide a text file for a Java class in a OSGi bundle in CQ?

    This is probably a very basic question so please bear with me.
    What is the best way to provide a .txt file to be read by a Java class in a OSGi bundle in CQ 5.5?
    I have been able to read a file called "test.txt" that I put in a structure like this /src/resources/<any-sub-folder>/test.txt  from my java class  at /src/main/java/com/test/mytest/Test.java using the bundle's getResource and getEntry calls but I was not able to use the context.getDataFile. How is this getDataFile method call to be used?
    And what if I want to read the file located in another bundle, is it possible? or can I add the file to some repository and then access it - but I am not clear how to do this.
    And I would also like to know what is the best practise if I need to provide a large  data set in a flat file to be read by a Java class in CQ5.
    Please provide detailed steps or point me to a how to guide or other helpful resources as I am a novice.
    Thank you in advance for your time and help.
    VS

    As you can read in the OSGi Core specification (section 4.5.2), the getDataFile() method is to read/write a file in the bundle's private persistent area. It cannot be used to read files contained in the bundle. The issue Sham mentions refers to a version of Felix which is not used in CQ.
    The methods you mentioned (getResource and getEntry) are appropriate for reading files contained in a bundle.
    Reading a file from the repository is done using the JCR API. You can see a blueprint for how to do this by looking at the readFile method in http://svn.apache.org/repos/asf/jackrabbit/tags/2.4.0/jackrabbit-jcr-commons/src/main/java /org/apache/jackrabbit/commons/JcrUtils.java. Unfortunately, this method is not currently usable as it was declared incorrectly (should be a static method, but is an instance method).
    Regards,
    Justin

  • Transport landscape best practise

    I'm wondering if SAP has a best practise document on transport landscape planning.
    SAP Help has pretty clear description about a standard 3 system landscape. But not document is found describing complext transport landscape considerations --- multiple ABAP development/test systems, conflict resolution between project landscape and maintenance landscape.
    Any feedback is greatly appreciated.

    Hi. GO to http://help.sap.com/bp/initial/index.htm
    There you find all about BP.
    Regards, Award if helpful

  • Configure "best practise baseline" manually

    Dear experts!
    I'm studying SAP ERP as a student. I am interesting in SD. I have read the certification material TSCM and SCM.
    Now I am waiting for your advice whether I need to configure "best practise baseline" manually.
    We see, it will take a lot of time to configure "best practise baseline" manually.
    However, I was thinking that it would be helpfull to my general view on ERP, as well as, I can use it to study "best practise industry" when I complete it.
    How do you think?
    Waiting for your advice!
    Thank you!
    Best regard!
    Tang Dark

    Hi,
    Best Practises is a specific SAP solution and to get it you have to specifically buy it - it doesn't come standard with every ERP solution.
    What is Best Practises? Best Practises is basically a set of pre configured stuff (BC sets) which you upload into SAP, hence reducing your configuration.
    Baseline is basically the general configuration (per module) that a company requires to carry on with config. Things like org structure, etc.
    On top of the baseline you can then start loading other more specific BC sets per module.
    Best Practises is a methodology to address smaller companies because it reduces the blueprint and configuration phases. Projects can be finalised within 6 months compared to std ERP implementations that may take 1 to 2 years.
    If you want to be a proper SD consultant do not study Best Practises only. Do your SAP academy. Best Practises you can learn after you know SAP.
    As to Industries specific, these are add-ons to address specific industry requirements. For example, bills of services, is something used in project environments such as engineering & construction. So the funcitonality is not necessary, for example, the retail industry which sells only finished products.
    Again, firs learn your SAP and then you can focus on learning others. If you learn SAP you can work on any Best Practices package or any Industry, If you study Best PRactises you can only work with BP, and the same goes for industry solutions.

  • Business Content Best Practise

    Hi Guys
    Just a quick request -
    I have activated BC a couple of times, but each time it takes longer than it should - missing certain areas, activate far too much etc.
    Apart from 'help.sap.com.', does anyone have any Best Practise guides or docs on BC, to allow me to cut down on my activation.
    Thanks.

    Hi Scott,
    I would really commont only to activate with only necassary objects (befor and after is very painfull). Just collect the data structures like DataSource, InfoSource, DataStore Object, InfoCube, ..., Queries (then all Infoobjects gets collected). Then collected the linkages (tranfer rules, transformations, etc.) - these can easily be found in the help menue. after the collection activate it in batch.
    best regards clemens

  • Best practise to feed an infoobject which depend on 0MATERIAL ?

    Hi experts,
    I'm a newbie on SDN and SAP BW. I have a question that could appear basic for you.
    I have to add a new infoobject "Article Typology" in a BW query. I will call it ZTYPOLOGY.
    This infoobject will contains 3 values which will depend on the description of 0MATERIAL (field /BI0/TMATERIAL-TXTMD) :
    If /BI0/TMATERIAL-TXTMD contains 'MDD', ZTYPOLOGY have to return "MDD"
    Elseif   /BI0/TMATERIAL-TXTMD contains '#', ZTYPOLOGY have to return "Import"
            else ZTYPOLOGY have to return "Other".
    I thought to create ZTYPOLOGY as an attribute of the masterdata 0MATERIAL, and feed it by an ABAP routine in the Update Rule which come from 0MATERIAL_ATTR. Is it a good idea ?
    If no, could you advise me about the best practise ?
    Don't hesitate if you need more information to understand my request.
    Thanks a lot.
    Tempka

    Hi,
    First check the source of your query, and see how do you want to see the Typology data in the report, i.e. Always updated data with current master data or the data at the time of transaction.
    For e.g. If you add your Infoobject as navigation attribute then you will always see only current master data. And if you add it in your Infocube or DSO etc. then the value will be static and it will show the value which was loaded historically.
    Once you finalize your approach you can simply create field routine and load your data.
    Regards,
    Durgesh.

  • SAP Best Practises - Installation

    Hello All,
    I had installed SAP best Practises base line package SAP BP-ERP 617V6 in my system a couple of weeks back. But now when I am trying to activate the Best practises it is asking for the solution scope files and the installation text files. But when I am checking on Service market place , it seems SAP has with drawn the files for 617-V6 and has updated them with the latest files of 617-V7.
    Now without these files I cannot proceed any further. And I have already activated the Business sets and Business Enterprise Functions in Client 000 and created a new client from 000.
    In this regards can anyone advise what will be the best way forward. Can I upgrade my BP version BP-ERP 617-V7 now and proceed. Are there any special steps that I need to do for the BC sets which are already activated. I am guessing I will need to a client copy once again.
    I also went through SAP Note 1301301 , Point IV , which talks about the upgrade of SAP BP package but it lacks clarity on the above points.
    I have also raised a Customer message on this but will really appreciate your views in this regards.
    Thanks
    S

    Hello Surajit Das,
    In http://service.sap.com/swdc have you tried looking in Archive Area ?
    SAP will generally hold the previous versions of software and components in the archive area for some time.
    Regards,
    Siddhesh

  • Best Practises for Email Addresses?

    Hi Guys,
    Are there any best practise guides / documents / etc. for configuring user's E-mail addresses? We have a large turnaround of users and obviously sometimes they have the same name as previous/current employees (we
    do not delete any old accounts / mailboxes.) My question is whether or not it is OK to use numbers in an email address (i.e. [email protected])?
    Thanks
    Stephen

    Hi,
    It's OK to use numbers in an email address.
    The format of email addresses is local-part@domain where the local-part may be up to 64 characters long and the domain name may have a maximum of 253 characters.
    The local-part of the email address may use any of these ASCII characters RFC 5322
    Uppercase and lowercase English letters (a–z, A–Z) (ASCII: 65-90, 97-122)
    Digits 0 to 9 (ASCII: 48-57)
    Characters !#$%&'*+-/=?^_`{|}~ (ASCII: 33, 35-39, 42, 43, 45, 47, 61, 63, 94-96, 123-126)
    Character . (dot, period, full stop) (ASCII: 46) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively (e.g. John..[email protected] is not allowed.).
    Special characters are allowed with restrictions. They are:
           Space and "(),:;<>@[\] (ASCII: 32, 34, 40, 41, 44, 58, 59, 60, 62, 64, 91-93)
           The restrictions for special characters are that they must only be used when contained between quotation marks, and that 3 of them (The space, backslash \ and quotation mark " (ASCII: 32, 92, 34)) must also
    be preceded by a backslash \ (e.g. "\ \\\"").
    For more information, please refer to this similar thread.
    https://social.technet.microsoft.com/Forums/exchange/en-US/69f393aa-d555-4f8f-bb16-c636a129fc25/what-are-valid-and-invalid-email-address-characters
    Best Regards.

  • SAP BEST PRACTISE BI-Purchasing Volume Dashboard issue

    Hello,
    I am working on Purchasing Volume Dashboard (from SAP BEST PRACTISE BI package), I adapted Crystal Reports sources of this dashboard so that they connect to our local database and successfully generated the Export.xls, I Imported this Export.xls file into Purchasing Volume Dashboard.xls, added and configured Live Office Connections (ticking"Refresh before components are loaded" for each Live Connections.
    The issue is that when I click on PREVIEW the four components (Charts and Scorecard) don't refresh simultaneously.
    I have to click once on REFRESH button to have the first component refreshed with data then to click again to have the second component refreshed then click again and again !
    I don't understand why those components don't refresh in the same time !!
    Did one of you ever encountered this issue ?
    many thanks for your help,
    Regards
    Christiane

    Hi,
    Make sure your web service URL correct in Live Office connection and also in Xcelsius data manager.
    Did you check all connection in refresh button proprties? you may try selecting "Refresh after component are Loaded" in Refresh button properties Behavior tab.
    I think Xcelsius refresh are serial refresh so it may be possible that first component refresh is still in progress but you are expecting other component to refresh.
    Click on "Enable Load Cursor" in data manager's Usage tab, it will give you visibility of refresh. If anything refreshing you will see hour glass.
    Cheers

  • Best practise BW Query design for Crystal Reports integration

    Hi all,
    I am looking for a guide on best practices when designing a BW Query to be used as data foundation for a Crystal Report.
    The scenario is that I am responsible for developing the Crystal Reports part, but not the BW Query part, therefore I would like to provide a list of best practises to the person who is responsible for the Query, this way make sure that the integration will work as good as possible. The setup is of course using BO Integration Kit for SAP.
    An example is how to use authorization variables in the query to provide data security. This is just one example, there are problably a number of other things to be aware of. A document containing suggestions for best practices is what I am looking for, or if the document does not exist, input to what should be on such a list.
    Thank you in advance.
    Regards,
    Rasmus

    Hi Rasmus,
    in regards to the Best Practices for Crystal Reports you can leverage all the knowledge you have on the Query Design today already. if you not the person for designing the query I think it is important to make sure people designing the queries do understand how Crystal Reports is leveraging the elements from the BI Query.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    You should try to put as much as possible into the BI query from the logic point of view.
    and you can also build common BI queries - there is no need to build a BI query for each report.
    ingo

  • Data Modeling Best Practise

    Hi Friends !
    When designing a system, what are the best practise for Data Modeling? Please share few tips. Thanks.
    With Regards
    Rekha

    Hi,
    below link can be usefull ,
    BI Data Modeling and Frontend Design
    Also you can get the best practive(config guide) from service.sap.com.
    Best practicess
    http://help.sap.com/bestpractices
    http://help.sap.com/bp_bblibrary/600/html/
    Regards,
    Satya

  • Best practise for external service when amount is not sure

    Hi friends ,
    What could be the best practise from the PM side when we want to send an equipment for external repair
    and the service cost is not sure .
    Also if we will create only service PR and not PO then there could be some legal problems while sending the equipment outside.
    What I am thinking is to create a service PR -> PO and then setting the actual cost while invoicing .
    Is it fine ?
    We would prefer if we can take some print out of the external service mentioning following data through standard SAP :
    1) Vendor Name
    2) Our Co name .
    3) Address from where the equipment is dispatched
    4) Address where equipment is to be sent .
    5) Contact No .
    6) some Dates
    Any suggestions.
    Regards
    AM
    Edited by: Amehra on Jul 7, 2011 1:53 PM

    Hi,
    it is not necessary to enter the exact amount for external service in PM order ,
    exact amount must be confirmed during service entry sheet ml81n
    or it also be adjusted during miro ( invoicing )
    and for prininting , most of the part as u said are covered in standard printing of Maintenance order, PR and PO
    otherwise there must be customized PO printing in ur organisation that can be change if ur requirements does not meet
    Regards,
    Jitender

  • Best Practise for connecting to Ethernet based device

    Hi,
    I have inherited a system where we have a cDAQ-9181 controlling an vehicle access barrier, with a LabView application on  a PC talking to it via Ethernet.
    (The application is very simple - press a button > send a value to the 9181 unit > opens the barrier )
    All works fine most of the time.
    ( We occasionally get network related errors. The LabView application sometimes thinks another PC has reserved the unit, or gives “error 89130 - device not available for routing” )
    The users would now like to be able to easily run the application from a second PC ( not at the same time ), but this seems to be a problem. If I exit the application on PC “A” and run it on PC “B” it struggles to reserve the chassis, and throws the “89130” error and I have to restart the unit via MAC.
    While I’m a “veteran” control programmer, I’m new to LabView, and would be very grateful for any pointers on “best practise” for talking to devices via Ethernet, or any specific suggestions for handling multiple PCs talking to a single device.
    Thank You.
    Tim.

    Hi Tim,
    Thank you for your post and welcome to the NI forums.
    There are lots of knowledgebase articles on our website and you should be able to find documentation for most of our hardware.
    There is a good troubleshooting guide for cDAQ Ethernet here (http://ae.natinst.com/public.nsf/web/searchinternal/e67b4e4749f378ff862577270059bd4b?OpenDocument) - it outlines the steps to take to ensure you have a stable a connection as possible. You may have already seen it, but the quick-start guide for your specific device may also be worth consulting for best practices. Are these helpful?
    As for using more than one PC - this shouldn't be too much of an issue. I would expect that the resource isn't being closed correctly - when you exit the App on PC 'A', how are you closing off the resource?
    Best regards,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Best Practise on SAP ERP 6.0 EHP4

    Hi Tech gurus!
    I'm Luckshmanan from Bangalore,India.
    We installed SAP ERP 6.0 EHP4. Now, we need to install the Best practice in the same system.
    How to do  that?
    With regards,
    Luckshmanan.

    Hi Luckshmanan,
    You can install Best Practise addon BP-ERP 604V2 on your SAP ERP 6.0 EHP4 system as per note 1425037.
    BTW, the latest version BP-ERP 604V3 is to be released in June 2010. Maybe you can wait until BP-ERP 604V3 is released.
    With Best Regards
    Julia Song

Maybe you are looking for