Idoc for tcode MIRO ( invoice Posting)
Hi Experts!
I have to Post inbound idoc file to MIRO transaction.
Is there any standard inbound idoc for this purpose.
can you help me out with this
thanks
Hello!
Please, look at the INVOIC02 idoc.
Regards,
Albert
Similar Messages
-
BAPI for Non PO Invoice posting?
Hi Experts,
I am posting invoices using BAPI_INCOMINGINVOICE_CREATE. These invoices have POs associated with the Item Details. This is working fine for me.
I want to post invoices that DO NOT have a PO. Can someone please point me to a BAPI that is similar to BAPI_INCOMINGINVOICE_CREATE in functionality but does not require a PO?
Thanks,
- Vik.I too was looking for a BAPI for non PO invoice posting. I found that the above counsel did not work for me. Instead of creating a buyside invoice, it just created a journal entry. What DID work for me was BAPI_ACC_INVOICE_RECEIPT_POST.
Below, I am pasteing the subroutines that I created for its calling. In it, for my purposes, only the invoice amount is parameter driven. My needs allowed all other BAPI parameters to stay the same.
I hope that this helps someone.
Donald Nigro
FORM create_buyside_invoice USING value(invoice_amt) TYPE p.
DATA:
gd_documentheader LIKE bapiache03,
it_accountpayable LIKE bapiacap03 OCCURS 0 WITH HEADER LINE,
it_accountgl LIKE bapiacgl03 OCCURS 0 WITH HEADER LINE,
it_accounttax LIKE bapiactx01 OCCURS 0 WITH HEADER LINE,
it_currencyamount LIKE bapiaccr01 OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA:
wa_obj_key(20) TYPE c.
fill header
gd_documentheader-username = sy-uname.
gd_documentheader-header_txt = 'E-Payables Invoice'.
gd_documentheader-comp_code = 'EAUS'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
gd_documentheader-doc_type = 'KR'.
CONCATENATE 'BOA' sy-datum sy-uzeit(4)
INTO gd_documentheader-ref_doc_no.
fill AP (line 1)
it_accountpayable-itemno_acc = 1.
IF sy-sysid(3) = 'DEV'.
it_accountpayable-vendor_no = '0600013370'.
ELSE.
it_accountpayable-vendor_no = '0600009022'.
ENDIF.
APPEND it_accountpayable.
fill GL (line 2)
it_accountgl-itemno_acc = 2.
it_accountgl-gl_account = '0001112227'.
it_accountgl-comp_code = 'EAUS'.
it_accountgl-pstng_date = sy-datum.
it_accountgl-fisc_year = sy-datum(4).
it_accountgl-fis_period = sy-datum+4(2).
it_accountgl-bus_area = '0100'.
APPEND it_accountgl.
fill currency ammounts for lines 1 & 2
it_currencyamount-currency = 'USD'.
it_currencyamount-itemno_acc = 1.
it_currencyamount-amt_doccur = invoice_amt * -100.
APPEND it_currencyamount.
it_currencyamount-itemno_acc = 2.
it_currencyamount-amt_doccur = invoice_amt * 100..
APPEND it_currencyamount.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_CHECK'
EXPORTING
documentheader = gd_documentheader
TABLES
accountpayable = it_accountpayable
accountgl = it_accountgl
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return.
PERFORM invoice_error_check TABLES it_return.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
EXPORTING
documentheader = gd_documentheader
IMPORTING
obj_key = wa_obj_key
TABLES
accountpayable = it_accountpayable
accountgl = it_accountgl
accounttax = it_accounttax
currencyamount = it_currencyamount
return = it_return.
PERFORM invoice_error_check TABLES it_return.
COMMIT WORK.
WRITE: / 'ePayables Bank of America'.
WRITE: / ' Invoice Document Number:',
wa_obj_key(10).
ENDFORM.
Form invoice_error_check
FORM invoice_error_check TABLES it_return STRUCTURE bapiret2.
DATA:
bapi_success(5) TYPE c VALUE 'false'.
LOOP AT it_return.
IF it_return-type = 'S' AND bapi_success = 'false'.
bapi_success = 'true'.
ENDIF.
ENDLOOP.
IF bapi_success = 'false'.
WRITE: / 'Unable to post a buyside invoice with',
'BAPI_ACC_INVOICE_RECEIPT_POST'.
LOOP AT it_return.
WRITE: / 'Message Type: ', it_return-type,
/ 'Message Class: ', it_return-id,
/ 'Message Number: ', it_return-number,
/ 'Message: ', (80) it_return-message.
ENDLOOP.
ROLLBACK WORK.
STOP.
ENDIF.
ENDFORM. -
MIRO - Invoices posted against a Purchase Type
Hi Experts ,
My client needs a report of MIRO - Invoices posted against a Purchase Type. Can I get this from a standard report.
Thanking you in Advance,
ArabindaHI<
report ME80FN execute report and select change icon and then select PO history you will get report PO-MIGO-MIRO
or
MIR5
or MIR6
or try MIR4
or table in se16n t-code RBKP and RSEG
EKBE
Regards
Kaials Ugale -
Outbound output type & Idoc type for MIRO (Invoice Posting)
Hi Gurus,
I have requirement like , I want to send the outbound IDoc to a external system containg the invoice detials after Saving in MIRO.
I am not able to find any output type & Idoc type for the same.
By going through varios threads , I found that there tell there is no Idoc type & output type for sending Idocs after MIRO.
Kindlt let me know, if it so, or how this req can be fullfiled by other ways.
Thanks
AmreshHi,
Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
Regards,
Ashok. -
Standard IDocs for Inbound Sales Invoice
Hi All,
Beginner in the forum.
I have a requirement to develop an IDoc interface for Sales Invoice. I am not sure about the Basic IDoc Type, Message Type and Inbound Function Module to be used.
I can see Basic Types INVOIC02/01 and Message Type INVOIC. And the Function Modules IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM assigned in WE57. As my requirement is in SD perspective, I am little confused which one to use.
Any pointer would be helpful.
Thanks in Advance,
KhanshiSales invoices are generated referencing existing orders and deliveries through VF01 or VF04. Most if not all data for creating the invoice comes from the existing order/delivery documents (except may be freight costs etc which are know only during invoice time). So there is no standard IDoc (as most data for creating sales invoice is already there in SAP in the form of reference delivery/order) to create a Sales invoices. Sales invoices created through VF01/VF04 are outbound and can trigger INVOIC message type IDoc through IDOC_OUTPUT_INVOIC which is sent from SAP to the customer for billing purposes.
The IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM are for creating inbound vendor FI invoice (like that created by FB60) and MM vendor invoice (like that created by MIRO) respectively.
If you want to create a sales invoice through BAPI the below modules are available but I am sure there isn't a standard IDoc function to post a inbound INVOIC IDoc to customer/sales invoice. These BAPIs will of course require you to input the reference document (delivery or order) to create the invoice.
BAPI_BILLINGDOC_CREATE
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_BILLINGDOC_CREATEMULTIPLE
Best regards,
Vishnu Tallapragada -
Downpayment clearing for opentext automatic invoice posting
Hello everyone. My client is using OpenText VIM ( Vendor Invoice Management ) for incoming invoices. VIM automatically triggers FB60 (in case of PO invoice) & MIRO ( In case of PO invoice ). The invoice posting happens automatically in the background which doesn't allow automatic vendor downpayment clearing against these invoices ( done my a 'down payment clearing' push button in normal circumstances in MIRO when posting the invoice manually ). My client doesnt want to use F-54 for downpayment clearing after MIRO. Many of your clients now-a-days would be using automatic invoice posting , how are you guys managing the automatic downpayment process. I would really appreciate any kind of help. Thanks in advance
IN A090 metioned the account under down payment clearing account field.
-
Idoc for Customer to Customer Posting
Hi
I want to upload finance data in SAP using IDOCS through XI
I'm using the following idocs
1) GL to GL Posting ........ ACC_GL_POSTING01 (Accounting: General G/L Account Posting)
2) GL to Customer Posting ..... ACLREC01 (Posting in accounting: Billing document)
3) Customer to Customer posting ......... ?
Which idoc should be used for Customer to Customer posting ?
I want to Debit one Customer & Credit the other Customer.
Please Suggest
Regards
AbhijitHi ,
You can try this question in the ABAP Help instead in XI , So that you may get more help
Regards,
Jude -
Hi GURUs,
1. I want to know whether there is any IDOC availlable for TCODE : F110 (payment run).
2. After payment run i want to download the file in text format ,so is there any way to download the file by using IDOC.
Thanks for your help.For this take the ABAPer help.
1st: For 1st payment method, create one BDC program with all details and the parameters will be constant except the "Run date" and "Next payment date". In TCODE:SM36, you can schedule job at specific time. In that job give this BDC program name.
Once you do the payment run system automatically, clears the Vendors
Data to Bank server is possible using the IDoc - ( take the help of ABAPer in developing this IDoc) using the Automatic Job scheduling the IDoc, you can maintain this after completion of the above job. Before to this get the data to be sent to the Bank Server in a template format with SAP field mapping.
2nd: As this payment method requires the authorisation, you can go by manual execution of the IDoc , instead of the Automantic job scheduling.
3rd: Same like 1st..but the day of execution will deferrs...(ABAPer will take care of it)
Disadvantages:
- in the BDC program you have to hard code the number range
- you can't have an option to block / release the block using the edit proposal option
- IDoc creation depenedency should based on the volume of the payment documents: means after how much time this IDoc job scheduling should happen
Re: Automatic scheduling of the automatic payment programme -
Idoc for tcode fb50 : enter g/l account
Please help to create idoc for fb50 transaction.
i do not hav emuch idea about idoc..so also mention link to read about it.
i am generous in giving points...so help is most welcome!Hi,
Please try to use IDOC type ACC_GL_POSTING01. This posts to a G/L account and does an FB* transaction.
Please read the documentation for this IDOC type in we63. I am sure there will be many others who will post all relevant links to IDOCS. But for a start, please look at
www.sapgenie.com
help.sap.com
and search SDN for IDOC blogs as there are quite a few available here.
pls reward all useful answers.
Thanks
Ganesh.S -
Two FI documents for one MIRO invoice
Hi,
I would like to now why for some invoices SAP generates two FI documents. For example: I got two FI docs. generated to one invoice, first document has normal line items like almost all FI docs for MIRO invoices but the second one has just two items and it looks like FI document generated in MR21 transaction.
Why system additionally generated price change document ?
regards,
Rafał PojdaHi
Check in OMR4 - document types in invoice verification - for transaction MIRO - any additional document type has been maintained. If there is any material revaluation then you can see two separate documents -one for IV and another for revaluation.
Thanks -
IDoc for PO / Confirmation / Invoice ?
Hi,
I have few questions and would be glad if someone answered
thanks in advance
1. Can someone leme know the IDoc outbound for PO creation (is it ORDERS01, ORDERS05 only) and IDoc outbound for Remmitance with their names.
2. I need to know if any IDoc outdound is there for PO change / Delete. (ORDERS02, ORDERS04)
3. I need to know the IDoc inbound for PO confirmation and Invoice (is it INVOIC01 only)
4. Is there any IDoc for ASN (Advanced Shipment Notice)
5. Comapred to BAPI and IDoc, which one is better in terms of returning real time error?
6. Does BAPI and IDoc support attachement (if atall there was an attachment to the PO or Invoice)
7. Does attachment needs DMS configuration.
thanks folks,
DeeHi Dee,
first of all, welcome to SDN! Sorry, this is the wrong forum for your question, the experts in the <a href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode2-3&contenttype=url&content=https%3A%2F%2Fforums.sdn.sap.com%2Fforum.jspa%3FforumID%3D50">ABAP forum</a> will probably help you.
Regards, Stefan -
MIRO Invoice Posting Line Item Not Available
Dear Gurus,
I am trying to post a PO Invoice. There are 10 line items in the PO but two of them does not appear in the list of line items when trying to post the invoice by entering the PO number in MIRO.
There is no prior invoice exist in the PO so all 10 line items are open and should show up while processing the invoice.
I checked those 2 line items which do not appear and nothing seems to be unusual about them. Do you know what could be the reasons?Hi ,
Is it a GR based IV - check the same in the Po.
Secondly if yes then you will have to have GR for processing the same , in case if the same is put as a mistake then remove the tick from the Po using the T code ME22n and if there are release strategy then you will have to revoke them using the T code ME29n .
Regards ,
Dewang. -
Outbound EDI IDOCs for G/L document posting
Hi All,
I'm trying to generate outbound IDOCs from G/L documents (FB70, FB75 transactions).
Of course INVOIC IDOC type does not work for this.
Does anybody know which is the IDOC type for G/L documents?
Really appreciated any help.
Thanks and regards!
Beatriz Balones
SD and MM Senior ConsultantHi
it means you can use this document type only if you post the document by B.I (It's special usage).
This characterist is setted in customizing (trx OBA7).
You should choose another document type or change that configuration if you think it's wrong.
In my system the flag "Batch Input Only" for SA is space.
Max
Message was edited by: max bianchi
Message was edited by: max bianchi -
BADI INVOICE_UPDATE for tcode MIRO
Hi
May I request you to kindly help me about implementing the BADI INVOICE-UPDATE . I do not know how to implement BADI , it will be great help for me if you can please suggest the steps involved .
We want to implement the BADI , to change the invoice party from Account Payable to post to GL account during MIRO. Your great help is appreciated.
Regards
Kang RingHi,
At first you can go to trasaction se18, and there u can display this Badi, please go through the documentation of this badi, whic in turn will help you to understand what this BADi about, what are the restrictions etc...
Now in order to implement Badi , go to trasaction Se19, and create a Z- implementation. Put some break points inside each methods and activate the implmentation.Now try to excecute the transaction, control will go through the methods and by that way you can came to a conclusion that in which method you have to write your code.
Once every thing is ready activate the implementation.
I think this info will help you to a certain extent, if you need detailed info let me know.
Regards,
Antony Thomas -
How to trigger FIDCCP02 idoc for outbound vendor invoices?
Hi
1. How can i trigger the idoc FIDCCP02 for outbound processing? I am trying to use this idoc to send the vendor invoice data to another system.
2. How do i send existing data from sap to another system thru idocs?
pls give me the steps.
Regards
SujaiHi Sujai,
First you have to fill the your data into a table which is like the structure of EDIDD.Here you have to fill the all segmetns in the sequence which defined in the idoc type only other wise you will get error 26.
Then pass the control record data in the structure like EDIDC here you have to fill the sender,receiver,partner profile,idoc type message type like stuff.
Then pass these table and structure to the function module MASTER_IDOC_DISTRIBUTE.
Then idoc will created by above funciton module.
If you want pass data in xml format then you have to create xml port in we21 and pass this port name in the EDIDC structure.
Thanks,
radha.
Maybe you are looking for
-
HT201456 Mac Mini OS X 10.10.1 VMware Fusion Bootcamp 5.1 driver
I have a mac mini 5.2 with OS X 10.10.1 and VMWare Fusion 7.01 (no BootCamp Mac OS / Windows dual boot, the Mac Mini boot only OS X !!) and run multiple virtual windows machines on it. If I want to mount a CD into a virtual Windows 8.1machine, I ge
-
Magsafe Adaptor Broken, Again.
My last magsafe adaptor broke, and I got it replaced for free (Out of warranty) due to it having a known problem. Now, the replacement in just over 4 months has given away, and won't charge. It's the exact same thing that happened to my last Magsafe
-
Promotedlinks Launch behavior -Dialogue is not working in sharepoint2013
Hi, Promoted Links lanuch behavior -"dialogue" is not working. page-navigation and new tab is working fine.Only issue with Dialogue. i am getting the follwing error when i am selecting dialogue. Please guide me on this. Thanks in advance
-
Is anyone able to play the powerpoint presentation on this update of the os x ?
i am not able to play the powerpoint presentation on my new update of mac os x .
-
Hi : I want to build a Text Query Application which bases on Oracle interMedia Text. Besides some default languages the interMedia supports (English, French ...), I need index on my own language document. When I refered to the Oracle Text Reference,