Dynamic Syntax for DocEntry and ObjType in Uf-sqlreport Answered
Dear All
how could be possible in B1Up SQL report to use the Damic Syntax to recall DocEntry and ObjType as parameters in a Stored procedure?
DocKey@ and ObjectId@
example
from inside a SP use a SQL-report UF with a stored procedure inside
exec MySP DocKey@, ObjectId@
do not work
while
exec MySp $[ORDR.DocEntry],$[ORDR.ObjType]
it works
the aim is to use the same Sp on multiple Objtypes
Massimo
Comments
3 comments
(Please note that as we are user-driven we can't guarantee that your request will be met unless it gets many votes and/or fit the product vision)
Read more about the Feature Request process here
[Internal Id: 47058]
Hi Massimo
Thank you for the request. Actually, a bit surprised that they do not already work there.
´We will see if we can make it happen but until then you can use the $[BOY_TABLE] keyword to accomplish the same output... So if you write this:
$[$[BOY_TABLE].DocEntry],$[$[BOY_TABLE].ObjType]
It would work on all common screens that have a DocEntry and an ObjType field
Dear Rasmus,
thank for your reply.
I'll use the proper table syntax $[$[BOY_TABLE].DocEntry],$[$[BOY_TABLE].ObjType]
for each target form till news.
have a nice day
Note: I'm running a sap 9.3 pl14 SQL version and B1Up_2020.11.00.0
Massimo
Please sign in to leave a comment.