Hi Friends,
To add attachments to the app I did the following:
1. RFC with output parameters: binary(255), Filesize(Int). MimeType(255), FIleName(255), PO_Number(10)
2. Created MBO as given in the Image. Given po number as the primary key.
3. In the attachment I called the findbyprimary key query and mapped the fields as below

4. Executed the RFC and the output is given below
5. When I preview for the MBO I can see the data in Sybase workspace.
6.But once I click on the attachment from the device I am getting the error "missing required parameter" as given below.
How to solve this issue?
Help will be appreciated.
Thanks
Midhun