on 04-06-2016 8:43 AM
Hi all,
I have a question, some times I have an idea of to insert datetime in SAP B1 query automatically. So is that possible in SAP B1?
Please anyone can help me.
Hi,
Please note that, direct UPDATE/INSERT/DELETE sap tables leads to DB inconsistency and may loose SAP support too.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using Formatted search, just use a SELECT statement to add the value to the field.
To get current datetime stamp would be SELECT GETDATE(). Trigger this on the same field you are using to trigger your other Formatted search.
To update your UDF you should use SAP tools such as DTW not an update query
Hi Julie,
Let me ask you one more question please,
As it seems it's not allowed to update UDF/UDT by using query. So if yes, how can I use a SELECT statement to add the value to the field without the query?
Lets take an example to PDN1 Table and UDF (U_datetime).
I think DTW updates SAP DB but when you have a template file of data.
Please anyone can help us to solve this question.
Hi Rurangwa,
You would use a select query and a formatted search on the field.
Create and save the query, then under Tools>Customisation Tools> User defined Values you assign the query to a field, and select a trigger field.
You would need to check the SAP help files for this.
UDF's at line level cannot be updated after add, even DTW will not allow this
User | Count |
---|---|
105 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.