Quantcast
Channel: SCN : All Content - SAP Transportation Management (SAP TM)
Viewing all 533 articles
Browse latest View live

Activate the TM Quicksearch

$
0
0

This posting is about how to activate the TM quicksearch, a nice way to access TM transactional documents directly from the NWBC search bar.

Basically it looks like this, enter a search string in the NWBC search bar, get a result list instantaneously:

Quicksearch Example

 

 

 

If you are interested in the functionality, you may check TMP033 ( http://podcast.tm-podcast.com/tmp033-tm-quicksearch/ ), the podcast episode about the topic.

 

Now, how to activate the TM Quicksearch for you:

 

1. Install note 2260864 which is available from 9.1 onwards and comes with the required classes

2. Check and/or activate the SICF service:

    To make the search classes available they must be accessible as a service. This is done in transaction SICF. The path is sap->bc. In there add a service      named tm_quick_search. The only tab where you need to maintain something is the handler list, in there enter the      class /SCMTMS/CL_QUICK_SEARCHPROVIDE. It should look something like this:

    SICF_setting.JPG

3. Activate the service

4. Enter the Search provider URL: The easiest way to test the service is to enter the search provider explicitely in the NWBC search provider list. This can be      done from the NWBC menu:

    Search Provider Menu path

        The URL is composed as follows:

 

    First part:

    Your system url and port (you can get this from options->settings->connections in the NWBC menu)

      Second part:

    /sap/bc/tm_quick_search?type=OpenSearchDescription

    Third part:

    Optionally you can add some parameters like restriction to a certain search class, if you only want to search e.g. Forwarding orders, I will try to complete      the list later in here, we can start with the default

 

 

With this, you are done and can use the TM Quicksearch!


empty freight unit list to create deivery proposal

$
0
0

Dear experts,

we try to implement the following integration ERP-TM in TM 9.2:

 

erp sales order --> tm otr --> tm freight unit --> tm freight order --> delivery proposal -->...

 

We start delivery proposal creation from NWBC - Overview road freight order (button "Create Deliveries in ERP"),

But when report "Create Deliveries in ERP" appears -- there is no freight unit for processing and no any explanation for empty list.

In the same time transportation cockpit with the same selection profile shows us a list of freight units.

Also, we don't have any blocks for delivery, freight order type marked as relevant for shipment creation in SAP ERP.

 

Does anyone have an idea what we need to check?

 

Thanks in advance

Usage of NWBC

$
0
0

Dear experts,

 

we would like to use nwbc 5.0 with TM, but we have lots of users and we need to be able to make them use nwbc and still have the same authorization checks and if possible have them use nwbc when they are calling Transaction nwbc from the gui menu.

 

Any tips? We would like to use nwbc because Performance is better and ist more comfortable. But, we cannot ask each of our users to download it, make favorites. We need to give them a set of favorites.

 

Thanks in advance

Petra

Can anyone share there experience of TM 9.1 to 9.3 upgrade ?

$
0
0

Can you please explain the benefits of upgrading TM9.1 to 9.3?

What are the typical hurdles one faces during this upgrade ?

What are the watch points ?

What activities need to be covered during the cutover ?

Container Management scenario in SAP TM

$
0
0

Container tracking functionality in SAP TM was never realised in practise until SAP EM was used since SAP TM was mainly used for transportation of products or goods from source to destination location.However with SAP TM 9.2 SAP TM can now be used to transport equipements like containers.In older versions SAP TM assumed that containers has to be loaded before transportation process started but infact we also need to keep in mind that the containers transport journey starts much before it was loaded in shippers site.

Hence for any LSP scenario, if there was no empty container available from shipper then in that case empty container have to be hired/contracted from the carrier or LSP who is responsible for the entire transport execution.In this case the process flow is as follows:

 

a) Container picked up from container yard

b) Empty container transported to port of loading.

 

The process a.b is called empty container provisioning

 

c) Once the container was fully loaded ( FCL scenario) the transport is executed and then the container is unloaded at consignee location

