Auto creation of Shipment cost document

Hi Folks,
Is anyone aware of how to create a shipment cost document using a function module?
I need to create shipment cost document as well as update the condition values. But all this needs to be done via a BAPI or something in the background.
Thanks,
Mihir

Seen an abaperr and check out the program "RV56TRSL" for your requirement. Through this program, you can Schedule the creation of Shipment cost document.
If you're talking about automatic PO creation then you need to do the following:
1. Assignment with relevant Purchasing org & group will be done at SPRO->LE->Transportation->Shipment cost->settlement->Assign Purchasing data
2. To create the PO automatic you need to do these settings :-
By selecting the shipment cost & item category for automatic PO (T_56) and selected the default PO type for the transaction.
Path :- IMG > Material Mgt. >Purchasing >Define default Values for Document Type.
Path :- IMG >Logixtic Execution >transportation -> Shipment Cost >Ship Cost Document >Shipment Cost Type & Item Category (T_56).
3. Remember to check EKKN which is the table for account assignment in PO.
Good luck

Similar Messages

  • Service Entry sheet Creation for Shipment cost Document

    Dear All,
    While creating a shipment cost document .A service PO is getting generated in the back ground based on which a service entry sheet is created and LIV is made.But in the configuration we are mapping the Transportation planning point to Purchase organisation alone.
    Can some one let me know whether the generation of PO in the back ground for a shipment cost document in the back ground is a standard SAP feature if so can you tell me the configuration steps.
    Regards,
    K.Vivek

    Hi,
    Creation of Service PO in shipment cost document is based on the following SPRO setting or T-code.
    T code : T_56.
    SPRO > LE > Transportation > shipment cost Document > Shipment cost types and item categoires.
    Get into the details of item categoires, you can see the indicator Generate PO.
    hope this helps.
    Harish

  • Error at the time of Shipment Cost Document Creation.

    Dear All,
    At the time of creation of shipment cost document I am getting the following error.Chk S Loc-VL02N/Maintain YRVX001/002.This error is coming after I have given GL Code and Cost Center.Please let me know what needs to be done to rectify the same.
    Kind Regards
    Atul

    Hi Veer,
    First Check in transaction SM59 that the connection between SAP and Vertex is working.If you are using vertex and it is properly connected, it can mean that the data you are entering  wrong data - such as the city and state do not match the zip code or is not an acceptable value. Check the US Postoffice web site to verify the data is accurate.
    Regards,
    Kitchlu

  • Item categories in shipment cost document

    Hi guys,
    I have a problem with creation of shipment cost documents. I have maintained two shipment cost item categories, one for ship to warehouse and one for ship to customer. Problem is that when creating the shipment cost document, both item categories appear. Item category Z001 and Z002. Z001 has correct price, Z002 will have 0 value. Any ways that I can stop Z001/Z002 from appearing when it has a 0 value?
    Thanks,
    Jimmy

    Hi,
    I have serious doubts whether such setting would exist in standard system... So, what you can do is to solve it via developments:
    SPRO > LE > Transportation > System Modifications > User Exits For Transportation
    SPRO > LE > Transportation > System Modifications > Business Add-Ins in Transportation
    Please check help for these customizing nodes.
    (Maybe "BADI_SCD_SAVE"?)
    However, maybe it would be worth considering whether you really needs two item categories.
    Please also check what SAP help says for SPRO > LE > Transportation > Shipment Cost > Shipment Cost Document > Shipment Cost Types and Item Categories
    You can, for example, create several items for a shipment stage per cost type. You may wish to do this if you want to post the basic freight and a surcharge for the stage to different G/L accounts. If you need to post to several accounts for one cost type, you can specify several item categories in this table for the shipment cost typeand the cost type.
    Regards,
    Csaba

  • Automatic creation of PO from shipment cost document

    Dear Experts
    PLease let me know the settings with description to understand for the creation of PO from shipment cost document. It seems inegration with FI is also needed. Request your explanation with the settings in SPRO
    Thanks
    Ganesh

    For automatic Generation of Purchase Order
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item Categories > Define item Categories (T_56)
       In the Generate PO, Enter one of A, B, C.
           Do not generate purchase order
    A    Generate purchase order for validity period of 1 day
    B    Generate purchase order for validity period of 1 week
    C    Generate purchase order for validity period of 1 month
    For assigning posting in G/L Accounts
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item Categories > Assign shipment cost types and item categories
    Based on the item category created before, assign the valuation class.
    Assign the Valuation class to the Shipment header or leg (whichever is planned for ) and the item category you created before.
    Assigning the Shipment cost type to the shipment type
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Relevance and Default for Shipment Cost Type (T_57)
    Assign the Shipment cost type to the Shipment type and mark it as relevant for shipment cost.
    Checking the assignment of G/L Accounts to the Valuation Class
    SPRO > Logistics Execution > Transport > Shipment Costs > Settlement > Automatic G/L Account Determination
    Select the Account Assignment - GBB - Enter the Chart of Accounts - Check if VBR was assigned the G/L accounts for the Valuation class you specified before.

  • Deletion of Shipment, Shipment Cost Document, aftr creation of ref. P.O,IR

    Dear SAP Gurus,
    I have a Scenario in my customer System.
    the Scenario is as follows,
    1) Creation of a Sales ORder
    2) Delivery
    3) Shipment
    4) Shipment Cost (as the shipping is carried by a vendor, we capture the costs here)
    5) With Reference to the Shipment cost, we create a Purchase Order
    6) after the P.O , the IR
    Current Situation :
    The End user is able to delete the Shipment Cost and the Shipment Document even if the P.O  is invoiced.
    Requirement :
    the Shipment and the shipment cost Documents shouldnt be deleted unless the IR is reversed for the P.O
    Note * Is there a Configuration Possible for this requirement *
    awaiting your Expert Comments
    Many thanks in Advance.
    Regards,
    Santa Khattri.

    FSKB     G/L Account Posting
    this transaction is not working

  • Problem during creation of shipment document and shipment cost document

    Hi
    My client  facing problem during creation of shipment document and shipment cost document at the time of Batch Job
    Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
    Shipment costs on 1.12 (VI01).
    the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
    pleas advice.

    Hi,
    Please check the batch job processing log.
    As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
    However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
    Analyse the batch jobs and timing of the job process.
    Let us know your feedback...
    Best Regards,
    MKumar

  • Account assignment category in Auto created PO from shipment cost document

    Hi
    During shipment cost settlement PO generation is mandatory .
    In the configuration of Shipment cost item category I have taken Account Assingment Category as K
    When PO is created automatically the Acct Assignment  Category taken is U which is grayed out .
    I want to know why does system propose U in PO
    If i want to change the default value proposed by the system in PO from U to M where is the setting done
    Can you please suggest a solution
    Thanks and Regards
    Sunil Iyer

    Please read OSS note 506605.
    It seems that accout assignment "U" is hard coded in case of PO created from shipment cost document and you can define your own rule via "EXIT_RV54POCR_007".

  • Getting error while creating shipment cost document

    Dear Guru's
    I have created STO then made delivery and then shipment. All documents are ok but when i m creating Shipment Cost document
    agains shipment getting error Enter Cost Center. Where  I should enter cost center and how can i make cost center value as a default.
    Regards,
    RM

    Hi
    On double clicking on the item level, respective item details of the material is displayed and then click SHIFT+ F6 to see the COSTCENTER in the shipement cost document.
    Configuration:
    1) In Item category configuration account assigment category is Cost Center.
    Logistics Execution>Transportation>Shipment Costs>Shipment Cost Document>Shipment Cost Types and Item Categories-->Define item categories
    2) In the Transaction code OKB9 Costcenter is assigned to the company code , in order to automate the determination of CO assignments in case of Shipment cost document creation
    Logistics Execution>Transportation>Shipment Costs>Settlement>Automatic Determination of CO Assignments
    Edited by: Bhaskar C.R on Jun 17, 2010 10:13 AM

  • Changes log for shipment cost document

    Hello all,
    We are using shipment cost documents in both inbound and outbound processes, and currently changes in the SCD are not logged anywhere.
    How can I keep track after the changes in the SCD?
    Any help would be appreciated.
    Regards,
    Dikla

    Hi Syed Hussain,
    The flag for change documents for the shipments is already set.
    My problem is with the shipment cost document and not the shipment it self.
    When I create a shipment cost document it reflects in tables CDHDR and CDPOS as changes of the shipment statuses,
    but when I change the shipment cost document after the creation - it does not show anywhere.
    Are you familiar with a flag like the above, but for shipment cost documents?
    Regards,
    Dikla

  • Inbound freight - Goods receipt before Shipment cost document

    Hi,
    We are in process of implementing Transportation module for capturing Inbound freight.
    All our test cases passed except 2) mentioned below:
    Operationally transactions sequence can happen in two ways:
    1) Purchase Order -> Inbound delivery -> Shipment document ->Shipment Cost ->Goods receipt ->Invoice verification - Materials
    > Invoice verification - Freight
    2) Purchase Order -> Inbound delivery -> Goods receipt ->Shipment document -> Shipment Cost ->  Invoice verification - Materials
    > Invoice verification - Freight
    In case 1 we are we are getting correct results as freight amount is getting added in material cost during MIGO as below
    Inventory              Dr          (is sum of GR/IR and Frt Provision)
    GR/IR                    Cr
    Frt Provision         Cr
    While in case 2) since MIGO is done prior to shipment document we are not able to get FI effects for freight cost. Hence Invoice booking is not possible for freight neither it is getting added into materials.
    Results expected as below :
    In case 1 , same as it is happening today.
    In case 2, it should post freight provision at shipment cost document so that freight booking can be done.
            Inventory       Dr
            Frt Provision  Cr
    It will be of great help if anybody suggest solution on this.
    Regards,
    Swanandesh Rane

    Hi Ilya,
    A simple search term "Shipment cost document creation before PGI" and got the below thread which is exactly the same the only difference is for process GR and GI
    May i ask you to go through with existing thread first and if  your question is not answered please let us know
    G/R mandatory before shipment cost....

  • Control of Incoterms in creation of Shipment Costs

    Dear All,
    We calculate shipment costs (Through Transportation module in SD-Freight payment-Outwards) on calculation base A (Delivery) or B
    (Delivery item) and do not want to calculate deliveries that have certain
    Incoterms (for example, TOP-To Pay, where Customer makes payment to Transporter).
    By default, the system always creates a subitem in the shipment cost
    document for the corresponding calculation base for every delivery item or for every delivery involved.
    We want to have Control over certain Incoterms where we don't pay to the customers. We want to restrict the users not to calculate Shipment Costs in TOP-To pay cases. Kindly help if any Userexits available for this scenario to handle.   
    Regards
    Subrat

    Hi,
    I think we have a similar requirement. For FCA transports is the transport cost zero. We have created a seperate condition in the cost procedure as a condition class A ( discount or surcharge ) in T_06. This has an access sequence assigned which uses a 9xx condition table (T_03) with fields Service agent f.stage ( TDLNR ) and
    Incoterms     ( INCO1 ). This enables us to maintain condition records in TK12. So FCA is maintained with 100 % deduction and thus no costs.

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

  • Error in account determination while creating shipment cost document in SD

    Dear all,
    I have come across a case where an error has come in determining account while creating shipment cost document. This is happening only in the case of a particular shipment cost type. The Status of " Calculated" is C, the status of " Assigned" is " B" and the status of "Transferred" is A.
    Can any one throw any light as to why it is happening like this?
    Thanks and best regards
    Kumaran

    Dear all,
    With the help provided, I am unable to resolve the issue.
    Any further inputs please?
    Thanks & best regards
    Kumaran

  • Freight capitalization for STO process using shipment cost document

    Dear MM experts
    I have been testing and trying to charge freight to material using transportation module. I know how to do it in simple STO process without SCD (shipment cost document) but I am not able to do it with SCD.
    I have searched and tried every link I found on SCN. Unfortunately there are many open threads and non of them is answered or giving complete solution. For example I have tried this link where Ajit Kumar has explained the scenario in detail I am but unable to achieve my result. I have also tried other links and SAP note 427944 as well.
    Now what thing confusing me is accounting entries and documents/steps where these accounting entries will be posted.
    My current process is like this in plant to plant transfer under same company code
    STO > OBD > Shipment Document > PGI > Accouting Entry with 641 movement type. Material account debit and same account credit. > Shipment Cost document > GR with 101 without any accounting entry > Transfer freight cost to FI using Freight Service PO determination > Accounting Entry Freight Outward Expense Debit and Freight Clearing Account Credit > MIRO > Accounting Entry Freight Clearing Debit and Vendor Credit
    As you can see we are booking freight as an expense and not charging to material. Now what I want is that freight should be charged to material. If I am sending material from plant P000 to plant P201 under same comapny code then freight charges should be added in material cost in plant P201.
    I have done FRB1 condition type with accrual and copy shipment cost tick mark and other stuff suggested in all those threads but it is not working.
    My requirement is to understand the points where and what accounting entries will be created as per my new scenario which is same as old one except one difference which is to charge freight to material instead of booking expense in freight service PO.
    Lets take an example that material cost price is 100 and freight charges is 50. Now as per old threads at the time of GR against OBD system will create accounting document with 150 debiting the stock in plant P201. What about credit? If we have added freight here then what about 2nd accounting entry in my first scenario in which freight expense is debited and clearing account is credited? Could anyone please explain accounting entries and points where these entries will be posted?
    Another thing is that is it only possible with moving average price to charge freight to material or can we do this with standard price as well using some standard or customized solution?
    Detailed and easy to understand answer will be highly appreciated.
    Thank$

    Hi Moazzam ;
    Firstly, you can benefit Badi/s in package VTRA which is given belowed.
    Secondly , i think that  shipping method --> create sto with delivery --> create shipment document and shipment cost document (problem is starting so system will be create PO and service entry sheet automatically , can you try shipment document is non-related with cost document.
    Thirdly , you can post invoices charge to material with miro , if you success to direct freight costs to stock account (BSX).
    Also , you can benefit doc. sap behaviours for Std price/ Map --> Planned & unplanned delivery costs in mm
    I hope , you can manage your process ; for me standart way is the best.
    Regards.
    M.Ozgur Unal

Maybe you are looking for

  • Music is distorted

    Hello, I was trying to update my music library yesterday after the uploads I made I wanted to listen the songs on my device (Iphone 4S) but the sound of music was distorted, I was hearing small overlaps. I've tryed to Restart, it didn't worked, then

  • Calendar not synching in iPad/iPhone

    In my calendar, I have created different categories ie; - Anniversary - Job Interview - Public Holiday My default calendar is under CP Life which i created for all my general entries. However, I just realised recently none of my event is listed in my

  • EOIO with two sender communication channels

    Hello, In PI 7.1, when defining a EOIO channel, you get to choose the queue which needs to be used. Now, if I set up two communication channels, both sender channels and both using the same queue, is EOIO now guaranteed regardless of which channel re

  • Nokia C2-01 IM service contains only ovi chat comm...

    I bought a new Nokia C2-01 on 23rd of june this year. I have no other complaints till now but one is that my IM application shows only Ovi chat i've no friends in ovi chat and I want facebook chat in that how can i get it can anyone tell of the way m

  • Firefox on Win 7 64 won't shutdown when closed. how do I fix this?

    On Win 7 64 bit Home Premium version my Firefox won't shutdown when I close it. This started since the upgrade to version 29. It is very annoying to have to go to the task manager and stop the process in there every time I exit Firefox. How to I corr