2014 Dec 12 6:23 AM
Hi,
i have created smart forms ,and passing some data like in internal table .
internal table structure is -
Order Number item work Order Material
9000 1101 0010 228768
9000 1102 0010 228769
9000 1103 0010 228770
9000 1104 0010 228771
9000 1105 0010 228772
9000 1106 0011 228773
9000 1107 0011 228774
9000 1108 0011 228775
9000 1109 0011 228776
9000 1110 0014 228778
9000 1111 0014 228779
9000 1112 0014 228780
9000 1113 0014 228781
once's , work order is change means 0010 to 0011
or 0011 to 0014 , smartforms call it's first page call.
Hi,
i have created smart forms ,and passing some data like in internal table .
internal table structure is -
Order Number item work Order Material
9000 1101 0010 228768
9000 1102 0010 228769
9000 1103 0010 228770
9000 1104 0010 228771
9000 1105 0010 228772
9000 1106 0011 228773
9000 1107 0011 228774
9000 1108 0011 228775
9000 1109 0011 228776
9000 1110 0014 228778
9000 1111 0014 228779
9000 1112 0014 228780
9000 1113 0014 228781
once's , work order is change means 0010 to 0011
or 0011 to 0014 , smartforms call it's first page call.
2014 Dec 12 6:28 AM
Hi Puneet,
Use the Command Condition based on the Work Order Value and put condition to call the new page to display new Work Order information.
Regards.
Praveer.
2014 Dec 12 2:13 PM
Hello Puneet,
Create a Table which will be looping you internal table inside the Main window.
As mentioned below image
In the Code Section , please write the below code :
IF gv_wrk_ord IS INITIAL.
gv_wrk_ord = gi_item_tab_line-uname.
CLEAR gv_text.
ENDIF.
IF gv_wrk_ord NE gi_item_tab_line-uname.
gv_text = 'X'.
CLEAR gv_wrk_ord .
ENDIF.
gv_wrk_order is type of work order field of the structure you shown above,its a global variable.
gv_text is the FLAG which is of type CHAR_01.
In the Command , need to put the Condition as shown below
Hope this will solve your problem.
Thanks
Romit Raina
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |