Freight G/l account replacement
I want to replace Freight G/l 25XXXXXX with new G/l 26XXXXX. The issue is, some GR's freight value have already been posted in G/l 25XXXXXX and IR yet to be done. If i replace old G/l with new one. The freight value will be transmitted to the new G/l instead of Old G/l.
The only option i see is to post all the IR which are to be posted. and then Change the G/l for Freight.
But in this case, I have to stop posting any further GR. Because if i do post the GR, I will have o wait for their Invoice to be posted.
Kumar
Transfer all the balance amount into the new G/L by a manual Journal entry. ( Lumpsum amount JV/ or individual item JV )
Regards
Edited by: Kumar SAP MM on Apr 15, 2011 12:54 PM
Similar Messages
-
Post unplanned delivery cost to different freight G/L Accounts
Hi,
Regarding the freight costs the business process is at the time Purchase Order creation, the company does not know what is the freight costs that is going to be charged by the vendor. The freight charges will be known when the vendor sends the Invoice. The purchase order contains the materials to be drop shipped by vendor directly to customer or cross dock delivery to company premises.
The business requirement is when the MIRO invoice is posted, user will enter the freight charges at the document header level and that value needs to be split among the PO Line items and needs to be posted to separate Freight Cost G/L Accounts based on the account assignment category. For drop ship items the freight cost to be posted to one G/L Account and for cross dock items it needs to be posted to a different G/L Account. Later on this freight cost to be applied to customer invoice for charging the customer with the vendor freight cost.
The solution option we have considered is to define two statistical freight condition types at PO Level (one to be triggered for Drop ship materials and the other to be for Cross dock items), in the pricing procedure assign two different Account keys to these condition types. At MIRO users enters the freight cost as unplanned delivery cost, write the code in a user exit to split this value among the freight line items of the MIRO invoice. As separate Account keys are assigned to the condition types the values can be posted to separate G/Ls. To bring these values to customer invoice we will develop a custom routine in SD pricing procedure.
Request the experts to let me know if there is any simple way to map this requirement.
Thanks & Regards,
GLN.Hi,
As at the time of the PO you do not know the freight costs and you want to post the freight costs in the MIRO as unplanned delivery costs . and there is no way you have to post as unplanned .
Here your requirements are 1. Post to separate GL accounts and 2. distribution among line items .
However both of your requirements are given with sap standard functionality with the below sap link .
Logistics Invoice Verification (MM-IV-LIV) - SAP Library
check spro--mm--liv--incoming invoice ---configure how unplanned delivery costs are treated .
at the same time when you maintain the condition type for frieght iN PO , they will become the planned delivery costs . if this come in to picture FR/IR account will come into the pictute at GR and IR .
i think your requirement will be partially met . and the coding part may become fuzzy rather to go with the standard.
Regards, -
I synced my iPhone to my husband's computer not knowing that it would wipe out his iTunes account and replace his content with mine. Obviously, not good. Any ideas on how to fix this??
Syncing an iphone should have no effect at all on the content of the computer.
Are you saying the the itunes library on the computer was effected? -
Posting Header Freight to separate account with idoc INVOIC02
Hi,
I am using idoc type INVOIC02 to post a cross-company code invoice. There is freight at the header level in the invoice and I want the freight amount to hit a different G/L account than the rest of the document. From the help documentation, it looks like I should be able to set the flag in T076S-KOKSEPA, and this should then take the amount in segment E1EDK05 and place it in a separate line item segment in the Idoc. Once it's in its in a separate segment then I should be able to use settings in table T076I to direct it to a separate G/L account. However, when I set this flag inT076S-KOKSEPA the system is not doing anything with the amount in the header segment..
Does anyone have experience with this? If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level? Should I get an additional E1EDP01 segment? If not, what's the best way to get header freight to post to a separate account?
Thanks,Hi,
You need to add a record in T076I using OBCB transaction, fill EWLNR with the folllowing concatenated values from E1EDK05 :
- E1EDK05-ALCKZ (the value is - or +)
- E1EDK05-KSCHL
In my case T076S-KOKSEPA doesn't work, I got an accounting item corresponding to header condition but no more accounting lines corresponding to invoice items...
But it works fine using T076S-KOPSEPA to post conditions at item level.
Your questions :
- Does anyone have experience with this ? > We are still waiting ...
- If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level ? > Nothing, this parameter works later, when the idoc is processed to create the accounting data (function IDOC_INPUT_INVOIC_FI not function IDOC_OUTPUT_INVOIC_IV_MM)
- Should I get an additional E1EDP01 segment ? > No
- If not, what's the best way to get header freight to post to a separate account ? > It is the best way, but you can try at item level (T076S-KOPSEPA), in my case it works immediatly.
My question :
When the flag is set at header level (set the flag in T076S-KOKSEPA), an accounting item is created for the header condition, but how this value is allowed (- or +) on the other accounting items ? -
When make GRN freight need to go freight and clearing account
Dear expert
Base price 1000
EX
Condition type ZZZZ 3% act on base(this condition type copied from FRA1.
In PO condition, i need to enter only once ZZZZ value.
when i do GRN account has to come like
St Account 1000+
ZZZZ 30+
GR/IR cl account 1000-
Freight clear account 30-
Please suggest
Regards
karanHi,
You have to enter the freight value in both the std freight condition as well as the Z Condition to meet your requirement as per the above link. Else system wont post the freight value to separate account.
Thanks & Regards, -
Difference in GR/IR freight clearing account
Hello Experts,
I am facing a problem, wherein i am doing multiple Goods receipt on a different dates for a scheduling agreement. Freight rate maintained in Scheduling agreement is Rs 2.50 per 1 kg, so when doing goods receipt ie DCGR, freight clearing account ie GR/IR freight account gets posted with different values, for eg 1st DCGR doc gets posted at Rs 2.50 per kg, while sometime other DCGR document gets posted at Rs 0.50 per kg.
I wanted to know why there is difference in rates in GR/IR freight clearing account in every DCGR document, secondly what freight rate is taken in posting & how its gets updated?
Pls provide solution ASAP.
Thanks in AdvanceDear
Below links will help you to solve the issue.
http://www.sapfans.com/forums/viewtopic.php?f=6&t=226575
http://sap.ittoolbox.com/groups/technical-functional/sap-acct/91sapr3acct93-freight-grir-clearing-account-407688
GR/IR Freight Clearing Account - GR & Invoice Verification
Regards
Aamir -
To display Purchase doc no. in Freight GR/IR GL account
Dear all,
I have an issue . In GR/IR Freight Clearing GL account i have to display the Purchase doc no. In layout i have selected
the Purchase Doc no. but not picking up from the table.
In BSEG table only line item 001 have only Purchase Doc No. not in the line item 002 ie GR/IR Freight Clearing account.
Regards
Josephi have solved the issue by adding special field in FBL3n in the top menu as BKPF-AWKEY.
-
Dropship Process - Account assigned PO with Freight
Hi Experts
Scenario - We have a process defined for third-party drop ship with PO Account assigned to 'Y - 3rd Party W/O SN' and to a GL account based on this account assignment.
We have an automatic price determination for a condition type for 'Drop ship charges' - This is a charge client pays to the vendor for doing the drop shipment. This condition type is basically a copy of freight condition with accounting key to FRE.
Based on the account assignment there is no GR and thus an IR is done for the PO after the customer confirms that he has received the material.
We have activated 'Debit delivery costs separately' indicator in the account assignment for separating the drop ship charges.
Expectation - In the IR, the cost of the goods has to be accounted to the consumption account 500000 in the PO and the drop ship to be accounted to the GL assigned to FRE 501005.
What is happening - cost of goods as well as the drop-ship charges are getting accounted to the consumption account in the PO as shown in the MIRO screen,
Will appreciate if you can suggest a way to make this work as the expectation without doing a GR.
Thank you for reading the storyHi,
any changes made in sales order will be updated in PR but not into PO. now if you have raised PO with less qty then change in the sales order and create a new line item while first line will have the qty equal to po qty. then you can go ahead with this.
this is actually a work around for the changes in PO to be incorporated in to sales order.
regards,
Adwait Bachuwar -
BAPI_ACC_DOCUMENT_POST. Why tax account is replaced ?
The code as follow:
REPORT YC_BAPI_ACC_DOCUMENT_POST.
* bapi
CLEAR:BAPI_HEADER,
BAPI_ACCOUNTGL,
BAPI_ACCOUNTRECEIVABLE,
BAPI_ACCOUNTPAYABLE,
BAPI_ACCOUNTTAX,
BAPI_CURRENCYAMOUNT,
BAPI_RETURN,
BAPI_EXTENSION2,
LS_ACCOUNTGL,
LS_RECEIVABLE,
LS_ACCOUNTPAYABLE,
LS_ACCOUNTTAX,
LS_CURRENCYAMOUNT,
LS_EXTENSION,
LS_EXTENSION_BAPI.
* set header
CLEAR BAPI_HEADER.
BAPI_HEADER-DOC_TYPE = 'SA'. "u51EDu8BC1u7C7Bu578B
BAPI_HEADER-COMP_CODE = '1000'. "u516Cu53F8u4EE3u7801
BAPI_HEADER-BUS_ACT = 'RFBU'. "u4E1Au52A1u8303u56F4
BAPI_HEADER-DOC_DATE = SY-DATUM. "u51EDu8BC1u65E5u671F
BAPI_HEADER-PSTNG_DATE = SY-DATUM. "u8FC7u8D26u65E5u671F
BAPI_HEADER-HEADER_TXT = SY-DATUM. "u9879u76EEu62ACu5934u6587u672C
BAPI_HEADER-FISC_YEAR = SY-DATUM+0(4)."u5E74u5EA6
BAPI_HEADER-FIS_PERIOD = SY-DATUM+4(2). "u671Fu95F4
BAPI_HEADER-REF_DOC_NO = ''. "u53C2u8003u51EDu8BC1u7F16u53F7
BAPI_HEADER-HEADER_TXT = ''. "u51EDu8BC1u62ACu5934u6587u672C
BAPI_HEADER-USERNAME = SY-UNAME. "u8BB0u8D26u7528u6237
* set items
CLEAR LS_ACCOUNTGL.
LS_ACCOUNTGL-ITEMNO_ACC = 1."u884Cu9879u76EEu53F7
LS_ACCOUNTGL-GL_ACCOUNT = '0000154001'.
LS_ACCOUNTGL-TAX_CODE = 'V2'."u7A0Eu7801
*LS_ACCOUNTGL-ACCT_KEY = 'VST'.
*LS_ACCOUNTGL-ACCT_TYPE = 'S'.
*LS_ACCOUNTGL-COND_CATEGORY = 'D'.
APPEND LS_ACCOUNTGL TO BAPI_ACCOUNTGL.
CLEAR LS_ACCOUNTGL.
LS_ACCOUNTGL-ITEMNO_ACC = 2."u884Cu9879u76EEu53F7
LS_ACCOUNTGL-GL_ACCOUNT = '0000078200'.
APPEND LS_ACCOUNTGL TO BAPI_ACCOUNTGL.
* set currency
LS_CURRENCYAMOUNT-ITEMNO_ACC = 1. "u884Cu9879u76EEu53F7
LS_CURRENCYAMOUNT-CURRENCY = 'EUR'. "u8D27u5E01u7801
LS_CURRENCYAMOUNT-CURR_TYPE = '00'. "u91D1u989Du7C7Bu578B
*LS_CURRENCYAMOUNT-EXCH_RATE = ''. "u6C47u7387
*LS_CURRENCYAMOUNT-AMT_DOCCUR = 100. "u51EDu8BC1u8D27u5E01u91D1u989D
*LS_CURRENCYAMOUNT-AMT_BASE = 1427.
APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
CLEAR LS_CURRENCYAMOUNT.
LS_CURRENCYAMOUNT-ITEMNO_ACC = 2. "u884Cu9879u76EEu53F7
LS_CURRENCYAMOUNT-CURRENCY = 'EUR'. "u8D27u5E01u7801
LS_CURRENCYAMOUNT-CURR_TYPE = '00'. "u91D1u989Du7C7Bu578B
*LS_CURRENCYAMOUNT-EXCH_RATE = ''. "u6C47u7387
LS_CURRENCYAMOUNT-AMT_DOCCUR = -100. "u51EDu8BC1u8D27u5E01u91D1u989D
APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
* tax items currence
CLEAR LS_ACCOUNTTAX.
LS_ACCOUNTTAX-ITEMNO_ACC = 3. "u884Cu9879u76EEu53F7
*LS_ACCOUNTTAX-GL_ACCOUNT = '0000154001'.
LS_ACCOUNTTAX-TAX_CODE = 'V2'."u9500u552Eu7A0Eu4EE3u7801
*LS_ACCOUNTTAX-TAX_RATE = LV_FWSTE. "u9500u552Eu7A0Eu7387
*LS_ACCOUNTTAX-DIRECT_TAX = 'X'.
*LS_ACCOUNTTAX-ITEMNO_TAX = 1. "u7A0Eu76F8u5173u884Cu9879u76EE
*LS_ACCOUNTTAX-ACCT_KEY = 'VST'.
*LS_ACCOUNTTAX-COND_KEY = 'MWS'.
APPEND LS_ACCOUNTTAX TO BAPI_ACCOUNTTAX.
CLEAR LS_CURRENCYAMOUNT.
LS_CURRENCYAMOUNT-ITEMNO_ACC = 3. "u884Cu9879u76EEu53F7
LS_CURRENCYAMOUNT-CURRENCY = 'EUR'."u8D27u5E01u7801
*LS_CURRENCYAMOUNT-EXCH_RATE = LS_ZCNTPDM01-KURSF."u6C47u7387u7801
LS_CURRENCYAMOUNT-AMT_DOCCUR = 100."u7A0Eu91D1
LS_CURRENCYAMOUNT-AMT_BASE = '1427.1'."u7A0Eu57FA
*LS_CURRENCYAMOUNT-TAX_AMT = 100.
APPEND LS_CURRENCYAMOUNT TO BAPI_CURRENCYAMOUNT.
* extend the reason code
CLEAR LS_EXTENSION.
LS_EXTENSION-POSNR = 1. "u884Cu9879u76EEu53F7
LS_EXTENSION-BSCHL = '40'. "u8BB0u8D26u7801
LS_EXTENSION_BAPI-STRUCTURE = 'ZEXCEL'."u81EAu5B9Au4E49u6269u5C55u7ED3u6784
LS_EXTENSION_BAPI-VALUEPART1 = LS_EXTENSION. "u6269u5C55u7ED3u6784
APPEND LS_EXTENSION_BAPI TO BAPI_EXTENSION2.
CLEAR LS_EXTENSION.
LS_EXTENSION-POSNR = 2. "u884Cu9879u76EEu53F7
LS_EXTENSION-BSCHL = '50'. "u8BB0u8D26u7801
LS_EXTENSION_BAPI-STRUCTURE = 'ZEXCEL'."u81EAu5B9Au4E49u6269u5C55u7ED3u6784
LS_EXTENSION_BAPI-VALUEPART1 = LS_EXTENSION. "u6269u5C55u7ED3u6784
APPEND LS_EXTENSION_BAPI TO BAPI_EXTENSION2.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
DOCUMENTHEADER = BAPI_HEADER
TABLES
ACCOUNTGL = BAPI_ACCOUNTGL
ACCOUNTRECEIVABLE = BAPI_ACCOUNTRECEIVABLE
ACCOUNTPAYABLE = BAPI_ACCOUNTPAYABLE
ACCOUNTTAX = BAPI_ACCOUNTTAX
CURRENCYAMOUNT = BAPI_CURRENCYAMOUNT
RETURN = BAPI_RETURN
EXTENSION2 = BAPI_EXTENSION2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT BAPI_RETURN INTO LS_RETURN.
WRITE:/ LS_RETURN-MESSAGE.
ENDLOOP.
In FB03, The generated document as follow:
1000 1 50 78200 Transfer of reserves 100.00- EUR
1000 2 40 154000 Input tax 100.00 EUR V2
=========================================================
If i create a document in FB01 with the above data, the generated document as follow:
1000 1 50 78200 Transfer of reserves 100.00- EUR
1000 2 40 154001 Input tax 100.00 EUR V2
So, what i should do if i want '154001' in generated document by BAPI.
Please help me.
Thanks.
Edited by: y_ch_19 on Sep 28, 2011 11:09 AM
Edited by: Thomas Zloch on Sep 28, 2011 11:22 AMHi Vijaymadhur,
Thank you very much.
I check the reason is not enhancement or exit.
In t-code: FTXP, i see the tax code 'V2' corresponding the tax account '154000',
when execute the BAPI, the system determine the tax account by the tax code,
but i have no idear how to set the parameters in BAPI with no tax account replaced.
CLEAR LS_ACCOUNTTAX.
LS_ACCOUNTTAX-ITEMNO_ACC = 3. "u884Cu9879u76EEu53F7
*LS_ACCOUNTTAX-GL_ACCOUNT = '0000154001'.
LS_ACCOUNTTAX-TAX_CODE = 'V2'."u9500u552Eu7A0Eu4EE3u7801
*LS_ACCOUNTTAX-TAX_RATE = LV_FWSTE. "u9500u552Eu7A0Eu7387
*LS_ACCOUNTTAX-DIRECT_TAX = 'X'.
*LS_ACCOUNTTAX-ITEMNO_TAX = 1. "u7A0Eu76F8u5173u884Cu9879u76EE
*LS_ACCOUNTTAX-ACCT_KEY = 'VST'.
*LS_ACCOUNTTAX-COND_KEY = 'MWS'.
APPEND LS_ACCOUNTTAX TO BAPI_ACCOUNTTAX. -
Freight Calculation based on the net value of the Line item
Hi SAP Gurus,
I have one requirement for Freight calculation(Sales order is created through an IDOC) :
In the idoc,we will receive a freight dollar amount - which will be the total amount of freight.(example 100)
We will also receive sales dollar for each line item ,which is then passed to the pricing procedure, for a total amount of sales for that Sales order.
(examples below, for a total of 1500)
The 100 is to be posted to a freight G/L account.
The 100 is further divided by each profit center of the materials on the Sales order.
The freight is split out amongst the profit center , based on the net value of the line item.
Freight value to be allocated = Line item value/total value of the sales order * Freight amount.
Total of the sales order =1500
Line item value Freight value calculation Profit center
Material A: 800 800/1500*100 = 53 Profit center A
Material B: 500 500/1500*100 = 33 Profit center B
Material C: 200 200/1500*100 = 13 Profit center C
Please let me know how to achieve this functionality in pricing procedure or what changes i need to make in Freight condition type.
Thanks in advance,
Bhakar SahaWere you able to resolve this issue of allocating freight costs to line items/profit centers using the net value of the line items?
-
Exchange Rate difference for freight clearing
Hi SAP Gurus,
I am facing a problem regarding exchange rate fluctuation. We have an import PO with USD (300 USD for Goods + 24 USD as freight).
The Problem has come at the time of IR
At the time of GR exchange rate was Rs.46.75, but at the time of IR the exchange rate is Rs.50.30
Incase of Goods (GR/IR Material) system attempt to post the difference amount (for foreign exchange fluctuation) to the account defined under Transaction u201CKDMu201D
But incase of freight (Freight Clearing) system attempt to post the difference amount (for foreign exchange fluctuation) to the account defined under Transaction u201CPRDu201D
I want to post the differences (for Goods & Freight) to the account defined under Transaction u201CKDMu201D
Kindly help me.
With Thanks & Regards,
___SAJIB SAHA___Exchange rate differences for open items (KDM)
Exchange rate differences for open items occur when an invoice and a goods receipt for a purchase order are posted at different exchange rates and the material cannot be debited or credited due to standard price control or stock shortage.
Price differences (PRD)
Price differences occur for materials subject to standard price control for all movements and invoices valuated at a price other than the standard price. Examples: goods receipts for purchase orders when the purchase order price differs from the standard price; goods issues when an amount is entered manually; invoices when the price invoiced differs from both the purchase order price and standard price.
Price differences can also occur for invoices for materials with a moving average price when there is insufficient stock coverage for the quantity invoiced.
Depending on the settings for the posting logic for the processing key PRD, you can work with or without account grouping. If you work with account grouping, the following are used in the standard system:
None for goods and invoice receipts for purchase orders
PRF for goods receipts for production orders and
order settlement
PRA for goods issues and other movements
PRU for transfer postings (price differences for external amounts) -
Freight to be taken negative on Returns PO
Dear all
I have a scenario of returns PO in which the freight is to be borne by the vendor .
I want to take the freight as negative , system does not allow this way as it indicates the freight value can't be negative .
If i take the calculation type in condition as Freight itself the the Freight value gets posted along with the material value .
How we can tackle this so as that Freight value should hit the freight and Vendor accounts only.
Kindly throw light on this and valid points are welcome .
Regards
R.RajaramNormal procedure is for the freight for the return delivery
raise DEBIT note for the amount from you end.
G.Ganesh Kumar. -
Account grouping for account key PRD
Hello Gurus,
Is it possible to add new account grouping or modifier ( standard SAP provides Blank, PRA,PRF) to account key for Price difference account PRD in OBYC (automatic account determination) transaction.
The requirement is we are using PO condition type for freight and surcharge which is to be paid to a different vendor . In purchasing pricing procedure condition types can be mapped to freight and surchage account keys, in turn mapped to different accounts in OBYC
In the case of invoicing if difference in freight and surchage value occurs, system post both balance to PRD account through account modifier blank.So its difficult to identify what caused the account price difference.
If we can add new account grouping to how to attach to the invoice verification procedure?
Any help is appreciated
regards
MeghaHi,
Group Modifier Key which has a different meaning depending on the procedure. It is used to differentiate account determination. The key's meaning is predefined in the SAP system and cannot be changed.
For offsetting entries for inventory postings, you enter the key which
is assigned to the movement type and posting string.
So the meaning here is you can define your own keys but it should be assigned to the Movement type and posting string which is very difficult as these two affects all types of businesses.
Thanks
Krishna. -
Freight Charges after Final Invoice(MIRO)
Hi SAP Gurus,
We have received one freight invoice after accounting of final invoice.
How can we pay this freight amount to the vendor via same PO which has been fully invoiced.
Thanks & Regards.
Anil ThakurProbably frieght condition type might be greyed out.
So you can do subsequent debit for same p.o to value of freight. Then pay freight vendor(F-53 or F-58) using invoice.
or
Invoice without purchase order,add g/l account tab(In MM--> LIV) in MIRO,enter freight g/l account,amount you want to pay.
Post invoice,pay freight vendor
or
Post it using g/l account in FB60. -
Setup Vendor for no freight charge
Hi,
We have a requirement where we like to setup some vendors in the system for no freight charge. Scenario is as follows
PO raised for vendor with no Freight charge
Goods Receipted
Invoice received from the vendor with freight charge. Account Payable (AP) team member paid the invoice by entering freight charges in unplanned delivery costs.
Problem is our organization had an arrangement with the vendor that there will be no freight charge for delivery of goods but AP team members doesn't know that and paid the freight. We would like to put a control in the system so that AP team members can know about the free freight arrangement.
Please assist
Thanksit is usualy the Incoterm which controls who is reponsible for paying the freight.
see: http://en.wikipedia.org/wiki/Incoterms
Unfortunatly this is not checked by SAP invoice verification, and you may have to do this check in a user exit and issue a warning or error message yourself.
there is certainly no control at vendor master level if you can enter freight invoices or not
Maybe you are looking for
-
SSRS: Setting Header from Top/Footer from Bottom
Hello there guys We're using RDLC-Files to create some word reports. In our previous version, where we used RDL-Files on SQL 2008 R2, the Margin-Properties (Header from Top / Footer from Bottom) didn't get set at all an was always 0. This behaviour w
-
I just did the photoshop camera raw update and now every time I try to do a text box or change the text the whole program crashes.
-
Handling error in data entry screen
Dear experts, I developed a module pool program which is an entry screen capturing some fields such as matnr,lifnr. Incase there is a failure to store data on to mseg table using BAPI for movement, i have set a custom message by using the command as
-
When I select/tick Apple TV on the ipod I get no 'Done' button so cannot mirror to tv. I have latest IOS software. Any suggestions?
-
Hi portal gurus I want to what are total roles in r/3 available for using all the services in ess,portal sceanarios and administration activities in ep. thanks prasad