Planned delivery cost posting in MIRO through IDOC_INPUT_INVOIC_MRM
Hi Experts
I came to know from the OSS Note 119092 that the planned delivery costs can not be posted for logistics(MM) incoming invoice throgh inbounf Function Module IDOC_INPUT_INVOIC_MRM.
I just want to know whether this problem is rectified in ECC 6.0 or still this problem exists?
Awaiting for your earliest response.
Regards
Mohamed
Hi,
There is a modification note that is released.
1386272 EDI: Planned delivery costs..
If you require this functionality please raise a message with SAP..
Since this is a Pilot note release for few customers.
regards,
Lalita
Similar Messages
-
Condition category B,F and planned delivery cost indicator in MIRO
hi,
i would like to clarify the linking between condtion category and planned delivery cost indicator in MIRO.
1) if in PO, i have condition type where category is B(delivery cost) or F(freight), then during GR, system will credit freight/customs clearing account. subsequently in MIRO, i have to choose planned delivery cost indicator when create invoice, correct?
2) if my PO has no condition type where category is B or F, i do not have to choose planned delivery cost indicator during MIRO as no freight/customs clearing account to be set off. correct?
thanksHi Eliana,
I think you are on right track. -
Planned Delivery Costs Posting in MRRL
Hello Experts,
We have ERS active in our system for regular consumprion items. These are the items where the price settled is inclusive of packing anf forwarding charges. There is no issue of LIV for these invoices.
But when in a Purchase order any other charges are loaded such as Packing, Forwarding etc. these charges fall under planned delivery costs in terms of LIV. And these charges are not captured at the time of LIV through ERS.
Does anybody aware of any userexit or SAP note which will help me capturing these charges in ERS as well.
Early response will be appreciated as I want to transfer all plant purchases' invpoice verification on ERS.
Thnaks & Regards,
Rahul Puranik.As per SAP Standard system, it is not possible to post the planned deliver cost thro' ERS or by MRRL.
-
Regarding planned delivery cost issue in MIRO
Dear SAP GURU,
we have a requirement which has been elaborated below
ME21N:- (45-1)
We have creates PO, the details are
MMR : - COPPER
QTY : - 100 KG
Unit Price : - Rs. 10 /-
Total price : - Rs. 1000/ -
FRC1 (Fright /Quantity) :- Rs.5 /- per unit. (Hence for 100 kg it will become Rs.500/-)
MIGO:-
We have done 4 GRN for one PO. For example
ME21N MIGO
5-1(20 KG)
5-2(20 KG)
5-3(20 KG)
5-4(20 KG)
5-5(20 KG)
When we have checked all the delivery charges for each grn document, we found that the system automatically bifurcates total delivery charges of Rs. 200/- into Rs. 20/- in each GRN document.
MIRO:-
1) In this level the system is not bifurcate the delivery charges at all and it showing cumulative value in the line items.
2) But for the each GRN quantity posted, can be seen in separate line item in the transaction level. For example
Existing behavior:-
Amount Quantity Reference
Rs. 200/- 20 Kg 5-1
Rs. 200/- 20 Kg 5-2
Rs. 200/- 20 Kg 5-3
Rs. 200/- 20 kg 5-4
Rs. 200/- 20 Kg 5-5
Rs. 500/- 100 kg FRC1(Condition type)
In this case the system is not bifurcating the delivery cost as per GRN wise.
Our requirement is:-
Amount Quantity Reference
Rs. 200/- 20 Kg 5-1
Rs. 200/- 20 Kg 5-2
Rs. 200/- 20 Kg 5-3
Rs. 200/- 20 kg 5-4
Rs. 200/- 20 Kg 5-5
Rs. 100 /- 20 Kg FRC1(Condition type)
Rs. 100 /- 20 Kg FRC1(Condition type)
Rs. 100 /- 20 Kg FRC1(Condition type)
Rs. 100 /- 20 Kg FRC1(Condition type)
Rs. 100 /- 20 Kg FRC1(Condition type)
Rs. 100 /- 20 Kg FRC1(Condition type)
Hence our requirement is all the planned delivery charges should be bifurcated in the transaction screen.
Conclusion:-
1) Please let me know what the configuration settings we need are.
2) If not, any suitable note available for such sceanario.Hi ,
I do not have any issue related GR quantity but delivery charges are being not bifurcated instead that it is showing the cumulative quantity or value
reagrds
praveer -
Planned delivery cost Issue in MIRO
Hi Folks
We have an issue with Delivery cost condition while doing MIRO. We recently changed pricing procedure and added a condition for fuel surcharge. We moved these changes to SAP PRD system.
When user adds additional line item (e.g. 0020) on a purchase order (That were created before these pricing schema changes were moved to PRD) forsay unplanned delivery cost and saves it with no GR.
Now the line item 0010 on PO has 3 different conditions populated in pricing. So here how my PO looks like
Line item 00010 - material X - Price (PBXX = 1000 USD)
Condition ZDS1 = 100 USD
Condition ZTLL = 75 USD
Condition ZFTT = 50 USD
Lime item 0020 - Cleaning charge = 200 USD
When I try to post MIRO for this PO, ON Miro Screen, I see following 8 items that does not make sense.
item 1 price of material Qty 1 Amount 1000
item2 Qty 1 Amount Blank ( For condition ZDS1)
Item 3 Qty 1 Amount Blank ( For condition ZTLL)
item 4 Qty 1 AMount Blank ( For condition ZFTT)
Item 5 Blank Qty Blank AMt
Item 6 Blank Qty Blank AMt
Item 7 Blank Qty Blank AMt
Item 8 This for line item 00020 Qty 1 amount 200
Do you know why is this happening by changing pricing procedureHi,
It is not recommended to change the pricing procedure in productive environment directly, when transaction documents exists with the previous pricing procedure. If you change the pricing procedure, it may lead to inconsistencies while processing existing documents with old pricing procedure.
Once you change the PO, new price determination takes place, which brought all the pricing condition types as per the new pricing procedure. The same is pulled in MIRO without value, since these conditions were not there at the time of GR. In your case, you may ignore the additional conditions in MIRO and proceed.
If you want to change the pricing in productive environment, you should proceed as explained in the note: 388112 - Change of pricing procedures in the production system
Regards,
AKPT -
Issue with reversal of MIRO for Planned Delivery Cost
Hi Xperts
We have found out an issue while reversing the MIRO document for Planned Del costs. When we have done the MIRO, the accounting entry got correctly posted with correct account keys.Conditions are not inventoried.
However, when we had reversed it - the stock account got hit.Do not understand, why that happened.Do you have any clue?
1. Suppose we have done the MIRO for Del Cost & then performed GR.Now Stock has already consumed & afterwards we have found that the MIRO for Del Cost is wrong & reverse - in this scenario shall the Stock account will get a hit????
2. I have maintained Price Control "V" in Material Master.However, I have maintained a Standard Price by mistake.In that case shall SAP ignores the MAP & takes Standard Price into account & post PRD??
Regards
SoumickHi,
Before checking Planned Delivery costs accounting documents in MIRO posting and MIRO cancellation document, 1st check how Planned Delivery costs designed for your procurement process.
Use t.code:ME23N, check your Purchase order
Option-1:
Is Planned Delivery costs added to inventory account and at the same time Planned Delivery costs posted to Separate Planned Delivery costs G/L account.
OR
Option-2:
Is Planned Delivery costs posted to Planned Delivery costs G/L account ONLY
OR
Option-3:
Is Planned Delivery costs added to inventory account ONLY.
Based the above one setting, system will post goods receipt and invoice posting document with corresponding accounting entries. Also cancellation of invoice posting document refer to these setting.But account posting depends on price control available in material master.
NOTE:
Standard price procedure (price control “S”):The system carries out all stock postings at a price defined in the material master. Variances in price are posted to price difference accounts.
Moving average price (price control “V”): The system valuates goods receipts with the purchase order price and goods issues with the current moving average price.Differences in price between the purchase order price and the invoice are posted directly to the relevant stock account if there is sufficient stock coverage.
Regards,
Biju K -
MIRO planned delivery cost and document reference
Hi
I create a purchase order with one position including the planned delivery with flag Indicator: GR-Based Invoice Verification. OK
I create the good receive with reference to purchase order: in Migo I update field xblnr Number of External Delivery Note. OK
I enter an invoice to reference to purchase order number including the planned delivery costs using transaction MIRO: SAP enter the document and in RSEG update 2 record: on first record (refer to material) the field rseg - LBRNR (material document GR) and the field rseg - XBLNR are update BUT on second position (refer planned delivery cost) the fiel rseg - LBRNR (material document GR) and the field rseg - XBLNR are missing.
I wanti to updat it. Is it possible?
TKSHelp me....
-
Hi,
I am trying to settle planned delivery cost maintained in PO through condition type - FRB1.
Also maintained tcode details in table t169f.
Did configuration in node - MM - LIV - ERS - maintained required details for the vendor
I did GR against the PO.
Now I am executing MRDC, nothing happens?
Did I miss any step?
Please revert.
Regards,
DipakHi
check this
add your freight vendor to configuration transaction: Materials Management > Logistics Invoice Verification > ERS > Specify Automatic Settlement for Planned Delivery Costs.
Regards
Kailas Ugale -
Problem with MIRO Transaction while posting Un planned Delivery cost
Hi all,
We have entered all the details including unplanned delivery cost in transaction MIRO. When we are trying to post the same by using post button directly with out simulation, system is asking for plant details.
For first time we have entered wrong Plant details , system immediately asking again for plant details.
Next time even if we entered correct plant details, the system is coming out from the screen MIRO and it is not posting the document.
If you go through simulate button and it is working fine and it is giving Warning message, If we enter the wrong Plant details.
My Client requirement is If we post the MIRO transaction including Un planned delivery cost with Post button. If we enter wrong plant details. System will through Error message, until we enter the correct plant details.
Is there any way to do this. Pl help me in this regard.
Regards,
RameshIn the MIRO T Code, U can see PO reference tab is there, Just below it there is Purchase order/scheduling agreement field is there . enter the purchase order number in blank field next to Purchase order/scheduling agreement and press enter. U can see it will take the required data automatically.
hope this helps
regards -
Planned delivery cost not updating Through Invoic02 idoc
Hi,
We are using Inbound IDOC (INVOIC02) to create invoice. The enhancement that we are looking to do is to use the indicator Goods/Service items + planned delivery costs which is seen when we manually post invoices using MIRO. Can you please let us know of any inputs in this regard.
For your information - the current functional module we are using to post invoices received through EDI is IDOC_INPUT_INVOIC_MRM and the message type is INVOIC. But this does not seem to help us in case of goods which has got a planned freight attached to it.
Thanks
ShasiHi Experts ,
Kaindly provide me your inputs ..
Thanks
Shasi -
Bapi to post planned delivery cost of a purchase order
Hi every body,
Can anybody please give me the full details of the planned delivery cost data
to post with BAPI_INCOMINGINVOICE_CREATE
what are the manditory fields,
I am using the following code , but a few are posting , remaining r not posting
but when I post the same through MIRO it is posted what is difference
this error was came
ERROR: enter good reciept data only when working with GR-based IV
REPORT ZBAPI_MIRO .
tables: ekko,ekbe,ekpo,lfa1,EKBZ,t000.
data: itemdata like BAPI_INCINV_CREATE_ITEM occurs 0 with header line,
headerdata like BAPI_INCINV_CREATE_HEADER occurs 0 with header line,
return like BAPIRET2 occurs 0 with header line,
DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
FISC_YEAR LIKE BAPI_INCINV_FLD-FISC_YEAR.
DATA:error_flag.
data: item_data like EK08BN occurs 0 with header line.
data: begin of itab occurs 0,
p_order like ekpo-ebeln,
p_item like ekpo-ebelp,
p_ctype like konv-kschl,
p_lifnr like lfa1-lifnr,
end of itab.
data: order(10) type N,
vendor(10) type N.
data: begin of it_doc occurs 0,
DOC_NO LIKE BAPI_INCINV_FLD-INV_DOC_NO,
p_order like ekko-ebeln,
end of it_doc.
PARAMETERS: fn LIKE rlgrap-filename OBLIGATORY.
DATA: FN1 TYPE STRING,
l .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fn. "p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'FN'
IMPORTING
file_name = fn.
START-OF-SELECTION.
FN1 = FN.
PERFORM upload.
loop at itab.
CLEAR: EKBZ,EKPO,LFA1,ITEM_DATA,HEADERDATA,itemdata.
REFRESH:itemdata,HEADERDATA,ITEM_DATA.
order = itab-p_order.
itab-p_order = order.
vendor = itab-P_lifnr.
itab-p_lifnr = vendor.
select single * from ekbz where ebeln = order
and ebelp = itab-p_item
and kschl = itab-p_ctype
and bewtp = 'F'.
select single * from ekpo where ebeln = order
and ebelp = itab-p_item.
SELECT SINGLE * FROM LFA1 WHERE LIFNR = vendor.
clear: item_data.
refresh:item_data.
call function 'ME_READ_COND_INVOICE'
exporting
I_BUDAT =
I_EBELN = itab-p_order
I_EBELP = itab-p_item
I_FRBNR = ' '
i_lifnr = ' '
I_XBLNR = ' '
RE_KURSF =
RE_WAERS =
I_RESWK = ' '
I_EKKI = 'X'
I_BUBIS =
RE_WWERT =
XEK08B_FLAG =
I_BELNR =
I_BUZEI =
I_READ_KRUEK = ' '
I_DISPLAY = ' '
TABLES
XEK08BN = item_data
XEK08BN_CURR =
read table item_data with key kschl = itab-P_ctype.
headerdata-INVOICE_IND = 'X'.
headerdata-DOC_TYPE = 'KR'.
headerdata-DOC_DATE = ekbz-budat.
headerdata-PSTNG_DATE = SY-DATUM.
headerdata-REF_DOC_NO = itab-P_ORDER.
headerdata-COMP_CODE = 'HPL'.
headerdata-DIFF_INV = itab-p_lifnr.
headerdata-CURRENCY_ISO = ekbz-waers.
headerdata-GROSS_AMOUNT = item_data-WEWWR - item_data-AREWR .
headerdata-BLINE_DATE = SY-DATUM.
headerdata-DEL_COSTS_TAXC = 'V0'.
headerdata-PO_REF_NO = itab-P_ORDER.
headerdata-bus_area = 'OTHR'.
headerdata-ITEM_TEXT = LFA1-NAME1.
*headerdata-HEADER_TXT = .
headerdata-ALLOC_NMBR = itab-P_ORDER.
APPEND HEADERDATA.
CLEAR HEADERDATA.
itemdata-INVOICE_DOC_ITEM = '00001' .
itemdata-PO_NUMBER = itab-P_ORDER.
itemdata-PO_ITEM = itab-P_ITEM.
*itemdata-REF_DOC = ekbz-belnr.
itemdata-REF_DOC_YEAR = ekbz-gjahr.
itemdata-REF_DOC_IT = itab-P_ITEM.
itemdata-TAX_CODE = 'V0'.
itemdata-ITEM_AMOUNT = item_data-WEWWR - item_data-AREWR .
itemdata-QUANTITY = item_data-BPWEM - item_data-BPREM .
itemdata-PO_UNIT = ekpo-meins.
itemdata-PO_PR_UOM = ekpo-meins.
itemdata-COND_TYPE = itab-P_CTYPE.
*itemdata-ITEM_TEXT = .
append itemdata.
clear itemdata.
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
EXPORTING
HEADERDATA = HEADERDATA
IMPORTING
INVOICEDOCNUMBER = DOC_NO
FISCALYEAR = FISC_YEAR
TABLES
ITEMDATA = ITEMDATA
ACCOUNTINGDATA = I_ACCOUNTINGDATA
TAXDATA = I_TAX
RETURN = RETURN.
if sy-subrc <> 0.
message e999(re) with 'Problem occured'.
else.
loop at return.
if not return is initial.
clear bapi_retn_info.
move-corresponding return to bapi_retn_info.
if return-type = 'A' or return-type = 'E'.
error_flag = 'X'.
endif.
append bapi_retn_info.
endif.
endloop.
if error_flag = 'X'.
message e999(re) with 'Problem occured'.
rollback work.
else.
Return Table from BAPI call is empty
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = RETURN.
endif.
endif.
write:/ 'Document no :', doc_no.
it_doc-doc_no = doc_no.
it_doc-p_order = itab-p_order.
append it_doc.
CLEAR IT_DOC.
endloop.
loop at it_doc.
if it_doc-doc_no = ' '.
write:/ 'purchase order not posted ' , it_doc-p_order.
else.
write:/ 'document no:' , it_doc-doc_no, 'p.order:' , it_doc-p_order.
endif.
endloop.
*& Form upload
text
--> p1 text
<-- p2 text
form upload .
CALL function 'GUI_UPLOAD'
exporting
filename = FN1
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = ITAB
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
endform. " uploadI think you need to implement user-exit EXIT_SAPMM06E_012 of enhancement MM06E005.
Look in OSS with seach term MM06E005 to get some examples.
Note310154 "ME21N/ME51N: Customer-specific check, generating error log" has some examples.
You should use the macros to set errors/warnings
Example:
mmpur_business_obj_id pt_ekpo-id.
mmpur_metafield mmmfd_partners.
mmpur_message_forced 'W' '00' '208' text-001 '' '' ''.
regards,
JG -
Tax code error while posting Planned delivery costs in Import Scenario
Hi!!!!!
I am getting on error while posting Planned delivery costs in MIRO for Import Purchase Order with zero value tax code v0. The error is
"Tax code V0 country IN does not exist in procedure ZAXINN"
For Import I defined a pricing procedure which contains all condition types for CVD, Ecess, SEcess, Additional Customs Duty and Others.
While making Import PO im putting V0 tax code. I assigned the Tax Codes to the Company code.
Please let me know what config is missing.
Regards,
DurgaIs you ZAXINN assigned to the country India
and is your taxcode (created in FTXP) created for country India?
kr
hakan -
Not to Post Planned Delivery Cost in IV before MIGO
Dear Experts,
We are maintaining the Delivery cost Condition values for different vendors in Purchase Order and we are selecting the GR Based IV check box. At the time of MIRO before making MIGO (Goods receipt) it will not allow to Post Incoming Invoice if I select Goods/Service items or both Goods/Service items & Planned Delivery Cost but it will allow if we select only Planned Delivery Cost to Post.
Kindly suggest us if anybody have the solution to restrict to Post the Planned Delivery cost before posting the Goods Receipt (MIGO).
Thanks & regards,
DhanuDear,
First u do the MIGO, After that post the Material IV with goods/service, after that u again do IV for planned delivery cost selection of Planned delivery cost.
Thanks,
If this is helpful for u then reward me. -
To someone who knows planned delivery cost very well:
I have 3 points.
1. Planned delivery cost(in PO), but like to pay other vendor(in MIRO). How?
2. Condition type for Planned delivery cost, like FRA1, FRB1,ect, have Acc. key& Accrual key like FRE, FR1 in PO pricing procedure(calculation schema), it controls dlv cost value into Mat. stock value, but we like to post those value into a expense account, it is possible by cond. type FRA1 or FRB1, how?
3. I did testing, I have impression, for cond.type of planned dlv cost, FRA1 or FRB1, SAP always credits the dlv cost value into Accrual/provision clearing account(after GR) and debit to clear the account after MIRO. Is it correct? If yes, why in condition type configuration, it has an indicator Accrual , this indicator seems to have no difference whether it selected or non-selected.
Thanks,
[email protected]1)while doing the miro,in the details tab give Inv. Party as ur other vendor code.
also at the right hand side where u can select the layout,just above it choose planned delivery cost and proceed with ur miro.
regards,
indranil -
How to know miro is planned delivery cost
hi,
any where to check eg table or report, can tell the miro posted document is for planned delivery cost.
i think most of us notice that if display miro posted document, the indicator not there. only during edit or create, indicator is there.
indicator means the goods/service item, planned delivery cost or both.
now i need to check miro posted for planned delivery cost. if ask me to check PO in miro line item, i think that would be very difficult to track.
please help.
thanksHi Dear,
You need to maintain the Account Key for the condition type in the Pricing Procedure.
and then for the same key maintain the GL account in the OBYC settings.
Hope it helps you.
Regards,
Yawar Khan
Maybe you are looking for
-
Filter print job - remove form feed
I've configured an iPrint printer to accept LPR print jobs. One of our old programs always starts each print job with a page eject (form feed). Is there a simple way to intercept the print stream and if it starts with a page eject, remove or null it
-
I am looking at buying a MacBook Air over the Pro mainly for the 12 hour battery. Just wondering if battery is compromised by upgrading to 8mb and upgrading to I7 Intel dual core. I am not very tech savvy so apologies if dumb question
-
Extension Manager CC does not see .mxp
I can not open .mxp in Extension Manager CC on Mac OS 10.8.5. Extension Manager CC does not see files. I've done update and all steps: http://helpx.adobe.com/flash/kb/install-extensions-flash-professional.html
-
Cannot delete orphaned photos on the ipad
Using iTunes in Windows 7. I had to reinstall iTunes (on a new computer), set it up w all my media and re-sync my iPad to this new installation of iTunes. As a result of some confusion and syncing that were cancelled etc, I now have 4+ GB of picture
-
Find the Wait events for an objects.
Hi Gurus. I need you help to find out the wait events for a particular table and index when batch export job running from the application. I have done some work around to to find out, but i am not able to figure out the issue or what are the wait eve