Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP Objects: Urgent issue

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

Tags:
Not what you were looking for? View more on this topic or Ask a question