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

Re: Modifying Search Help Result Field

$
0
0

Hi Sylvain,

 

since you would like to avoid sh exit and keep changes in the ABAP ddic only, then you should create a domain for data element ZPRODH2 with lenght 15 and attach a conversion routine in the definition tab and you also might set ZPRODH2 to lenght 15. In transaction SE37 write two conversion exits in the same manner that SAP does: with an input and output parameter only. Make sure that they conform to the naming convention: CONVERSION_EXIT_XXXXX_INPUT and CONVERSION_EXIT_XXXXX_OUTPUT.

Use the defined name XXXXX to your domain conversion routine in the definition tab.

 

Use string manipulation in the FM:

*"----------------------------------------------------------------------

*"*"Lokale Schnittstelle:

*"  IMPORTING

*"     VALUE(INPUT) TYPE  CLIKE

*"  EXPORTING

*"     VALUE(OUTPUT) TYPE  CLIKE

*"----------------------------------------------------------------------


DATA: V_INPUT LIKE INPUT.

V_INPUT = INPUT.

OUTPUT = V_INPUT+10(5).

 

ENDFUNCTION.



Best Regards.


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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