Application Development and Automation 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: 
Read only

FM to create external document(URL)

Former Member
0 Likes
6,829

Hi All,

I need to create external document(URL) for equipment and functional location. Manually it is done by clicking a button (called Services for Object) which appears in the left upper corner (on the left side of the transaction heading) and then selecting option (Create External Document URL). Infact this button is availaible in many transactions.

I need FM/BAPI using which i can create external document(URL) to equipment and functional location programmaticaly.

Regards,

Vimal

1 ACCEPTED SOLUTION
Read only

viquar_iqbal
Active Contributor
0 Likes
4,064

Hi

try this FM

/XFT/DIO_CMS_URL_CREATE

/XFT/DIO_DIC_URL_CREATE

BDS_BAPI

BDS_BUSINESSDOCUMENT_CREA_URL

BDS_BUSINESSDOCUMENT_CRE_O_URL

Hi All,

I need to create external document(URL) for equipment and functional location. Manually it is done by clicking a button (called Services for Object) which appears in the left upper corner (on the left side of the transaction heading) and then selecting option (Create External Document URL). Infact this button is availaible in many transactions.

I need FM/BAPI using which i can create external document(URL) to equipment and functional location programmaticaly.

Regards,

Vimal

5 REPLIES 5
Read only

viquar_iqbal
Active Contributor
0 Likes
4,065

Hi

try this FM

/XFT/DIO_CMS_URL_CREATE

/XFT/DIO_DIC_URL_CREATE

BDS_BAPI

BDS_BUSINESSDOCUMENT_CREA_URL

BDS_BUSINESSDOCUMENT_CRE_O_URL

Read only

0 Likes
4,064

Hi Viquar Iqbal,

Thanks for ur help. It worked.

The working code (For others reference)

wa_BAPIPROPER-PROP_NAME = 'DESCRIPTION'.

wa_BAPIPROPER-PROP_VALUE = 'Test'.

APPEND wa_BAPIPROPER to it_BAPIPROPER.

CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL'

EXPORTING

classname = 'EQUI'

classtype = 'BO'

OBJECT_KEY ='000000000020000038'

url = 'http://sparsh/V1/'

mimetype = 'TEXT/PLAIN'

TABLES

PROPERTIES = it_BAPIPROPER

Regards,

Vimal

Edited by: Vimal kumar on Feb 18, 2009 2:59 PM

Read only

0 Likes
4,064

Hi Viquar/Vimal,

We also have a similar requirement to copy an URL from a CSV file to the deliveries created (VL02n). We are also using the same FM

BDS_BUSINESSDOCUMENT_CRE_O_UR but getting a dump like below. I think the only change we have to do is classname = LIKP and object key should be the delivery number "0082659789"

May I know if anything else to be coded?

Short text of the error message:
Control Framework : Error processing control
Long text of the error message:
Diagnosis
An error occurred when the system tried to process the commands
from the Automation Queue on the presentation server.
There are several possible reasons for this:
- The installation of the SAP GUI on the presentation server is
faulty or obsolete.
- There is an error in the application program
- There is an error in the SAPGUI or an integrated control

Read only

jyothi_anagani
Active Contributor
0 Likes
4,064

Hi,

See this FM

SGOS_URL_CREATE_DIALOG

Regards,

Jyothi.

Read only

Former Member
0 Likes
4,064

Hi,

Please try using fm:CALL_BROWSER.

Regards,

Venkat.