cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TM - in which BOPF node of the tor object is the load planning data stored

petra_just
Active Participant
0 Likes
1,408

hi experts,

my customer is asking me to read the loading meters from the load planner statistical quantities. I have checked BOPF for the tor object /SCMTMS/TOR and I checked the node stop_successor_utilization 8see below). But, I do not seem to find the value. Its not the one written in the general data that I need. I need the load planner result in the statistics area of the load planner. Did anyone have this requirement before and can help me out? System is latested release s/4 hana 2020. Thanking you in advance. Will quickly react and mark as correct once I have an answer.

thx

Petra

Accepted Solutions (1)

Accepted Solutions (1)

Drago
Product and Topic Expert
Product and Topic Expert

Hi Petra,

By looking at the UI code of the affected UIBB, I noticed that the statistics are not persisted as such, but computed on the fly, using method GET_LSO_DATA_FOR of class /SCMTMS/CL_LSO_HELPER. This methods receives as input the TOR root intances and TOR Item instances, in the corresponding member attributes of CO_LSO_DATA, and computes - among others - the statistics and stores them into member attribute MT_STATISTCS of the same object.

So you must figure out a feasible way to feed the needed parts of this method's output to the charge calculation, via the omnious communication structure.

Regards,
DragoÈ™

Answers (1)

Answers (1)

petra_just
Active Participant
0 Likes

thank you very much for your advise, Dragos. I call the class that u suggest!