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

Re: Adding the F4 search for the ORT02 field of IT006 in the PA30 screen.

$
0
0

Hello Vishnu:

 

There is no Badi for this, this requirement would be pure customer modification to standard SAP.

 

Since you bring up T5UTA I am assuming you want to do it for your employees working in the US and that are edited through screen 2010 in MP000600. ¿am I right?

 

Just for me toknow, because I fill dumb,,, why don't you use standard infotype 0207 for this (tax residence)?

 

Anyhow, to achieve this you would have to edit screen 2010 logic and add the process on value request for your ort02 field such as this:

 

* PROCESS ON VALUE-REQUEST ------------------------------------------- * PROCESS ON VALUE-REQUEST.   FIELD p0006-ort02 MODULE pov_f4_ort02.

In your PAI include add a module for this to call a specific subroutine where you have to construct your F4 logic with module function F4IF_INT_TABLE_VALUE_REQUEST.

 

You could try with

 

      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'        EXPORTING          ddic_structure  = 'T5UTA'          retfield        = 'TAXAR          value_org       = 'S'          display         = cv_display   <= cv_display should have X if you are in view mode!        IMPORTING          user_reset      = lv_user_reset        TABLES          value_tab       = lt_data          return_tab      = lt_return        EXCEPTIONS                                          "#EC *)          parameter_error = 1          no_values_found = 2          OTHERS          = 3.

And then populate ORT02 according to the content of LT_RETURN.

 

Of course LT_DATA has to be filled with all your keys from T5UTA or whatever selection logic you want to apply.

 

I am not sure if you could use ZP000600 include for this in a single screen enhancement with tcode PM01; it might be unreachable from 2010 screen... not sure because this is usually for customer screen 0200.

 

Good luck!

 

Best,

Antoine


Viewing all articles
Browse latest Browse all 2794


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