on 09-09-2015 8:15 PM
Hi Atul,
I think your requirement can be done through an enhancement. You can try the below steps -
1. Use the below exit -
QEVA0007 UD: Control of compulsory comment or long text presetting
2. Collect SY-DATUM for UD at runtime. Your request can't wait till saving this UD to populate 'UD Code date' [QAVE-VDATUM].
3. Check 'Avg. insp. duration' [MARC-MPDAU] or 'Mean insp. dur.' [QMAT-MPDAU]. I prefer the 2nd one, as this is more relevant.
4. The above exit should programmatically check during runtime -
SY-DATUM (for UD) > GR Date + QMAT-MPDAU (Corresponding to the inspection type/material/plant) ==> Then 'force' QAVE-LTEXTKZ update by user. Else throw error.
5. Once LT is updated, you can see it using FM: READ_TEXT, by passing the values -
ID => Text ID => QAVE
NAME => Text Name => STXH-TDNAME
OBJECT => Text Object => QPRUEFLOS
Please work with your ABAP team colleague and check if these proposal helps you.
Thanks,
Arijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.