Transportation Lanes Deletion

We have a transportation lane established between 2 DCs. Now there is a change in supplying DC and a new DC will be supplying these products.
I am attempting deletion of existing transportation lanes. The end gaol is to establish a new transportation lane and have SNP pick that automatically instead of the existing lane.
I deleted all orders using RLCDELETE. However I am still getting an error message while deleting existing transportation lane that says "Orders Still Exist".
I was wondering if there any utility that shows the orders on that transportaion lane.

I guess there are some livecache order exist in the system for those TL.
Please check with tcode  WUF and try to delete them by /SAPAPO/SDORDER_DEL
/SAPAPO/DELETE_PP_ORDER
and let us know if you are not able to delete it by above report with order details.
Manish

Similar Messages

  • How to delete Product Specific Transportation Lanes?

    I'm trying to delete a product specific transportation lane (like you would do in /SAPAPO/SCC_TL1)
    but can't find an appropriate BAPI to help me do this.  I see BAPI_TRLSRVAPS_DELMULTI but that seems to delete the entire Transportation Lane instead of a specific product's lane.
    I've tried using BDC with /SAPAPO/SCC_TL1 but don't think it'll work since it's an ALV and I'll be running in background.
    Anyone encountered this before?
    thanks!
    Paul

    Hi
    Do following steps:
    Go to SE38
    FUNCTION_LOADER_INLAY  execute (F8)
    Step 1
    u2022     Go to the Design  tab page. IN the Name of Put Function Module field, we enter the function module name BAPI_PIRSRVAPS_SAVEMULTI.
    u2022     Press Enter and the Available Parameters table on the left side of the screen is filled automatically.
    u2022     Select the lines Logical System, Commit_Conrol, Planning Version, Requirements and Return.
    u2022     Choose Column Right to transfer the parameters to the  Selected Parameters  table on the right side of the screen.
    u2022     Choose Format Worksheet.
    u2022     Confirm the dialog box that informs you about manual formatting the cells. The system directly opens the Data tab page.
    u2022     Now select the entire worksheet, right-click in the selected area and choose Format Cells.
    u2022     In the  Number tab page we select the category Text and choose  OK.
    Step 2
    In the first available empty line the make the following entries (for every cell you can find additional information about data you have to enter by selecting Input Help):
    u2022     Logical System: APO Logical sys name
    u2022     Commit_Control: E
    u2022     Planning version: 000 (whether data is being transferred to the active planning version or to a simulation version)
    u2022     Product:
    u2022     Location:
    u2022     Location Type:
    u2022     Atpcat: FA
    u2022     Date from: e.g. 01.05.2006 (Valid from)
    u2022     Date to: e.g. 01.21.2006 (Valid to)
    u2022     Quantity: 419
    u2022     UOM: KG (unit of measure)
    u2022     UOM_ISO: KG
    We choose Save.
    Confirm the information prompt.
    (It is very important that we select row with data we need to load)
    Then We now choose button u201CSAP SYSTEMu201D
    After sometime you see the message u201CData Transfer ended successfully appearsu201D
    Now go to Product view  /n/SAPAPO/RRP3 and check Fcst loaded.
    Cheers!
    SCMBEE

  • Transportation lane for special procurement key is flagged for deletion

    we are on SCM 7.0 and ECC 5.0 and transportation lane records are automatically created for items with special procurement keys (SPK). When we change an SPK, the old record is automatically being locked and flagged for deletion. This is causing planned orders in the old lane to not be replanned. it is therefore incorrectly indicating that a requiremnt is being met by the old planned receipt.
    The documentation indicates that the lane should be locked (not locked and flagged for deletion). When it is locked, the orders are deleted and replanned in the new lane as expected.  Can someone tell me if the correct behavior is for it to just be locked or to set to flagged for deletion? if it is supposed to be flagged for deletion, how do we delete the planned orders in the old lane without switching the record back to locked only?

    Hello,
    Please follow on the SAP Help library:
    Automatic Creation of Transportation Lanes
    http://help.sap.com/saphelp_scm50/helpdata/EN/d4/56ef1a5572544081619 a5f87f4055e/content.htm
    Change of Supplying Plant in the Special Procurement Type
    In the SAP R/3 system, if you have changed the supplying plant in the special procurement type, the SAP APO system creates a new transportation lane for the new supplying plant (from special procurement type) and material/plant combination. The already existing transportation lane and now invalid combination between supplying plant and receiving plant in the R/3 system is locked for orders in the SAP APO system. This can be recognized by the lock indicator X that is set by the system.
    Removal of Special Procurement Type from the Material Master Record
    If you have removed the special procurement type from the material master record in the SAP R/3 system, the SAP APO system locks the already created transportation lane so that it cannot be used in orders.
    Hope it helps in this matter.
    The best regards,
    Michel Bohn

  • Transportation lane KEY not getting generated in the table

    Transportation lane KEY not getting generated in the table
    Hi folks,
    The issue is like this :
    We have a weekly workorders upload program from legacy systems to SAP-APO. The legacy planners send a .CSV file containing material-wise workroders. A customised zee program picks these quantities & writes them in Prod.planned keyfigures in SNP planning book. This process is done for the manufacturing locations only.
    Lately workorders for two particular material M1 & M2 had failed to get upload. It gives the error 'NO VALID SOURCE OF SUPPLY COULD BE FOUND' in its Job log. We did some debugging & found that for successful materials the  TRPID is getting generated in the table /SAPAPO/V_TRPROD  whereas this TRPID is missing for M1 & M2. Why this is happening is our main concern. We tried deleting the PPM & creating this again, assuming that the PPMID is the precursor for generating this TRPID, but this yielded no results.
    ____ for successful upload______________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY of successfully loaded workorder
    Enter
    This gives the following results
    TRPID = TRPID KEY
    LOCFR = LOCID KEY for manufacturing location
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for successfully loaded workorder
    ( This seems a self-lane, i.e both TO & FROM location are same)
    ____ for unsuccessful upload________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for unsuccessfully loaded workorder
    Enter
    This gives the following results
    Error = No Table entries found for specified KEYS
    We are perplexed why this TRPID is not getting generated for these two particular material M1 & M2?
    We have deleted their PPM & re-created them to cross-check if the PPMID KEY is the trigger for generating the TRPID key. This didn't work!
    Please let us know in case someone faced a similar issue.
    Many Thanks.
    Kumar
    Edited by: Blue Lotus on Jun 9, 2011 2:44 PM

    Yes Anand.
    We deleted the PPM & created it again, which didn't work.
    Later on we deleted the product itself from APO & re-CIFed it from R3 & then re-created the PPM.
    The PPMID which was missing earlier is now getting created! However no luck with the TRPID.
    Why this TRPID is not getting generated in our only concern
    Regards
    Kumar

  • Automatic Creation of multiple Transportation Lanes

    Hi all.
    Is it possible to avoid following standard behaviour:
    Change of Supplying Plant in the Special Procurement Type
    If you have changed the supplying plant in the special procurement type in the ERP system, the SCM system creates a new transportation lane for the new combination of supplying plant (from special procurement type) and material/plant. The already existing transportation lane and the now invalid combination of supplying plant and plant in the ERP system is locked for orders in the SAP APO system. This can be seen from the lock indicator X that is set by the system.
    Automatic Creation of Transportation Lanes - Transportation Lane - SAP Library
    Our need for some SKU is to create automatically two T-Lanes. Considering user exit EXIT_SAPLCMAT_001, we added a new line on CT_CIF_MATLOC (and relative CT_CIF_MATLOCX) with different SUPPLPLANT, but the system obviously blocks (SPRKZ) the SKU on one of the two T-Lane.
    Thanks in advance for your support.

    Hi Mauro,
    In my opinion you have to create a program to delete the lock indicator. First you have to extract the information from tr.lanes, then change (delete X indicator) and save. This job should be scheduled before heuristic run.
    To extract data from tr.lanes you can use BAPI_TRLSRVAPS_GETLIST2. To change and save you can use BAPI_TRLSRVAPS_SAVEMULTI2.
    Hope that can help you!
    Thanks.
    Regards, Marius

  • How to block CIFed Transportation lane from ECC to APO

    Dear all,
    I want to know if there is any way to stop automatic creation of Transportation lane in APO when material master records, with  procurement type F: External Procurement and special procurement U, are registered or modified in ECC.
    Although only APO-DP is implemented in our project, which does not require the transportation lanes at all, we have to delete not only a product location master record but also collesponding product specific transportation lane when the product is no longer available for demand planning. 
    The integration model includes only material master records, not other TL-related data such as Pur. info.
    I've tried to find any configurations or EXITs stuff which satisfy the requirement above, but couldn't find it...
    I would appreciate any information on this.
    Thanks in advance.
    So Kitagawa
    Edited by: So Kitagawa on May 14, 2008 6:12 PM

    I think this is created part of the Product Integration Model and is controlled via the Product Inbound User Exit - APOCF005.
    There is no User Exit for Transportation Lanes.
    In this User Exit ... there is a Structure /sapapo/matloc which I think contains the Procurement Type (BESKZ) and instead of the Spl. Procurement Key it contains the Supplying Plant (SUPPLPLANT),  Procurement Category (SUPPLTYPE).
    It's got to be the fields in the MATLOC Structure.
    Could be the MATLOCX Structure too ... I could not see any, so I think the above 2 fields should do it.
    Try Coding in this UserExit to make the SUPPLPLANT and SUPPLTYPE field as Blank via ABAP Code.  Do  not touch the BESKZ field as that is needed in APO. This should do it ...when you activate the Model the Inbound Processing.
    Hope this helps.  Reward Points if you do.
    Regards,
    Ambrish Mathur

  • Unable to create entry under Product Specific Transportation Lane by BAPI Function Module

    I am developing one RFC function module which will trigger BAPI_TRLSRVAPS_SAVEMULTI2 to create transportation lane (/n/SAPAPO/SCC_TL1) in APO. But I am facing one problem while creating a new entry under “Product Specific Transportation Lane”. But I am not able to pass ‘Group Selection’ radio button field in BAPI11201TRPRODLANE2 structure since I am not getting suitable field, but Product Group Type and Product Group value I am able to pass. Can anyone help me if you have any idea on this?

    Hi Siva,
    Thaks for those function modules. I tried with '/SAPAPO/TR_TRPRODM_PUT'. This deletes from table /SAPAPO/TRPRODM but not from /SAPAPO/TRM and so the means of transport still appears in the transaction. Do you have any idea why it behaves this way.
    Thanks

  • Product exclude from the transport lane

    Hello experts,
    We are using a transport lane with "all products" as we are having 300 products but we want to exclude 3 products from the lane.
    We dont want to create for all 297 products, is it possible to exclude 3 products from the lane.
    Regards,
    mani

    Hello Mani,
    As other experts suggested, you can make use of "Block" setting in the Transportation Lane. You have two option either user Value - X (Locked) or use Value: D (Locked and Flagged for Deletion).
    Besides, you can also make use of Start Date and End Date option to make this Tlane invalid for those 3 products.
    Hope this will help.
    Thank you
    Satish Waghmare

  • SPP Error - No valid transportation lane between Supplier and LOC1

    Hi
    While running the EOQ and SFT planning service, we get the following error
    "No valid transportation lane between Supplier and LOC1". LOC1 is the entry location for our BOD.
    We have not created any procurement relationships as we are working on a standalone SCM trialbox.
    Appreciate any help/suggestions to resolve this issue.
    Thanks & Best Regds
    Mitesh

    Hi Mitesh,
    You need to have valid transportation lanes from the supplier. Maintain it manually. If I remember correctly it is possible to have External Procurement Relationships in APO only (type 4) and not just contracts, purchasing inforecords or scheduling agreements CIFed from ECC.
    Hope this helps.
    Thanks,
    Somnath

  • Automatic creation of transportation lanes betwen intercompany plants

    Hello Experts,
      I need to create transportation lanes automatically through integration model between two intercompany plants. The relation between these two plants are of vendor--> customer in ECC and the documents used are of sales / PO type. Source list is availalbe for the purchasing plant. Is it possible to create transportation lane using source list? If this requires an enhancement, which BAdI is applicable?
    Regards,
    Raghavendra

    What is the Purchasing Document used - Purchasing Info Records or Contracts? You can CIF any of these to APO to create Procurement Relationships which in turn automatically creates Transportation Lane. You have to assign Means of Transport manually though. Note - T Lanes created with reference to Contract are however not used by SNP for source determination.
    The other option is Special Procurement Key - if assigned in Material Master will automatically create TLane in APO when Materials are CIFed. Downside of that process is no control on TLane Validity Date and / or other Planning Parameters like Lot Size / PDT.
    As for creation of T Lane based on Source List - SAP Help mentions it can be used but have not seen in any live project so cannot comment.
    Hope this helps.
    somnath

  • Automatic creation of transportation lane between two Plants or location

    Hi,
    I am aware that when we cif Inforecords from R/3 to APO new transportation lanes automatically gets created between the Plant and Vendor.
    The isssue which i am facing is that i want transportation lanes to be created between two plants . The TL should be created automatically. I could find the below details from sap help.
    http://help.sap.com/saphelp_scm41/helpdata/EN/3e/dfaf376ed96c21e10000009b38f8cf/frameset.htm
    Transportation Lanes with Reference to R/3 Material Master Record
    Storing a special procurement type with procurement type F: External Procurement and special procurement U: Stock Transfer (in the MRP 2 view of the R/3 material master record), means that the material has to be procured externally from another plant (supplying plant) or transferred from another plant.
    To also be able to perform stock transfers for this material in the SAP APO system, there has to be a transportation lane from the supplying plant to the receiving plant. If you have transferred a material with this special procurement type from the SAP R/3 system, the SAP APO system automatically creates a corresponding transportation lane from the supplying plant to the receiving plant for the supplying plant (from the special procurement type) and material/plant combination. The transportation lane is given the creation indicator u201CSu201D for special procurement.
    I am not able to make sense of special procurement U: Stock Transfer (in the MRP 2 view of the R/3 material master record),
    Is this Special procurement some sort of customization as i could not find U: Stock Transfer  in my implementation.
    Please help me understand this. What exactly should i do to create TL between Plants automaticcaly through Cif.

    You need to define setting in IMG for this from source to Target location.
    Follow this path :
    Production->Material Requirements ->Master Data->Define Special Procurement Type
    example :
    Plant      1004
    SP type    40   Stock transfer (proc.from alter.plant)
    Procurement type     F    External procurement
    Special procurement  U    Stock transfer
    Plant                1039
    Manish

  • Transportation Lanes

    Hi,
    Can someone explain me how the demand flow from one location to other location in SNP.
    I mean i have
    Location A - Subcontractor Location.
    Location B - Production Location
    Location C- DC.
    I have maintained transportation lane between B & C.
    I have loaded my planning book at location C. When i enter some values in Dis.Receipt KF for the part number at location C, The system automatically creates a Purchase Requisition at Location B.The procurement type defined in the Product Master at location C is F.But how the system raise the Purchase Requisition to Location B ? I have not maintained Quota arrangement too.
    Does transportation lane which is maintained between B&C plays the role here to flow the demand from B&C ?
    Or Apart from Transportation lanes is some other factor responsible for this ?
    Please explain.
    Regards
    BVN

    Hi
    It's correct
    Since u maintained transportation lane between B&C as start location as B and destination location as C. So whenever there is a demand in plant c, it will generate a PR in plant B. Procurement process or production process should happen in Plant B.
    Pls check yr tranportation lane for the same.
    Hope you are clear now
    regards
    Vijay

  • Problem in using BAPI_TRLSRVAPS_SAVEMULTI to create transportation lanes

    Hi,
      While using BAPI_TRLSRVAPS_SAVEMULTI to create transportation lanes,bapi returns errors
    1.Product transportation lane not found in database or in the tables and
    2.Product <matnr> ( coming from the flat file in the program ) cannot be both product-independent and product-specific.
    Please suggest solution to the problem.

    Try to user APO Loader Excel and fill the data you are filling for BAPI "BAPI_TRLSRVAPS_SAVEMULTI" and see whether it works or not ?
      Alternately you can fetch the data from APO to Excel using the get option of the "APO Loader Excel"
    Please reward points if this helps to you.

  • Mass upload of Transportation Lane

    Hi ,
    Can anyone tell what is the easy method of uploading transportation lane. I tried using LSMW but i can't using the recording method. If anyone have a standard template and BDC program. Please let me know.
    Thanks in advance
    Regards
    Shan

    Hi Shan,
    As rajesh said we are also using Z program to upload Tlanes and MOT's.
    I will give you a brief.
    We have 4 radio buttons ( All product lanes, product specific lanes, MOT and Product specific MOT) on selection screen and File name, BSG and Model name.
    Based on the selection it fills data to BAPI  BAPI_TRLSRVAPS_SAVEMULTI and save.
    Like for example for product specific lans
            export to BAPI
            pass logical_system        = w_logsys
            business_system_group = p_busgrp
            model                 = p_model
            commit_control        = c_e
            TABLES
            transport_lane        = it_lane2
            transport_lanex       = it_lane2_x
            prod_procurement      = it_prod2
            prod_procurementx     = it_prod2_x
            return                = it_return2.
    Else IF mot=x
    then
    export to BAPI
            pass logical_system        = w_logsys
            business_system_group = p_busgrp
            model                 = p_model
            commit_control        = c_e
            TABLES
    TABLES
            transport_lane        = it_lane3
            transport_lanex       = it_lane3_x
            means_of_transport    = it_means3
            means_of_transportx   = it_means3_x
            return                = it_return3
    Please ask your ABAPER to develop.
    Hope this helps.
    Regards,
    Kishore Reddy.

  • Validation of PO / Transportations lane

    Hi
    My question is,
    is it possible to validate the PO and the validity of the transportations lane, not by the delivery date of the PO
    but validate the creation day instead, a lot of our purchased product have a lead time of more than ½ year, so it is more or less impossible to keep the info rec up todate and therefore also have a valid TP lane
    please advise
    Best regards
    Jakob Bang

    Hi,
    My suggestion is create Z-validation check say "ZT_PROD"
    Path:SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles
    Val.prf=P0C1
    Validation check=ZT_PROD
    Check status=Active
    save this setting.
    and implement the Badi /SCMB/BOL_VALFRMWRK.with your logic of half year lead time.
    Regards,
    Nikhil

Maybe you are looking for