Attachment in MIRO
Hi experts,
In my bussiness process i am facing a new requirement
My query is i want to attach document in MIRO
is it possible in standard SAP
if Yes please explain me how to do
regards
raj
in standard sap, there is no services for object in miro.
regards
Ramesh
Similar Messages
-
Invoice Attachment in MIRO/MIRA
Hi All,
Please let me know how invoice pdf can attach in MIRO/MIRA.
I am an abaper and I am facing an issue where the attached pdf values( Invoice no and PO no ) and the screen values are not matching.
Please let me know, is the pdf is attaching manually or whether the attachment will create automatically once the invoice is entered in the system.
Regards,
Nikhil V.KumarHi ,
We are using same process and attached the invoice to the PO Line Item,
So you always can see it from the MIRO, or finance documents ( Drill down to PO )
Regards,
Moshe -
DMS-Document attachment in MIRO
Dear All,
Can we attach documents in MIRO and FB60 transactions.
Regards,
Venkat.Hi Venkat,
From dms point of view,you want to display (attach)the documents to perticular screen means object link needs to be given.
In standard environment there is no MIRO or MIGO transaction as onject link.You can link to Material Master(MARA).I hope this you already know.
If you want to see dms screen in MIRO or MIGO transaction,you have to go for z-deveploment which can be programe writen by abap consultant.
I hope this will resolve the query.
Regards,
Ravindra -
Invoice scanning and attachment in MIRO
Dear all,
I understand that MIRO does NOT support Object Services (such as attaching a scanned invoice document) until after the invoice document has been saved.
How do most companies handle attaching the scanned document to the invoice without using a third party solution (readsoft, opentext etc).
Do you:
(a) load all invoices as held in MIRO, then attach in MIR4 and then post
(b) park all invoices in MIR7, attach the invoice in MIR4 and then post
(c) post all invoices in MIRO and then somehow attach the scanned
Ideally, when an invoice is blocked, it would be great if the scanned document can also be attached to workflow email.
Your thoughts and recommednations appreciated...Hi ,
We are using same process and attached the invoice to the PO Line Item,
So you always can see it from the MIRO, or finance documents ( Drill down to PO )
Regards,
Moshe -
Attach URL - MIRO/MIR4/MIR7
Hi guys
I need to attach an url to "park incoming invoice". I guess the business object is BUS2081. I don't know the FM or method/class for doing it.
Can anyone help me?
Best regardsHi,
I am not quit sure if this is of any help to u..
<b>DATA : url(256) TYPE c.</b>
<b>CALL FUNCTION 'RH_URL_CALL_BROWSER'</b>
EXPORTING
URL = URL
EXCEPTIONS
BROWSER_START_FAILED = 1
NO_BATCH = 2
URL_IS_EMPTY = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Reward points if helpfull
Regards,
Vind. -
Hi All,
I am new to this area of SAP. I have a custom report which lists all PO status the PO has. It displays GR and IR data.
My client now wants additional column in the output of the report. This column should have an icon which when clicked should link to vendor invoice (attached to MIRO and Accountings doc's).
This Vendor Invoice is saved as attachment.
The transaction OAAD and then click on Technical Search push button, I have all documents stored in the archive link. If I double click on the Invoice number which is stored under column SAP Object ID, it opens up Vendor Invoice with Java Viewer or Live Link.
How can I achieve this in my custom program. Please guide me.
Thanks.Hi Naimesh,
It is not working for me. The internal table t_links is blank for me. Please advice, can I do something else to see if its working.
I see the attachment in MIRO.
gs_lpor-instid = '57000250912009'.
gs_lpor-typeid = 'BUS2081'.
gs_lpor-catid = 'BO'.
la_relat-sign = 'I'.
la_relat-option = 'EQ'.
la_relat-low = 'ATTA'.
APPEND la_relat TO lt_relat.
CALL METHOD cl_binary_relation=>read_links
EXPORTING
is_object = gs_lpor
it_relation_options = lt_relat
IMPORTING
et_links = t_links.
CATCH cx_root INTO lo_root. -
SCMS_AO_TABLE_GET - PDF Open Error
Hi All,
Iu2019ve a required to attach a vendor invoice attached to Miro document stored using Archive Link.
I'm using SCMS_AO_TABLE_GET to get the archived document into internal table. The internal table is in binary format (1024).
Inoder to convert binary internal table from 1024 to 255 as required by SO_DOCUMENT_SEND_API1, I am converting the raw data using FM SCMS_BINARY_TO_FTEXT and followed by another function module to convert it to solisti1.
I do get an email with a PDF attached but when I click on PDF, it gives an error. Looks like there is some problem decoding the data.
Please help!
Hereu2019s my piece of code.
DATA: binobject LIKE TBL1024 OCCURS 200,
archivobject LIKE DOCS OCCURS 200 WITH HEADER LINE,
length_bin TYPE I,
length_att TYPE I,
length_archive LIKE SAPB-LENGTH.
REFRESH: binobject, attachment.
CALL FUNCTION 'SCMS_AO_TABLE_GET'
EXPORTING
ARC_ID = archiv_id
DOC_ID = arc_doc_id
COMP_ID = 'data'
IMPORTING
LENGTH = length_bin
TABLES
DATA = binobject
EXCEPTIONS
error_http = 1
error_archiv = 2
error_kernel = 3
error_config = 4
others = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
RAISING ERROR_RETRIEVAL.
ENDIF.
CALL FUNCTION 'SCMS_BINARY_TO_FTEXT'
EXPORTING
input_length = length_bin
IMPORTING
output_length = length_att
TABLES
binary_tab = binobject
ftext_tab = archivobject
EXCEPTIONS
failed = 1
others = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
RAISING ERROR_RETRIEVAL.
ENDIF.
length_att = length_bin.
length_archive = length_att.
CALL FUNCTION 'Z_WF_CONVERT_DOCTABLE_2_OFFICE'
EXPORTING
LENGTH = length_archive
TABLES
ARCHIVOBJECT = archivobject
ATTACHMENT = lt_objbin.
length = length_archive.
Email Attachment Details
CLEAR l_tab_lines.
DESCRIBE TABLE lt_objbin LINES l_tab_lines.
Creation of the entry for the compressed attachment
l_objpack-transf_bin = 'X'.
l_objpack-head_start = 1.
l_objpack-head_num = 1.
l_objpack-body_start = 1.
l_objpack-doc_type = 'PDF'.
l_objpack-obj_name = l_obj.
l_objpack-obj_descr = l_obj.
l_objpack-body_num = l_tab_lines.
l_objpack-doc_size = l_tab_lines * l_c_255.
APPEND l_objpack TO lt_objpack.
CLEAR l_objpack.
Completing the recipient list
l_reclist-receiver = p_email.
l_reclist-express = 'X'.
l_reclist-rec_type = 'U'.
APPEND l_reclist TO lt_reclist.
CLEAR l_reclist.
CONCATENATE 'GOS Attachment'(018)
sy-datum INTO l_obj SEPARATED BY space.
APPEND l_obj TO lt_objhead.
Email Body Details
CLEAR l_tab_lines.
DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
l_doc_chng-doc_size = ( l_tab_lines - 1 ) * 255 +
STRLEN( l_string ). "size of doc in bytes
l_doc_chng-obj_name = sy-repid.
l_doc_chng-obj_langu = sy-langu.
l_doc_chng-obj_descr = l_string.
l_doc_chng-sensitivty = 'P'.
Send the document
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = l_doc_chng
put_in_outbox = ' '
commit_work = 'X'
TABLES
packing_list = lt_objpack
object_header = lt_objhead
contents_bin = lt_objbin
contents_txt = lt_objtxt
contents_hex = lt_contents_hex
receivers = lt_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
ENDFUNCTION.
FUNCTION Z_WF_CONVERT_DOCTABLE_2_OFFICE.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(LENGTH) LIKE SAPB-LENGTH
*" TABLES
*" ARCHIVOBJECT STRUCTURE DOCS
*" ATTACHMENT STRUCTURE SOLISTI1
Die ArchiveLink-API liefert das Dokument in einer internen
Tabelle, der Länge 1024 zurück.
SAP-Office-API benötigt eine interne Tabelle der Länge 255.
Diese Funktion konvertiert von der ArchiveLink-Tabelle in
die SAP-Office konforme Tabelle.
DATA: currentPos TYPE I, " Zeiger auf die Leseposition in
" der ArchiveLink-Tabelle
writePos TYPE I, " Zeiger auf Schreibposition
remain TYPE I, " Anzahl Zeichen in der aktuellen
" Zeile des ArchiveLink-Objektes,
" Max=255
written TYPE I, " Anzahl bytes übertragen
targetLines TYPE I, " Größe der Zieltabelle in Zeilen
lines_attachment TYPE I, " Anzahl der Zeilen im Attachement.
currentIndex TYPE I, " Aktuelle Zeile in der Quelltab.
line_out(255) TYPE C,
line_attachment TYPE solix,
line_len TYPE I. " Länge derselbigen
currentPos = 0.
writePos = 0.
REFRESH: attachment.
CLEAR: line_out, attachment.
targetLines = length / 255.
" Rest prüfen
remain = length - ( targetLines * 255 ).
IF remain <> 0. " Ja, noch eine Restzeile
ADD 1 TO targetLines.
ENDIF.
remain = 255. " Wieder initialisieren
currentIndex = 1.
WHILE lines_attachment <= targetLines.
READ TABLE archivobject INDEX currentIndex.
line_OutwritePos(remain) = archivobjectcurrentPos(remain).
" Concat schluckt spaces
written = remain.
line_len = writePos + remain. " writePos beginnt ja bei 1
writePos = writePos + remain.
IF writePos = 255. " Voll gefüllt, dann appenden
APPEND line_out TO attachment.
CLEAR line_out.
writePos = 0.
ELSEIF writePos > 255.
" exception
ENDIF.
" Jetzt prüfen, ob dies bereits der Rest der Quell-Zeile war.
" Wenn ja, dann müssen wir beim nächsten Durchlauf die
" nächste Zeile lesen.
IF currentPos > 769.
ADD 1 TO currentIndex.
" Und den Rest ausrechnen, mit dem die nächste Zeile
" noch gefüllt werden muss.
remain = currentPos + 255 - 1024.
*---> Insert part IIId
" Wenn die letzten Bytes exakt reingepaßt haben, dann eine
" neue volle zeile lesen
IF remain <= 0.
remain = 255.
ENDIF.
*<---- end of Insert
currentPos = 0.
ELSE. " Die aktuelle Zeile enthält noch genügend Bytes, um
" voll zu lesen.
ADD written TO currentPos. " Zeiger weiterschieben
IF currentPos > 769. " Nächste Zeile kann nicht mehr
" voll gefüllt werden, da keine
" 255 byte übrig sind
*---> Insert part IIId
IF currentPos >= 1024. " Hat genau bis zum Ende gereicht
remain = 255.
ADD 1 TO currentIndex.
currentPos = 0.
ELSE.
remain = 1024 - currentPos. " Rest ausrechnen
ENDIF.
*<---- end of Insert
ELSE.
remain = 255. " sonst voll befüllen
ENDIF.
ENDIF.
DESCRIBE TABLE attachment LINES lines_attachment.
ENDWHILE.
ENDFUNCTION.Hi Sandra,
I get the arc_id from the TOA01 table.
The result of the data parameter is a HTML file saying that file doesnt exist.
But, when I access the OAR transaction, the file is there.
Thanks for helping -
PDF Attachment while posting thru MIRO / FB60
Dear Friends,
I need your help on the following scenario.
Requirement:
we are going to build an interface for invioce postings in SAP using Tcode FB60(Invioce with out PO) and MIRO(with PO).
Data has to be picked up by the interface from a staging server where each invoice data is available in .dat format.
Data for posting is from the .dat file. We are going to store that in Z tables and will use for posting.
But our additional requirement is each invoice will have a PDF document(supporting document for that invoice), it is not the invoice as such, but an additional document.
While doing the posting in SAP thru FB60/MIRO transaction, the PDF file corresponding to this invoice has to be attached with this posting.
Problem Areas:
We know that an attachment can be uploaded thru transaction in FB03 after the posting is done using Object Services.
1. But our concern is how can they be attached programatically?
2. Can't we attach the file while doing Posting either thru FB60 or MIRO?
3. How to extract those PDF files placed in another server and attach during the background job?
Any help/inputs on this is highly appreciated.
SAP Version: 4.7 Enterprise edition
Note: Content of the PDF attachment is not the data for invoice posting, no need to read its contents, it only has to be attached with the posting.
Regards,
SimhaChange in requirement..
Hence i am closing this thread.
Regards,
Simha -
Attaching Invoice document in MIRO
Hi,
Our customer want to attach the Invoice scanned copy during MIRO to avoid dispute of misplacing by departments.
How do we go with this?
Points will be awarded.
RegardsHi,
I am also having the same requirement of attaching scanned invoice to invoice.
can you please explain it.
Thanks
Srini -
HI,
I want attached document in SAP MIRO with invoice,
please guide me or suggest any configuration required.
Thanks
ShitalHi Shital,
You donot have GOS functionality in MIRO
The System must have an object as a document to provide the services
('Services for Object'). If you create an invoice in MIRO only after
the whole prosess finishes will be an object created.
So the functionality isn't avaiable. You can see the same behaviour,
also in the other enjoy transaktions (FB60, VF01..) as well.
But you can attached your attachments after posting the documents as
well.
Currently these services are only available in the transaction MIR4 or MIR7,
Check Note 1231039 - MIRO: GOS linkages -
MIRO Workflow: Attachment link not opening
Hi guys.
One of my users can execute transaction code MIR4 to display a MIRO invoice.
But when it comes to workflow, they CANNOT display the Invoice when they click on the attachment link. What I know is the method in the workflow calls transaction code MIR4 to display the invoice.
Does anyone know what the problem is or what other authorisations or roles this user should have?
Regards.Hi,
If the perticular user is able to view the Invoice through MIR4 directly Not through the workflow
means,
if this problem is facing a single user
Please check what roles has been assigned to that perticular user , their might be authorization problem .
If this problem is facing all the users means please check whether your are facing correct Invoice no or not. -
Need to attach documents/ file in MIRO
Hi!
Is it possible to attach a document in MIRO or any ohter MM transactions.
Regards,
Prem
9884473335Hi Balaji,
You can assign any type of documents with using of DMS and also SAP service objects. There is facility to attach any type of document in FB02. Check there is icon or system > sap service objects. You can able assign ME23N also.
Rgds
ManiSuma -
Attach invoice document in MIRO transcation code
Dear.
Is it possible to attach a invoice document in MIRO or any ohter MM transaction.You can't attach invoice document in MIRO transaction..
But you can attach the document after posting the invoice..
Post the invoice from MIRO transaction, then go to MIR4, enter the invoice document.
Here you can attach your invoice document..
Regards
Dev -
Where we do attach scanned invoices(PDF) in MIRO.
Hi,
Following is the requirement,
What we want is the ability to attach a scanned invoice (pdf) to the IR. Without this we would have two separate filing systems u2013 attached invoices in SAP for PO items and hard copy filed for non-po invoices.
Is there any option in MIRO to attach Scanned invoice( PDF). Please give your valuable thought on the same.
Thanks in Advance.Hi, I just found some hints about it:
- Please check this threat: Archivelink to archive an image and link it to a parked MM invoice via RFC
- If you introduce your paper invoice in an archiving system, you must assign the invoice document. For that, use the barcode.
You can assign a document type in paper to each document type from all societies.
In the customizing for entering barcodes, you can specify is entering barcodes is activated and if the system must check the entered barcode according to the document type and user.
- Check the SRM workflow, if appropiate, I mean, if you use it.
-In Invoice Verification, you can store inbound and outbound documents in external storage
systems using SAP ArchiveLink.
The scanned documents are stored in an external storage system and linked to the relevant R/3
documents. You can display the stored documents from the display of the R/3 documents. Check http://help.sap.com/saphelp_ish471/helpdata/EN/78/ee034b0eb811d3b6ee0000e82de955/frameset.htm
JFS
Edited by: Jose Fernando Sanchez Enciso on Apr 26, 2011 3:19 PM
Edited by: Jose Fernando Sanchez Enciso on Apr 26, 2011 3:27 PM
Edited by: Jose Fernando Sanchez Enciso on Apr 26, 2011 3:28 PM -
Attachment not shown in MIRO (service for objects)
We have a problem with services for object in MIRO transaction.
There's no "service for objects" icon in MIRO transaction, and through menu ("System=>Services for objets") we get this message:
"No service available".
But there's an entry with that object ID (invoice number) in table TOA01 with object type BUS2081 (Incoming invoice), which means there's A link for that object ID.
We checked customizing and compared it to other systems where it's fine and seems ok.
Can't understand why it doesn't work. Something missing in MM?
I'd really appreciate any clue.
Thanks in advance.
Regards,
JThanks for answering.
Well, we have same archivelink customizing in another systemo for MIRO transaction and it works fine.
There's a development, of course. There's a job that executes a program and attaches the pdf from a server, etc.
So we can attach pdf files when entering an invoice. Guess there's a missing step, but don't know exactly which.
Maybe basis people blocked something, but we don't have a clue.
Regards,
J
Maybe you are looking for
-
How many number of pages can be included in a single spool request
Hi , How many maximum number of pages can be included in a single spool request. can we increase or decrease these max no of pages per spool in SAP.Please advise. Thanks & Regards, Sam.
-
Oracle application sever 10g on 32bit and 64 bit platform windows 2003
Hello, can any body please let me know the performance issues, differences between 32bit and 64bit of oracle application sever 10g? I heard there were some differences... where can i find the information try to look in oracle site not much help... pl
-
IPhone Sleep Button Might Be Broken
I recently noticed my iPhone 3G sleep button might have an issue. It works fine, so I am not too concerned but the button is uneven. The left side of the button is very low. Flush even with the iPhone itself. This isn't something most people would no
-
Plz Help - Issue with Microsoft Comfort Mouse 3000
Hey everyone.. Lil story to begin this one. I am a mac user for 2 years, and I love it. I recently got a job doing digital artist/retouching working at a big photo studio in my locale - they use windows xp. After working there for a while, I realized
-
Will Oracle OLAP handle our case(s).
We are about to build a cube to roughly handle following dimensions and facts: 15 dimensions ranging from a couple of members to 40,000+ members. A fact table holding 200,000,000+ rows So my question is: Does anybody has a sense of whether OLAP has a