Αναζήτηση

Friday, June 22, 2012

Execute operating system commands with abap

The following example explain how to execute operating system commands with abap statements :
REPORT zexec_cmd.
*----------------------------------------------------------
*
*        www.developerpages.gr
*
*     execute operating system command
*----------------------------------------------------------

data : v_command(255).
DATA: BEGIN OF TABL OCCURS 0,
            LINE(255),
      END OF TABL.

Parse xml file with ABAP

Parse xml with abap using standard SAP classes and methonds:

Read first : http://developerpages.gr/index.php/en/desktop-development-2/abap/71-read-utf-8-xml-file-with-abap
and here the example program : 

Thursday, June 21, 2012

Read utf-8 xml file with abap

Read utf-8 xml file and store it in string variable :
--------------------------------------------------------------
www.developerpages.gr
*
* Read UTF-8 xml file
*
*--------------------------------------------------------------
report zread_xml.

data XML_STRING type STRING.
DATA line TYPE string.

Wednesday, June 13, 2012

Create SAP Customer Classification with BAPI function

The following code creates Sap Customer Classification using BAPI Function :