d) Finally the empty container from consignee location comes back to container yard again

 

Process c,d is called as empty container return.

 

In order to map the process a-d , we can set up forwarding order and in the item details in the item hierarchy empty provisioning and empty returns indicator has to be set as X.Kindly note that container item has to be maintained in item hierachy.

In the locations/dates time tab of FWO, the source and destination location represents the loading and unloading point of container.However the container yards locations are not maintained in the FWO .

Secondly in the item details of the FWO, when we click on the container item, there is two new tabs called as empty provisioning and empty retuns.

In the tab for for empty provisioning, delivery location of empty container and the delivery dates are always prefilled.However both this data can be changed manually since specially the delivery location can be changed if shipper wants to receive the empty container at a different location.

similarly the empty return container tab is always prefilled with pick up date and pick up location which can be changed manually.

 

Similarly on the stages tab of FWO, dates and locations for empty provisioning/return can also be defined and maintained and also amended in the same tab.

 

Empty provisioning/return scenario is not supported for trailers and trailer units.

Create new Freight order through Freight unit

$
0
0

Hi ,

 

In BOPF using OPTIMIZE action in  /SCMTMS/TOR object  I have to create the Freight Order using multiple Freight Units having the same stages but FO is not created and not populating any errors.

In this FU's are not planned , Here is the sample code I wrote to create the FO

 

   lo_srv_mgr          TYPE REF TO/bobf/if_tra_service_manager,      " Containing the public service methods of a service manager

&---------------------------------------------------------------------*
* Get an instance of a service manager for FO
*&---------------------------------------------------------------------*
lo_srv_mgr = /bobf/cl_tra_serv_mgr_factory=>get_service_manager(/scmtms/if_tor_c=>sc_bo_key ).

 

 

 

  CALL METHOD

lo_srv_mgr->do_action
EXPORTING
iv_act_key           = /scmtms/if_tor_c=>sc_action-root-optimize
it_key               = lt_key_fu
*    is_parameters        =
IMPORTING
eo_change            = lo_change
eo_message           = lo_msg
et_failed_key        = lt_failed_key
et_failed_action_key = lt_failed_act_key
.

IF lo_msg IS BOUND .
/scmtms/cl_common_helper=>msg_convert_bopf_2_bapiret2(
EXPORTING
io_message  = lo_msg
CHANGING
ct_bapiret2 = lt_bapiret2  ).
endif.

*&---------------------------------------------------------*
* Save the changes on the Freight Order/Freight bookings..
*&---------------------------------------------------------*
lo_tra->save( IMPORTING  eo_message = lo_msg ).
IF lo_msg IS BOUND .
/scmtms/cl_common_helper=>msg_convert_bopf_2_bapiret2(
EXPORTING
io_message  = lo_msg
CHANGING
ct_bapiret2 = lt_bapiret2  ).
endif.

 

 

Please suggest an alternative  if it doesn't work this way.

 

Thanks

Arun

Create a Freight Order with a Z program

$
0
0

Hi, Experts!

 

I need help!

 

I need to create a freight order with a z program.

 

The process is as follows: The user selects in a grid, a line with the data necessary for creating the freight order and clicks on a "Create Freight Order" button. From this point on the program will create the freight order automatically.

 

 

But I do not know how... I imagined using BAPI, but I realized that this is not right in the TM. Someone can show me the correct way, please ?!

 

Thanks!!!!

Standard Statuses in TM at a glance

$
0
0

When working with TM, I find it useful to look at all statuses at one glance, thus I am pasting here a summary power point of the standard statuses and how they are updated by EM. Hope, you find it useful.

 

The execution status at the header can be used to exclude FOs from the cockpit that have arrived at the final destination.

It allows you to show only freight orders that are "in execution" in a POWL.

The handling execution status on FO item level can be used to check what is the current status of the FU (loaded or unloaded ) but it does not say where.

For example, on the Fo item tab, customers can see which one of the FUs was already loaded. But, it changes to unloaded when its delivered and always shows the latest status.
The handling execution status on the stop level says what the status is AND where.
The cargo receipt status allows seeing if one product on a FU was delivered.

 

