How to handle source code changes in apex

hi all,
can anybody help me plz...
how to handle source code changes in apex.
which development process is best suite for apex.
Regards
Alekh

Thanks Andy, so as per the suggestion we have to handle the above snippet as individual if block statements as i had shown below.
But in this case how we show the else part as NULL.
correct me if my understanding is wrong.
if  'Products' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
                lv_to_email_id :='[email protected]';
end if;
if  'Materials' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
           lv_to_email_id :='[email protected]';
end if;Thanks,
Anoo..

Similar Messages

  • View the html source code of an apex page

    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me.
    Has anyone an idea how it can this be possible?
    Best regards,

    Khadija Khalfallah wrote:
    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me. What do you mean?
    Do you want to be able to pull up the HTML source generated by Apex, modify that copy, and then feed it back into Apex with the chagnes you made? If so you can't. Apex generates the HTML through its tools and you have to modify the generation routines to get different HTML.
    Do you merely want to look at the generated HTML? In Internet Explorer all you have to do is right click on the page and choose View Source to open a window with the HTML source in an editor. I sometimes find it useful to save a page and manually edit the copy to immediately see the effects of certain changes to the underlying HTML and/or Javascript without permanantly making the change in Apex.

  • How to write source code in smart forms?

    hi friends,
    can anyone can help me in writing  sorcecode in smartforms r
    any materail link.
    if it is helpful points can b rewarded.Thanks in advance.

    Hi,
    Check this link for
    how to write source code in smart forms?
    http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
    You can write Source Code in smartforms By Choosing Program Lines.
    Check this link with Screen Shots
    http://****************/Tutorials/Smartforms/PO/page1.htm
    Reward All Helpfull Answers
    Regards
    Fareedas
    Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM

  • How to include source code in web dynpro java deployment

    Hi,
    We dont have NWDI.
    We are creating ear files out of web dynpro applications packaging them as sca files and deploying them in server.
    But the source  code is not included in ear.
    How to include source code with your ear/sca , so that when anyone downloads the sca file later, they are build the Project in the studio.
    How would they typically download? Do they require NWDI ,
    Right now we dont have NWDI in place, but we want to do is parcel the applications such that the source code should be available at a later time for download.
    This is possible with .par files , but what about web dynpro?
    Thanks,
    Deb

    If you are not using NWDI use the _comp file.

  • How to display source code of a webpage in Safari 7.0?

    Hello. I'm unable to find how we used to once enable developing tools in Safari Preferences or simply CMD + ALT + A to display the source code of a webpage. Now I've no clue how to display source code of a webpage in Safari 7.0 on Mac OS X Mavericks. Help.

    Hi gss2,
    Make sure you are not under the Apple icon but under Safari>Preferences>Advanced. All the way at the bottom check the box that says: "Show Develop menu in menu bar."
    Now go back to the page you want to get the source code for, right click on it and choose Inspect Element. Hope this helps.
    Cheers,
    LURDS LLC

  • Where is View Source? How can the source code of a website be viewed?

    Where is View Source? How can the source code of a website be viewed?
    View Source used to be accessed via a drop-down menu, but no longer. Why?
    I'm using Firefox 24.0.

    1.)Get into Firefox.
    2.)open any page that you want to see the source code.
    3.)After complete opening of the page do"right click"then you can see view page source,click it to see Source of the page.
    Thank you.

  • Workshop 8.1 detect source code changes

    Hi,
    I'm working on a web service application using Workshop 8.1sp4. When I run my web application in debug mode, the server will only detect Java source code changes within the webapps (WEB-INF/src). If I move the source code outside the webapp and into a seperate java project folder (still the same Workshop application), Weblogic will not detect changes. Is there any way to get this to work?
    Thanks,

    Hi
    I tested the scenario on 8.1Sp4 and could replicate the issue. This looks like a bug.
    Could you please open a BEA support case to get a fix? You could open a support case either at http://support.bea.com or by calling 1-888-232-7878
    I could get it working only after I clean and build the java project followed by the web project, then the web project recognizes the changes in the java project.
    The web project should be built after the java project, if the order changes it does not work.
    Vimala-

  • How to handle such code: ? super ? extends Type

    Hi I faced of a problem which I don't handle:
    SortedSet<? extends Integer> set = new TreeSet<>();
    Comparator<? super ? extends Integer> c = set.comparator();//how to handle such code?
    ...Best Regards
    Andrej

    Integer is a final class, it can not be extended. So, you could as well write:
    SortedSet<Integer> set = new TreeSet<Integer>();
    Comparator<? super Integer> c = set.comparator();
    c.compare(new Integer(5), new Integer(5));On the other hand, If you were thinking of a set allowing different kinds of numbers, this is what you might be looking for.
    SortedSet<? super Number> set = new TreeSet<Number>();
    Comparator<? super Number> c = set.comparator();
    c.compare(new Integer(5), new Long(5));Why it must be "super" instead of "extends" is explained by [PECS rule|http://stackoverflow.com/questions/2723397/java-generics-what-is-pecs].

  • How to obtain source code of weka and enable to modify it

    hello,
    how to obtain source code of weka and enable to modify it such i want to extract code of some process that I make

    Hi ENG,
    Since the issue regards to Weka. It is out of the support boundaries of our forum, I suggesT you post the question in the following forum:http://forums.pentaho.com/forumdisplay.php?81-Pentaho-Data-Mining-WEKA.
    It is appropriate and more experts will assist you.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to migrate source code from TFS 2010 to a new TFS 2010

    Hi,
    Please help me, How to migrate source code from TFS 2010 to a new TFS 2010. we are using SQL 2008 R2 for DB storage and we have Backup of TFS DB. First TFS 2010 is live environment and second TFS 2010 is test environment both OS and SQL version is same. 

    Hi Pankaj0439,
    In general, to move TFS from a hardware to another, you can follow the steps as below:
    1. Check your permissions
    2. Back up databases and install software
    3. Restore TFS databases to the new hardware
    4. Update the configuration of the new application-tier server
    5. Verify permissions, notify users, and configure backups
    And you can also refer to this
    article in MSDN for more details.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to track DDL Changes and source code changes

    How can I track the DDL Changes and the Source code (Functions,Procedures,Packages & views) changes made for selective schemas?.
    I mean I want to maintain the history of DDL changes and the sourcecode change history. How to do that? Please provide your guideline with some example...

    Hi,
    you could use a DDL trigger (before create)
    to maybe capture the code and do the audit as well?
    Try this:
    SQL>create table old_code
    2 as
    3 select user username, 0 version, sysdate date_changed, user_source.*
    4 from user_source
    5 where 1=0
    6 /
    Table created.
    SQL>create sequence version_seq;
    Sequence created.
    SQL> create or replace trigger create_trigger
    2 before create on schema
    3 declare
    4 l_date date := sysdate;
    5 l_ver number;
    6 begin
    7 if (ora_dict_obj_type in ( 'PACKAGE', 'PACKAGE BODY', 'PROCEDURE',
    'FUNCTION' ) )
    8 then
    9 select version_seq.nextval into l_ver from dual;
    10
    11 insert into old_code
    12 select user, l_ver, l_date, user_source.*
    13 from user_source
    14 where name = ora_dict_obj_name
    15 and type = ora_dict_obj_type;
    16 end if;
    17 end;
    18 /
    Trigger created.
    SQL> create or replace function f return number
    2 as
    3 begin
    4 return 0;
    5 end;
    6 /
    Function created.
    SQL> select * from old_code;
    no rows selected
    SQL> create or replace function f return date
    2 as
    3 begin
    4 return sysdate;
    5 end;
    6 /
    Function created.
    ops$[email protected]> select * from old_code;
    USERNAME VERSION DATE_CHAN NAME TYPE LINE TEXT
    aaaaaaaaaaa 2 17-OCT-02 F FUNCTION 1 function f return number
    aaaaaaaaaaa 2 17-OCT-02 F FUNCTION 2 as
    aaaaaaaaaaa 2 17-OCT-02 F FUNCTION 3 begin
    aaaaaaaaaaa 2 17-OCT-02 F FUNCTION 4 return 0;
    aaaaaaaaaaa 2 17-OCT-02 F FUNCTION 5 end;

  • How to synchronize source code using distributed NWDI Servers?

    Hello,
    I am facing a bit of a challenge trying to find documentation regarding the replication of source code using NWDI/DTR in a distributed environment. By distributed I mean independent instances in different geographical locations.
    Scenario
    Our customer product (DCs/SCs/etc) will be developed by two teams. These teams are far away from each other, and a local dedicated NWDI instance for each team is a must, due to the distance plus the big size of the product. It should be possible for the teams to work on a same Track. We use a NWDI 7.31 instance.
    I have been looking into the documentation and so far I found no guide on how to keep both repository updated with each other changes.
    The following links make notes of the scenario but are not addressing the solution properly.
    Distributed Development
    A synchronization of changes might have to be done between:
    Workspaces present in the same repository.
    Workspaces present in different repositories.
    Developepment Infrastructure (DI) Architecture
    Central source file management – in the Design Time Repository (DTR), a file storage in a database with export mechanisms that allow you to synchronize the instances of the DTR in a distributed development.
    Solution?
    Does NWDI offers any tool to solve this kind of requirement? Am I missing any documentation?
    Or, NWDI doesn't have a solution for this kind of scenario?
    And by the way, I would expect a "smooth" integration between the servers, like automatic asynchronous replication, with proper managment of conflicts and all the other delightful paradigms of source control.
    Are we talking about exporting source code and importing it on the other side? Would this be the only alternative, and how is it done?
    Thanks in advance.

    A lot of obfuscators, rather than use one-letter method names, use keywords for names. This has the benefit of not decompiling to valid Java
    Well, thats only true if you have a bug in your decompiler. My decompiler (jad) handles keywords by adding additional letters (underscores and stuff).
    The problem is solved by an obfuscator. Compiled c++ code can be disassembled in the same way as obfuscated java byte code. So, if you were satisfied with the protection of your C++ code, then you should be just as satisfied with obfuscated java byte code.

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • How to handle area code split

    It's looking like the phone company is going to split our area code in the next year or two.  This is because there are not enough numbers left, so there's a good chance that one part of the geographical area using the current area code will be assigned a new 3-digit code.
    I am trying to figure out how to handle this in my OSX, iOS and iCloud world.  If I could select all the contacts with the existing area code and export them to a tab-delimited file, I'd stand a good chance of selecting the ones that need to be changed and then doing a "find and replace all" operation in Exel or Numbers.  But I'm not seeing that as an option. 
    It would really be OK for me if there were "an app for that" so I could do the work on my iPad and let iCloud take care of my other devices.  But I'm not seeing that as an option either.
    Does anyone have good esperience or suggestions on how to handle this?

    Integer is a final class, it can not be extended. So, you could as well write:
    SortedSet<Integer> set = new TreeSet<Integer>();
    Comparator<? super Integer> c = set.comparator();
    c.compare(new Integer(5), new Integer(5));On the other hand, If you were thinking of a set allowing different kinds of numbers, this is what you might be looking for.
    SortedSet<? super Number> set = new TreeSet<Number>();
    Comparator<? super Number> c = set.comparator();
    c.compare(new Integer(5), new Long(5));Why it must be "super" instead of "extends" is explained by [PECS rule|http://stackoverflow.com/questions/2723397/java-generics-what-is-pecs].

  • Please let me know how to display source code

    Hi everyone.
    my name is Kazuma working in Japan.
    We have a problem with SE38.
    We transport one of executives program, which made from other development system, to our system.
    When we use SE38 and display botton, we encounter short dump like below and can't see source code.
    We want to know how we change BASIS or program.
    If somebody know similar situation, please let us know.
    >>ERROR MESSAGE
    The Import dataset has been destroyed
    What happened?
    The current ABAP/4 program "SAPLLOCAL_EDT1" had to be terminated because one of the statements could not be executed
    This is probably due to an error in the ABAP/4 program
    Error analysis
    The dataset could not be imported because it was in an unexpected format
    This is usually because the dataset has been destroyed as a result of directly manipulating the IMPORT/EXPORT data by other means (such as explicitly deleting parts of the dataset with SQL commands instead of using DELETE FROM DATABASE, u2026)
    In this case, the dataset header is already invalid
    In other words: The version ID of the dataset is invalid
    System environment
    SAP Release          4.6C
    Application server          sdax31
    Operating system          SunOS
    Release                    5.8
    Hardware type          sun4us
    Database server          sdax31
    Database type          ORACLE
    Database owner          SAPR3
    SAP kernel          46D
    Patch lebel          1646
    Patch text          ""
    Information of where termination occurred
    The termination occurred in the ABAP/4 program "SAPLLOCAL_EDT1" in "GET_MODIFICATION_INFORMATION"
    The main program was "RSABAPPROGRAM"
    The termination occurred in line 143 of the source code of program "LLOCAL_EDT1U36" (when calling the editor 1430)
    Edited by: kazuma mukai on Mar 3, 2009 6:34 PM

    Welcome to SCN
    Try to
    create the same program in your DEV client , by cut & paste the code from the other envionment , this will create a transport, activate the program and transport.
    This will be roundway solution
    Do you have any previous version to this program in the version management?

Maybe you are looking for

  • JRE Error : while Install oracle 10gR2 on Windows Server 2003

    Hello, I am trying to install a Oracle 10gR2 on windows server 2003. I have unziped the files and when I run the oui.exe it gives the below error: cannot find any matches for wildcard specification "../stage/components/oracle.swd.jre/1.5.0.0./1/DataF

  • Cover Flow - Albums at the End?

    Cover Flow works well enough for me, it's just that there's a load (about 10-15) albums at the end of the list that aren't in any alphabetical order i.e. they're after Z and they're just in a random jumble. Is there any way to sort this, as it looks

  • Almost a year ago...Safari still can't do Yahoo News Video

    I posted a note almost a year ago trying to get help on getting Safari to play news video from Yahoo. Well looks like Safari hasn't improved much. I tried viewing this news video from Yahoo and nothing play. Has anyone had any luck whatsover to get n

  • Need to setup a liability GL as  inventory revenue account

    Dear All, Is there a way to setup a liability GL as inventory revenue account? When I setup GL by item level then go revenue GL for either warehouse, I can only select revenue account. But some of the revenue GL should be liability account. Our consu

  • Photoshop Extended version compatability

    I have Photoshop CS3 Extended on both PC (Windows XP) and Mac (OS X Leopard). I'm able to upgrade the PC to CS5 Extended but not the Mac. My questions are: 1 - Will Photoshop CS5 extended work on Windows XP? 2 - Are CS3 and CS5 backwards compatible -