Object with over 70 chars key
Mike Pokraka
wug at workflowconnections.com
Thu Mar 25 19:17:13 EDT 2010
Shai,
Enhancements can be done to standard tables without a problem within the
new(ish) Enhancement Framework. The only thing is you'd have to generate the
GUIDs for all existing records as a once-off exercise, and make sure a GUID
is generated each time a new record is created. This will however be the
case whether you use a mapping table or extend the existing one.
I have a bit more time now, so dug out the SAP doco:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f5/a36828bc6911d4b2e80050da
dfb92b/frameset.htm
Be warned, the learning curve can be steep depending where you go. But it's
fun too and opens up a whole bunch of new possibilities.
Cheers,
Mike
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Shai Eyal
Sent: 25 March 2010 19:12
To: sap-wug at mit.edu
Subject: Re: Object with over 70 chars key
Hi Mike,
Thanks for sharing the knowledge, unfortunately lately it is not obvious
among senior colleagues.
Since STXH is standard table, I don't think of changing it.
I will have a look at persistent classes - it sound suitable.
Thanks again.
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow & BPM specialist
http://www.linkedin.com/in/shaieyal
Mobile: 972-52-5816633
------------------------------
Message: 2
Date: Thu, 25 Mar 2010 15:03:53 -0000 (GMT)
From: "Mike Pokraka" <wug at workflowconnections.com>
Subject: Re: Object with over 70 chars key
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
<0d176bf362e00902212859d4158d912a.squirrel at g.mail.aaisp.net.uk>
Content-Type: text/plain;charset=iso-8859-1
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
_____
Get
<http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http:/mail.prom
otions.yahoo.com/newdomains/aa/> your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100325/bd8d9409/attachment.htm
More information about the SAP-WUG
mailing list