Delivery Costs using MRRL
Hi All,
I have configured the Vendor/s in the Automatic Settlement for Delivery Costs. All vendors are marked as ERS, transaction code is configured and number range has been created.
I now have the the PO coming up when I run MRDC however I get "Document does not have any items". I have a sneaking feeling that its because the condition is marked as Statistical. Can any one help me with this and advise how I could uncheck the Statistical check on the condition record if this is the case.
Look forward to your responses and advise.
I have a question here . Are you using 2 different vendors one for PO and one for Delivery cost?
Please refer [ERS Settlement|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20c57f75-d26f-2910-c3aa-dee124530121?quicklink=index&overridelayout=true]
[ERS|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4019cf83-d650-2c10-e99b-83ae9ee2346e?quicklink=index&overridelayout=true]
Document selection critieria also plays an important role in the intil screen.
Hope it helps
Edited by: Karthik on Aug 11, 2011 10:43 AM
Similar Messages
-
MIRO- Unplanned Delivery Costs info. not showing on FS10N line items
HI,
Can anyone explain why when posting an Invoice with unplanned delivery costs using T-code MIRO, the purchase order info. does not show in the GL line item display T-code FS10N for any of the unplanned delivery cost line items. If anyone have a solution to allow the purchase order info. to show on the uplanned delivery costs line item that would be great.
Thanks.
Rickey.Un-planned freight is entered on the header of the invoice and therefore relates to the entire invoice. Since, its possible to have mulitple PO's on one invoice it would only be possible to assign the PO when there is exactly one PO on the invoice.
Alternative, you can use planned freight or post the unplanned freight using the G/L tab in transaction MIRO. By using the G/L tab you can enter any information required for accounting (including multiple lines in case it is required to split the un-planned freight by several PO's. -
Delivery Cost in MIGO of Service PO
Hi,
User has created service PO with the freight condition. He created the service entry sheet against the PO. so for each service entry sheet in PO history delivery cost quantity generated. now he did the MIRO for delivery cost using the full delivery cost quantity with less amount. now he want to do the miro of remaining freight amount but system in not allow to do the miro.
Please suggest the solution so user can post the miro for remaining amount.If you want Hit to freight clearing account, You can make Credit memo to freight venodor with reference of Purchase order.
If your Goods provider & Transport vendor is same, You can post the Freight charge in Details tab----Unplanned deliver cost while posting Miro.
Before that, Check The Freight clearing G/L account is availble in system. if not, Please concern with FI consultant.
Thanks & regrads
Nitesh -
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....
-
Unplanned delivery cost through INVOIC IDOC
We use INVOIC01 IDOC type to post incoming invoice into SAP. We need to also add Unplanned Delivery costs using this IDOC. 'SAP help' states that this can be done using user exit MRMH002 only. Which segment and what fields in INVOIC01 can be used to pass the delivery costs to the user exit ? Any help would be appreciated.
Thx
ChitraHi!
OSS note 800866 will solve your problem:
If you want to send invoices with delivery costs from you must use Transaction CMOD to program the EXIT_SAPLMRMH_014 user exit as follows:
Create a customer project and use Transaction CMOD to call it. Add the MRMH0002 enhancement and the EXIT_SAPLMRMH_014 component. Insert the source code into the ZXM08U25 include.
DATA: ls_data_s01 type E1EDS01,
lv_beznk type MRM_RBKPV-beznk.
IF I_IDOC_DATA-SEGNAM = 'E1EDS01'.
ls_data_s01 = I_IDOC_DATA-SDATA.
IF ls_data_s01-sumid = '020'.
lv_beznk = ls_data_s01-summe.
E_RBKPV-BEZNK = lv_beznk.
E_CHANGE = 'X'.
ENDIF.
ENDIF.
And welcome here on SDN!
Regards,
Maxim. -
MRRL MRDC Automatic settlement of delivery costs
I have a question regarding ERS and fixed delivery costs.
We want to use ERS for a service with orderquantity independent costs and order quantity dependent costs. The purchase order is created based on an external operation from a production order. Initially the purchase order is created for the planned quantity of the production order.
Realized quantities can and will deviate from the planned quantities. The realized quantities are posted to both production order and purchase order.
Eg.:
Production order for 10 PC --> purchase order for service of 10 PC.
Cost of service is 0,1 per PC + 5 Eur per order--> for this order this means 0,1*10 + 5 = 6 Eur
Now 15 PC have been realized and posted GR for the purchase order.
Using ERS with MRRL with option Settle goods items and delivery costs has following results:
15 * 0,10 --> 1,5
15 * 0,5 --> 7,5
I expect the system to post 1,5 + 5 Eur.
Is that possible? How can I realize that?
thanks for any help
Jeanno, SAP does not know this kind of fixed conditions.
even a fixed condition is depended on the quantity, and adjusted to the GR quantity if it differs from PO quantity. -
Delivery cost not created during GRN of PO using BAPI
I have a customized program which use BAPI - BAPI_PO_CREATE1 to create PO, PO was created successully.
then program will use BAPI - BAPI_PO_CHANGE to update condition pricing, which is also executed succesfully. all condition pricing (KONV) updated correctly.
Lastly, the program will use BAPI - BAPI_GOODSMVT_CREATE to create GRN and update delivery cost. However in my case, the delivery cost is not update, EKBZ table record is not created, as well as GRN item line table MSEG table is not updated with delivery cost.
Anyone face this type of problem before?What is the possible causes?
Any help and suggestion is greatly appreciated.Lai,
you should try asking this on ABAP forum thread. You will get a response. May be there is another BAPI u should use or may be you the usage of BAPI is incomplete. Pl confirm with ABAP forum.
Rgds -
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.
-
Restrict the users to use the field Unplanned delivery cost at MIRO
Dear Friends,
I want to restrict some users to use the unplanned delivery cost at MIRO. It should be displayed as visible to enter for some users and it should be displayed in grey mode not to enter anything for some users. I am asking this to restrict some misutilisation of this field by some users. Can I restrict through profiles?
Simply, I want to restrict the users to use the field Unplanned delivery cost at MIRO through Profiles of them. Pls help me,, it is impacting our business.
Regards,
Venkata Reddy.MuddaHi,
Check the customization for unplanned cost:
SPRO -- Materials Management -- Invoice Verification -- Logistics Invoice Verification -- Incoming Invoice -- Configure How Unplanned Delivery Costs Are Posted
Best Regards
Anamika -
ERS for Return Items with Planned Delivery Costs also as credit
Hi
I have the requirement to process ERS-Returns (MRRL) where I need to have a credit memo for the product cost and the planned delivery costs incurred with the original order. ($15,000 for product and $1200 for delivery costs = Credit Memo for $16,200) I have tested this extensively but in all situations the planned delivery costs creates an 'invoice' not a credit memo.
Has anybody encountered this requirement? If so, were you able to resolve without implementing an enhancement?
Thanks.For delivery costs you need to maintain the following customizing:
> OLMR
> Evaluated Receipt Settlement (ERS)
> Specify Automatic Settlement of Planned Delivery Costs
The flag controls whether to include or exclude planned delivery costs
from automatic settlement.
Regarding the planned delivery cost, it will not listed in
transaction MRRL. This is the standard SAP design. Instead, please
use transaction MRDC. -
Hi,
1.
I need to have a report for the paid delivey costs(planned and unplanned) for the given pos.
2.
Is there any std transaction which can give the list of fast moving items based on movement types?
Please help me, it is very urgent.
Your help is appreciated.
Regards,
Subbu.Hi,
For Delivery Cost look in Table EKBZ ,EKBZH.For Fast moving item use the T Code MCBE (also MCBA,MCBC)in which you can find the fields like number of valuated stock receipts and issue and also number of movements .Selecting a given period range if the number of movemnets is sorted in descending order the maximum moved material can be found.
Dhruba
Message was edited by:
Dhruba Charan Behera -
Question on unplanned delivery costs need to go to GL account ????
Hello
I have a question regarding unplanned deliver costs. I am a FI analyst Can you please explain my how I can solve my problem . My user wants unplanned delivery costs to go in to the GL account .
In MM account determination GL account is set up but when I am doing MIRO
. I am putting total amount in amount field and freight costs in unplanned field under detail section.
When I simulate it gives me tax code related warning when I hit enter it credit vendor and debits GR/IR clearing and some debit to inventory account but not to freight account,
Whats the problem. Can someone explain me :
1) What do I need to do to make it go to GL account ( account is set up but what is tax code related error . how do I fix that,
2) How does unplanned delivery costs work if I have tax, discount and freight.
3) Is tax calculated off total amount (inventory + freight) and discount too. How can I prevent that so that my tax is calculated just on inventory amount?
4) DO I have to put total in amount field (meaning inventory amount + fright ) or not .
I will be grateful if someone can guide me towards right direction. Please give me a detailed answer. How does it work???
Thanks
Kavita Reddyin standard setting the freight amount gets debit in the stock or inventoy account and gets credit in the fright accoutn at the time fo gr so it means the amount of frieght is gettting invenotrised
now at the time of IV IN MIRO SYSTEM CREDITS THE VENDOR ACCOUNT AND DEBITS THE GR/IR account
if u want to settele the planned delivery cost then select the laout variant for the planned delivery at item level
or in case if u want to make use of the unplanned delivery cost then u r doing the right step
but as u simulate the g/l accounts sytem will debit the inventory or stock account for it rather then frieght account (i belive so )
as the uplanned delivery cost may be getting inventorised that is added to the material price
and as u said u dont want to have tax calulated on the unplanned delivery cost then i suggest u to post it as subsequent debit and there do not make use of the claulate tax option or do the direct posting for the g/l account option -
Hi guys,
We have following two problems in case of ERS vendors.
1) We have certain delivery costs also in purchase order. The same vendor will receive material payment and freight related payments. In MRRL transaction, we select "Selected goods items + Planned del costs" and run MRRL. But after this also, amount excluding freight amount is posted in the invoice and delivery cost is not being picked for invoice. How to get material cost + delivery cost also in one invoice
2) In another scenario, we have different freight vendor. For this we are configuring ERS for delivery costs also. But the problem is in configuration we have to mention the vendor code in "Specify Automatic Settlement of Planned Delivery Costs". Can we give vendor code as " * " here? Or is there any other way of doing configuration without mentioning vendor code and it is applicable for all vendors ?
Please suggest the solution for the above two problems.Hi Pankaj,
Thanks for ur reply. This will work. But my problem is with this, we have to include all the freight vendors in configuration. But we do not know how many vendors are there for the company. If any new vendor is created, who has to enter this in the configuration..
Is there any other way of making this functionality applicable for all vendors.
Other problem is in our PO we have basic rate and 3 to 4 delivery costs,. We have made 103 and then 105 and run ERS run and arranged payment to material vendor (it is same for both material and freight)
But for some reason we are making return delivery against material document with 105 movement. When we run MRRL for this, it will generate credit memo for the quantity returned to vendor. But delivery costs are also added. We want to avoid delivery costs in credit memo and it should only take material cost
How to acheive this? Please help me out -
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 -
While invoice verification system calculating tax on delivery costs also
hi Guru's
i am facing problem that , wile invoice verification system calculating tax on delivery costs also , and when i am removing tax code in front of dilivery costs , invoice is not posting , i can use zero tax code for delivery costs , but i dont want to use any tax code for delivery cost , what should i do
please helpHI,
invoice is not posting , i can use zero tax code for delivery costs , but i don't want to use any tax code for delivery cost , what should i do
You have to use tax code for that with ZERO tax code,its like import condition where we used zero tax code
No other option!!!
Regards
Kailas Ugale
Maybe you are looking for
-
My Duaghter is out of the country studing abroad. Her PC would no longer boot up so she took it to a support shop. They replaced her hard drive, fixed an over heating issue and reloaded her PC. Now she is getting this new error message and she is d
-
[SOLVED] MPD: empty playlist
Hi, I just installed and configured MPD, but I'm not able to play anything. There are simply no items in my playlist. This is what I did so far: - I installed MPD using pacman - I adjusted /etc/mpd.conf according to the official wiki. This is what it
-
Migration to 10.1.3.1.0 - problems with JSPs
Anyone with migration experience (from 9.0.5.2), I have "homegrown" JSPs that in the 10.1.3.1 IDE exhibit the following situation. All lines like the following line of code are undelined in red sawtooth: <script language='JavaScript' src='xyz.js'></s
-
No ip connectivity after standby with Mac os 10.9.2
After stanby I loose my Ip @ no ip connectivity I need to release my Ip @ in system setup (network) no restore connectivity any Idea with this bug ?
-
FEATURE REQUESTS: Border Panel and Transparency slider for bg color
Some points: 1) "Color" by itself is a dubious panel name. Color of what? Please use the existing CSS property names wherever possible, and separate out background color and border color. 2) Transparency sliders need to be enabled for all color picke