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

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • Function module SD_SCD_DELETE deletion of shipment cost document

    Hi,
      I need to develop a custom transaction to delete SCD ( shipment cost document). I have found that the FM  SD_SCD_DELETE is used to delete the SCDs. Can anybody tell me how to go about the process and use this FM to delete the SCDs.
    Thanks and regards
    Prem

    HI,
    Check these code once :
    TYPES: v54a0_vfkk LIKE vfkkvb.
    data : itab type v54a0_vfkk .
    CALL FUNCTION 'SD_SCD_DELETE'
    EXPORTING
      I_REFOBJ                 =
      CHANGING
        c_scd_wa                 = itab
        EXCEPTIONS
       item_not_deletable       = 1
       scd_not_deletable        = 2
       OTHERS                   = 3 .
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Reg,
    Siva

  • Shipment cost document deletion

    Hi Gurus,
    Can u guide me the process how we need to delete the shipment cost document....
    I tried to delete it by selcting the delete icon in the menu bar (file).. but the below message is coming
    "Document can not be deleted,since item 0001 can not be deleted"
    Please guide me how can i delete
    Regards,
    Subbu

    might u have transferred the shipcost document.u need to cancel the transfer document by checking the cancellation check box.After that u need to delete the account assignment document there by clicking the delete button on the header document we can delete the ship cost document.
    Reward Points If helpful.
    -Sudheer

  • Picking deleted shipment cost documents

    Hello,
    if I delete a shipment costs document (transaction VI02) there will be no flag at document, the document will be deleted completely from the table. How can find any information of deleted documents, the best with any information about values?
    Regards
    Norbert

    Hi,
    If change log is activated, you can get the deletion log in CDHDR & CDPOS tables. You can use function module CHANGEDOCUMENT_READ to get change document information.
    Regards
    Vinod

  • 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

  • Multiple cost documents for single shipment document

    Hi All,
    My recuirement is as follows. (this is for Cement industry implementation)
    1) In a shipment document i wil inculde mustiple deliveries for which a single route wil be deterimined and only one stage is used.  For Ex. I include 10 deliveries say dly no. 1 to 10. now when my vendor sends bills for the services rendered. ill be making payment only for the deliveries which vendor sends the bill. say vendor sent bills for dly nos. 1,2,4 7, 8 and 10.
    so my query here is when i created a single shipment document for all the 10 deliveries, i would like to make the payment for the selected deliveries only. is this is possible ? if yes please what all the possibilities ?
    2) same as point 1. but when the routes are different.
    please explain on the both the scenarios.
    Regards
    Sree...

    As you aware that,
    Shipment cost created to capture the freight involved in that consignment. Once consignment is finished then vendor issues bill to the client. vendor bill doesnt reflect to the shipment cost, where when you save the shipment cost document service entry sheet will be generated which is used in vendor invoice verification, but not the shipment cost document.
    if client wants to charge the frieght calculated in shipment cost document in Customer invoice, you have to create shipment cost document ,before your vendor issues any invoice to the client.
    Coming to your requirement,
    maintain shipment cost relevance @ item level, noting but you will be calculating freight at each delivery level. while creating condition record, all the deliveries will be copied in shipment cost document at item level, here you delete whatever the deliveries you dont want to capture the freight in VI01 & save it. one service entry sheet will be generated for only listed deliveries & do the invoice verification to settle the amount to the vendor.
          now, try to create one more shipment cost document wrt: shipment doc, but only for the remaining deliveries. Hope you can create because shipment document has not yet been completed.
    Check & revert

  • 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....

  • Default the Tax Code on a Shipment Cost Document

    How do I set the tax code to default in the Shipment Cost Document under the Tax tab?  We're seeing different behavior depending on whether we're shipping from US to Canada or the other way around.  It must be configurable but I can't find it.  Please help as I've read many existing posts and can't find a resolution.
    Here's what's happening:
    B/L 122252 was shipped in Company 2000 from CA to US.  When I settle the cost document for these types of shipments, I have to delete the Tax Jurisdiction (US0000000) before I can complete it.  The Tax Code is also blank, when it should be I0 (Tax Exempt).
    2.    B/L 122325 is in Company 1000, and is the reverse of the one above (US to Canada shipment). It has a Canadian Tax Jurisdiction with the Tax Code of I0, and it works fine. The Jurisdiction does not have to be deleted.
    It seems that the issue with the Company 2000 shipments would be the Tax Code of I0 not being populated, when the shipment cost document is created.

    I was able to add a record to the Condtions' table that solved half my problem.  The Tax Exempt code (I0) is now being added to the Canadian record like it is for the US record.  However, the Tax Jurisdiction field is still being populated and we want it to be blank.  Where does this field come from?    It's not in the condition record, and it's something different for the US ship cost doc than the Canadian record, so something's telling it what to put there.

  • PO number in shipment cost document

    Hi All
    we have cancelled the service entry sheet for one line item in VI02 , i normal scenerio the entry sheet number and PO number will disappear for the shipment cosr document . but here only entry sheet number got disappeared , and PO number is still there . SO because of this we are unable to do the settlement again for this line item .
    Could you please suggest us how should can we delete the PO number from the shipment cost document , and what went wrong in our process because of this only entry sheet got disappeared and PO number is existing even when we had cancelled the service entry sheet.
    Thanks in Advance

    Hello,
    Go to SCD and check if Cancel option available in Settlement tab.
    SCD (VI02) --> Item details --> Settlement tab --> Select cancel check box and Save
    Cheers,
    Nag

Maybe you are looking for