Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8705

function module going to dump

$
0
0

Hai,


      I am developing customer required information using module pool for  that i am using function module for what the data giving in the screen

that data it has to show in the customer screen. But it is going to dump with following error.


The function module interface allows you to specify only

fields of a particular type under "CITY1_016".

The field "WA_MASTER-CITY1" specified here is a different


The code is

 


MODULE user_command_1000 INPUT.

  CASE ok_code.

    WHEN 'SAVE'.

      PERFORM get_mino CHANGING wa_master-mino.

      wa_master-ernam = sy-uname.

      wa_master-erdat = sy-datum.

 

      INSERT zcust_master FROM wa_master.

      PERFORM bapi.

      IF sy-subrc EQ 0.

        PERFORM save_dlno.

        MESSAGE s000(zmsg) WITH wa_master-mino.

        CLEAR wa_master.

      ENDIF.

    WHEN 'DLNO'.

      PERFORM edit_control.

    WHEN 'BACK'.

      LEAVE PROGRAM.

    WHEN 'CANCEL'.

      LEAVE PROGRAM.

  ENDCASE.

ENDMODULE.                 " USER_COMMAND_1000  INPUT

 

 

 

FORM bapi .

  CALL FUNCTION 'ZBAPI_CUSTOMER_NEW'

    EXPORTING

      ctu            = 'X'

      mode           = 'N'

      update         = 'L'

*      group          = user

*      keep           = holddate

      nodata         = '/'

      bukrs_001      = wa_master-bukrs

      vkorg_002      = wa_master-vkorg

      vtweg_003      = wa_master-vtweg

      spart_004      = wa_master-spart

      ktokd_005      = wa_master-ktokd

*   USE_ZAV_006    = 'X'

   title_medi_007 = wa_master-title_medi

      name1_008      = wa_master-name

     name2_009      = wa_master-name2

     sort1_010      = wa_master-name2

     street_011     = wa_master-street

     str_suppl3_012 = wa_master-str_suppl3

    location_013   = wa_master-location

     city2_014      = wa_master-city2

      post_code1_015 = wa_master-post_code1

     city1_016      = wa_master-city1

     country_017    = wa_master-country

     region_018     = wa_master-po_box_reg

     langu_019      = wa_master-langu

     tel_number_020 = wa_master-tel_number

*    MOB_NUMBER_021 = '93917'

     fax_number_022 = wa_master-fax_number

    smtp_addr_023  = wa_master-smtp_addr

*    DEFLT_COMM_024 = 'INT'

      j_1iexcd_025   = wa_master-j_1iexcd

      j_1iexrn_026   = wa_master-j_1iexrn

      j_1iexrg_027   = wa_master-j_1iexrg

      j_1iexdi_028   = wa_master-j_1iexdi

      j_1iexco_029   = wa_master-j_1iexco

      j_1icstno_030  = wa_master-j_1icstno

      j_1ilstno_031  = wa_master-j_1ilstno

      j_1isern_032   = wa_master-j_1isern

      j_1ipanno_033  = wa_master-j_1ipanno

    j_1ipanref_034 = wa_master-j_1ipanref

*    TIME_ZONE_047  = 'INDIA'

*    BEGRU_054      = 'CORP'

*    CIVVE_055      = 'X'

*    AKONT_056      = '20601000'

*    ZUAWA_057      = '001'

*    KNRZE_058      = ''

*    FDGRV_059      = 'E3'

*    VZSKZ_060      = 'H4'

      zterm_061      = wa_master-zterm

**    AWAHR_062      = '100'

     waers_063      = wa_master-waers

**    KALKS_064      = '1'

**    VERSG_065      = '1'

**    KZAZU_066      = 'X'

**    VSBED_067      = '01'

**    ANTLF_068      = '9'

     inco1_069      = wa_master-inco1

     inco2_070      = wa_master-inco2

     zterm_071      = wa_master-zterm

*    KTGRD_072      = '02'

*    TAXKD_01_073   = '0'

*    TAXKD_02_074   = '0'

*     IMPORTING

*      subrc          =

    TABLES

      messtab        = it_master.

ENDFORM.                    " BAPI


Viewing all articles
Browse latest Browse all 8705

Trending Articles



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