Quantcast
Viewing all 533 articles
Browse latest View live

Restrict PO line to integrate to TM based on Incoterms

Hello Friends,

 

We can control in SO integration to SAP TM that only Certain lines can go to TM (like based on Item Categories).

SO line with Item cat TAN should go to TM and Create FU, but SO line with Item Cat TAS should not go to TM to create FU

This can be achieved by assigning Output Determination Procedure with Output Type TRS0 and Reqt 27 to Item Cat TAN only

 

Can we achieve something similar for PO/STO integration as well

 

Requirement: PO lines with Inco 1 as EXW should integrate to TM but PO line with Inco 1 DDP should not integrate to TM

 

Can this be achieved without any Development. I guess Not possible without development. But wanted to check with fellow consultants.

 

Thanks and Best Regards,

Vikas Chhabra


Action at Standard Toolbar In FSD Screen.

Hi Experts,

 

I want to trigger an action when someone click on  SAVE AND TRANSFER at the toolbar in Freight Settlement Document . Can you help me in finding the place where i can write my code so that my code gets executed when i click on SAVE AND TRANSFER.

 

Thanks,

Ravi

hidden transportation planning point.

Delta queu SAP TM - BW

Hello!

 

I have a doubt, we have changed a document from TOR datasource, however I dont see the change into the delta queue (RSA7) do u know where I can check the delta queu time management in SAP TM?

 

Thanks

SAP TM - MM - SD Integration

Dear All

 

Can you please provide me the documentation for the Integration of TM with SAP MM & SD.

 

Thanks in Advance.

 

 

 

Cheers

 

Mahi

otr/dtr/fo/fu from message type X

Hi Experts,


My requirement is to analyze the message type X dumps in TM and need to fetch the corresponding otr/dtr/fo/fu for which this dump has occurred.

 

I have gone through this link How to investigate the runtime error „MESSAGE_TYPE_X“ in SAP Transportation Management and as mentioned in this link :

( <LV_KEY>, LV_KEY, LS_KEY-KEY => may tell you the instance of the BO => do a search in a /SCMTMS/D_<BO>ROT table )


I have checked all the dumps that occurred in my system but generally <LV_KEY>, LV_KEY, LS_KEY-KEY  are empty or not available. (in my case BO are generally TOR/TRQ for which occurrence of message type X is high)

 

 

Please suggest if there is any other way to fulfill this requirement .

 

Thanks in advance,

 

Geetika

Carrier-customer incompatibility when FO contains FUs belonging to multiple customers.

Hi All,

I am facing an issue with carrier-customer incompatibility when the FO contains FUs belonging to multiple customers. During the FO creation the consignee field is not getting generated as there are multiple consignees. In this case the incompatibility check passes with no incompatibility as condition is not able to find any consignees.

I want to create a DataCrawler which can feed all the consignees of an FO (in case of multiple Consignees) to the incompatibility definition.

Any help would be appreciated. Thanks

trying to test the Collaboration portal url using the below option in SICF but it is only pulling a blank screen

Hi All,

 

Am trying to test the Collaboration portal url using the below option in SICF but it is only pulling a blank screen.

The path in SICF is  : /sap/bc/ui5_ui5/tmui/coll_portal

 

The webpage does not reflect any error except a blank screen.

 

Is there any basis side or TM side configuration that needs to be done to have data displayed on that webpage?

 

Appreciate quick reply.

 

Thanks.

Sat


Appl. Object Types in Event Handler Creation

Hello Experts,


please see following incident:

Customized Application Object types are not displayed when creating the event handler manually.

Thank you very much for your advice.


Kind regards,

Lena Bussinger


 

  1. In TM SAP GUI: SE84  and  /n/SAPTRX/EM_CREATE in Application Object Type.
  2. Click to have a choice for Application Object Type

Image may be NSFW.
Clik here to view.
Application Object Type.jpg

3.     Only the following Application Object Types are shown:


Image may be NSFW.
Clik here to view.
Application Object.jpg

