on 2023 Aug 08 2:28 PM
Hello experts,
we want to use macros in DP/SNP to store a time stamp of an activity. There is a macro function called TODAY available in the official function library (SCM-APO EHP4 - macro builder - Date functions) but I have never seen something like SY-TIME or TIME etc. Before we develop a custom function for this - is anyone aware of such a macro function in the SAP standard ? I tried a little bit in the macro builder with "SY-TIME" or "SYS-TIME" etc. but the ABAP compiler keeps complaining about such field not existing ...
Regards
Thomas
Request clarification before answering.
Dear Thomas,
there is no macro function for time stamps. Day is agin the smallest entity for APO DP and SNP. Package /SAPAPO/ADV (se80) shows the available macro functions in function groups /SAPAPO/ADV_GENER to /SAPAPO/ADV_GENER3: those are the function which are allowed and can be copiled within the macro builder <-- there is nothing related to time stamps.
As you suggested already: a user function macro or BAdI macro should be the preferred option to get time stamp field within your own coding.
Good luck, Nico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.