11-14-2007 12:33 PM
Hello all...
I am a functional BI guy but having some problems with some BPS exit code (in charisteristic relationships) ...
any idea why I would get a 'field symbol not assigned' error with the below?
The code is straight out of How to: Lines Items in BPS
Short dump says: GETWA_NOT_ASSIGNED
Thanks all
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(I_AREA) TYPE UPC_Y_AREA
*" REFERENCE(ITO_CHA) TYPE UPC_YTO_CHA
*" CHANGING
*" REFERENCE(XS_CHAS) TYPE ANY
*" EXCEPTIONS
*" FAILED
*"----------------------------------------------------------------------
FIELD-SYMBOLS: <l_chavl> TYPE ANY.
* fill ID
ASSIGN COMPONENT 'zbpsguid' OF STRUCTURE xs_chas
TO <l_chavl>.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = <l_chavl>.
* fill user
ASSIGN COMPONENT '0UNAME' OF STRUCTURE xs_chas
TO <l_chavl>.
<l_chavl> = sy-uname.
* fill date
ASSIGN COMPONENT '0DATE' OF STRUCTURE xs_chas
TO <l_chavl>.
<l_chavl> = sy-datlo.
* fill time
ASSIGN COMPONENT '0TIME' OF STRUCTURE xs_chas
TO <l_chavl>.
get time field <l_chavl>.
ENDFUNCTION.
11-14-2007 12:45 PM
11-14-2007 12:58 PM
i just figured it out when you sent me your reply...
it works!
genius!