EWM and TM integration

Dear Experts,

 

We know that in the SCE platform, TM 9.1 and EWM 9.2 will run in the same Instance. Does this mean that we do not need a Middleware to connect EWM with TM. If I create a Delivery in EWM, would the Delivery be passed on to TM (to create a DTR) without passing through Middleware.

 

Thanks a lot for your insights

 

Regards

 

Why exist Matrix Prerequisitos for ERP and Matrix Prerequisitos for TM in the Activation of SAP RDS TM TT 9.1 V2


We are driving the activation of RDS TM TT 9.1 through solution Builder in the System TM, however we get a matrix of ERP also prerequisites. At what point should implement these activities in the ERP? We start the activation in Sol Builder on TM, but now we have the doubt about if we should run the Solution Builder in ERP.

 

 

The quick guide and the SAP Note 2013924  not is enought help.



I appreciate the support they can give me .

Views on TM Cockpit

Hi experts,

 

we have set up the Cockpit with a set of selection profiles and layouts for all users. Now, we need to set up the fields needed in the different sections of the Cockpit (FU, Resources, Freight orders).

We can personalize the views for each user, but can we really not create one view and assign it to a group of users?

 

Please share your experience

 

Thanks

Petra

Incompatibility problem TM 8.0

hi

we are working on TM 8.0 and we want to transport a product "milk" from location A to location B. we have 2 resources: truck 1 & truck 2 (only truck 1 can transport milk).

- we defined incompatibility in which we created a new condition ( condition based on BRF plus decision table)

- we selected on the data access definition "product id of freight unit.."

- in the decision table we put the "MILK" on the product id

--> Our problem is on the Ev.Result, what kind of expression can we put there?

Monday Knowledge Snippet (MKS) - 59 Automatic Planning based on additional capacity

Today's blog tries to shine a light on automatic planning using additional capacities. By default, the VSR optimizer considers weight and volume constraints (next to many others). On resource level, it is possible to define available capacities and load space dimensions. On Freight Units level, the required capacities are available. Considering the load planning functionality, many new scenarios are possible. Especially for a pallet scenario, the challenge is to steer the VSR to result in feasible Freight Orders ready for Load Planning. Goal is to minimize the number of Freight Units that Load Planning would need to unassign from a Freight Order due to load planning restrictions. Reasons for such a need to unassign are weight, volume, stackability, and resource specifics like axle constraints. Today's blog wants to basically focus on volume. So here is the standard approach to solve this.

 

On resource level, it is possible to define capacity constraints for weight and volume. In my example I have defined a limit of 4.000 KG and 20 M³. In addition, I have specified the resource load dimensions (5 x 2 x 2 meters).

 

Image may be NSFW.
Clik here to view.
MKS59_01_Truck_StandardCapa_Capacity.jpg

Resource Capacities

 

For my initial planning scenario, I use Freight Units each respresenting a single pallet (note that this is defined in the Freight Unit building rule and a 1:1 relation is not always required -> performance impact; I picked it this way for the example for ease of understanding, but it works the same for Freight Units represention for example 2 or 6 pallets each). Those FUs have the required capacities on header level. For simplification, the pallets are 1 x 1 x 2 meters.

 

Image may be NSFW.
Clik here to view.
MKS59_02_FWO(SinglePallet)_FU_01.jpg

Required Freight Unit Capacities

 

When applying automatic planning to this scenario, everything works well. The VSR optimizer recognizes correctly based on the volume information that 10 pallets fit onto my truck and creates 1..n Freight Orders depending on the number of to-be-planned Freight Units.

 

Image may be NSFW.
Clik here to view.
MKS59_03_FWO(MultipleTrucks)_LP_01.jpg

Freight Orders with Load Plan as planning result

 

