FM to create external document(URL) FBL1n transaction
Hi!
I'm trying to create a URL link in FBL1n but I'm not been able to do it.
I checked this link[ FM to create external document(URL)|FM to create external document(URL)]
but I'm not getting the URL in the link list.
I can create the link manually as Vimal kumar did, but in transaction FBL1n.
My code is like this (I think one of the parameters is wrong.)
data: it_BAPIPROPER type BAPIPROPER occurs 0,
wa_BAPIPROPER like BAPIPROPER.
DATA: WA_logical_system LIKE TBDLS-LOGSYS.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
OWN_LOGICAL_SYSTEM = WA_logical_system
EXCEPTIONS
OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
OTHERS = 2.
wa_bapiproper-prop_name = 'DESCRIPTION'.
wa_bapiproper-prop_value = 'Test'.
APPEND wa_bapiproper TO it_bapiproper.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL'
EXPORTING
LOGICAL_SYSTEM = WA_logical_system
classname = 'BSEG'
classtype = 'BO'
object_key ='10001900000000210001'
url = 'http://metcold/ss2000/plainlinkurl.asp?dbid=08&k=Supplier_No,Invoice_No&v=22549,029214758&username=guest&password=guest.url'
mimetype = 'TEXT/PLAIN'
TABLES
properties = it_bapiproper
commit WORK.
this is been execute with sy-subrc eq 0.
Any idea?
Thanks.
Hi
I tried attach an URL to document line, but without results. If I tried add URL to document header, all works perfectly. Maybe its not possible to add url-s into document lines...
Similar Messages
-
Tnx. IW22 Change PM Notification - Create external document (URL) posting
Hi:
I am in transaction IW22 i.e. Change PM Notification. There is a 'Services for object' drop down which appears below the enter tick. This appears in online but not in BDC. I have tried it through the transaction SHDB i.e. Transaction Recorder also herein the 'Services for object' does not appear. I need to post entries through 'Create external document (URL)' through the 'Services for object' drop down using BDC / BAPI / etc.
Please advice.
NB.Hi NB,
We have similar issue for QM notification and I have used function "SO_OBJECT_INSERT".
I am enclosing my code may be useful for you:
FORM CREATE-URL-ATTACHMENT.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
REGION = 'B'
IMPORTING
FOLDER_ID = FOLDER_ID
EXCEPTIONS
OTHERS = 1.
CLEAR: LS_OBJCONT, LT_OBJCONT, LT_OBJHEAD.
REFRESH: LT_OBJCONT, LT_OBJHEAD.
CONCATENATE '&KEY&' H-URL INTO LS_OBJCONT.
APPEND LS_OBJCONT TO LT_OBJCONT.
CLEAR: L_OBJ_DATA.
L_OBJ_DATA-OBJSNS = 'O'.
L_OBJ_DATA-OBJLA = SY-LANGU.
L_OBJ_DATA-OBJDES = 'NOTES URL'.
CALL FUNCTION 'SO_OBJECT_INSERT'
EXPORTING
FOLDER_ID = FOLDER_ID
OBJECT_TYPE = 'URL'
OBJECT_HD_CHANGE = L_OBJ_DATA
IMPORTING
OBJECT_ID = L_OBJ_ID
TABLES
OBJHEAD = LT_OBJHEAD
OBJCONT = LT_OBJCONT
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 35
FOLDER_NOT_EXIST = 6
OBJECT_TYPE_NOT_EXIST = 17
OWNER_NOT_EXIST = 22
PARAMETER_ERROR = 23
OTHERS = 1000.
CLEAR: IS_OBJECT.
IS_OBJECT-OBJKEY = WQMNUM.
IS_OBJECT-OBJTYPE = 'BUS2078'.
CLEAR: REL_DOC.
CONCATENATE FOLDER_ID L_OBJ_ID INTO REL_DOC-OBJKEY.
REL_DOC-OBJTYPE = 'MESSAGE'.
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
OBJ_ROLEA = IS_OBJECT
OBJ_ROLEB = REL_DOC
RELATIONTYPE = 'URL'
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC EQ 0.
COMMIT WORK.
ELSE.
T_MESSAGE = 'Notification Attachment Add Failed'.
APPEND T_MESSAGE.
CLEAR: T_MESSAGE.
T_MESSAGE = 'Reference:'.
T_MESSAGE+11(20) = H-REF.
APPEND T_MESSAGE.
CLEAR: T_MESSAGE.
T_MESSAGE = 'Notification:'.
T_MESSAGE+14(12) = WQMNUM.
APPEND T_MESSAGE.
CLEAR: T_MESSAGE.
T_MESSAGE = 'URL:'.
T_MESSAGE+5(72) = H-URL.
APPEND T_MESSAGE.
PERFORM SEND-EMAIL.
ENDIF.
ENDFORM. "create-url-attachment
Hope this may help you.
Please reward all the useful answers.
Regards,
Lanka -
MM03/MM02 Need to create external document URL
Hi All,
We are having a requirement to create web link for materials using transactions MM03 or MM02.
The exact path for this is as follows:
Go to MM03/MM02 -> Enter material ->Basic data view -> Systems Menu -> Services for object -> Create external document URL.Here we need to enter the title and URL.
The other path is clicking on the services for objects button that comes on the title bar and create the same.
Is there any BAPI that can be used to achieve this.
Reward points assured.
Thanks and regards,
Nilesh.Hi Nilesh,
can you try
Using this function module:
CALL FUNCTION 'GUI_RUN'
EXPORTING
command ='IEXPLORE.EXE'
PARAMETER ='WWW.YAHOOMAIL.COM'.
CD =
IMPORTING
RETURNCODE =
in the appr place of coding
<u>Reward pts if found usefull :)</u>
Regards
Sathish -
FM to create external document(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,
VimalHi 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 -
Create External document (URL) in SAP Personas
Hi Smart People!
To save some steps and incorporate a scanner I am working on creating buttons to "Attach Documents" in different areas such as MM03, FB03, and a few others where we have to keep a scanned in document attached to certain other Materials or Payables and such. All docs are scanned in and saved online and then we use the "create external document (url) menu option to link it where it is needed in SAP.
In one place it works just fine and in the others it is not working at all and custom button or even just following the already existing menu options it keeps giving me this error. I tried search on the SCN and Google and no such luck on this error. Anyone have any ideas? See pic below and also the text below is the separated error so you can see what it actually says.
[Unknown] ses[0]/wnd[0]/usrUSRAREA/ctlcntITS/itsdoc
Thank you for any help you can give!That screen shot is for the Silverlight browser plugin.
You can check your Personas version and patch level in System -> Status. Clicking on the magnifying glass in the SAP System Data box will list all the components of the ERP system. It will tell you what Personas version and SP is installed.
Something like this:
The above means Personas 2.0 SP2.
If you indeed happen to have Personas 2.0 with no support package (so SP level says 0000), then the first thing I'd recommend is to bring the system to the latest level, which would be like in the screen shot, and then trying again. There is a good chance the problem will be resolved.
If your system is completely up-to-date and it still gives you trouble, then create an OSS incident. -
FM to create external document(URL) in IE02
Hi,
I need to create external document(URL) for equipment master.
We can create manually it is done by clicking a button Services for Object and then selecting option (Create External Document URL).
I refered many links but failed to create the url in IE02.Please help me with the example.
Regards,Hi,
You will need to use function BINARY_RELATION_CREATE for this.
Check how is it handled in function SGOS_URL_CREATE_DIALOG. Also check code in PAI of screen 2400 (subroutine create_url_doc). You will need to use that code.
Sridhar -
Services for Object - Create external document (url) 132 characters limit
Hello,
I have this requirement:
Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
My suggestion was to use Services for Object in the Order -> Create external document (url).
But the adress field cannot contain more than 132 characters.
I have URL longer than 132 chars:
eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
What do you suggest me?
Thanks,
FrançoisThank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
François -
Create external document (URL) - Attachment in FI document
Hi all,
how can I add with a custom program an URL as attachment in a FI document?
And how can I remove the possibility to delete this attachment for a user when he enters in change mode FB02?
Many thanks.
Lucahi,
u have to do 2 things.....
1) attach the created fi docs to browser(FM is available but i forgot it)
2) call function module CALL_BROWSER and WS_EXECUTE to execute the attached fi docs...
regards
dinesh.a -
Mass upload Create External doc URLs using Services for object-Inspmethod
Hi All,
Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
Any body know how to Upload this for any master data 9Insp plan/Material master etc..)Developing the program
-
Mass upload Create External doc URLs using Services for object-Materialmast
Hi All,
Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
Any body know how to Upload this for any master data ex.Material master.ok
-
Insertion of external document(URL) in FB03 programmatically.
Hi All,
I have to insert the external document(URL) in the FB03 programmatically.File will contain Document Number, Company Code,
Fiscal Year along with the url.Is there any FM to accomplish such a requirement?
any help will be appreciated.
Thanks in advance.
Regards,
Sarbajit.Hi Sarbajit,
Would you mind sharing your solution?
Regards,
Brian -
External document (URL) don't save the link
Hi experts,
I want to show "Service for object" button by creating Business Object (SWO1) with
Interface = IFGOSXSERV
Keyfield = Ref. Table --> ANLA
Ref. field --> ANLN1
And my codes :
CONSTANTS: OBJTYPE TYPE BORIDENT-OBJTYPE VALUE 'ZGOS'.
DATA: MANAGER TYPE REF TO CL_GOS_MANAGER,
OBJ TYPE BORIDENT.
PARAMETERS: MATNR TYPE MARA-MATNR.
AT SELECTION-SCREEN OUTPUT.
CLEAR OBJ.
SET OBJECT TYPE TO 'ZGOS'
OBJ-OBJTYPE = OBJTYPE.
SET OBJECT KEY = REPORT NAME
SELECT SINGLE NAME
FROM ANLA
INTO OBJ-OBJKEY
WHERE BUKRS = p_bukrs AND
ANLN1 = p_anln1 AND
ANLN2 = p_anln2.
CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
CREATE OBJECT MANAGER
EXPORTING
IS_OBJECT = OBJ
EXCEPTIONS
OTHERS = 1.
What I want is each AssetNo have external Link (URL), but when I add external link and I rerun the program from SE38, the link is not saved.
And I want to have a reference with External link between AS02 and my custom program. (If you add external link in particular AssetNo by AS02, it will be shown in my custom report, otherwise)
Can you help me on this?
Regards,
Andreyus
Edited by: Andreyus on Aug 8, 2011 11:56 AMBarbara,
Some additional tips.
AppleWorks has stopped working correctly
Document content not saved
AppleWorks fails to save properly
ali b -
Hi all,
I just want to know if it's possible ti create an external document on a sales order programmatically ?ok
-
Error while creating billing document using VF04 transaction
Hi All,
User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. When user trying for second time log is showing this sales order is currently processed by the user(user is same who is trying to create invoice)
Please let us know what is causing this issue since this issue is happening in production and we can not debug this.
We checked for number range also but its not.
Waiting for your inputs.
Regards,
Jyothi CH.When pressing save in invoice creation system
SAP gives invoice document number (No accouting document generated).
but no documents are actually created
Check there is any clash with internal number range of billing type vs other billing types ?
Try to create billing document using VF01,see any messages were poping while saving ?
Check for abap dump in ST22 ?
Edited by: Jeyakanthan A on Feb 9, 2011 9:52 PM -
How to create Material Document using MI10 transaction
Hi,
I am posting a differnce of Quantity using the transaction MI10. My requirement is to make the inventory 0 for all the materials whose inventory is negative. This should create a physical inventory document and a Material document with movement type 702.
However when I am trying to do so I am able to get the Physical Inventory document but not the Material document.
Please let me know how can I create the Material document simultaneously.
Also please let me know if there is a BAPI which does the work of MI10 transaction.
Thanks,
Abhishekhi,
You shd check the PI posting document for the reference to see the qty diff. which is posted....
Internally system will auto call the 702 and make the settlements and will update book inventory..
Regards
Priyanka.P
Maybe you are looking for
-
I have a Mac 10.4.11. I would like to create a website and logo design though I have no background in graphic design. Which programs are free/best for this Mac?
-
HT1414 Whenever I try to sync my iphone with my PC it says my iphone has disconnected?
I have been trying to sync my iPhone. Each time I go to iTunes it tries to sync but then I get a message that says my iPhone has disconnected.
-
Hi Experts, After raising the sales order, i'm raising A/R down payment invoice and making incoming for that. Now after the production completes, I'm raising the A/R invoice for remaining amount and i'm closing that Invoice by getti
-
Can i use microsoft office on my macbook pro and from where should i download it?
can i use microsoft office on my macbook pro and from where should i download it?
-
Best practices for image compression in dps
Hi! I have been reading up on best practices for image compression in dps, and I have read that the source assets of panoramas, image sequences, pan and zoom images, and audio skins are not resampled on upload. So you therefore need to resize them an