2006 Jul 05 1:46 PM
Hi!
I have retrieved information from tables e070 and e070a with a select statement into a wa of type trheader and created an object of the class cl_cts_request. Now I want to assign this object to a request from the tables. The key field is trkorr so I guess I should use this somehow but I don't know how since there is no constructor declared in cl_cts_request.
I hope that I have made the problem clear and I will be grateful for all help.
Thanks
Magnus
Hi!
I have retrieved information from tables e070 and e070a with a select statement into a wa of type trheader and created an object of the class cl_cts_request. Now I want to assign this object to a request from the tables. The key field is trkorr so I guess I should use this somehow but I don't know how since there is no constructor declared in cl_cts_request.
I hope that I have made the problem clear and I will be grateful for all help.
Thanks
Magnus
2006 Jul 05 1:52 PM
Hey,
See the atrributes of the class cl_cts_request. It has attrributes
STATE Type TRREQSTATE
HEADER Type TRHEADER
OBJECTS Type TR_OBJECTS
KEYS Type TR_KEYS
ATTRIBUTES Type TRATTRIBUTES
You need to set the attributes to the values you have selected after creating the object.
-Kiran
*Please reward useful answers
2006 Jul 05 3:08 PM
Ok, but where do I get the values for the attributes? They're not in e070 or e070a.
Magnus
2006 Jul 05 3:16 PM
Tables related to Change Requests:
E070
E070A
E070C
E070CREATE
E070DEP
E070L
E070M
E070TC
E070USE
E071
E071C
E071K
E071KF
E071KFINI
E07T
HOTEXCMODE
HOTPACKEXC
HOTPACKRUL
METHODTR
STAT_XPRA
TE07F
TLOCK
TRFUNCSEL
TRFUNCSELT
WBOATTR
WBOATTRC
WBOATTRT
-Kiran
2006 Jul 05 3:53 PM
Thanks, but I can't find these fields in any of these tables.
Magnus
2006 Jul 05 4:00 PM