So for example in case I plan 11 Freight Units, the VSR creates 2 Freight Orders. Alright, obviously this work well due to the 1:1 match between the resource dimensions / capacities and the Freight Unit dimensions / required capacities. In reality, pallets will have differing height (or length / width) and not fit perfectly, the pure volume based planning will lead to situations where the VSR assigns too many Freight Units to a single Freight Order using volume that can actually not be consumed. This can be tackled (sometimes) by reducing the available volume. So for example your truck has an internal height of 3 meters, but you would never have pallets higher than 2 meters (no stacking), the available volume can be reduced by 1/3. In any case it is a good idea to have on resource level only capacity that can actually be consumed (what really depends on the customer scenario). For more complicated scenarios this is not feasible.

 

To give an example. I have another truck, which has more volume due to the fact that the load space is higher (2.5 meters).

 

Image may be NSFW.
Clik here to view.
MKS59_04_TruckHigh.jpg

High truck

 

Planning 11 Freight Units using this truck creates a Freight Order which is overloaded from a load planning perspective. 1 pallet does not fit to the truck, even if it fits from a weight and volume perspective.

 

Image may be NSFW.
Clik here to view.
MKS59_05_FWO(Overload)_LP.jpg
Overloaded Freight Order

 

Now a transportation planer would need to check this Freight Order and re-plan the not fitting Freight Unit (what is depending on the volume of the scenario already a feasible approach). The relevant Freight Orders will indicate that they have not-loaded items (available a selection criteria) and can be adjusted. Standard process would be to unassign the Freight Unit, check if it can be added to another  Freight Order, or a new Freight Order needs to be created.

 

For the load planning feature a method is available which can automate the unassignment of the not fitting Freight Units (note 2189965). This would lead to a different follow up process: All Freight Orders would be fine, but a set of to-be-replanned Freight Units would exist. For those an additional automatic planning could be applied.

 

To reduce this additonal effort, we can improve the automatic process using additional capacities. So I add the information that my truck can at most transport 10 pallets.

 

Image may be NSFW.
Clik here to view.
MKS59_06_TruckHighAdditionalCapacity.jpg
Additional planning relevant resource capacity

 

Planning now again those 11 Freight Units, the VSR creates 2 Freight Orders using the pieces information from the Freight Units header.

 

Image may be NSFW.
Clik here to view.
MKS59_07_FWO(MultipleTrucks)_LP_01.jpg
Planning result considering additional capacities

 

This is for sure not the answer to everything, but key takeaway is that there are options to streamline the VSR & LP process. The goal of today's blog was to give a hint for the right direction when setting up the scenario.

 

Stackability and different pallet types are not touched today, but you can be sure there are ideas and solutions.

How to access Schedule ID from TOR


Hello ,

 

I am new in TM module. I want to read Schedule ID (Present in General tab of TOR screen) in program . Can you please guide me how to fetch that. I am not able to find proper association  .

 

Thank you very much for your support.

 

Regards,

Susanta


SAP TM Gantt chart - Field list concept

For the Gantt chart selection panel SAP offers a new concept how to customize the visible columns for a hierarchy. This post should guide you how to create your own field lists using customizing activity “Define Field Lists for Gantt Chart” (TM 9.2) or  “Define Field Lists and Label Schemes for Gantt Chart” (Since TM 9.3).

 

Image may be NSFW.
Clik here to view.
bild 2.png


In hierarchies if you display different object types on different levels it usually happens that you have a lot of columns which have value for one object type but not for the other. This lead to the result that the table takes more screen space and shows a lot of empty cells.


As in a Gantt chart the focus should be to have a maximum size of the chart area and minimize the used space of the selection panel. Therefore we decided to enable a new concept which enables displaying different attributes for different object.


Imagine you run a scenario with tractors and trailers. For your tractors you have defined depot locations but as you have many trailers those are not fixed linked to a location. For sure you are interested in the maximum used utilization of your trailers. In most tables you have to add 2 columns with displaying nothing for one cell in each row to show both values. In the Gantt chart it should be possible now to combine both columns to one.


Image may be NSFW.
Clik here to view.
bild 3.png

 

