Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: How to open a popup (confirmation popup with Yes/No/Cancel) in Freight Order screen in TM

$
0
0

Hi,

 

generally, every FPM event runs into the phase "Needs Confirmation" and the method ADAPT_NEEDS_CONFIRMATION is the one that needs to be enhanced, by creating an overwrote exit (so that the return inside it is not executed). Of course, you'd need to check whether the Event ID is the one intended.

 

SAP TM uses the Floorplan Manager - BOPF Integration (FBI) as feeder engine. With it, another way to enforce a confirmation dialog for a specific event is to customize the FBI view, adding a OTR text alias in the "confirmation" field of the corresponding event ID (under the tag "Actions"). This way, there is no need for coding.

 

The event for Save (FPM_SAVE) is not known by the FBI view that handles the toolbar events, and therefore FBI does not call ADAPT_NEEDS_CONFIRMATION for it.

 

So the solution is to enhance (customize) the FBI view /SCMTMS/FRE_ORDER_HTLB (using the WD application CUSTOMIZE_COMPNENT) and add a new entry in the list of Actions, with Action ID = FPM_SAVE and Confirmation = an alias of a suitable OTR text (created with tcode SOTR_EDIT).

 

Regards,

Dragos

 

PS: Generally, you can find out the FBI view responsible for the toolbar buttons of a certain applicatrion by adding the suffix "_HTLB" to the WD application configuration name. E.g.:

- freight order > appl. configuration  /SCMTMS/FRE_ORDER > /SCMTMS/FRE_ORDER_HTLB

- air booking > appl. config. /SCMTMS/FRE_BOOK_CBAIR > /SCMTMS/FRE_BOOK_CBAIR_HTLB


Viewing all articles
Browse latest Browse all 8734

Trending Articles



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