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

Similar Messages

  • 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

  • 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

  • Do we have some Tcode to delete shipment cost by batch?

    Do we have any Tcode to delete shipment cost by batch? or any other way?
    thank you

    Hi,
    Are you talking about mass shipment cost deletion..Check
    Mass deletion of shipment document
    Also, you can go for LSMW.
    Thanks
    Neha

  • 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

  • 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

  • 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

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

  • 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

  • Delivery costs:Conditioning GR according to shipment cost document

    Hello all,
    In case I want the delivery costs to come from the shipment cost document, I have to use the correct confirmation control key and the correct condition type in the PO.
    Also, I need to have a relevant shipment cost document so that the system will know from where to take the costs.
    My question is this:
    Is there a way to customize the system so that if no such relevant shipment cost document exists,
    I won't be able to perform GR?
    Please advice.
    Regards,
    Dikla

    Hi Gaurav,
             what exactly your requirement?
    plz specify why you want to relate both the doc's-
    for what purpose?
    Gavrav,
    I have  checked  Table:VFKP
    goto VFKP- enter shipment cost no: XXXXXXXXX
    check the details: External Id1  is nothing but your shipment doc number.
    Bcoz u create shipment cost doc wrt shipment doc number.
    this shipment doc will store in "External ID1" filed in shipment cost doc item level - VFKP table.
    check n confirm
    Edited by: Riyaj on Apr 25, 2008 5:25 PM

  • 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

Maybe you are looking for

  • Apply a border to the chart in HTML report

    Hi, I am generating an html report as the final output for my LV program. I have a few graphs that i have added to the report using the append control image to report tool. I have set the image on the control panel to be transperent so that it is pri

  • Unable sync music to iphone 4

    I synced music, photos, videos and apps to my iphone 4 which shows not a song or video in it, but photos and apps have no problem.  I have checked under the music tab, all song are checked.  I updated all the version i need, but still doesn't work .

  • Report file not found error

    We recently upgraded from JBoss 4.2 to JBoss 5.1.  Our Crystal reports were working fine in JBoss 4.2, but we've had several issues in 5.1.  after resolving several issues, I have reached a point where the application iis unable to locate the .rpt fi

  • Grid Infrastructure for a Standalone Server or Grid Infrastructure for a Cluster?

    Hi, I want to install a single instance database and I want to use ASM. Now my configuration is only one node but in the future probably it scale on multiple node. So, can I use Grid Infrastructure for a Cluster for only one node or I must use Grid I

  • Could not deliver the message

    Hi All, We are facing a different error while inserting the data into the queue. Steps we did. 1. In host TP we created a channel (jms queue) , we provided queue name and connection factory for jms 2. While createing a agreement in host tp we have gi