Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

At selection screen to chage other field.

$
0
0

Hi GUYS.

I need change value of field in screen when the user change value of other field by matchcode ( I created this matchcode)

,But the value no change.

 

Please see my code.

 

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_sisto.

   TYPES: BEGIN OF ty_value,

           line(10) TYPE c,

         END OF ty_value.

 

   DATA:lt_hfields TYPE TABLE OF help_value,

        ls_hfields LIKE LINE OF lt_hfields,

        lt_value   TYPE TABLE OF ty_value,

        ls_value   LIKE LINE OF lt_value.

 

 

   ls_hfields-tabname    = 'ZFIT037'.

 

   ls_hfields-fieldname  = 'SISTEMA_ORIGEM'.

 

   ls_hfields-selectflag = 'X'.

 

   APPEND ls_hfields TO lt_hfields.

 

 

   ls_value-line = 'NGIN'.

   APPEND ls_value TO lt_value.

 

   ls_value-line = 'MVNO'.

   APPEND ls_value TO lt_value.

 

 

   CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'

     EXPORTING

       titel        = text-001

     IMPORTING

       select_value = p_sisto

     TABLES

       fields       = lt_hfields

       valuetab     = lt_value.

 

   IF p_sisto = 'MVNO'.

       CLEAR p_arqui.

     CONCATENATE 'PGTOS_RECMVNO_' sy-datum+6(2)

                                  sy-datum+4(2)

                                  sy-datum(4sy-uzeit '.TXT' INTO p_arqui.

 

endif.

 

the p_arqui no changes.

 

 

You can help me .

 

 

Thanks Guys.

 



Viewing all articles
Browse latest Browse all 8332

Trending Articles



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