SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 1(33) TEXT-S01(ANALYZE PERIOD)
PARAMETERS:P_YEAR_L TYPE ZYEAR_MONTH.
SELECTION-SCREEN: COMMENT 54(5) TEXT-02(to).
PARAMETERS: P_YEAR_H TYPE ZYEAR_MONTH.
SELECTION-SCREEN END OF LINE.
IF P_Y...
TYPES:
BEGIN OF GTS_VAL,
BUKRS TYPE ZMM0011T-BUKRS,
MATNR TYPE MARA-MATNR,
MATNR_TMP TYPE MARC-MATNR,
BWKEY TYPE T001W-BWKEY,
WERKS TYPE T001W-WERKS,
END OF GTS_VAL.
GTT_VAL TYPE STANDARD TABLE OF GTS_VAL.
Data:
GDT_R_DAT...
Select - options:
s_zyear for s031-spmon.(MM.YYYY)
I need to convert the year and month to the fiscal year. And the coding is like this:
With debug, the exception 1 was issued, and I don't know why, Can anyone here help me??
please,thank you...
Here's coding of F4 to select only year and month.
Now to calculate, I want the variable of number of months on select options, how to do it?
Thanks a lot!
FORM FRM_GET_F4 USING VALUE (PVF_DYNPRO FIELD).
Data LDF_MONAT TYPE ISELLIST-MONTH.
...
Select ~
From MSEG
Where the month of MSEG-BUDAT_MKPF = [Analyze period] on selection screen
I just need YYYYMM (6 characters) to be the condition.
How to deal with it?