Posts

Showing posts from December, 2018

Submit program with memory id

here simple example to submit program with memory id here you can import internal table and fetch the data REPORT  ZSUBMIT2 . DATA :  S_VBELN  TYPE  RANGE  OF  VBELN  WITH  HEADER  LINE ,       gs_name1  type  string .  cl_salv_bs_runtime_info => set (  EXPORTING  display  =  abap_false  metadata  =  abap_true  data  =  abap_true  ) . SUBMIT  ZSUBMIT1  with  r2  =  'X'  AND  RETURN . import  gs_name  to  gs_name1  from  MEMORY  id  'RKM' . BREAK-POINT . MESSAGE  gs_name1  type  'I' . WRITE :  'Hello' . REPORT  ZSUBMIT1 . PARAMETERS :  r1  RADIOBUTTON  GROUP  r1 ,             r2  RADIOBUTTON  GROUP  r1 ,             gs_name  type   string . *IF r1 is NOT INITIAL. *   MESSAGE 'You have submit r1 button' TYPE 'I'. *ENDIF. * *IF r2 is NOT INITIAL. *   MESSAGE 'You have submit r1 button' TYPE 'I'. *ENDIF. gs_name  =  'ROHAN PANDEY' . export  gs_name  to  MEMORY  id  'RKM'

Join in s4 hana fething inner joine three table

Getting the records of the three table  ************************************************************************ * Program Name      :  ZSELECT_HANA1               Object ID:   oo01    * * Description       :  hana reports                                     * * Create Date       :  24.10.2018                                      * * FO Owner          :  rohini kumar                                    * * Tech Owner        :  Rohini Kumar                                    * * Project Module    :  SD                                              * ************************************************************************ *                        Change Log                                    * ************************************************************************ *  REQ#         DATE         WHO            CHANGE_ID        DESCR     * *----------------------------------------------------------------------- *  001                                                      Initi

Long Text ## problems and # problems how to solve

below code help you remove the # code to your program ******************************************* below help to remove specail symbol like @# to string********************    DATA :  c_tab  VALUE  cl_abap_char_utilities => newline .    REPLACE  ALL  OCCURRENCES  OF  c_tab  IN  gv_length1  WITH  space .    DATA :  c_tab1  VALUE  cl_abap_char_utilities => cr_lf .    REPLACE  ALL  OCCURRENCES  OF  c_tab1  IN  gv_length1  WITH  space . ******************************************* below help to remove specail symbol like @# to string********************    DATA :  c_tab  VALUE  cl_abap_char_utilities => newline .    DATA :  c_tab1  VALUE  cl_abap_char_utilities => cr_lf .    REPLACE  ALL  OCCURRENCES  OF  c_tab  IN  gv_length6  WITH  space .    REPLACE  ALL  OCCURRENCES  OF  c_tab1  IN  gv_length6  WITH  space .

Long Text in input and output field in module pool

Image
display long text in input and output field then below code help you how to display long text your input and output fields in sap ************************************************************************ * Program Name      :  ZLONG_TEXT_EDITOR           Object ID:   p002    * * Description       :  Long text with function module                   * * Create Date       :  26.12.2018                                      * * FO Owner          :  Rohini kumar                                    * * Tech Owner        :  Rohini Kumar                                    * * Project Module    :  SD                                              * ************************************************************************ *                        Change Log                                    * ************************************************************************ *  REQ#         DATE         WHO            CHANGE_ID        DESCR     * *-------------------------------------------

Long Text in Module Pool programming

Image
************************************************************************ * Program Name      :  SAPMZRK_MPP10              Object ID:   pa01    * * Description       :  Long Text in Module pool                        * * Create Date       :  26.12.2018                                      * * FO Owner          :  Rohini kuamr                                    * * Tech Owner        :  Rohini Kumar                                    * * Project Module    :  SD                                              * ************************************************************************ *                        Change Log                                    * ************************************************************************ *  REQ#         DATE         WHO            CHANGE_ID        DESCR     * *----------------------------------------------------------------------- *  001                                                      Initial    * ********************************