<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV></DIV>
<DIV>Hi Mike,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I read about persistence classes - the concept looks great.&nbsp;But I after I tried to&nbsp;implement,&nbsp;either I'm missing something or either it is not that useful. I tried to implement using table STXH but did not find any difference then standard class;&nbsp;in method&nbsp;FIND_BY_LPOR&nbsp;I can instantiate the&nbsp;object only by instid; such means I must extend standard table&nbsp;with GUID; however this is exactly what I tried to avoid&nbsp;using persistence classes....</DIV>
<DIV>Am I missing something&nbsp;or is that the way it&nbsp;suppose to work?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks again,<BR>&nbsp;</DIV>
<P><FONT color=#00007f size=2 face="verdana, helvetica, sans-serif"><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG>SAP Logistics senior consultant<BR>SAP Workflow &amp; BPM specialist</STRONG></FONT></P>
<P><FONT color=#000080 size=2 face=Verdana><STRONG><A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt"><BR>
<DIV style="FONT-FAMILY: verdana, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> "sap-wug-request@mit.edu" &lt;sap-wug-request@mit.edu&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> sap-wug@mit.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, March 26, 2010 13:26:46<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> SAP-WUG Digest, Vol 64, Issue 48<BR></FONT><BR>Send SAP-WUG mailing list submissions to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&nbsp;&nbsp;&nbsp; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>or, via email, send a message with subject or body 'help' to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-request@mit.edu" rel=nofollow target=_blank
 ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR><BR>You can reach the person managing the list at<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-owner@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of SAP-WUG digest..."<BR><BR><BR>Today's Topics:<BR><BR>&nbsp; 1. RE: Object with over 70 chars key (Dart, Jocelyn)<BR>&nbsp; 2. RE: Need help to work with work flow (Y Ramakrishnaiah)<BR>&nbsp; 3. RE: Object with over 70 chars key (Mike Pokraka)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 26 Mar 2010 04:04:41 +0100<BR>From: "Dart, Jocelyn" &lt;<A href="mailto:jocelyn.dart@sap.com" rel=nofollow target=_blank ymailto="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</A>&gt;<BR>Subject: RE: Object with over 70 chars
 key<BR>To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:8C507B5E0BA5114E933C3C6E2E9729E0065E2B597F@DEWDFECCR01.wdf.sap.corp" rel=nofollow target=_blank ymailto="mailto:8C507B5E0BA5114E933C3C6E2E9729E0065E2B597F@DEWDFECCR01.wdf.sap.corp">8C507B5E0BA5114E933C3C6E2E9729E0065E2B597F@DEWDFECCR01.wdf.sap.corp</A>&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Forgot about CL_GUID_SERVICES .... agree that's better than any function&nbsp; module. <BR>Regards,<BR>Jocelyn <BR><BR>________________________________________<BR>From: <A href="mailto:sap-wug-bounces@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [<A href="mailto:sap-wug-bounces@mit.edu" rel=nofollow target=_blank
 ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] On Behalf Of Mike Pokraka [<A href="mailto:wug@workflowconnections.com" rel=nofollow target=_blank ymailto="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>]<BR>Sent: Friday, 26 March 2010 2:03 AM<BR>To: SAP Workflow Users' Group<BR>Subject: Re: Object with over 70 chars key<BR><BR>Yes you will either need a Z-table to map the GUID to your key, or else<BR>you can extend/enhance your table to add a field for your GUID.<BR>Use class CL_GUID_SERVICES to generate them.<BR><BR>If you have time for a bit of a learning curve, you can also look at<BR>persistent classes (my preferred approach in most cases). You never need<BR>to touch GUIDs, the persistent class provides a DB abstraction layer that<BR>handles all DB interaction &amp; GUID generation etc. Integrating them into a<BR>WF class is also very simple and brings a few other benefits
 too.<BR><BR>Cheers,<BR>Mike<BR><BR><BR><BR>On Thu, March 25, 2010 5:31 am, Shai Eyal wrote:<BR>&gt; Hello all,<BR>&gt; I'd like to create customer object type for table STXH. Since its key is<BR>&gt; over 70 chars, I thought of using Abap OO. For my understanding I need to<BR>&gt; create a class with GUID as key cause 70 chars is way too much.<BR>&gt;<BR>&gt; How do I generate the GUID values? to I need to store these in another<BR>&gt; Z-table?<BR>&gt; Any guidance will be appreciated.<BR>&gt;<BR>&gt;<BR>&gt; Regards,<BR>&gt; Shai Eyal<BR>&gt; SAP Logistics senior consultant<BR>&gt; SAP Workflow &amp; BPM specialist<BR>&gt; <A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>&gt; Mobile: 972-52-5816633<BR>&gt;<BR>&gt;<BR>&gt;&nbsp; &nbsp; &nbsp; New Email addresses available on Yahoo!<BR>&gt; Get the Email name you've always wanted on the new @ymail and<BR>&gt; @rocketmail.<BR>&gt; Hurry
 before someone else does!<BR>&gt; <A href="http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________" rel=nofollow target=_blank>http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________</A><BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR>------------------------------<BR><BR>Message:
 2<BR>Date: Fri, 26 Mar 2010 11:28:07 +0530<BR>From: Y Ramakrishnaiah &lt;<A href="mailto:y.ramakrishnaiah@tcs.com" rel=nofollow target=_blank ymailto="mailto:y.ramakrishnaiah@tcs.com">y.ramakrishnaiah@tcs.com</A>&gt;<BR>Subject: RE: Need help to work with work flow<BR>To: <A href="mailto:sap-wug@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR>Cc: <A href="mailto:sap-wug@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:OF7E5CF4CD.E6E8B7FA-ON652576F2.0020C962-652576F2.0020C964@tcs.com" rel=nofollow target=_blank ymailto="mailto:OF7E5CF4CD.E6E8B7FA-ON652576F2.0020C962-652576F2.0020C964@tcs.com">OF7E5CF4CD.E6E8B7FA-ON652576F2.0020C962-652576F2.0020C964@tcs.com</A>&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>An HTML attachment was scrubbed...<BR>URL: <A
 href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20100326/fdb4058c/attachment-0001.htm" rel=nofollow target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20100326/fdb4058c/attachment-0001.htm</A><BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Fri, 26 Mar 2010 10:26:42 -0000 (GMT)<BR>From: "Mike Pokraka" &lt;<A href="mailto:wug@workflowconnections.com" rel=nofollow target=_blank ymailto="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>&gt;<BR>Subject: RE: Object with over 70 chars key<BR>To: "SAP Workflow Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:587fae594beaab11526ef333c48ac1e1.squirrel@g.mail.aaisp.net.uk" rel=nofollow target=_blank
 ymailto="mailto:587fae594beaab11526ef333c48ac1e1.squirrel@g.mail.aaisp.net.uk">587fae594beaab11526ef333c48ac1e1.squirrel@g.mail.aaisp.net.uk</A>&gt;<BR>Content-Type: text/plain;charset=iso-8859-1<BR><BR>Ironically I heard about that one from you :-)<BR><BR><BR>On Fri, March 26, 2010 3:04 am, Dart, Jocelyn wrote:<BR>&gt; Forgot about CL_GUID_SERVICES .... agree that's better than any function<BR>&gt; module.<BR>&gt; Regards,<BR>&gt; Jocelyn<BR>&gt;<BR>&gt; ________________________________________<BR>&gt; From: <A href="mailto:sap-wug-bounces@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A> [<A href="mailto:sap-wug-bounces@mit.edu" rel=nofollow target=_blank ymailto="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</A>] On Behalf Of Mike<BR>&gt; Pokraka [<A href="mailto:wug@workflowconnections.com" rel=nofollow target=_blank
 ymailto="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>]<BR>&gt; Sent: Friday, 26 March 2010 2:03 AM<BR>&gt; To: SAP Workflow Users' Group<BR>&gt; Subject: Re: Object with over 70 chars key<BR>&gt;<BR>&gt; Yes you will either need a Z-table to map the GUID to your key, or else<BR>&gt; you can extend/enhance your table to add a field for your GUID.<BR>&gt; Use class CL_GUID_SERVICES to generate them.<BR>&gt;<BR>&gt; If you have time for a bit of a learning curve, you can also look at<BR>&gt; persistent classes (my preferred approach in most cases). You never need<BR>&gt; to touch GUIDs, the persistent class provides a DB abstraction layer that<BR>&gt; handles all DB interaction &amp; GUID generation etc. Integrating them into a<BR>&gt; WF class is also very simple and brings a few other benefits too.<BR>&gt;<BR>&gt; Cheers,<BR>&gt; Mike<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; On Thu, March 25, 2010 5:31 am, Shai Eyal wrote:<BR>&gt;&gt; Hello
 all,<BR>&gt;&gt; I'd like to create customer object type for table STXH. Since its key is<BR>&gt;&gt; over 70 chars, I thought of using Abap OO. For my understanding I need<BR>&gt;&gt; to<BR>&gt;&gt; create a class with GUID as key cause 70 chars is way too much.<BR>&gt;&gt;<BR>&gt;&gt; How do I generate the GUID values? to I need to store these in another<BR>&gt;&gt; Z-table?<BR>&gt;&gt; Any guidance will be appreciated.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Regards,<BR>&gt;&gt; Shai Eyal<BR>&gt;&gt; SAP Logistics senior consultant<BR>&gt;&gt; SAP Workflow &amp; BPM specialist<BR>&gt;&gt; <A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>&gt;&gt; Mobile: 972-52-5816633<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; New Email addresses available on Yahoo!<BR>&gt;&gt; Get the Email name you've always wanted on the new @ymail and<BR>&gt;&gt; @rocketmail.<BR>&gt;&gt; Hurry before
 someone else does!<BR>&gt;&gt; <A href="http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________" rel=nofollow target=_blank>http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________</A><BR>&gt;&gt; SAP-WUG mailing list<BR>&gt;&gt; <A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt;&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;&gt;<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;
 _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR><BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="mailto:SAP-WUG@mit.edu" rel=nofollow target=_blank ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" rel=nofollow target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR>End of SAP-WUG Digest, Vol 64, Issue 48<BR>***************************************<BR></DIV></DIV></DIV></div><br>
      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> New Email names for you! </a> <br>
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!</body></html>