Charts in Abap Program via Javascript

1- Download JS file and upload your SAP Web Repository(T-code : smw0).

Capture03mar16_001
Select Binary data .

 

 

Capture03mar16_002
Just run it or give a package name.

Capture03mar16_003

Create a new object , give the name ‘ZCANVAS.JS’ to object.

2 – CALL SCREEN 9000.


3- In PBO :

  •  Create container object
  • Create cl_gui_html_viewer object
  • Load mime object ( CALL METHOD REF_HTML->load_mime_object )
  • Generate Html
  • And finally show url

Capture03mar16_004

Capture03mar16_005Capture03mar16_006

 

Download Codes : https://www.dropbox.com/s/mss0sp1mzpj42zr/Test%20ABAP_JS%20Code.txt?dl=0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s