For maintaining how the system should combine columns we have created the customizing activity “Define Field Lists for Gantt Chart”. In the terms of the customizing a column in the table is called a field; a column set is called field list. The basic idea of the flexible columns is that each field can be filled by another attribute for different object types. After creating fields you combine a set of fields in a field list which can then be used in your different Gantt chart hierarchies.

 

Image may be NSFW.
Clik here to view.
Bild 4.png

Enhancements:


As we know a lot of our customers have a set of own fields they want to display. So how to display own fields in the Gantt chart as well?


For all enhancement fields you have made on root node level of the different objects it will work out of the box. So if you created a new field e.g. on the TOR root node it will appear in the search help for trailer units and freight orders in the customizing and will be filled automatically.


For non-root enhancement fields or transient fields it’s a little bit more complicated. Before starting the enhancement I would highly recommend to implement SAP Note 2184530 “Gantt chart: Single point of sorting BO data for enter and update processing”. First you will have to enhance the corresponding Gantt chart structure for the corresponding object type (/SCMTMS/S_GNT_ORDER or /SCMTMS/S_GNT_RESOURCE). Now the new field is appearing in the customizing field help as well but you still need the logic for filling the field. Therefore you could do some post method enhancement in class /SCMTMS/CL_UI_GNT_MAP_BO_DATA. This class prepares all data for the Gantt chart.


You could add your code behind method MAP_BO_DATA_ORDER respectively MAP_BO_DATA_RESOURCES. After these methods the internal tables are filled with the data which will be shown by the Gantt chart from standard. You will find your custom field in the component data_ref. For easier accessing the data please use method MAP_BO_DATA_SET_DYN_ATTRIBUTE. The following screenshot shows some example implementation in the post-method; please find the code attached.


Image may be NSFW.
Clik here to view.
Bild 6.png


Limitation:


For some attributes a conversion is needed to bring them into the right user format. These are all numbers and dates. Currently it is not supported to combine attributes which need different conversions in the same column. So you cannot combine dates with number, text with dates or text with numbers.


Currently it’s not supported to combine several attributes which need other conversions in the same columns. So displaying a date, a number and simple text in the same column is not recommended. In the above mentioned scenario this would mean that the utilization will not convert the decimal separator to a comma based on user settings

SAP TM Gantt chart

In release 9.2 SAP TM introduced a Gantt chart for road transportation planning aiming a better visibility on usage and availability of truck and trailer resources. The Gantt chart should support in getting a quick overview of the planning and execution status of a transportation plan.

 

Image may be NSFW.
Clik here to view.
bild 1.png

 

As a new area in the transportation cockpit it is flexible in use and offers a new view on the data of a planning session. It visualizes usage, nonworking time & downtimes and load utilization of trucks and trailers, displays execution status and reported times for freight orders, trailer units and shows notifications for overload, empty movements and time conflicts.

 

It’s possible to zoom in and out on the time axis, switch between different views and hierarchies and change the plan using drag & drop and context menu functions. One of the current limitations is the drag & drop functionality from outside the Gantt chart (other transportation cockpit areas) to the Gantt chart, which is not working in the current SAP TM releases.

 

The following blog posts should give you an overview how to use and customize the Gantt chart.

 

Topic
1SAP TM Gantt chart - How to set up
2SAP TM Gantt chart - Field list concept

Logistics Procurement Dashboard

hi experts,

 

has someone already used the logistics procurement dashboard for strategic freight Management? if yes, would you mind pasting a screenshot and a short Explanation of a used-case for an LSP? I have attachd a sceenshot from Standard Training, but I would like to see a real life example. Is it necessary to connect BW to TM as a pre-Requisite or can I use BCV in TM for example without a BW connection? a link to further documentaion is highly appreciated. As usual, Points will be awarded quickly for correct and helpful answers.

Image may be NSFW.
Clik here to view.
log proc dashboard.JPG

 

Thanks in advance

Petra

Monday Knowledge Snippet (MKS) - 60 Location Geo-Coding

Stumbling over the topic Location Geo-Coding last week which is pretty important for the transportation network data quality and having to dig deep into it again, it is probably a good idea to write it down and share.

 

