‎2007 Feb 16 3:40 PM
Hi I have created a OO transaction for my report , and i want to print some output using "Write " statement .
Even if i copy standard program give by sap DEMO_OO_TRANSACTION to Z program and try to change statement
" message 'Instance method in local class' type 'I'.
to
Write " message 'Instance method in local class' type 'I'. "
Output is not shown.
If its not possible then how to do this, in work around.
I want to print one line message for user saying "Table successfuly updated" or "Updation Failed! "
Can anyone help.
Thanks in advance.
‎2007 Feb 16 3:54 PM
Hi,
se80> click on transaction code> check on the local program what it has been mentioned?
aRs
‎2007 Feb 16 4:10 PM
Hi,
I have mentioned my Program name there. Do you mean as its module pool program so write statement is not working. But leave-to-list processing statement is also not working. Can you tell me any work around or where am going wrong.
thanks,
‎2007 Feb 16 4:12 PM
Hi Sharad, Check your other thread. I have replied there. and close the duplicate.
Regards,
Ravi
‎2007 Feb 16 4:38 PM
Hi,
program Z_31.
*
class DEMO_CLASS definition.
public section.
methods INSTANCE_METHOD.
endclass.
*
class DEMO_CLASS implementation.
method INSTANCE_METHOD.
leave to list-processing.
write: 'Table successfuly updated' .
endmethod.
endclass.
Please add leave to list-processing in the class implementation
aRs