Skip to Content

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

at line selection capturing values

Hi experts,

I have a requirement like this...

In my report output showing list of 10 company codes.

If i click 6th company code in the list, it should display all related plants....

how can i do using at line selection?

can any one give me simple code for this...

thanks

Tags:
Former Member
replied

when you write your company codes .. HIDE the company code.

LIke:


data: W_BUKRS LIKE T001-BUKRS.

LOOP AT ITAB.
  W_BUKRS = ITAB-BUKRS.
  WRITE: / ITAB-BUKRS.
  HIDE W_BUKRS.
ENDLOOP.

AT LINE-SELECTION.
 * you can access W_BUKRS ...

Regards,

Naimesh Patel

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question