02-18-2009 5:48 AM
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
02-18-2009 5:52 AM
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
02-18-2009 5:52 AM
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
02-18-2009 1:58 PM
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
07-29-2020 12:28 PM
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
02-18-2009 5:52 AM
02-18-2009 6:12 AM