12-26-2011 12:38 PM
Hello all,
Does anybody knows if exists an abap-class to write strings in SAP console ? I'm looking something similar of System.out.println() in JAVA.
Regards,
Arthur
12-28-2011 1:12 PM
Consider key word WRITE (to output to the report screen), or MESSAGE (to write to a log for background jobs).
There is no class (unless you create one). Strings are basic types in ABAP Object. A major difference between Java and ABAP is class libraries. The concept in ABAP is rather different. Classes exist where the need was identified, not as almost part of how the language works. There are few general purpose classes in ABAP.
12-27-2011 4:31 AM
Hi
as per my knowledge its not possible to write ABAP classes in console like java..but we can run the programs through the console for that follow the below syntax..its very time consuming process..
check the below syntax it may be helpful for you...
C:\Program Files\SAP620\SAPGUI\rfcsdk\bin>startrfc
RFC command line interface
Syntax :
startrfc [connect options] <function options>
where
function options =
-F <function module
-E <parameter>=<value>
-T <table name>,<width>,[r=<file>][,w=<file>]
where <file> is a path name to read from (r)
or write to (w) the internal table.
If <file> is -, stdin or stdout is used
Thanks&Regards
Sreenivas Pachva
12-28-2011 1:12 PM
Consider key word WRITE (to output to the report screen), or MESSAGE (to write to a log for background jobs).
There is no class (unless you create one). Strings are basic types in ABAP Object. A major difference between Java and ABAP is class libraries. The concept in ABAP is rather different. Classes exist where the need was identified, not as almost part of how the language works. There are few general purpose classes in ABAP.
12-28-2011 1:19 PM
Thanks guys.
I'm developing something using cl_abap)strings classes.
Best regards,
Arthur