Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from TrishDV on Dec 5 at 10:13 AM Ben, I am positive that my fields and module names are correct. I checked visually and I double clicked on all of them in the flow logic of the screen to make sure I went to the correct module in the code. I had the same thought about the INPUT statement included in the MODULE name so I have checked them all previously and they all have it. I have read multiple sources about TABLE CONTROLS and cannot see anything I am missing. I don't know if this is one of those instances of having looked at it/worked with it for so long that I can no longer see the forest for the trees. Thanks. Trish
| | | ---------------Original Message--------------- From: Trisha DeVrieze Sent: Friday, November 30, 2012 12:45 PM Subject: Table Control Loop in PAI In PAI, I have the table control loop, with data, and it does the looping but never enters the loop. So it gets to the LOOP AT scroll_tab and goes right to the ENDLOOP. In between there is a MODULE and then a CHAIN statement with FIELDS and MODULES. The screen allows for 3 entries so it goes to LOOP AT ... ENDLOOP 3 times and moves on. Any ideas why it doesn't enter the loop? It falls into the PBO loop no problem. PROCESS BEFORE OUTPUT. MODULE trans_init. LOOP AT scroll_tab WITH CONTROL tc_pers CURSOR scroll-cursor. MODULE lst_sys_col. MODULE get_entry_afrud. MODULE set_cursor. ENDLOOP. PROCESS AFTER INPUT. *--------------------- Processing after entering ------------------ MODULE processing_exit AT EXIT-COMMAND. MODULE save_ok_code. MODULE get_cursor_line. LOOP AT scroll_tab. * Provide confirmation data from table MODULE get_conf_from_table. CHAIN. FIELD: afru_col-selkz, afrud-pernr, afrud-ismnw_2. MODULE get_aufnr_from_cmfu ON CHAIN-REQUEST. MODULE afvgd_set. FIELD: afrud-ismnw_2 MODULE request_ismnw ON REQUEST. FIELD: afrud-ismnw_2 MODULE reset_vbkz ON REQUEST. MODULE get_conf_col. MODULE check_conf_col ON CHAIN-REQUEST. MODULE check_conf_col_save. ENDCHAIN. CHAIN. FIELD: afrud-ismnw_2 MODULE check_kum_arbeit ON CHAIN-REQUEST. ENDCHAIN. MODULE reset_request. ENDLOOP. | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |