2009 Aug 26 7:41 AM
hi ......i have a problem with following lines of my program for pending order status .
this program runs fine on one client gives a dump on other client at following lines .
plz guide me how can i resolve such problem .
whether its a patches or snote problem .
MODULE READ_TABLE OUTPUT.
READ TABLE itab2 INDEX control-current_line .
*MODIFY itab2 INDEX control-current_line.
ENDMODULE. " READ_TABLE OUTPUT
thanks and regards ,
hi ......i have a problem with following lines of my program for pending order status .
this program runs fine on one client gives a dump on other client at following lines .
plz guide me how can i resolve such problem .
whether its a patches or snote problem .
MODULE READ_TABLE OUTPUT.
READ TABLE itab2 INDEX control-current_line .
*MODIFY itab2 INDEX control-current_line.
ENDMODULE. " READ_TABLE OUTPUT
thanks and regards ,
2009 Aug 26 7:44 AM
Hi,
Check the value of control-current_line and what error ur getting ??
Regards,
Prashant
2009 Aug 26 7:49 AM
Hi,
Just try this code , if it does not resolve let us know what exactly is the error message you are getting...
MODULE READ_TABLE OUTPUT.
IF itab2[] IS NOT INITIAL.
READ TABLE itab2 INDEX control-current_line .
ENDIF.
*MODIFY itab2 INDEX control-current_line.
ENDMODULE. " READ_TABLE OUTPUTRegards,
Siddarth
2009 Aug 26 7:50 AM
Hi Ujjwal,
Initialize or define the table index inside the module where you are reading the data.
Best Regards,
Sharmila
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |