on 02-17-2011 12:07 PM
hi,
i am gettingdump error while passing table it_fianl.what should be the data type for netpay if i am creating a table of type ty_final
for smartforms parameters .
TYPES : BEGIN OF ty_final , pernr TYPE persno,
name TYPE char50,
mode TYPE lgtxt,
bank_key TYPE bankl,
account_no TYPE bankn,
netpay TYPE p DECIMALS 2,
lgart TYPE lgart,
END OF ty_final.
data : it_final TYPE STANDARD TABLE OF ty_final,
wa_final TYPE ty_final.
FORM DOWNLOAD_FILE.
DATA: FM_NAME TYPE rs38l_fnam..
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_PAYROLLBANKTRANSFER'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
gv_month = gv_month
gv_year = gv_year
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
lt_final = IT_FINAL.
You can either give field PC207-BETRG or data element CHAR10.
Regards,
rumhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Follow Kris' advice, but this begs the question...what did you use in the smartform interface definition? You had to use a DDIC type to declare the interface table parameter so why wouldn't you use the exact same DDIC structure in your program definition as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All the fields in your internal table should be defined like the fields in the structure for LT_FINAL (defined in yoursmartform)...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare it as a price field like:
netpay type ekpo-netpr.
Regards,
Saba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check table iit_final in smartform interface.
There must be some filed mismatch
Dhiraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.