I have a requirement that takes Kunnr as input and outputs a list of Bank accounts(Int table) .
We have a Z*FM for this that has an import struct with Kunnr, Name & few other fields where Kunnr is mandatory.
The Output of this FM has table that holds list of Bank Accounts details with BankId, BankAcc# & other fields where Bankid & BankAcc are Key fields.
There is NO common field like KUNNR.
I happened to build 2 Entities based on this Z*FM which has no common field that takes input (like Kunnr) .
When passing Kunnr# in the input query string for the BankDet entity set, It errors out saying KUNNR is not part of the BankDet Entity set. which has no KUNNR field.
When passing Kunnr# in the input query string for the CustDet entity set, It does not display any output as CustDet entityset has no Bank Details structure.
Do i need to create Mapping or any association?
How can i handle this?