I am trying to build an RMA form in SAP. I am trying to pull up database information from one table based on an order ID on the form that is from another table. If I were to write the SQL statement, it would look like this:
SELECT RM.itemNo, RM.description, RM.RMA_Qty, RM.Reason, RM.Comment FROM [@NWR_RMADT] AS RM INNER JOIN OSCL WHERE RM.docentry = OSCL.callID
I have a field on the form for the OSCL.callID (F_171) which is the RMA #.
I then want to pull the information from another table [@NWR_RMADT] where the docentry field = the RMA # (F_171).
I created a hidden Formula field (Logic_1) that I am trying build and pull data thru but it is erroring out: [dbo].[@NWR_RMADT].docentry == F_171
Without this type of 'Where' clause, the report pulls ALL rows in the @NWR_RMADT table.
Any ideas on how I can get this resolved?
Thanks.