cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Objects: Urgent issue

Former Member
0 Kudos

Hi,

I have a BADI ZSGL_SDP_SELECT_PROD which has a implementing class ZCL_IM_SGL_SDP_SELECTOR1.

Within this I have a method: LOC_PROD_VALUE_LIST

data: lv_value_list_ref TYPE REF TO data,

" Line of CT_VALUE_LIST

Here there is a changing parameter ct_value_list defined as type standard table.

In the BADI there is a statement:

create data lv_line like line of ct_value_list.

lv_line is defined as type ref to data.

  • Create values list reference

CREATE DATA lv_value_list_ref LIKE LINE OF ct_value_list.

ASSIGN lv_value_list_ref->* TO <lfs_value_list>.

Definition:

-


field-symbols: <lfs_value_list> TYPE ANY.

CT_VALUE_LIST TYPE ANY TABLE.

I need to figure out where the ct_value_list is populated in the BADI Implementation as it is not in the code but seems to have data based on the selection parameters. For some variants the data is populated with what is entered in the selection parameters but for some it returns abrupt data.

Any inputs will be apprciated.

cheers

Aveek

Accepted Solutions (0)

Answers (1)

Answers (1)

Clemenss
Active Contributor
0 Kudos

Hi,

ZSGL_SDP_SELECT_PROD and ZCL_IM_SGL_SDP_SELECTOR1 are in the customer name range. I can't find anything comparable so I can't analyze the code.

You may finc out where the BADI class is created, if it populates the field in the CONSTRUCTOR method or if the values are passed from outside.

Hope it helps,

Clemens