Why?

 

Geo-Coding is a function to enrich the Location master data with geo-coordinates based on their address fields (Note that the location is no TM specific master data object, but located in the SCMB. So all of this is also relevant for applications sitting on top of the SCMB like EWM.). Those coordinates define the more or less accurate position of this location on earth. Coordinates comprise longitude, latitude and altitude (I am actually not aware of any standard process using this altitude, but in a CD project it could be used [incompatibility, ....]). In the location transaction you see longitude and latitude in degrees, minutes, and seconds. In the database table (/SAPAPO/LOC) you find those fields in GPS format in fields xpos and ypos. For each location you have in addition the information on which precision level the geo-coordinate could be determined (from unspecififed over world up to house number).

Image may be NSFW.
Clik here to view.
MKS60_01_Location_Address.jpg

Location Address

 

Image may be NSFW.
Clik here to view.
MKS60_02_Location_Coordinates.jpg

Location Coordinates

 

The most important usage of this information is the distance determination. This determination is required when creating a transportation lane (system makes proposal for distance and duration), creating TM business documents having stages, and running automatic transportation planning. Especially for planning the distance and duration data quality is crucial having a strong impact on the result quality of the transportation plan created.

 

The second use case is the display of the locations (either standalone or as start/destination of a transportation lane, schedule, or TM business document like a freight unit or freight order) on the SAP TM geo-map component. Without an accurate coordinate you will se results completely confusing for the user.

 

Image may be NSFW.
Clik here to view.
MKS60_03_LocationOnMap.jpg

Location displayed on Geo-Map using SAP Visual Business

 

When?

 

Geo-Coding is applied whenever a location is created or relevant address fields are changed. This can either be:

  • manually in the location transaction
  • in background when uploading or transferring locations (CIF from SAP ERP)
    • Note that the Geo-Coding can be disabled for the upload. When your locations already have accurate geo-coordinates attached and you do not want the system to overwrite those, the function module /SAPAPO/LOC_MAINTAIN_CIF on SCM side has the parameter IF_NO_GEOCODING. This can be set in the BAdI SMOD_APOCF001 interface method IF_EX_SMOD_APOCF001~EXIT_/SAPAPO/SAPLCIF_LOC_001 using parameter EF_NO_GEOCODING.
  • manually creating a Transportation Request in TM
  • during order integration from ERP

 

The special case related to the orders is connected to the one-time location topic: SAP TM creates for those documents having stages based on address information so-called one-time locations. And for those of course also Geo-Coding is applied. See MKS10 One-Time Locations.

 

How?

 

Geo-Coding is by default applied like defined in the standard customizing under SAP NetWeaver -> General settings -> Set Geocoding.

 

Image may be NSFW.
Clik here to view.
MKS60_04_NW_GeoCoding_IMG.jpg

 

Here the to-be-used Geo-Coder can be defined per country. In standard all countries are assigned to Geo-Coder 'SAP0'. This Geo-Coder accesses geo-coordinates stored in the system for countries and regions. Those geo-coordinates can be adjusted or added in the activities 'Process Geographical Data for Countries' and 'Process Geographical Data for Countries and Regions'. From a TM use-case perspective, this information is more or less useless. Neither can the transportation planning run well on such coordinates, nor can the location be displayed correctly. It is a fallback to have at least a grouping on country/region level. Note that there is no such geo-coordinate logic available based on postal codes (what would improve the 'SAP0' logic already quite a bit).

 

To improve the Geo-Coding quality, the standard comes with the option to connect to an external GIS using the SAP IGS infrastructure using Geo-Coder class 'CL_GEOCODER_IGS'. Check the documentation for activity 'Register Geocoding Program in the System'. This setup passes the address information to a real GIS and receives good quality geo-coordinates. Important to know is that SAP TM is not shipped together with the required product since a long time, but SCM still is.

 

