<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Prasath,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>We have customized all of our pcr workflows and have
brought in the data by extending the bus7051 and adding the data as a
virtual attribute using the function module ISR_SPECIAL_DATA_GET
(which was given to us by a consultant = Vinod Singh). code below.
We then use a simple parsing to separate the fields.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Best Wishes,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Sherie</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Sherie Munday</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Workflow Developer/Analyst</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2>Air Products & Chemicals, Inc.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015085713-23082006><FONT face=Arial
color=#0000ff size=2><FONT size=1>
<P>FUNCTION isr_special_data_get.</P></FONT><FONT color=#0000ff size=1>
<P>*"----------------------------------------------------------------------</P>
<P>*"*"Lokale Schnittstelle:</P>
<P>*" IMPORTING</P>
<P>*" VALUE(NOTIFICATION_NO) TYPE QMNUM</P>
<P>*" EXPORTING</P>
<P>*" REFERENCE(SCENARIO) TYPE QSCENARIO</P>
<P>*" REFERENCE(SPECIAL_DATA) TYPE QISRTSPECIAL_PARAM</P>
<P>*" EXCEPTIONS</P>
<P>*" NO_INTERNAL_SERVICE_REQUEST</P>
<P>*" INVALID_NOTIF_NUMBER</P>
<P>*" INT_SERVICE_REQUEST_NOT_FOUND</P>
<P>*"----------------------------------------------------------------------</P></FONT><FONT
size=1></FONT><FONT color=#0000ff size=1>
<P>* local data</P></FONT><FONT size=1>
<P>DATA: lt_dummy TYPE qisrsgeneral_param.</P>
<P>DATA: lr_isr_document TYPE REF TO cl_isr_xml_document.</P>
<P>DATA: ls_notif TYPE qmel.</P></FONT><FONT color=#0000ff size=1>
<P>* MAIN</P>
<P>* try buffer first</P></FONT><FONT size=1>
<P>CALL FUNCTION 'ISR_SPECIAL_DATA_BUFFER_GET'</P>
<P>IMPORTING</P>
<P>ET_SPECIAL_DATA = special_data</P>
<P>ED_SCENARIO = scenario</P>
<P>EXCEPTIONS</P>
<P>BUFFER_EMPTY = 1.</P>
<P>IF sy-subrc eq 0.</P>
<P>EXIT.</P>
<P>ENDIF.</P>
<P>* check notification number</P>
<P>SELECT SINGLE * FROM qmel INTO ls_notif</P>
<P>WHERE qmnum = notification_no.</P>
<P>IF sy-subrc NE 0.</P>
<P>RAISE invalid_notif_number.</P>
<P>ELSEIF ls_notif-auswirk IS INITIAL.</P>
<P>RAISE no_internal_service_request.</P>
<P>ENDIF.</P></FONT><FONT color=#0000ff size=1>
<P>* set scenario</P></FONT><FONT size=1>
<P>scenario = ls_notif-auswirk.</P></FONT><FONT color=#0000ff size=1>
<P>* read ISR XML document</P></FONT><FONT size=1>
<P>CALL METHOD cl_isr_xml_document=>read_for_display</P>
<P>EXPORTING id_notif_no = notification_no</P>
<P>IMPORTING er_isr_xml_document = lr_isr_document</P>
<P>EXCEPTIONS bds_error = 1.</P>
<P>IF sy-subrc NE 0.</P>
<P>RAISE int_service_request_not_found.</P>
<P>ENDIF.</P></FONT><FONT color=#0000ff size=1>
<P>* read data from XML document</P></FONT><FONT size=1>
<P>CALL METHOD lr_isr_document->get_data_from_xml</P>
<P>IMPORTING general_data = lt_dummy</P>
<P>special_data = special_data.</P></FONT><FONT color=#0000ff size=1>
<P>* TODO: check general_data against ls_notif data</P></FONT><FONT size=1>
<P>ENDFUNCTION.</P></FONT></FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>prasath
natesan<BR><B>Sent:</B> Wednesday, August 23, 2006 9:23 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> Workitem to contain values of
attributes entered in Adobe form<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi All,</DIV>
<DIV> </DIV>
<DIV>We are creating a PCR based adobe form for the scenario "Seperation of
an Employee". We have linked the form to a workflow which is triggered by the
BUS7051-Created event and the workitem appears in the UWL of the approver. I
want the workitem text to contain attributes that is entered in the adobe
form(say employee number). The current binding between the trigerring event and
workflow gives me only the notification details but i want the
data entered in the adobe form by the initiator to appear in the workitem
text. Can anyone help me how to acheive this? </DIV>
<DIV> </DIV>
<DIV>We are using ECC5.0 and EP6.0.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Prasath N </DIV></BODY></HTML>