Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table control wizard

Former Member
0 Likes
529

hi experts

I have used table control wizard to display the data inwhich i set one field as input type.

when we enter data it is not displayed, can you explain me how to display the data which we entered.

i know it will come under PAI module, dont know exactly.

Thanks in advance

Regards

Rajaram

4 REPLIES 4
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
510

Hi,

Use code like this


PROCESS AFTER INPUT. "In the flow logic
  LOOP AT ITAB.
      FIELD ITAB-FLD1
      MODULE TAB_MODIFY ON CHAIN-REQUEST.
  ENDLOOP.

MODULE TAB_MODIFY INPUT. " In the PAI module
  MODIFY ITAB
    FROM ITAB
    INDEX TAB_CNTRL-CURRENT_LINE. "itab is your table with data and TAB-CNTRL is table control
ENDMODULE.

Regards,

Sesh

Read only

0 Likes
510

but table control wizard generated some codes, inwhich where can i add this code.

i tried it but also not working yar, what could be the problem.

pls advise me.

Read only

0 Likes
510

Hi,

Show us the PAI part of the flowlogic.

And also give us the ITAB and table control name and the PAI Modules code.

Regards,

Sesh

Read only

0 Likes
510

This is my flow logic, inwhich you say where we can insert the code.

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.

*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TC'

MODULE TC_CHANGE_TC_ATTR.

*&SPWIZARD: MODULE TC_CHANGE_COL_ATTR.

LOOP AT IT_FINAL

WITH CONTROL TC

CURSOR TC-CURRENT_LINE.

MODULE TC_GET_LINES.

*&SPWIZARD: MODULE TC_CHANGE_FIELD_ATTR

ENDLOOP.

PROCESS AFTER INPUT.

MODULE USER_COMMAND_0100.

*&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TC'

LOOP AT IT_FINAL.

CHAIN.

FIELD IT_FINAL-TDDAT.

FIELD IT_FINAL-VBELN.

FIELD IT_FINAL-POSNR.

FIELD IT_FINAL-AUFNR.

FIELD IT_FINAL-MATNR.

FIELD IT_FINAL-WEMNG.

FIELD IT_FINAL-PSMNG.

FIELD IT_FINAL-MAKTX.

FIELD IT_FINAL-GAMNG.

FIELD IT_FINAL-SBMNG.

FIELD IT_FINAL-FIPEX.

FIELD IT_FINAL-SGTXT.

FIELD IT_FINAL-KALAB.

FIELD IT_FINAL-KAINS.

FIELD IT_FINAL-TOTAL.

endchain.

MODULE table_modify.

ENDLOOP.

MODULE TC_USER_COMMAND.

*&SPWIZARD: MODULE TC_CHANGE_TC_ATTR.

*&SPWIZARD: MODULE TC_CHANGE_COL_ATTR.

Regards

Rajaram