Skip to Content
0
Former Member
Dec 02, 2008 at 10:09 AM

problems with line items

22 Views

Hi guys,

I've some problems with the implementation of the solution described in HowTo guide "HowTo line items in IP..." .

When I've activated the char. relationship as desribed like in the HowTo paper I get an error message, when I'm deactivating the char. relationship everything is fine.

Now my question: do I've to implement the coding for the char. derivation in every method or just in the derive-method?

Here is my coding...

FIELD-SYMBOLS: <l_chavl> TYPE ANY.

  • fill ID

ASSIGN COMPONENT 'ZA_000671' OF STRUCTURE c_s_chas

TO <l_chavl>.

CALL FUNCTION 'GUID_CREATE'

IMPORTING

ev_guid_32 = <l_chavl>.

  • fill user

ASSIGN COMPONENT 'ZA_000672' OF STRUCTURE c_s_chas

TO <l_chavl>.

<l_chavl> = sy-uname.

  • fill date

ASSIGN COMPONENT '0DATE' OF STRUCTURE c_s_chas

TO <l_chavl>.

<l_chavl> = sy-datlo.

  • fill time

ASSIGN COMPONENT '0TIME' OF STRUCTURE c_s_chas

TO <l_chavl>.

get time field <l_chavl>.

It qould be great, if somebody can tell, what I'm doing wrong here.

Cheers+kind regards,

Clemens