Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Program documentation -- calling web document

Former Member
0 Kudos

I would like to be able to have my ABAP Program call documentation from the Web when the user presses Shift/F1 or clicks on the Little Blue Information Icon. This is just a basic ABAP - no screen programming. I know how to call my documentation from the Web (see code below). I just don't know how to trigger it to happen. I'm sure it is simple ... can anyone help?

call function 'CALL_BROWSER'

exporting

url = http://iww.myweb.com/myhelpdoc.htm'

exceptions

frontend_not_supported = 1

frontend_error = 2

prog_not_found = 3

no_batch = 4

unspecified_error = 5

others = 6.

2 REPLIES 2

andreas_mann3
Active Contributor
0 Kudos

hi,

write a program with your call and link it to your document:

in doumentation - insert - link

A.

Former Member
0 Kudos

I found the answer to my question ...

- Create a New Gui Status called main with Icons for help any whatever else. Call Help one INST

- In the Initialization section of your program code - set pf-status 'MAIN.

- In at selection screen section

case sscrfields-ucomm.

when 'INST'. "User instructions

call function 'CALL_BROWSER'

exporting

url = http://iww.myweb.com/myhelpdoc.htm'

exceptions

frontend_not_supported = 1

frontend_error = 2

prog_not_found = 3

no_batch = 4

unspecified_error = 5

others = 6.

clear sscrfields-ucomm.

endcase.