2014 May 22 8:01 AM
Dear All,
I am writing a user exit (EXIT_SAPLVBMD_001) for batch expiry date in MIGO transaction.
My requirement is we are giving Date of Manufacture(22.05.2014) is manually entered in BATCH tab , and also palely I am getting SLED/BBD(01.05.2016) date .
So I need SLED/BBD(01.05.2016) will come one day less ,that is 30.04.2016. what should I do .
Please find the bellow screen shot
Regards,
Srikanth.
2014 May 22 9:49 AM
Hi Srikanth,
Are you sure that this exit will overwrite the SLED/BBD field. If so use the function module
RP_CALC_DATE_IN_INTERVAL as follows.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = '20160501'
days = 01
months = 00
signum = '-'
years = 00
IMPORTING
calc_date = e_end_date.
The e_end_date will contain 30.04.2016.
Regards,
Abijith
Dear All,
I am writing a user exit (EXIT_SAPLVBMD_001) for batch expiry date in MIGO transaction.
My requirement is we are giving Date of Manufacture(22.05.2014) is manually entered in BATCH tab , and also palely I am getting SLED/BBD(01.05.2016) date .
So I need SLED/BBD(01.05.2016) will come one day less ,that is 30.04.2016. what should I do .
Please find the bellow screen shot
Regards,
Srikanth.
2014 May 22 9:49 AM
Hi Srikanth,
Are you sure that this exit will overwrite the SLED/BBD field. If so use the function module
RP_CALC_DATE_IN_INTERVAL as follows.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = '20160501'
days = 01
months = 00
signum = '-'
years = 00
IMPORTING
calc_date = e_end_date.
The e_end_date will contain 30.04.2016.
Regards,
Abijith
2014 May 22 10:08 AM
Dear Abijith,
I am not getting SLED/BBD field value in this User Exit.
Can U provide any User Exit or BADI for overwrite the SLED/BBD field in MIGO T-Code.
Regards,
Srikanth.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |