2007 Jun 06 7:02 AM
Hi Friends Please tell me the functionality of the following piece of code...
PERFORM GET_POSTING_PERIOD USING SY-DATUM '1000' ' '
CHANGING W-MONAT.
S_POSPER-LOW = W-MONAT.
S_POSPER-HIGH = ''.
S_POSPER-SIGN = 'I'.
APPEND S_POSPER.
CLEAR S_POSPER.
form GET_POSTING_PERIOD using p_sy_datum
value(p_0663)
value(p_0664)
changing p_monat.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = P_SY_DATUM
i_bukrs = p_0663
i_periv = p_0664
IMPORTING
e_monat = p_monat
EXCEPTIONS
OTHERS = 1.
endform.
2007 Jun 06 7:18 AM
this FM will take the date , companycode , fiscal year variant as input and returns the POSTING PERIOD
check the possible values for fiscal year variant in table T009
He your are giving fiscal year variant as space , so i guess it will not return any output
Hi Reema,
This piece of code is fetching FI Fiscal Year Variant Periods for given Company Code and Year.
Reward Points if helpful.
Regards,
Ram
2007 Jun 06 7:06 AM
Hi
This code is used to fecth the <b>POSTING period</b> in FI for the given date and the company code and the PERIV field(space here).
Reward points if useful
Regards
Anji
2007 Jun 06 7:08 AM
Hi Reema,
This piece of code is fetching FI Fiscal Year Variant Periods for given Company Code and Year.
Reward Points if helpful.
Regards,
Ram
2007 Jun 06 7:08 AM
by using this code , u are geting Posting Period based on the values u are passing i.e system date and Company Code.
Regards
Peram
2007 Jun 06 7:12 AM
2007 Jun 06 7:18 AM
this FM will take the date , companycode , fiscal year variant as input and returns the POSTING PERIOD
check the possible values for fiscal year variant in table T009
He your are giving fiscal year variant as space , so i guess it will not return any output
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |