Skip to Content
0
Former Member
Sep 11, 2007 at 11:15 AM

problem with dialog programming

19 Views

hi experts

I have following problem in dialog programming.

when i press F4 for a particular field, am getting values, then selecting a value and then press ENTER, its corresponding values needs to be displayed in some other fields.

i have done query and written coding in PBO and PAI, but its not displaying the values in the relevant fields.

PROCESS BEFORE OUTPUT.

MODULE status_0910.

LOOP AT it_zctlp WITH CONTROL tc6.

MODULE itab_to_tc6_new.

ENDLOOP.

MODULE status_0910 OUTPUT.

SELECT matnr arktx FROM vbap

INTO corresponding fields of table it_zctlp

WHERE vbeln = zctlk-vbeln.

SELECT SINGLE test descp reqd FROM ZCTLT

INTO (it_zctlp-test , it_zctlp-descp , it_zctlp-reqd)

where test = zctlp-test.

  • these values not displayed in table control ,pls anyone tell me

ENDMODULE.

MODULE itab_to_tc6_new OUTPUT.

MOVE-CORRESPONDING it_zctlp TO zctlp.

ENDMODULE.

PROCESS AFTER INPUT.

LOOP AT it_zctlp.

MODULE tc6_to_itab.

ENDLOOP.

module tc6_to_itab input.

MOVE-CORRESPONDING zctlp TO it_zctlp.

it_zctlp-zind = 'F'.

it_zctlp-mark = mark.

MODIFY it_zctlp INDEX tc6-current_line.

endmodule.

Thanks in advance.

Regards

Rajaram