Parameters for IDOCs - Incoming Invoices
Hi All,
We are able to post Incoming Vendor Invoices(T. code : MIRO) thru IDOCs. We would like to extend the functionality for Credit memos in Logistics Invoice Verification (LIV) as well.
Request you to provide us the changes/parameters, which we would need to make to achieve desired functionality
Thanks & Regards,
Anji
Hi Anji,
Would you pls give the idoc names for Invoice posting & Credit memo postings.
Regards
Basavaraj Patil
Similar Messages
-
BAPI for MIRO Incoming Invoice
Hi All,
I want BAPI for MIRO Posting ie for Incoming Invoice.
.here MIRO is being done with Delivery Note number
Following are the necessary entries for MIRO Posting
Invoice date
Reference
Amount
Calculate Tax
Tax amount
Delivery Note
Vednor
Business Area
Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
immediately.Please give some sample code for my reference.
Rewards will be given.
Regards.
UlhasHi,
BAPI for Invoice Verification: Post Invoice
BAPI_INCOMINGINVOICE_CREATE
The method can only carry out your function if no error messages were
generated in the Return table. This is the case if the header data and
all the items were processed successfully.
Transaction control is not implemented. The calling program therefore
has to execute the Commit Work itself after this method has been
successfully called (in other words, if no errors were reported in the
Return parameter). -
Can we Use T Code MIRA instead of MIRO for posting incoming invoice?
Hi All,
Can we Use T Code MIRA instead of MIRO for posting incoming invoice?
While trying to post a incoming invoice using MIRO, I am getting a error "HKONT is EMPTY". But when using MIRA i could get the invoice posted.
And in which situations we use MIRA?
Thanks in Advance
Gopi KrishnaHello
MIRA is for Invoice Verification in the Background
Purpose
This process is suitable for the following transactions:
Posting invoices with mass amounts of data for which no item check is required
Posting invoices referring to transactions not yet entered in the system
Entering Invoices for Verification in the Background (Without Item List)
When verifying invoices in the background, you enter only a small set of document header data, such as the invoice amount, the currency and the tax information. You also allocate the incoming invoice to a purchasing document or a vendor. The system saves the data and allocation criteria you enter.
At a later point, the system verifies the invoice in the background. It uses the allocation criteria you entered to determine the item list. It then calculates the net total from the item list.
If the net total = gross amount invoiced - tax amount (+/- tolerance), the system posts the invoice in the background.
If the net total ¹ gross amount invoiced - tax amount (+/- tolerance), the system does not post the invoice in the background. It saves the document header data and the items determined in the background; the saved document then has to be processed manually in Invoice Verification.
With Invoice Verification in the background, the system does not check for any quantity or price differences at item level. Since you do not enter any actual invoice item data, the system uses the default data for comparison.
Regards
Gregory Mathews -
ERROR TRIGGERING DEFAULT METHOD FOR OBJECT (INCOMING INVOICE).
When trying to open invoices in my ERP inbox to authorise I get the following message.
ERROR TRIGGERING DEFAULT METHOD FOR OBJECT (INCOMING INVOICE).
. There might be an authorisation issue. but i am not confirm.
I have checked the authorisation in SU53 also.
is it possible that there is some other reason for it.
If so then what are they?
please help.Hi Naval,
Is it a custom business object....make sure that the status of all object components are set to Implemented or released..and regenerate the Object...
Thanks
Srinivas -
Populating value in idoc segment E1EDP02 for INVOIC01- incoming invoice
Hi Friends,
I am working to get the incoming freight invoice posted to MIRO, using
IDOC : INVOIC01
message type: INVOIC
process code: INVL
function module : IDOC_INPUT_INVOIC_MRM
Vendor does not send the PO number only send the bill of lading number(shipment number). So i have customised the IDOC with one segment for getting bill of lading number. My requirement is get bill of lading number and then get PO no and populate into segment E1EDP02. I am not able to populate this field and hence each time the IDOC fails with message :
Required field BELNR(001) is missing in segment E1EDP02
Required field ZEILE(001) is missing in segment E1EDP02
Please tell me how to get this field populated and get the issue resolved. I have been trying to figure out for couple of days but no success OR My approach is incorrect for posting invoice to MIRO with populating field segment.
Please suggest.
Thanks
DeepakThanks everyone for getting the issue resolved. I have implemented implicit enhanencement and before the function module strarts procesing, I loop over segments and fill up the PO number to E1EDP02 for bill of lading number. There was also a case of error handling for IDOC. That is to check if the amount sent by vendor is correct as compared to the amount on the shipment cost docuemnt, if they dont match then I need to send an email to the business informing them for bill of lading number and amount. There is also another check to find out if the bill of lading number has already been invoiced, if invoiced I again need to inform the business user.
So keep all the requirements in mind I went with Implicit enhancement, thus populating the required segment and if the validations fail for amount or invoice document already generated, then I send the mail to business with bill of lading number and reason of failure. In such case IDOC is not executed and after sending the mail, the logic exits out of function module.
I -
Extractor for RSEG incoming invoice table
Does anyone know if there is a standard extractor that includes incoming invoices from table RSEG? Also is there documentation somewhere on all of the standard extractors?
Dorothy,
I'm looking for the same extractor. Have you found the answer in the meantime?
Thanks,
Sigal. -
Tax Jurisdiction code for EDI Incoming invoice
Hi,
We have implemented EDI incoming invoice using INVOIC02. The process code is INVL.The invoice is to be posted against a Purchase Order line item. It is noticed that the EDI invoice is not getting the Tax Jurisdiction code from the Purchase Order line . Instead the Tax Juridiction code is copied from the company code. However when we post the invoice manually using MIRO , then the Tax Juridiction code is copied from the Purchase Order. We understand that the system should take the Tax Jurisdiction code from the Purchase Order even for EDI invoices. Is it compulsory that we have to use the user exit EXIT_SAPLMRMH_014 in order to populate the Tax Jurisdiction code field TXJCD from the Purchase Order line? or is there any config required to enable the transfer of Tax Juridication code from the Purchase Order? In transaction OBCE there is a config to transfer the tax jurisdiction code supplied by the external vendor. If we do not check that box , then system is supposed to get the tax jurisdiction code from the Purchase Order.
Thanks
SukumarThe issue is resolved through OSS Note 506343. In the standard R/3 system, the tax jurisdiction code can't be written to invoice via EDI and only the Ship To Plant's Tax Jurisdiction Code is written to the invoice.
Regards
Sukumar -
Hi, I need to use EXIT_SAPLMRMH_015 or EXIT_SAPLMRMH_014 to reset the Posting Date of an incoming invoice. I can see from other threads that this should be possible but I cannot get it to work. Please could someone who has done it let me have some sample code.
Thanks a lot.Hi,
Check the below link.
customer exit EXIT_SAPLMRMH_015
Thanks, -
Hi all,
I need to add a value in a custom IDOC segment for INVOICE. The IDOC basic type used is INVOIC02. Is there any user exit which I can use to populate the IDOC data? Any help will be greatly appreciated.
Thanks,
LalynHi Lalyn,
I do not have an exact code for this.
But just go through the following code, where we are doing some validations in the segments.
Code below this line was to exclude ZRTN materials for which Subtotal 2 (KZWI2) is zero. And,
this is done for billing types:
ZEXP,
ZXAD,
ZXDR,
ZXL2,
ZXG2,
ZXPT.
IF INT_EDIDD-SEGNAM = 'E1EDS01'.
ZE1EDS01 = INT_EDIDD-SDATA.
IF ZE1EDS01-SUMID = '001'.
Start deleting when on 1st E1EDS01 segment
DESCRIBE TABLE INT_EDIDD LINES POS.
LOOP AT XTVBDPR.
CLEAR MARA.
SELECT SINGLE MTART MATKL FROM MARA INTO "DV2K920646
(MARA-MTART,MARA-MATKL) "DV2K920646
WHERE MATNR = XTVBDPR-MATNR. " Find material type MTART
IF XVBDKR-FKART EQ 'ZEXP' OR XVBDKR-FKART EQ 'ZXL2' OR
XVBDKR-FKART EQ 'ZXAD' OR XVBDKR-FKART EQ 'ZXG2' OR
XVBDKR-FKART EQ 'ZXDR' OR XVBDKR-FKART EQ 'ZXPT'.
IF MARA-MTART = 'ZRTN' AND XTVBDPR-KZWI2 EQ 0
AND MARA-MATKL <> 'KEGS DM'. "DV2K920646
MOVE XTVBDPR-POSNR TO POSNRS-POSNR.
APPEND POSNRS. " Store ZRTNs to be deleted
ENDIF.
ENDIF.
ENDLOOP.
DESCRIBE TABLE POSNRS LINES COUNT.
Reduce the number of line items by the number of them to be deleted
ZE1EDS01-SUMME = ZE1EDS01-SUMME - COUNT.
SHIFT ZE1EDS01-SUMME LEFT DELETING LEADING SPACE.
INT_EDIDD-SDATA = ZE1EDS01.
MODIFY INT_EDIDD INDEX POS TRANSPORTING SDATA.
LOOP AT INT_EDIDD INTO IEDIDD. " Loop and delete if in POSNRS
IF IEDIDD-SEGNAM = 'E1EDP01' OR IEDIDD-SEGNAM = 'E1EDS01'.
CLEAR DELETE_FLAG.
Reset delete_flag when on next line item or done with all
ENDIF.
IF IEDIDD-SEGNAM = 'E1EDP01'.
ZE1EDP01 = IEDIDD-SDATA.
READ TABLE POSNRS WITH KEY POSNR = ZE1EDP01-POSEX.
IF SY-SUBRC EQ 0.
DELETE_FLAG = 'X'.
Set delete_flag if the line item is to be deleted
ENDIF.
ENDIF.
IF DELETE_FLAG = 'X'. " Delete the line item fully
DELETE INT_EDIDD.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
At this function module, you have to create an include and write your code.
But remember, before that you have to extend your basic type.
Hope it will help you.
sailesh -
Hi All
I am trying to test the IDOC CLFMAS02 but do not know the parameters that needs to be passed.
Kindly let me know what are the parameters that needs to be passed to different segments.
Below are the segments that are present
E1OCLFM
E1KSSKM
E1AUSPM
E1DATEM
E1UPSLINK
Thanks in advance
RegardsE1OCLFM-MSGFN =
003 Delete: Message contains objects to be deleted
004 Change: Message contains changes
005 Replace: This message replaces previous messages
009 Original: First message for process
023 Wait/Adjust: Data should not be imported
018 Resend
E1OCLFM-OBJEK = AUSP-OBJEK
E1OCLFM-KLART = AUSP-KLART
E1OCLFM-MAFID = AUSP-MAFID
E1KSSKM-CLASS = KLAH-CLASS
E1KSSKM-STATU = KLAH-STATU
E1AUSPM = AUSP table data
E1DATEM = date details
E1UPSLINK = "I didn't use it" -
Find accounting document for deleted incoming invoice document
Hi all,
I have few ncoming invoice documents which were deleted. those documents i can see in RBKP table.
I want to trace the accounting documents for those deleted documents.
Can any one help me to find the accounting documents for deleted documents.
thanks in advance.Hi,
this might give you an idea:
data: l_belnr like bkpf-belnr, l_gjahr like bkpf-gjahr.
clear: l_belnr, l_gjahr.
data: l_string(20) type c.
clear l_string.
data: l_belnr_2 like bkpf-belnr, l_gjahr_2 like bkpf-gjahr.
clear: l_belnr_2, l_gjahr_2.
select belnr gjahr from rbkp into (l_belnr, l_gjahr)
where rbstat = '2'. "Status = deleted
concatenate l_belnr l_gjahr into l_string.
select single belnr gjahr from bkpf into (l_belnr_2, l_gjahr_2)
where awkey = l_string.
write: /'FI', l_belnr_2, l_gjahr_2, 'MM', l_belnr, l_gjahr.
endselect.
Note that the key here is AWKEY.
Best regards.
Edited by: Pablo Casamayor on Apr 13, 2009 3:03 PM -
No error for imbalance incoming invoice
Dear Guru,
This issue in IR (MIRO)
GR amount is 1.48
Tax amount : No tax (V0-Input tax - 0%)
Amount : 1.55 entered in basic data
Balance : 0.07 MYR
As per my understanding, error (red button) will prompt if the balance is not 0.00 in balance field. In this case green button prompt & no error prompt. The balance shows is correct (1.55-1.48=0.07) & it suppose show error if it's not balance but it doesn't happen. This issue found in test system. Appreciate if you assist me to resolve this issue. Thank you.
rgds,
nanthaHi
If tolerance group for company code is 0001 then maintain the same group in Vendor master record payment transaction tab (for IV). Then if the payment difference (between invoice line item and invoice amount in header) is not with in limits specified for that tolerance group system issues an error message (message number M8/534).
Please see the help note:
*1. The system determines the difference between the net invoice amount (= gross invoice amount less taxes and unplanned delivery costs) and the net total of the items.
If the net invoice amount is the greater, the difference is positive; if the net invoice amount is the smaller, the difference is negative.
2. Negative differences:
a) If the negative difference is smaller than the absolute negative small difference limit defined, the system generates a posting to a small differences account for this difference.
b) If the negative difference is greater than the absolute small difference limit defined, the system checks if the absolute difference is smaller than the lower of the absolute and percentage lower limits.
If this is the case, the system creates a posting to a small differences account.
If this is not the case, the system cannot post the invoice*
It the difference is more than the tolerance value (either negative or positive - if it is more than the absolute limit or % value - * in local currency*) then system issues an error message. Just try to enter an invoice with difference value more and see the difference. Before that maintain tolerance key in VM otherwise system will not propose any debit/credit message.
Thanks -
FIeld selection for MIRO Incoming Invoice
HI,
Iam creating invoice entry (MIRO). After entring purchase order number i will get all the GRN against that PO.
But iam getting all the fields with not necessary. pls tell what is the path in SPRO setting to select filed selection.
Regards
SunilHi
Please check the Tcode OLMRLIST . Here you can make fields mandatory/display/optional. You need to select transaction MIRO with appropriate screen variant and have to search for juridiction code , make it optinal.
Else check the GL code used for the particular line item and check if tax data is made mandatory for that.
Cheers
Mukta -
HTTPS for posting incoming Invoices
Currently our vendors are using HTTP to post XML invoices to our XI server. But one of our vendor cannot use HTTP, they have to use HTTPS. So what should we do in our system so our vendor can post invoices to XI server by using HTTPS? do we need do extra settings in XI?
Thanks in advance!
MrudulaHi Mrudula
Check this thread
HTTP Adapter with SSL/HTTPS
cheers
Sameer -
Hi
Can anyone tell me, what inbound function module should be given for Idoc type INVOIC.
ThanksHi Niranjana,
Check the function modules IDOC_INPUT_INVOIC_FI,IDOC_INPUT_INVOIC_MRM and IDOC_INPUT_INVOIC_MM
Regards,
Soumya.
Maybe you are looking for
-
I bought an iPhone 5 from the Apple store with a new Sprint contract in Sept. 2012. I would like to know if I port my number to T-mobile and pay off my Early Termination fee with Sprint, will my iPhone 5 will be unlocked to use with T-mobile network
-
My iMac won't recognise new DVD's
Post install of latest Lion updates (10.7.3(11D50), both my iMacs will no longer recognise new DVD's or CD's but will read previously recorded disks - Can anyone advise what I should do here?
-
YouTube pace holder remains after placing the correct video link. Please help
After placing the YouTube widget, I get a YouTube place holder. Then when I change the URL for the video I need to display, the YouTube place holder remains and it does not show my video. This does not happen when I do a Vimeo video. Please help
-
Hello all, I have read these forums with a passion for the past couple of weeks seeking a way to fix my problem by myself. Basically what happened was, I was moving something and I accidently unplugged my computer. I plugged it back in, started it up
-
Employee No. is appearing as 00000000 in all services in portal
Hi, For a particular employee, in all the services of portal , the employee no. is appearing as 00000000. Most of the settings both in ECC and Portal has been checked. This is happening only for one particular no. Please help.