Skip to Content
Former Member
Feb 24, 2009 at 06:56 AM

how to find hostname while calling bsp


Hello Experts ,

I am developing a bsp program, in which i have to download a document from presentation server.

i have used file_download option in htmlb,

now i have to make document through CV01n.

I have used a bapi 'BAPI_DOCUMENT_CREATE' for creating a document.

it works fine in R/3 environment, but when i run it through bsp it gives me dump.

it requires hostname(name of frontend computer) for creating document.

through SDN i came to know that i can't use 'cl_gui_frontend_services' .

can anybody provide me alternate FM or class/interface for finding hostname on internet / intranet while running BSP.