<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> </DIV>
<DIV>I read about persistence classes - the concept looks great. But I after I tried to implement, 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; in method FIND_BY_LPOR I can instantiate the object only by instid; such means I must extend standard table with GUID; however this is exactly what I tried to avoid using persistence classes....</DIV>
<DIV>Am I missing something or is that the way it suppose to work?</DIV>
<DIV> </DIV>
<DIV>Thanks again,<BR> </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 & 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" <sap-wug-request@mit.edu><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> <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> <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> <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> <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> 1. RE: Object with over 70 chars key (Dart, Jocelyn)<BR> 2. RE: Need help to work with work flow (Y Ramakrishnaiah)<BR> 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" <<A href="mailto:jocelyn.dart@sap.com" rel=nofollow target=_blank ymailto="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</A>><BR>Subject: RE: Object with over 70 chars
key<BR>To: "SAP Workflow Users' Group" <<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> <<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>><BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Forgot about CL_GUID_SERVICES .... agree that's better than any function 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 & 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>> Hello all,<BR>> I'd like to create customer object type for table STXH. Since its key is<BR>> over 70 chars, I thought of using Abap OO. For my understanding I need to<BR>> create a class with GUID as key cause 70 chars is way too much.<BR>><BR>> How do I generate the GUID values? to I need to store these in another<BR>> Z-table?<BR>> Any guidance will be appreciated.<BR>><BR>><BR>> Regards,<BR>> Shai Eyal<BR>> SAP Logistics senior consultant<BR>> SAP Workflow & BPM specialist<BR>> <A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>> Mobile: 972-52-5816633<BR>><BR>><BR>> New Email addresses available on Yahoo!<BR>> Get the Email name you've always wanted on the new @ymail and<BR>> @rocketmail.<BR>> Hurry
before someone else does!<BR>> <A href="http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________" rel=nofollow target=_blank>http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________</A><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>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 <<A href="mailto:y.ramakrishnaiah@tcs.com" rel=nofollow target=_blank ymailto="mailto:y.ramakrishnaiah@tcs.com">y.ramakrishnaiah@tcs.com</A>><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> <<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>><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" <<A href="mailto:wug@workflowconnections.com" rel=nofollow target=_blank ymailto="mailto:wug@workflowconnections.com">wug@workflowconnections.com</A>><BR>Subject: RE: Object with over 70 chars key<BR>To: "SAP Workflow Users' Group" <<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> <<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>><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>> Forgot about CL_GUID_SERVICES .... agree that's better than any function<BR>> 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<BR>> 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 & 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>>> Hello
all,<BR>>> I'd like to create customer object type for table STXH. Since its key is<BR>>> over 70 chars, I thought of using Abap OO. For my understanding I need<BR>>> to<BR>>> create a class with GUID as key cause 70 chars is way too much.<BR>>><BR>>> How do I generate the GUID values? to I need to store these in another<BR>>> Z-table?<BR>>> Any guidance will be appreciated.<BR>>><BR>>><BR>>> Regards,<BR>>> Shai Eyal<BR>>> SAP Logistics senior consultant<BR>>> SAP Workflow & BPM specialist<BR>>> <A href="http://www.linkedin.com/in/shaieyal" rel=nofollow target=_blank>http://www.linkedin.com/in/shaieyal</A><BR>>> Mobile: 972-52-5816633<BR>>><BR>>><BR>>> New Email addresses available on Yahoo!<BR>>> Get the Email name you've always wanted on the new @ymail and<BR>>> @rocketmail.<BR>>> Hurry before
someone else does!<BR>>> <A href="http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________" rel=nofollow target=_blank>http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________</A><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>> 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>> 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><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've always wanted on the new @ymail and @rocketmail.<br>
Hurry before someone else does!</body></html>