If you use standard EM events UNLOAD_END and LOAD_END to do your loadings and unloadings, these statuses will be updated automatically.

In addition, the logistics execution status on the FO header is updated with the last event which is visible on the FO POWLs.

 

Standard TM Statuses at a Glance.PNG


NWBC 5.0 to download

$
0
0

Its so difficult and long to download nwbc from the SAP market site.  Thus I am posting it here for you to download.

Of course, its free and all rights are reserved with SAP AG in Germany and other countries.

 

https://cloud.web.de/ngcloud/external?locale=de&guestToken=1BgFiq8YRW2xK1dWiBLqqQ&loginName

 

On many projects, people do not take time to install it and they use the Gui and type nwbc. Its a shame, please use it. It makes your life easier.

 

Advantages of nwbc:

 

-its faster then the GUI browser link

-its more comfortable to move between several tabs

-you can maintain favorites and display FO or FU with one click

overview tabs.PNG

 

-you can type part of the transaction name and it will bring you to the area

 

searching an area in nwbc.PNG

 

-you can move from dev to quality system with one click

 

switching between dev and quality.PNG

 

Any more advantages ? If I have missed some, please add others.

Retrieve different Stages of a Freight Order via OData

$
0
0

A freight order can have a couple of freight units assigned, ready to be picked up at different locations and to be delivered to another - resulting in different stages for the freight order:

 

fo stages.PNG

 

I'd like to retrieve that stages via EM OData service with additional information like sequence (stage number) and source/destination addresses.

 

Is that possible with the standard implementation? My approach would be to use the /FreightOrderEventHandlerDetails path and look for the ExpectedEventSequeceNumber and EventLocation. I would then retrieve the corresponding freight units via /FreightOrderAssignedFreightUnits and the FreightUnitLoadingLocation.

 

Might there be a more elegant way?

 

Regards,

Jan

Geo-coding connection to PC Miler

$
0
0

dear experts,

 

we would like to use the standard geo-coding interface TM to Geo-coding system interface to connect to PC Miler. We have developed the class and method that retrieves the geo-coordinates from Pc Miler. We have assigned it in customizing for the process controller, but still when we run report /SAPAPO/MASS_GEOCODE_LOC, it uses SAP0 and ignores our custom class/method. We have done the assignments to the country and set it as exclusive. When we were trying to assign the class and method in the process controller transaction, we received a message that the class does not exist, but it does. we have verified in SE24.

 

Do you have an idea what could be the root cause?

 

Thanks in advance

Petra

 

20160106-geo-coding failure.png

Create Freight Order with Zprogram

$
0
0

Hi All,

 

I got a requirement to create the Freight Order in a Z program .

 

I tried to create FO using  methods mentioned below by taking the reference from link https://scn.sap.com/thread/3670872


But FO is neither created nor raised any errors .


-/scmtms/cl_tor_factory=>create_tor_tour

-/scmtms/cl_tor_factory=>CREATE_TOR_FO

 

Please suggest.

 

Thanks,

Arun

How to discard PPO2 error "Active ERP Shipment not found" through zprogram

$
0
0

Hi Experts,

 

I want to discard PPO2 error " Active ERP shipment not found " through my Zprogram.

 

In standard PPO2 transaction "/SAPPO/PPO2" we get list of all PPO2 errors as shown below by giving values in below fields on standard screen.

 

Order status           : 1 to 2 ( NEW and IN-Process orders)

Order Assignment : 2 ( All Orders)                                        

Mode of processing Order : 2 to 3 (Only Manual Processing Permitted OR Manual and Automatic Processing Permitted)

ppo23.PNG

 

We always run this standard transaction by above values only. Every time we need to discard these " Active ERP Shipment not found " errors manually by below two processes.

 

Step 1. PROCESS the error.

process.PNG

 

 

Step 2. DISCARD the error.

discard.PNG

 

