Object with over 70 chars key

Mike Pokraka wug at workflowconnections.com
Fri Mar 26 06:26:42 EDT 2010


Ironically I heard about that one from you :-)


On Fri, March 26, 2010 3:04 am, Dart, Jocelyn wrote:
> Forgot about CL_GUID_SERVICES .... agree that's better than any function
> module.
> Regards,
> Jocelyn
>
> ________________________________________
> From: sap-wug-bounces at mit.edu [sap-wug-bounces at mit.edu] On Behalf Of Mike
> Pokraka [wug at workflowconnections.com]
> Sent: Friday, 26 March 2010 2:03 AM
> To: SAP Workflow Users' Group
> Subject: Re: Object with over 70 chars key
>
> Yes you will either need a Z-table to map the GUID to your key, or else
> you can extend/enhance your table to add a field for your GUID.
> Use class CL_GUID_SERVICES to generate them.
>
> If you have time for a bit of a learning curve, you can also look at
> persistent classes (my preferred approach in most cases). You never need
> to touch GUIDs, the persistent class provides a DB abstraction layer that
> handles all DB interaction & GUID generation etc. Integrating them into a
> WF class is also very simple and brings a few other benefits too.
>
> Cheers,
> Mike
>
>
>
> On Thu, March 25, 2010 5:31 am, Shai Eyal wrote:
>> Hello all,
>> I'd like to create customer object type for table STXH. Since its key is
>> over 70 chars, I thought of using Abap OO. For my understanding I need
>> to
>> create a class with GUID as key cause 70 chars is way too much.
>>
>> How do I generate the GUID values? to I need to store these in another
>> Z-table?
>> Any guidance will be appreciated.
>>
>>
>> Regards,
>> Shai Eyal
>> SAP Logistics senior consultant
>> SAP Workflow & BPM specialist
>> http://www.linkedin.com/in/shaieyal
>> Mobile: 972-52-5816633
>>
>>
>>       New Email addresses available on Yahoo!
>> Get the Email name you've always wanted on the new @ymail and
>> @rocketmail.
>> Hurry before someone else does!
>> http://mail.promotions.yahoo.com/newdomains/aa/_______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list