It is possible to enhance the Geo-Coding here by defining a custom Geo-Coder and connect to the desired source. To do this, a class implementing interface IF_GEOCODING_TOOL is required which can be entered in this activity. Note that for the TM use case another more direct enhancement option exists, which I will explain later. But if you have already set this up, you can of course keep it running also when using the GIS integration framework.

 

Image may be NSFW.
Clik here to view.
MKS60_07_Custom_GeoCoder_Implementation.jpg

Custom Geo-Coder class

Image may be NSFW.
Clik here to view.
MKS60_07a_Custom_GeoCoder_Implementation.jpg

Geo-Coding implementation

Image may be NSFW.
Clik here to view.
MKS60_05_NW_GeoCoding_IMG_Register_GeoCoder.jpg

Custom Geo-Coder

 

In the country assignment it is possible to select from all available Geo-Coders and give those a sequence. For example I can say I prefer my custom Geo-Coder 'ZCGC' for Hungary, but want as fallback still 'SAP0'. In case I delete the 'SAP0' entry, the system should leave the coordinates initial when the Geo-Coder does not return a result or can not be reached. This was not working this way when using the new GIS integration framework, but was corrected with note 2219651.

 

Image may be NSFW.
Clik here to view.
MKS60_06_NW_GeoCoding_IMG_Assign_GeoCoder.jpg

Geo-Coder Country Assignment

 

GIS Integration framework based on the Process Controller

 

For improvements for a streamlined Geo-Coding and Distance determination, it was required to have a more flexible framework which was delivered with SAP TM 8.0. This framework is based on the Process Controller (MKS03) and uses Geo-Coding levels. More details can be found in MKS07 Geo-Coding levels. Basic idea is that you can on SCM level define a strategy you want to apply for Geo-Coding (either the standard using the NetWeaver framework or a custom strategy).

 

Image may be NSFW.
Clik here to view.
MKS60_08_GeoCodingLevels.jpg

 

Geo-Coding level definition

 

By default, this definition is empty meaning the standard NW Geo-Coding is applied. But now a specifc GC level can be added. Pointing to the delivered standard strategy GC_STD the effect is the very same like no GC level, but you could for example point to a custom strategy. The usage of the standard strategy GC_STD makes sense when you have multiple GC levels, which is only required for a performance improvement for distance determination.

 

Important to know is that the coordinates on the most detailed GC level must be in synch with the location header coordinates.

 

Image may be NSFW.
Clik here to view.
MKS60_09_GeoCodingLevelDefinition.jpg

Geo-Coding level definition

 

Check and correct

 

Especially for the mass background processes it is quite cumbersome to check the application log or each location if the Geo-Coding returned sufficient results. For this the report /SAPAPO/MASS_GEOCODE_LOC can be used enabling a quick check (display) of selected locations, but also a simulation and correction of all or specified GC-Levels. This report has been enhanced with note 2218006 and should now cover the known requirements (keep manually maintained coordinates, selection by zone, selection by used source).

Rate calculation in TOR with ref to BO_TYPE

Hello All,

 

We are working on TOR rate calculation depending on TRQ type.

 

Eg : We have XYZ , ABC, DEF as 3 FWO types and assume we have 2 ABC Fwo types assigned to a freight order , with 4 different destination locations.

 

ABC FWO type --> Dest loc 123 --> FO - 1234

XYZ FWO type --> Dest loc 234 --> FO - 1234

ABC FWO type --> Dest loc 345 --> FO - 1234

DEF FWO type --> Dest loc 456 --> FO - 1234

 

Now , we need to get the rates in Freight agreement according to FWO type.

ABC FWO type shipments will be paid 10 Euros / location.

XYZ FWO type shipments will be paid 15 Euros / location.

DEF FWO type shipments will be paid 20 Euros / location.

 

In our above example , we need to see the rates as

10*2 = 20 Euros

15*1 = 15 Euros

20*1 = 20 Euros

Total = 55 Euros

 

Can any one share some inputs on this scenario. How to proceed ?

 

SAP9.1 .

 

Regards

 

Pradeep

Viewing all 533 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>