cancel
Showing results for 
Search instead for 
Did you mean: 

Short dump during How to : Line items (audit information)

Former Member
0 Kudos

hello all,

I have implemented the detail in How to: Line items so that the bps app will tract who is entering data... except now when I push save, it is short dumping.

Has anyone any idea where I can start? I am on BW 3.1 using BPS.

---

Error: Field symbol has not yet been assigned

the ST22 page gives information...

Runtime Error GETWA_NOT_ASSIGNED

What happened?

Error in ABAP application program.

The current ABAP program "SAPLSYGU" had to be terminated because one of the

statements could not be executed.

You attempted to access an unassigned field symbol

(data segment 32771).

This error may occur for any of the following reasons:

- You address a typed field symbol before it is set using ASSIGN

- You address a field symbol that points to a line in an internal table

that has been deleted

- You address a field symbol that had previously been reset using

UNASSIGN, or that pointed to a local field that no longer exists

- You address a global function interface parameter, even

though the relevant function module is not active,

that is it is not in the list of active calls. You can get the list

of active calls from the this short dump.

Information on where terminated

The termination occurred in the ABAP program "SAPLSYGU" in "GUID_CREATE".

The main program was "SAPMHTTP ".

The termination occurred in line 5 (where I say 'here') of the source code of the (Include)

program "LSYGU$02"

of the source code of program "LSYGU$02" (when calling the editor 50).

Source code extract

000010 *******************************************************************

000020 * THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *

000030 * NEVER CHANGE IT MANUALLY, PLEASE! *

000040 *******************************************************************

HERE!! --> FUNCTION $$UNIT$$ GUID_CREATE

000060

000070 EXPORTING

000080 VALUE(EV_GUID_16) TYPE !GUID_16

000090 VALUE(EV_GUID_22) TYPE !GUID_22

000100 VALUE(EV_GUID_32) TYPE !GUID_32 .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Search in the function if you have statement on FIELD-SYMBOLS..for example FIELD-SYMBOLS:<XXX> if yes then you might want to search for the statements ASSIGN in your code.

if you dont find ASSIGN statement but still using <XXX> in your code.. then you need to code for ASSIGN statement.

Also . you can search GETWA_NOT_ASSIGNED for OSS notes.. you shd find some..

Former Member
0 Kudos

i DO had field sysmbols in my code!!

but the code is a copy past job from the How to guide... could it be THAT wrong?!

its looks like really simple code... any help is appreciated...! (im not a abapper, im functional BI!)

Thanks, you guys are lifesavers...

FUNCTION Z_AUDIT.

*"----


""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 'zguid' 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.