Hi,
Please inform whether SAP TM has been used for 'Collection , sorting & distribution ' processes for any postal services company or SAP's plan with TM for this sort of industry.
Thanks in advance.
With regards,
Mrinal
Hi,
Please inform whether SAP TM has been used for 'Collection , sorting & distribution ' processes for any postal services company or SAP's plan with TM for this sort of industry.
Thanks in advance.
With regards,
Mrinal
Hi,
Can anyone help me with BADI - /SCMTMS/TRQ_SE_REQREQ in SAP TM.
My requirement is to create a Z field in table /SCMTMS/D_TRQROT and update this field with a value when a new Transport Request Root is created. I have created an append structure in this table as well as in the structure /SCMTMS/S_TRQ_ROOT_K which is used in the BADI.
I am also passing this new field in Change fields parameter in the BADI. But it is still not updated in table.
I have attached the code written in BADI.
Can you please help me understand if this new field needs to be maintained anywhere or I am missing anything?
Thanks & Regards,
Rohan Hardikar.
Hi can anyone shed some light how/if can we use Default Route in FWO and can it be used without defining Transportation Lanes and running Planning Cockpit??
Also how to enable Distance on Default Route Screen, currently its not visible In our system as it is on Schedule maintenance.
Hello Friends,
As per standard SAP TM-EWM integration, as soon as EWM performs "TU departure", Packages information flow to TM (in our example, through XML call)
Can we flow Packages information to TM as soon as EWM packs the material (HU confirmed i.e. Packed) and completes the "PACK" activity.
Please inform if this is possible in Standard, else how this can be achieved.
Thanks and Best Regards,
Vikas Chhabra
Hello Marcus Zahn,
I have followed a few of your MKS. I am trying to set up Load Planning in TM 9.3 with Sales Order integration. However, the stacking factor doesn't seem to work for Load Planning. Do you have any thoughts on this?
Best,
Sai
Hi all,
I need to create new charge lines in a freight order by means of a Z-program. I have tried to use method DO_ACTION of service manager for /SCMTMS/IF_TOR_C=>SC_BO_KEY using /SCMTMS/IF_TCC_TRNSP_CHRG_C=>SC_ACTION-CHARGEITEM-ADD_NEW_CHRG_EL_LINE, but failed so far. Actually the line is created but the amount is just ignored and remains blank.
I have then tried to modify the created line to kind of "add" the amount with method MODIFY but again it would not work. I debugged method /BOBF/IF_FRW_DETERMINATION~EXECUTE of class /SCMTMS/CL_TCC_CHRG_EL_D_AM and the strange thing is that method MODIFY_AMOUNT is called only for creation. I tried using both change modes but it does help. Also, these methods are private and called for determinations so I'm not sure I could manage to call them directly.
I have found an old thread (How do I create new Item charge element under c... | SCN) where people manage to do exaclty the contrary but still not working (and lacking some explanations about how to get all the keys). Here's the coding I used in case someone's done that already:
"----------------------------------"
" Data
"----------------------------------"
data:
lo_srv_mgr_tor type ref to /bobf/if_tra_service_manager,
lo_tra_mgr type ref to /bobf/if_tra_transaction_mgr.
data:
lt_fo_root_key type /bobf/t_frw_key,
ls_fo_root_key type /bobf/s_frw_key,
lt_tcc_root_key type /bobf/t_frw_key,
lt_crg_itm_key type /bobf/t_frw_key,
ls_crg_itm_key type /bobf/s_frw_key,
lt_crg_itm_data type /scmtms/t_tcc_chrgitem_k,
ls_crg_itm_data type /scmtms/s_tcc_chrgitem_k,
lt_itm_elem_data type /scmtms/t_tcc_trchrg_element_k,
ls_itm_elem_data type /scmtms/s_tcc_trchrg_element_k.
data:
lv_chrg_it_node_key type /bobf/obm_node_key,
lv_chrg_it_assoc_key type /bobf/obm_assoc_key,
lv_it_elem_node_key type /bobf/obm_node_key,
lv_it_elem_assoc_key type /bobf/obm_assoc_key.
data:
lv_action type /bobf/act_key,
lt_action_key type /bobf/t_frw_key,
ls_action_key type /bobf/s_frw_key,
lr_params type ref to /scmtms/s_tcc_a_add_chg_el_lin,
lo_change type ref to /bobf/if_tra_change,
lo_message type ref to /bobf/if_frw_message,
lt_failed_key type /bobf/t_frw_key,
lx_error type ref to /bobf/cx_frw,
lt_return type bapiret2_tab,
lv_rejected type boole_d.
data:
lr_amount type ref to /scmtms/s_tcc_amt_with_role_k,
lr_element type ref to /scmtms/s_tcc_trchrg_element_k,
lt_fields type /bobf/t_frw_name,
lt_modify type /bobf/t_frw_modification,
ls_modify type /bobf/s_frw_modification.
"----------------------------------"
" Sel. screen
"----------------------------------"
parameters: p_tor_id type /scmtms/tor_id default '00000000000400003498'.
"----------------------------------"
" Service Managers
"----------------------------------"
lo_srv_mgr_tor = /bobf/cl_tra_serv_mgr_factory=>get_service_manager( /scmtms/if_tor_c=>sc_bo_key ).
"----------------------------------"
" Get FO key
"----------------------------------"
select single db_key
from /scmtms/d_torrot
into ls_fo_root_key-key
where tor_id eq p_tor_id.
append ls_fo_root_key to lt_fo_root_key.
"----------------------------------"
" Transportation Charges
"----------------------------------"
lo_srv_mgr_tor->retrieve_by_association(
exporting
iv_node_key = /scmtms/if_tor_c=>sc_node-root
it_key = lt_fo_root_key
iv_association = /scmtms/if_tor_c=>sc_association-root-transportcharges
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
importing
et_target_key = lt_tcc_root_key ).
"----------------------------------"
" Charge Items
"----------------------------------"
/scmtms/cl_common_helper=>get_do_keys_4_rba(
exporting
iv_host_bo_key = /scmtms/if_tor_c=>sc_bo_key
iv_host_do_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
iv_do_node_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_node-chargeitem
iv_do_assoc_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_association-root-chargeitem
importing
ev_node_key = lv_chrg_it_node_key
ev_assoc_key = lv_chrg_it_assoc_key ).
lo_srv_mgr_tor->retrieve_by_association(
exporting
iv_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
it_key = lt_tcc_root_key
iv_association = lv_chrg_it_assoc_key
iv_fill_data = abap_true
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
importing
et_data = lt_crg_itm_data
et_target_key = lt_crg_itm_key ).
"----------------------------------"
" Item Charge Elements
"----------------------------------"
/scmtms/cl_common_helper=>get_do_keys_4_rba(
exporting
iv_host_bo_key = /scmtms/if_tor_c=>sc_bo_key
iv_host_do_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
iv_do_node_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_node-itemchargeelement
iv_do_assoc_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_association-chargeitem-itemchargeelement
importing
ev_node_key = lv_it_elem_node_key
ev_assoc_key = lv_it_elem_assoc_key ).
lo_srv_mgr_tor->retrieve_by_association(
exporting
iv_node_key = lv_chrg_it_node_key
it_key = lt_crg_itm_key
iv_association = lv_it_elem_assoc_key
iv_fill_data = abap_true
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
importing
et_data = lt_itm_elem_data ).
Then either this to create:
"----------------------------------"
" Create new line
"----------------------------------"
/scmtms/cl_common_helper=>get_do_keys_4_action(
exporting
iv_host_bo_key = /scmtms/if_tor_c=>sc_bo_key
iv_host_do_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
iv_do_action_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_action-chargeitem-add_new_chrg_el_line
importing
ev_action_key = lv_action ).
create data lr_params.
lr_params->tcet084 = 'Z-RD-SALE'.
lr_params->amount = '0.03'.
lr_params->currcode016 = 'NOK'.
try.
lo_srv_mgr_tor->do_action(
exporting
iv_act_key = lv_action
it_key = lt_crg_itm_key
is_parameters = lr_params
importing
eo_change = lo_change
eo_message = lo_message
et_failed_key = lt_failed_key
).
catch /bobf/cx_frw into lx_error.
endtry.
Or
"----------------------------------"
" Update Amount
"----------------------------------"
append 'TCET084' to lt_fields.
append 'AMOUNT' to lt_fields.
append 'CURRCODE016' to lt_fields.
ls_modify-node = lv_it_elem_node_key.
ls_modify-change_mode = /bobf/if_frw_c=>sc_modify_update.
ls_modify-key = ls_itm_elem_data-key.
ls_modify-changed_fields = lt_fields.
ls_modify-association = lv_it_elem_assoc_key.
ls_modify-source_node = lv_chrg_it_node_key.
ls_modify-source_key = ls_itm_elem_data-parent_key.
ls_modify-root_key = ls_itm_elem_data-root_key.
create data lr_element.
lr_element->key = ls_itm_elem_data-key.
lr_element->tcet084 = 'Z-RD-SALE'.
lr_element->rate_amount = '0.03'.
lr_element->currcode016 = 'NOK'.
ls_modify-data = lr_element.
append ls_modify to lt_modify.
lo_srv_mgr_tor->modify(
exporting
it_modification = lt_modify
importing
eo_change = lo_change
eo_message = lo_message
).
And then save changes with the transaction manager (not posting coding).
Thanks to anyone who's got an idea
Sincerely,
Stephane
Hi,
I was wondering if we can discuss about certain best practise in a shipper industry implementing TM where the source country is in non SAP and destination country is in SAP.How such coexistence scenarios be implemented ?
Hi everyone,
can someone please tell me how to check a freight order data at BO level.
for example to be more specific,
on the charges tab of freight order, i can see different charge types that are calculated and the final amount calculated based on each charge type depending on the rate amount and calculation base etc.
So, can i see the same information at the BO level in transaction /BOBF/TEST_UI in BO - TRANSPORTCHARGES? If so i would like to know the sub objects and how these can be viewed.
The reason is, we use virtual private network to connect to nwbc and it is very slow and takes lot of time in navigation through orders. hence, the analysis gets delayed most times.
looking for answers.
Thanks
Raju
Hi Experts ,
Freight term is being picked up in term and condition tab in one freight order for a specific carrier and missing in another FO for another carrier .
From where the system is picking up . I checked BP and freight agreement and did not find .
Thanks in advance ..
Dear All,
We are planning to move to TM 9.3 and EWM 9.3 from our legacy (warehousing and freight) application. Currently the warehouse invoices are generated from the legacy warehousing application. We read that with EWM 9.3 warehouse billing feature is added. So going forward will we be able to use this feature for generating the invoicing using EWM 9.3 and TM 9.3. So the question is whether we will be able to consume the standard TM customer invoicing interface xml file or is there any separate xml file for warehouse billing.
Thanks & Regards
Jayant
Dear Experts,
I have a question can SAP TM can be integrated with SAP SNC. As i read somewhere that it can't be integrated with SAP SCM.
Thanks
Gaurav Gupta
Hi All,
I am trying to fetch the Freight Units which are not planned based on locations , but I am getting only Freight units which are already to some FO/FB.
IF s_fu_loc IS NOT INITIAL.
REFRESH lt_selpar.
ls_selpar-attribute_name = /scmtms/if_tor_c=>sc_query_attribute-stop-query_by_attributes-log_locid.
ls_selpar-option = s_fu_loc-option.
ls_selpar-sign = s_fu_loc-sign.
ls_selpar-low = s_fu_loc-low.
ls_selpar-high = s_fu_loc-high.
APPEND ls_selpar TO lt_selpar.
CLEAR : ls_selpar.
* Use method QUERY of the service manager to start the query
lo_srv_mgr->query( EXPORTING iv_query_key = /scmtms/if_tor_c=>sc_query-stop-query_by_attributes
it_selection_parameters = lt_selpar
IMPORTING eo_message = lo_msg
es_query_info = ls_query_inf
et_key = lt_key_root ).
lo_srv_mgr->retrieve(
EXPORTING
iv_node_key = /scmtms/if_tor_c=>sc_node-stop
it_key = lt_key_root
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
iv_fill_data = abap_true
IMPORTING
eo_message = lo_msg
et_data = lt_stop_fu ).
DELETE lt_stop_fu WHERE stop_seq_pos NE 'F'.
lt_key_stop[] = lt_stop_fu[].
REFRESH lt_key_root.
CALL METHOD lo_srv_mgr->retrieve_by_association
EXPORTING
iv_node_key = /scmtms/if_tor_c=>sc_node-stop
it_key = lt_key_stop
iv_association = /scmtms/if_tor_c=>sc_association-stop-assigned_capa_tor_root
iv_fill_data = abap_true
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
IMPORTING
et_data = lt_root
et_target_key = lt_key_root.
CALL METHOD lo_srv_mgr->retrieve_by_association
EXPORTING
iv_node_key = /scmtms/if_tor_c=>sc_node-root
it_key = lt_key_root
iv_association = /scmtms/if_tor_c=>sc_association-root-assigned_fus
iv_fill_data = abap_true
IMPORTING
eo_message = lo_msg
et_data = lt_root_fu.
* et_target_key = lt_key_root.
REFRESH lt_key_root.
lt_key_root[] = lt_root_fu[].
IF lt_key_root IS NOT INITIAL.
APPEND LINES OF lt_key_root TO lt_key_root_fu.
ENDIF.
ENDIF.
please help me out how to fetch the FU's which are not in planned state
Thanks,
Arun
Hi,
I have created a 2 stage FWO type, which will have 2 legs of transportation.
Location A -> Location B & Location B -> Location C.
Location A & C can be anything, whereas Location B will always be the Warehouse.
How can we default Location B alone to a particular location.
SAP TM 9
Thanks in advance,
Deepan Mahendran.
Hi ,
I am working on a requirement where I need to add a new tile and display a table data (from SAP TM) when click on new tile in Freight settlement .
Referring to CP portal guide I manage to create a tile also I understand that we need to create a service to get the data and display but as I am new to UI5 and java script I am not finding way out how should I capture the click event of my new extended tile and call the service/display the required data.
I created new BSP aaplication and files like
1) Componenet.Js
2) Controller.Js
3) View.Js
4) Fragment.Js
Also created ADDNAV, etc .
As now I had a new tile just I want to know steps to get the required data on click on this tile.
Thanks & Regards.
Hello,
I came across a strange issue which I raised through SAP Incident. I am also summarizing quickly, believing you may have some fix available, that we can use immediately.
Case 1: This is OK
Create a Sales Order, Complete and Save:
1. Get a successful TRS0 - OK
2. Outbound Sender ECC Service Interface successful - OK
3. Inbound Receiver TM Service Interface successful - OK
In the Outgoing and Incoming XML, TransportationRequest actionCode="01"
"01" is triggered when Order Creation passes to TM system
Case 2: This is NOT OK
When an incomplete sales order in ECC is saved, output TRS0 fails (Incorrectly processed) - This is OK
Later, when this incomplete Sales Order is completed and saved, the expectations are:
1. Get a successful TRS0 - OK
2. Outbound Sender ECC Service Interface successful - OK
3. Inbound Receiver TM Service Interface successful - FAILING
Error: Data not saved; check BO /SCMTMS/TRQ implementation
Analysis of XML:
TransportationRequest actionCode="02" instead of "01"; * Where 02 is triggered when Order Changes move to TM system. But since this is first XML, it should have triggered TransportationRequest actionCode="01"
Please inform if someone faced same issue and if any quick fix/note available to fix this.
Thanks and Best Regards,
Vikas Chhabra
Hello,
How can i change a field(shipping_type) in /SCMTMS/TOR ROOT node BEFORE the order gets created?
I´ve searched for BADIs but did not find anything that runs before the orders creation...
I´me able to change the field later using /bobf/cl_tra_serv_mgr_factory but i was wondering how can it be done BEFORE it´s commited to the DB...
Thanks a lot!
Joe
Hi Experts,
On IW32 we can impute an order on a particular client.
Can you please advise on which table we can find this client or any FM or BAPI to find the client?
Thanks,
Vitish.
Dear Experts,
I need help to hide the button accept in my portal. We need that only button show is Accept with Changes.
I follow the document:
I create the component.js and put this code:
<%-- <%@page language="abap"%> --%>
jQuery.sap.declare("zcoll_portal.Component");
jQuery.sap.require("sap.tl_collaboration_portal.Component");
// new custom component
sap.tl_collaboration_portal.Component.extend("zcoll_portal.Component", {
metadata : {
customizing : {
//customizing code to be added
}
},
init : function() {
this._oResourceModel = new sap.ui.model.resource.ResourceModel({bundleName:
"sap.tl_collaboration_portal.language_bundle.i18nGeneral"});
}
});
jQuery.sap.declare("zcoll_portal.Component");
jQuery.sap.require("sap.tl_collaboration_portal.Component");
// new custom component
sap.tl_collaboration_portal.Component.extend("zcoll_portal.Component", {
metadata : {
customizing : {
"sap.ui.viewModifications" : {
"sap.tl_collaboration_portal.view.requestsForQuotationCasual" : {
"btnAcceptRfq" : {
"visible" : false
}
}
}
}
}
});
But the button show us yet.
Someone have more suggestion for me?
Thanks.
BR.
Renato Okamoto
Hello,
As we know that Parcel FO does not:
1. appear in transportation cockpit (since stages are non-linear and star shaped)
2. Does not have the option to "Insert FUs based on FU ID" (this option is available only in normal truckload FO)
In some of the countries, our Business has to take certain manual decisions based on Gross Weight of Freight Units, HAZ and Non-HAZ materials etc. wherein they require to un-assign the FU from its Parcel FO number "ABC" and re-assign to another Parcel FO number "XYZ" (there are more than one Parcel Freight Orders in the system at any given point of time)
Since options 1 and 2 are not available in Parcel FO, we are not able to achieve this.
"Assign to existing FO or create new FO" option in DSO in FU is not the one that can help us because our manual decisions and system auto-assignment have mismatch.
Can any one suggest here.
Thanking you in anticipation.
Best Regards,
Vikas Chhabra
Hello All,
Trying to understand and implement auth for TM.
For controlling access for Freight Booking in TM
For example Create Ocean Freight Booking,Display and edit access has been delivered in object /SCMTMS/FRE_BOOK.
Please correct
a.) If i need to controlled and to provide separate access for create/display/edit, i need make copy of /SCM/TMS/FRE_BOOK and make
changes to at Node details by making use of visibility.
b.) For control at Plant level, do i need to make enhancement using BOPF browser by making a copy of standard.
I understand that for webdynpro object or application access has to controlled by making copy from standards and making enhancements according to our requirement.
OR
As standard this kind of control is possible with normal PFCG roles and authorization object.
Regards
KSK