02-09-2011 5:19 AM
Dear All,
I am trying to create module pool progm. , I am getting error . the fields of FIELD itab1-EDCUT.
FIELD itab1-EDBAW.
FIELD itab1-INCHIP.
are not showing the value in output.. its look like disabled..
the codes are...
process before output.
MODULE status_0200.
LOOP AT itab with control tc.
MODULE move_to_tc.
ENDLOOP.
LOOP AT itab1
with control tc2
cursor tc2-current_line.
MODULE tc2_get_lines.
MODULE move_to_tc2.
MODULE tc2_change_tc_attr.
*&spwizard: module TC_9001_change_field_attr
ENDLOOP.
process after input.
module exit_move at exit-command.
field p_aufnr module check_order.
LOOP AT itab.
field itab-charg module charg_req.
field itab-charg module input_req on request.
MODULE tc_itab.
ENDLOOP.
LOOP AT itab1.
chain.
field itab1-idnrk1.
field itab1-charg1.
field itab1-lot.
field itab1-slit1.
field itab1-menge1.
field itab1-edcut.
field itab1-edbaw.
field itab1-inchip.
module menge_change on chain-request.
module edcut_change on chain-request.
module edbaw_change on chain-request.
module inchip_change on chain-request.
endchain.
ENDLOOP.
MODULE user_command_0200.
process on value-request.
field p_matnr module help_matnr.
field p_aufnr module help_order.
field p_shift module help_shift.
field itab-charg module help_charg.
.
Thanks,
r.sandhosh...
Edited by: Matt on Feb 9, 2011 6:53 AM - added tags removed commented out lines!
02-09-2011 5:38 AM
02-09-2011 6:50 AM
Dear All,
I created Table control without wizard. In that i have 4 fields. Based on the 4 fields , i should display 3 more fields at final output, when i am press the SAVE button. The values are came in ITAB1. but the values are not displaying in the output screen.. That 3 issue fields are.... ITAB1-EDCUT
ITAB1-EDBAW
ITAB1-INCHIP.
PAI and PBO codes:
PROCESS BEFORE OUTPUT.
MODULE status_0200.
LOOP AT itab WITH CONTROL tc.
MODULE move_to_tc.
ENDLOOP.
loop at itab1
with control tc2
cursor tc2-current_line.
module tc2_get_lines.
MODULE move_to_tc2.
module tc2_change_tc_attr.
endloop.
PROCESS AFTER INPUT.
MODULE exit_move AT EXIT-COMMAND.
FIELD p_aufnr MODULE check_order.
LOOP AT itab.
FIELD itab-charg MODULE charg_req.
FIELD itab-charg MODULE input_req ON REQUEST.
MODULE tc_itab.
ENDLOOP.
LOOP AT itab1.
CHAIN.
FIELD itab1-idnrk1.
FIELD itab1-charg1.
FIELD itab1-lot.
FIELD itab1-slit1.
FIELD itab1-menge1.
FIELD itab1-EDCUT.
FIELD itab1-EDBAW.
FIELD itab1-INCHIP.
MODULE menge_change ON CHAIN-REQUEST.
MODULE edcut_change ON CHAIN-REQUEST.
MODULE edbaw_change ON CHAIN-REQUEST.
MODULE inchip_change ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
MODULE user_command_0200.
PROCESS ON VALUE-REQUEST.
FIELD p_matnr MODULE help_matnr.
FIELD p_aufnr MODULE help_order.
FIELD p_shift MODULE help_shift.
FIELD itab-charg MODULE help_charg.
Edited by: rsandhosh on Feb 9, 2011 7:57 AM