Skip to Content
0
Former Member
Nov 28, 2008 at 10:57 AM

Table Controls

12 Views

In my Scenario In the first screen i have cust No and a display button .

in the 2nd screen i have a table control where i have to display records based on custid.

Following is my code in the first screen(No:100)

WHEN 'DISP'.

clear it_cef.

clear wa_cef.

SELECT MANDT

CUST_NO

EVAL_DATE

CUST_NAME

FLAT_NO

PROJECT_NAME

ELIGIBILITY

ALLOCATED

ACHEIVABLE

FROM ZCUST_EF

INTO table it_CEF

WHERE CUST_NO = ZCUST_EF-CUST_NO .

loop at it_cef to wa_cef.

*move wa_CEF-cust_no to ZCUST_EF-cust_no.

*move wa_CEF-EVAL_DATE to ZCUST_EF-EVAL_DATE.

*move wa_CEF-cust_name to ZCUST_EF-cust_name.

*move wa_CEF-FLAT_NO to ZCUST_EF-FLAT_NO.

*move wa_CEF-PROJECT_NAME to ZCUST_EF-PROJECT_NAME.

**move wa_CEF-ELIGIBILITY to ZCUST_EF-ELIGIBILITY.

*move wa_CEF-ALLOCATED to ZCUST_EF-ALLOCATED.

**move wa_CEF-ACHEIVABLE to ZCUST_EF-ACHEIVABLE.

endloop.

At least help me with the simple example which resolves my Query