Object with over 70 chars key

Mike Pokraka wug at workflowconnections.com
Thu Mar 25 11:03:53 EDT 2010


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
>





More information about the SAP-WUG mailing list