Peoplesoft Ci Error Handling
Contents |
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and
Try Catch In Component Interface
Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP component interface error messages Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries VoIP_News Inside-ERP MacProTX Inside-CRM I_am_the_dragon maxwellarnold Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker Ramnath.Awate JoeTorre Craig error handling in application engine peoplesoft Borysowich Locutus Dennis Stevenson DukeGanote Richard iudithm mircea_luca Clinton Jones bracke Nikki Klein AbhaiTripathi Iqbalyk Adrian_Grigoriu bluesguyAZ59 numbersguyPA COMPANIES Wave Direct Avaya Pivotal CRM SendGrid View All Topics View All Members View All Companies Toolbox for IT Topics PeopleSoft Groups Ask a New Question PeopleTools A forum where peers share technical expertise, solve problems, and discuss issues related to PeopleTools. Home | Invite Peers | More PeopleSoft Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. CI/AE Error Handling twocan asked May 11, 2005 | Replies (4) Hi, Does anyone have any examples of error handling in a component interface? Or a good place I can look? I am becoming more familair with writing CI, but want to work on handling errors. Specifically, if the component doesn't save to catch the error, possibly output it and continue processing. I'm assuming it has to do with the CheckErrorCodes function, but I don't know where to start. I am able to write the error text to a file, but the app engine still abends. TIA Brett email@removed Join this group Popular White Paper On This Topic ERP Overview Comparison Guide 4Replies Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... JNT replied May 11, 2005 I would also be interested in learning more about this. Thanks JNT Top Best Answer 0 Mark this reply as the best answer?
Recent blog posts How to resubmit on Integration Broker message with DONE status Message cannot be changed. Message referenced in runtime tables (Doc ID 660969.1) PeopleSoft Object Type List PeopleSoft Data Integrity Error (124,85) Unwanted Save Warnings in Display Only Pages Breadcrumb SQL to find the Navigation path for the component in the PIA Application Designer Index naming convention How to create Trigger in DB2 Emplid increment automatically How can we romove multiple duplicate rows of data printing under http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/ciae-error-handling-732284 each Print command in SQR Program? more Who's new LillianMob sunmoon alizajersey96385295 gay iGamerz zohebak Les Kernodle qizhen0926 Simpalm nikhilkubba_86 Home › Forums › PeopleSoft › PeopleSoft Technical You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and http://www.compshack.com/forum/peoplesoft/peoplesoft-technical/to-capture-logical-errors-from-component-interface much more. To capture Logical Errors from Component Interface 8 replies [Last post] Thu, 08/23/2012 - 8:36am dkubba1 Offline Joined: 08/23/2012 Posts: 1 Hi, I need to capture logical errors which occurs in CI which is in a section of Application engine. Here is the scenrio: This all is in one Application Engine 1. I have done the data cleaning in section 1. 2. In section 2 -- I am loading the data in component bysing CI code from staging tbl. 3. It works perfect when data is correct. ---Errored scenerio: example : I am trying to load Country as USA and state as PUNJAB --In this case, it throws error beacuse PUNJAB is not the state of USA and it doesn't come under resppective prompt. My requirement: I need to capture this type of erros and need to insert into one detail_error record. Can anyone guide me , how can i capture these type of logical errors in CI code. Thanks in advance, Deepika Bookmark/Search this post with Top 6377 reads F
2011 -- digitaleagle This is a continuation of the following posts: Part 1: Creating the Component Interface Part 2: Security Part 3: PeopleCode The plan http://psst0101.digitaleagle.net/2011/01/07/explorations-in-component-interface-handling-component-interface-errors/ this time is to try to see how well we can handle https://psst0101.wordpress.com/2011/01/05/explorations-in-component-interface-peoplecode/ errors. I have been having trouble with some of my production programs crashing when I have taken all the necessary steps to trap and handle the error. So, we'll see how this goes … Trying a Single Error First, let's change that second parameter in our program to error handling true. This should trigger the part of our code that set's the birth state to "XX". Assuming everything works the way it should, we should catch the Invalid Value message and write it to the log file. Then, the program should run to completion showing the Program Completed message from the second step. Again, see the App Engine test post for peoplesoft ci error instructions on how to run the program. Then, look in the log file generated by the PeopleCode. As we would expect, we see the Invalid Value messages: Then, if you look in the program's standard out log, you see the message as well. I think this is a bug in the tools because we did trap the message. If I tell it to only put the message in the message collection, I should be able to do what I want with the message as far as showing it or hiding it: Keep in mind that we are specifying the collection only option. If we had chosen "2" or "3" for the messages mode, I would expect the "Invalid Value" message in the standard out, but we are specifying "1": Multiple Updates Now, lets try multiple updates with a single error at the end: If you want, you can just copy my lines: updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, False); updateCI(&emplid, True); Both logs look just fine: The key is that it ran
%Update 3rd Party Integrations App Engine Application Packages Blog Bugs Change Assistant COBOL Component Interface Components Data Management Feature Request Fields File Layouts Great Links Java Meta-SQL Page Design PeopleCode PeopleSoft HCM 9.0 PeopleTools PeopleTools Reference PeopleTools Tip Portal Project Shaphan Question Records Resources Security Server Administration Server Administration Weblogic SQL SQR Temp Tables Troubleshooting Tuxedo Uncategorized UPK Vim VMWare Windows Tip XML Publisher Explorations in Component Interface:PeopleCode January 5, 2011 -- Stephen aka DigitalEagle This page has moved. Please update your links: http://psst0101.digitaleagle.net/2011/01/10/tip-comparing-trace-files/ This is a continuation of the following posts: Part 1: Creating the Component Interface Part 2: Security Now, we need to write some code to use the Component Interface. Let's use the Application Engine program from this step by step post. Adding a Log Step to the Program Before we dive into the PeopleCode, we need to add a second step to the program. This step will come in handy for testing how the program works. It will just simply log a message to the standard out file. I used this SQL to find a message catalog that would work easily: SELECT * FROM PSMSGCATDEFN WHERE MESSAGE_TEXT = '%1' Then, I added a new step. First, you select Step 01. Then, you can either use the menu Insert > Step/Action or the toolbar icon. When you get the new step, change the action from SQL to Log Message. Then, set the Message Set to 94 and the Number to 1. For the parameters, enter something like "Process Complete". Generating a PeopleCode CI Template Now, we are ready to begin adding PeopleCode to Step 01. You can open the PeopleCode by double clicking anywhere in the gray of the PeopleCode action. If you have been following other tutorials, you probably have something in that program. For simplicity's sake, let's just delete that and start from scratch. This tutorial will assume you have a blank program at this point. One of the cool things about Component Interfaces is that you can have Application Designer generate a template PeopleCode program. If you have the component interface in the project, you can just drag it from the development tab of the project list and drop it into the program. This generates a template in the program. You will want to have a blank program here because it will generate a lot of code. Note that this is a template in that you have to make some changes before you can even save it. For this purpose, you can edit this template if you want, but it would probably be easier to delete the