In this way we discard this error by above two processes manually. Hence when we again run the transaction PPO2(/SAPPO/PPO2) by giving above values on standard screen i.e. order status : 1 to 2, Order assignment : 2 , Mode of processing : 2 to 3. then these errors does not appear us because there status is changed to 3 ( Completed ).

 

We want to automate these two steps ( Process AND Discard ) through our ZProgram.

 

 

I am able to fetch these errors in my report through standard FM " /SAPPO/BAPI_ORDER_GET_LIST ". as shown below.FM.PNG

I am getting these errors in table ORDERMSGOUT with error type E, MSG class "/SCMTMS/TOR" and MSG number "482" along with their

ORDER ID.

Now Please suggest how to proceed further.

 

Thanks in advance ...

Transportrequests fail for BRF+ transports

$
0
0

Hi,

 

We're getting following errors while transporting BRF+ transports from our DEV to the QA environment.

 

Logfile:

Errors occurred during post-handling FDT_AFTER_IMPORT_C for FDT0000 T

The errors affect the following components:

    BC-SRV-BR (BRFplus - ABAP-Based Business Rules)

 

Any Idea to fix this transport?

 

Kind regards

POWL (Change Query, Define New Query, Personalize)

$
0
0

Why for the same user are the 'Change Query, Define New Query, and Personalize' available on 1 POWL screen and not on another? I'm not finding much guidance online and am looking for some focused discussion. THANKS IN ADVANCE!!

 

Snap1.jpg

 

Snap2.jpg


How to bill freight costs to the customer?

$
0
0

Dear all,

 

we as a shipper (Chemistry business) want to introduce SAP TM.

 

We are currently using LE-TRA for the processing of our shipments. There is a standard functionality which allows shipment costs (as calculated in the Shipment cost document) to be billed directly to the bill-to-parties of the included deliveries/sales orders. With SAP TM, we want to perform charge calculation in TM, of course. To our current knowledge, there is no standard functionality which allows shipment costs transferred from SAP TM to SAP ERP to be billed to the customer. Is there any "common" custom development or does anyone have an idea where to start for this?

PPF Action Getting Triggerred on FO EDIT

$
0
0

I have created a custom Action Definition in Standard Action Profile /SCMTMS/TOR_PRINT_ROAD with Processing Type as Method Call.

 

Now When I save the Freight Order document , It triggers my custom  PPF Action Def and goes into display mode.

 

Now as soon as I click Edit on Freight Order , Another Action Gets Triggered.(  This is where the problem is).

 

No if I make change and save again , it triggers again and goes to display mode.

 

 

Question is :  Why is this PPF action Def gets triggered when we click EDIT on Freight Order. ???

Create forwarding order

$
0
0

Hi Experts,

We have a scenario whereby based on services to be provided to customer, billing to customer will be based on that.Since its a shipper scenario hence its not possible to have a FWO from scratch.However my suggestion is to create a FWO in SAP TM along with OTR when sales order is created in ECC.

Any idea how to create a FWO in such scenario for a shipper scenario and provide some technical details

Transport of Universe from Dev to other environments

$
0
0

Hi All,

 

Am trying to transport Universe created using IDT tool 4.1 sp5 along with its dependent objects like Connections and WebI reports built on top of it from Dev to Quality system using Promotion Management.

While transporting using admin credentials the Scan button is disabled wherein no connections are visible to override connection details. What could be the reason?

 

The connection which am using is Relational Connection for HANA which is published from IDT to DEV CMC.Do we have any other possibility to edit the connection manually in repo instead of going back to IDT and  editing the connection details and republish to DEV CMC?

Temperature conditions for transports

$
0
0

Dear all,

 

currently (in ERP) we are using the field "Temperature Condition" in the material master (view Plant/Storage 1) to maintain temperature conditions for shipments (and print them on forms). As far as I can see, this field is not transferred via CIF. How is the idea to handle such things in TM? Are we supposed to use the temperature fields in EH&S master?

 

Thanks for any ideas!

Viewing all 533 articles
Browse latest View live


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