Skip to Content

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


I coded following to find the AGENT but anyhow its not working.I able to test object T024D with same object key in SWO1 but its not working in my report.

types: begin of ty_objectkey1,

Plant type WERKS_D,

Controller type DISPO,

end of ty_objectkey1.

data: ls_objectkey1 type ty_objectkey1 .

data: lf_T024D type SWC_OBJECT.


ls_objectkey1-plant = '5002'.

ls_objectkey1-Controller = 'B30'.

SWC_CREATE_OBJECT lf_t024d 'T024D' ls_objectkey1.

SWC_get_property lf_t024d 'Agent' lt_agent.

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