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

How to control a Dynpro Changes

$
0
0

I Experts i have a Function Group with one dynpro 9000 and i need changes all my parameters input changes for no-Input when one condition I_ACTION = 'A08' or I_ACTION = 'A04'  where I_ACTION is a variable that comes from a BADI METHOD.

 

 

******************************************************************************************

*This Method for BADI get the "moviment" what i need for changes my dynpro


method IF_EX_MB_MIGO_BADI~MODE_SET.

 

  DATA:  I_ACTION(3) TYPE C.

 

   CALL FUNCTION 'GET_DYNP_VALUE'      *Get  I_ACTION

     EXPORTING

        i_field = 'GODYNPRO-MAT_DOC'

        i_repid = 'SAPLMIGO'

        i_dynnr = '2010'

       CHANGING

        o_value = LV_MBLNR.

 

    CALL FUNCTION 'Z11_MODIFY_SCREEN'  "Here the value is exported function group

      EXPORTING

        i_movimiento       I_ACTION.

 

endmethod.

******************************************************************************************


*This my Method PBO from BADI for extension is run perfect but only screen for input


METHOD if_ex_mb_migo_badi~pbo_header.

*break lsilva.

 

   CHECK i_class_id = GV_CLASS_ID_H."gf_class_id.

 

   e_cprog    = 'SAPLZ11_GFMIGO_MODIFY_TAB_TRS'."

   e_dynnr    = '9000'.

   e_heading  = 'Datos del Transporte'.

 

ENDMETHOD.

**************************************************************************************

 

What I need in my group of functions to change the dynpro 9000 input or no-input??


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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