cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch Charge item present under TransportCharges node for Freight order

joseph_manjiyil
Participant
0 Kudos

Hi All,

I need to fetch the details of the charge elements for carrier for freight order.

I was able to traverse till node "TransportCharges" for the business object /scmtms/tor.

I am not to traverse further to the charge item present under the node 'TransportCharges'.

Which method I should use to fetch the details like 'Retrieve by association' or 'Retrieve' of service manager.

I was able to see the details in transaction /bobf/test_ui. I need to implement the code for the same functionality.

Please help me which parameters needs to be passed to the method to fetch the data, as I am getting dump when I trying to fetch the charge item details.

Regards,

Joseph M

Accepted Solutions (0)

Answers (2)

Answers (2)

joseph_manjiyil
Participant
0 Kudos

Hi All,

Transport charge being a dependent object, to access the parameters need to use the class

/scmtms/cl_common_helper=>get_do_keys_4_rba( ).

This is done to convert the meta model keys to run time keys for processing.

Regards,

Joseph M

Former Member
0 Kudos

Hi

Search for class /scmtms/cltccdohelper

there should be a method called. RETIEVE DO NODES()

You can use this to get the details easily.

regards

Murugesh