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,
Simha

Change in requirement..
Hence i am closing this thread.
Regards,
Simha

Similar Messages

  • Email Billing document as PDF Attachment while saving from VF01/02

    Hi,
    Can anybody suggest if there is any BADI/User Exit/Configuration exists in order to email Billing document as a PDF attachment while saving from VF01 or VF02?
    We need to trigger this while saving the Output type say, VF02 GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
    I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the sapscript and an email is sent when an output is issued from VF01/02/03 where as the requirement is to send email whenever the document is saved.
    Thanks in Advance,
    Srinivas

    Hi,
    While saving subroutine FORM_OPEN will get triggerred, and this will be included in the Z Program. If it is not contained in the Z program, include this subroutine. This subroutine will have include RVADOPFO.
    The above include will have the function module ADDR_GET_NEXT_COMM_TYPE, and the import parameter LVS_COMM_VALUES will contain the address number and email address to whom the pdf needs to be sent.
    So here, i.e. In place of standard include RVADOPFO, put custom include ZRVADOPFO, and modify the code as below.
    After the function module ADDR_GET_NEXT_COMM_TYPE, read the email address from any custom table based on the various conditions or hard coded value, then move it to the below variable.
    LVS_COMM_VALUES-ADSMTP-SMTP_ADDR.
    And remaining functionality will be taken care by the standard code. i.e. converting the spool to PDF and attaching it while sending the email etc....
    If I am not wrong, the same functionality will work  even while saving the sales order etc..
    Regards,
    Santu.

  • Default profit center when posting vendor invoices thru MIRO, FB60 and FB65

    Hi,
    My requirement is to default profit center at item level while posting vendor invoices using transactions MIRO, FB60 and FB65.
    can anyone please provide some inputs on this.
    Thanks for your help.
    Lucky

    Hi,you need to customize doc splitting.
    1.You need to clasify all accounts from future document in  Document Splitting-Classify G/L Accounts for Document Splitting(e.g. all accounts 2000) 03000-VENDOR.
    2.in IMG: Classify Document Types for Document Splitting    check for Document type  transaction and Variant (e.g. Doc=KR, Trans.=1010, Variant= 0001)
    3.In IMG:  Activate Document Splitting   check  assigned method(e.g. 000012)
    4. in IMG- Document Splitting-Extended Document Splitting-Define Document Splitting Rule
    For find your method and transaction(e.g. Method=00012, trans.=1010) and double click on Item categories(on left of the top of screen)
    There'd be record with category from first step (e.g. Cat.=0300), select one and double click on Base item cat. - there'd be Category 0300 and with check box Automatically split.
    I hope it'd be helpful

  • Asset in incomplete while posting invoice MIRO

    Hi All,
    I have raised an P.O with account assignment 'A' P.O has created but while posting invoice through t.code Miro i am getting the error 'asset co.code xxxx asset no.xxxxxx is incomplete.
    let me know were i need to check.

    Hi Ganee,
    The asset for which you are doing MIRO, the error might be due to the following reasons:
    1. Check the depreciation Key.
    2. Check the Account Determinations (Ao90)
    You can do resolve your error.
    Regards
    VG

  • While Posting Park Miro Document system asking Profit center.

    Dear All,,
    After Migo ,,we used all document should be Park ,After checking the Document we will post park Document.
    While posting Park Document system give error massage "Balance field profit center is line item 001 not filled.
    For this i check material master ,In Migo account assignment ,and in Cost center we assigned Profit center.But system still giving error,
    here i am posting frieght invoice for we maintained in po itself...
    What may be the reason i couldnt find ...Kindly guide me to overcome.
    Thanks and Regards
    Girish

    Hi
    Hope you are facing problem in MIRO document (not MIGO)
    If so, the line item 001 of the MIRO document will normally be a vendor line item, where the system is asking you to enter profit center.  So the logic of derving the profit center from material master/cost center does not work here.
    But the message seems to be customized one, hence you can check in the validation rule or any BTE and modify the condition, so that it does not ask for Profit center in vendor line item.
    Regards

  • Send e-mail  Billing document as PDF Attachment while saving from VF01/02

    Hi all,
    I have written the code for sending email with PDF attachment. Presently this code is included in the Print program for the smartform and an email is sent when an output is issued manually from VF02/03 where as the requirement is to send email whenever the document is saved.
    We need to trigger this while saving the Output type say, <b>VF01</b> GOTO -> HEADER -> OUTPUT (select the output type) -> SAVE - should send an email with PDF attachment.
    need ur help on this.
    thanks,
    Subba.

    Hello,
    Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
    I am not sure but you can also try this ::::::
         If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
    Thanks.

  • Issue while posting through MIRO

    Hi,
    I am posting through MIRO.
    I am using two POs in MIRO from different contracts.
    When I add them for one PO amount and QTY feild is filled up properly,
    but for other the value of QYT is filled into amount and qty field.
    Could any one help in solving this issue.
    Thanks in advance.

    Hi
    You ae trying to post two POs from different contracts (i assume for same vednor)
    When you allocate the first PO, everythin is fine
    when you subsequently allocate the second PO, the vale and qty fields are not populated properly.
    Is this right?
    What values are going to the qty and value fields of second PO?

  • Call transaction FB70 while posting the MIRO DOcument

    Dear All,
    My Requirement is , When ever the user posts a MIRO document for a particular PO document type, then automatically a customer invoice(FB70) has to posted automatically in the back end.
    If there any BAdi or user-exits are there for the above requirement, please tell me.
    Thanks In Advance.

    Thanks for your reply
    yah....i have seen in PO in that  VAT is V0 0% tax but if i went seen in withholding tax  there is no amount in the withholding tax  filed
    Can please suggestion on the same
    Reagrds
    vamsi

  • Attach document while posting invoice in FB60

    Hi Sap Experts,
    I was out of luck finding a solution in this forum for one of the issue. Can we attach the scanned copy of invoice before posing or parking the invoice thru FB60. I knew its possible after parking the document, but my concern is it possible before parking or posting.
    Some experts referred to use Document Management System, i dont have any idea how complex it is, I was wondering is it too complex or can it be done.
    Or is there way without DMS for attaching the document.
    My requirement is if there is any invoice without PO, it needs approval before posting. The approver would look at the invoice and if its approved it would be posted. How can this be handled in SAP.
    Thanks in advance
    Best Regards,
    gj

    Deepak
    What is proposed work around in this case?
    Which are those t-codes where documents could be attached even without DMS implementation?
    Thanks.
    Vimal

  • Error message while posting of miro document.

    Dear All
    While making posting of parked miro document following error msg coming u201CPlanned Delivery cost for PO u2013 7777777 , 00010 incorrectly defined. u201C
    Pls. solve this issue.
    Regards,
    Vishal Kr. Sharma

    Hai,
    This problebm is software problem.u send it to sap authorities they can send a software .u can implement it, to post the document.
    Regards,
    V.Ramakrishnaparamahamsa
    sap mm consultant

  • Tax statement item missing for tax code A0 - error while posting in MIRO

    Hi,
    At the time of MIRO, I am inserting P.O. and simulating the doc. However, at the time of posting the system is throwing the below mentioned error :
    Tax statement item missing for tax code A0 (0% Input Tax)
    Message no. FF805
    Diagnosis
    No tax item exists for tax code A0 in a G/L account item. A possible cause is an incorrect transfer of parameters by the application to the Accounting interface.
    Procedure
    Enter an OSS message.
    Request you to help me resolving this error
    Thanks in advance
    Sagar
    Edited by: Sagar Padhye on Nov 5, 2009 11:30 AM

    Hey K.R.
    a) Are you able to post transaction through Accounts payable using the same tax code ? - YES
    b) in Miro are you able to use any other tax code and post the document ?- NO
    I have created other tax code and tried to use it in MIRO, but system throwing the same message. Is it somehow related to Tax procedure / OSS pack levels?The message Type is ERROR.
    Please confirm.
    Thanks and Regards
    Sagar
    Edited by: Sagar Padhye on Nov 5, 2009 3:51 PM

  • External Email (PDF Attachment) while PO is created or Changed

    Hi All,
    I have a requirement as below.
    1. When a PO is created / changed then saved, the PO Form is to be sent to the respective vendor through External Email along with the PO Form printout generated.
    2. The PO Form is to be attached in the Email (PDF Document).
    Please write to me if you have a suitable solution for this requirement.
    I have created the PO Form in SAPScript. Is it possible to develop the above requirement in SmarForm? Please suggest me.
    Thanks in Advance,
    Kannan.

    Since you are using SAPScript I thought this solution would be simpler. We are also using SAPScript and email all document types when necessary.
    1. As suggested before: create an output type as an email type (Same as mornal output just the value 8 for transmission medium).
    2. For ease of maintainance I copied the associated printing program to a new program and link this new program to the output type as normal.
    3. In your print program make the following changes.
    (a) include code below just before your open form. You can read the email address from whereever you have them. In this example they are read from a custom z* table ZEMAIL_TEMP . Sometimes we read them from customer master, vendor master etc.
    (b) make sure you have the folowing export parameter in your "START_FORM" Function module
         MAIL_RECIPIENT = RECIPIENT_OBJ
    4. Make sure your conversion rules are set properly. Transaction code SCOT Setting-->Conversion Rules
    SAPScript text is an OTF type. We are converting our forms to PDF so we have the following entry:
    Format = OTF     
    Format to = PDF
    Ranking = 1        
    Function Module = SX_OBJECT_CONVERT_OTF_PDF</b>
    5. The are other bells and whistles (like changing the email header) that I can happily share once/if you are happy with your solution.
    Hope I am not missing any vital info.
    Good Luck

  • Error while posting FB60 -

    Hi,
    I am getting the below error while posting Vendor invoice FB60. Please help me...
    Constant ! for Ledger ZWN00 does not contain any value*
    Message no. GLT2301
    Thanks
    Kishore

    Hi,
    May be the company code assignment to specified special purpose ledger have the real time posting.
    VVR

  • Payment Method supplement is not found while posting invoice thru' F-43

    Dear Gurus,
    I have configured Vendor Account group (OBD3) & created a vendor account (XK01).While posting thru' T code F-43,an error "Enter payment method supplement in line item 001" is found.But, payment method supplement field is not found while posting.Please solve my problem.

    hi ,
    In F-43 when you enter the document & posting date, company code, currency , And Vendor number PRESS ENTER it will take you to next screen There you can find the PAYMENT METHOD tab under invoice reference .
    hope this will help you .

  • Problem while postings a MIRO for partial deliveries.

    Hi,
    We ar facing a problem
    while posting a Miro for the Planned delivery costs for the import orders.
    when we receive an item in partial consignment of the same order.
    The system will allow for the first time to post the deliver cost, after this the MIGO and MIRO will be done and cycle will be completed.
    For the second remaining consignment, the system is not allowing to post the Miro itself for the delivery costs.
    IT is giving an error message."Quantity invoiced greater than goods receipt quantity."
    We have disable GR based IV in PO
    Provide me the solution.
    Sunil

    hi,
    i hope you have done the following steps
    1) for import do MIRO first for the custom duties ( CVD, Edu Cess, S& H Cess on CVD) by selecting planned delivery cost.
    2) J1IEX ( capture) referencing material document number of MIRO.
    3) MIGO of the qty received.
    4) J1IEX ( post).
    follow the same steps for the next consignment.
    what I see is that you have mentioned the full qty against the value in MIRO.
    say ur PO qty is 10 and your partial shipment is of qty 5.
    then in first MIRO entry enter qty as 5 not 10.
    pl check your material documents of MIRO and MIGO and see what qty you have entered.
    Thanks and regard
    Rajesh

Maybe you are looking for

  • My computer uses Windows XP. Can I use new Firefox? It is not specifically listed as being compatible.

    New Firefox sounds great, but I have no plans to install Windows 7 in place of the Windows XP my computer currently uses. Your information on the new Firefox and its features makes no mention of Windows XP, whether or not the new Firefox is designed

  • Response.sendRedirect doesn't work

    Hi, I implemented the post authentication class. I added some code to the onLoginFailed method and i am trying to redirect user for my own page and not the standard error page of opensso (IdP). When using response.sendRedirect("/my_page") i got an er

  • Advantages of ESS and MSS

    Hi All, What all the advantages for implementing ESS and MSS to the company? Regards, Sita

  • Proxy message: suspect TcpConnection

    Dear support users, I have received 2 information messages in the proxy log file I never saw before: - Extend*TCP has marked TcpConnection(...) as suspect: The connection has fallen 1 messages (... bytes) behind; the threshold is 10000 messages or 10

  • Can I delete my Console Log and be safe ?

    Here's the file path " Macintosh HD/Library/Logs/Console/501/console.log.2 " for some reason this file "console.log.2 " is 31.33 GB in size Would it be safe to delete it ? Thanks Greg Mac Pro   Mac OS X (10.4.10)