Showing results for 
Search instead for 
Did you mean: 

Settings dialog of POWL Query adding new fields on hide/display columns SAP TM


I need to add two more fields on the Hidden columns of a settings dialog on POWL query.Can anyone help me with detailed steps.Where do we find structure associated with this column. I referred the SAP TM guide where no information was provided on this. Please find the attached image(Overview road freight orders ->Open settings dialog) for reference.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hola pbar

muy util tu respuesta. Solo un par de dudas. Cuand abro el report / SCMTMS / MAINT_QUERY_ENH no visualizo nada. Como se debe agregar la estructura? si pudieses orientarme en eso te lo agradeceria.

0 Kudos

Hello HK,

I dont know if you still need this info, but for someone in a similar trouble, here is what I did to display custom fields for Freight order POWL.

For Freight Order, go to class /SCMTMS/CL_UI_POW_FD_TOR_FO - Constructor method. Refer the image. (Similary for different BOs, find the respective classes)

  • Get the name of the output structure. For Freight Order, it is /SCMTMS/S_UI_POW_R_FO
  • Create an append structure with your custom fields.
  • In method GET_FIELDCATALOG_FO of /SCMTMS/CL_UI_POW_FD_TOR_FO, create an enhancement to handle your custom fields and insert the values in C_FIELDCAT,
  • Finally, go to report /SCMTMS/MAINT_QUERY_ENH and add your Result Structure to fetch the data from the database and display as result field.

The fields would now be visible in the Persnolization dialog box to be added.

Hope it helps.

Best regards,