Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

thanks Assume a State Record is having PROCESS_INSTANCE, OPRID, RUN_CNTL_ID, and

ID: 3775515 • Letter: T

Question

thanks

Assume a State Record is having PROCESS_INSTANCE, OPRID, RUN_CNTL_ID, and EMPLID. What would be the output to the below Program? MAIN Step1 DoSelect %Select (EMPLID) SELECT EMPLID FROM PS_JOB WHERE EMPLID = 'AAA' PeopleCode MessageBox(0, . "", 0, 0, "Process Instance:" | C_RNCTLDATA_AET.PROCESS_INSTANCE.Value); MessageBox(0, "", 0, 0, "Operator ID: " | C_RNCTLDATA_AET.OPRID.Value); MessageBox(0, "", 0, 0, "Run Control ID: " | C_RNCTLDATA_AET.RUN_CNTL_ID.Value); MessageBox(0, "", 0, 0, "Employee ID: " | C_RNCTLDATA_AET.EMPUD.Value);

Explanation / Answer

Answer:

PROCESS_INSTANCE, OPRID, RUN_CNTL_ID values will be populated automatically into State Record. We need not to explicitly insert into State Record. So Output would be

Process Instance: 123

Operator ID: CNU

Run Control ID: 234

Employee ID: AAA