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.
Luca
hi,
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
Similar Messages
-
External File URL attach to FB03 - document service object
Hi ;
My requirement is Scanned copy of hard Vouchers stored in one Windows based External drive.this drives contains yearly ,monthly wise sub folders.
in that sub folders Scanned Copies stored with voucher numbers. this hard Copy of voucher number Updated in FI Document- document header text file.
based on Input file name customized program to identify the File from External drive and find the URL of scanned File and attach in FB03- Service for object tool.
How to achieve this requirement this through SFTP Script . FTP is not using in my System.
highly appreciate if somebody help me on this..
Regards
satishHi Satish,
You may look into option of writing an ABAP program to scan through the list of files in the share drive and pick up one which matches the selection and then perform upload and attach to FB03.
Some examples of coding is available in thread http://scn.sap.com/thread/1925928
Regards,
Deepak Kori -
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
-
Hi all,
i hope there is someone that can help me.
My question is: i've used in an ABAP custom program the FM SGOS_URL_CREATE_DIALOG: is this the way to create a report that may create me an URL attachment to MM document?
I ask you this because i don't able to create the URL attach in follow report:
report z_attach_url.
tables: ekko.
parameters: p_contr like ekko-ebeln.
parameters: title type sood-objdes.
data: document_id type borident-objkey.
data: is_object type borident occurs 0 with header line.
start-of-selection.
is_object-objkey = p_contr.
is_object-objtype = 'BUS2014'.
append is_object.
call function 'SGOS_URL_CREATE_DIALOG'
exporting
is_object = is_object
ip_title = title
importing
ep_url = document_id.Hi,
You are missing COMMIT WORK
eport z_attach_url.
tables: ekko.
parameters: p_contr like ekko-ebeln.
parameters: title type sood-objdes.
data: document_id type borident-objkey.
data: is_object type borident occurs 0 with header line.
start-of-selection.
is_object-objkey = p_contr.
is_object-objtype = 'BUS2014'.
append is_object.
call function 'SGOS_URL_CREATE_DIALOG'
exporting
is_object = is_object
ip_title = title
importing
ep_url = document_id.
commit work. " <<<<<< Give Commit here <<<<<
a® -
Attaching Mail to documents Tab
Dear Gurus,
Application : CRM
T-code : crmd_order
while creating and save an entry ( say for example creating one case ), a mail (contains information of that case) will be triggered to the case owner through badi.
Now I want to get this mail document and attach it to documents tab of that case in background( BADI ).
I am using method create_Link of class CL_BCS within my Badi. But it is not working.
Please advice on this Issue.
Thanks,
SakthivelHi,
You can try with the Generic Object Services Toolbar in the title bar. This toolbar has the functionality to attach the files for the document.
Thanks
Indira -
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. -
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 -
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... -
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 -
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 -
I have created a email in Fireworks and wanted to make a line of text a hyperlink that would take the viewer to a page on my website. I want to attach the final document to my email and sending it out.
1) design for no wider than 600px (otherwise it may not fit in email clients).
2) Slice up your newsletter design in segments for images and html areas with the slice tool.
3) add the <a href="http://www.yourwebsite.com">my website</a> link in one of the html areas.
4) export as generic html 4 code, and put the images in a separate folder.
5) upload all the images to your website's server in a folder (you cannot embed images in an email newsletter - they must link to externally hosted images).
6) change all the links in your html page to the ones that were loaded up on your server. For example, an image's source link would work out similar to this: <img src="http://www.yourwebsite.com/newsletter/image1.jpg" alt="alternate description of your image">
7) open the newsletter with working external images in Chrome or Firefox. Select the entire page content (ctrl-a), and copy it (ctrl-c).
8) create a new email in your mail client. Place the cursor in the body. Paste the newsletter (ctrl-v).
9) send your newsletter to hundreds of recipients, and get blacklisted by several email servers. Receive warning messages from your own hosting provider not to spam other users' email accounts.
10) realize this is too much of a hassle, and instead opt for a service such as MailChimp.
(The result in (9) depends on whether you sent out your newletter only to acquaintances, or not. But even then you might be warned off.)
Btw, many email clients turn off images in an email by default. You must provide the most important content as html, not as images. -
How to create a link to web page (URL) to a billing document
Hi,
I have an urgent requirement of creating a link to web page (URL) to a billing document.
I call the function module "GOS_EXECUTE_SERVICE" with :
ip_service = 'URL_CREA'
is_object-objkey = no billing document
is_object-objtype = 'VBRK'
is_object-logsys = 'BO'
ip_rwmode = 'E'
Then, I enter the title and the address.
And, I have the message : "The attachment was successfully created".
But when there's nothing in the attachment list of the billing document.
(Tha table SOOD contains the record )
If any one has some idea about his , how to achieve this functionality, can you please help me.
Thanks
Virginie
geoge bush
Posts: 6
Questions: 0
Points: 6
Registered: 7/9/04
Re: Attaching a file to a purchase Order from EP6 to R/3 4.6C
Posted: Jul 13, 2004 2:46 AM Reply E-mail this post
Hi Somaraju,
I am also looking for A CODE EXAMPLE TO ATTACH A DOCUMENT TO A AN sap OBJECT E.G. BUS222 AND ISUACCOUNT.
IF YOU'VE AN Example code that you can email me . it would be great.
thanks for the help.
geoge.Hey,
If you are using Portal (not Framework), the below tag will do the trick
<wcdc:userProfile id="profileUserLink" immediate="false" text="#{security.userDisplayName}" shortDesc="#{security.userDisplayName}" xmlns:wcdc="http://xmlns.oracle.com/webcenter/spaces/taglib"/>
-K
Maybe you are looking for
-
Airport not available on MacBook Pro 15 unibody mid 2009, PLEASE HELP!!!!
Ok, so I just recently put in a new hard drive and battery by myself, since my original MacBook Pro hard drive became "corrupted" most likely due to a parallel desktop software I was using. Anyway so I finally install everything on the new hard drive
-
Reporting issues after SP1 to R2 upgrade
Hi Guys. I'm having an issue with reporting after upgrading System Center 2012 Configuration Manager SP1 to R2 CU2. For some reason SSRS is not allowing users to logon from a remote workstation. The Reporting node in the Monitoring workspace does not
-
Errors fresh out of instalation. Known problems? Point 1
Hello, Having done a new installation of BPM after the new binaries were release, we found several exceptions during the first access to BPM Workspace. A restart of the soa/bpm hosting managed server "soa_server1" seemingly solved it. Did anyone else
-
After Updating to Mavericks my Outlook folders and contacts disappeared - how do I recover them? Thank you!
-
My first few projects are done in Illustrator, can you guys give my some comments and also tips to improve? Do you see i've never worked before with illustrator? Please look at my banners on my sites: 4you2wear, 4you2scent and 4you2sleep Looking forw