E-IB/AE: Using SyncRequest() with Try / Catch Causes Error "Field does not exist -- STATE_RECORD.FIELD" or "There is no current buffer context."

(Doc ID 1291147.1)

Last updated on JUNE 04, 2014

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.48 to 8.51 [Release 8.4]
Information in this document applies to any platform.


PeopleTools 8.50.13
Environment Type: Test

The below code causes the AE State Record to become unavailable when SyncRequest is not successfull:

//Code example
&MSG2 = &MSG.SyncRequest();
catch Exception &ex
MessageBox(0, "", 0, 0, "Failed Connection Attempt");

Fetch Field: STATE_RECORD.FIELD does not exist.
ErrorReturn-> 104 - Field does not exist -- STATE_RECORD.FIELD (180,104) MY_AE.PROCESS.GBL.default.1900-01-01.Step01.OnExecute Name:CallService PCPC:9295 Statement:115
Called from:MY_AE.PROCESS.GBL.default.1900-01-01.Step01.OnExecute Statement:204


There is no current buffer context. (2,681)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms