Skip to Content
author's profile photo Former Member
Former Member

How to attach a file to RFC function module to save file in SAP

Hello Friends,

I have a requirement to save attachment to the SAP CRM Service Request transaction through RFC function module. This RFC FM will be called from Non-SAP system (Web portal). I know how to update a file to the SAP CRM Service Request transaction (using FM - CRM_SRQM_SAVE_ORDER_INV_OW) within SAP system. I would like to know how to attach a file to the RFC functional module.

Thanks in advance.

Regards,

Naveen.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2015 at 02:19 PM

    I resolved this requirement with below steps.

    1. SAP getting attachments(Doc, Excel, PDF, Pictures etc) data interns of 'XSTRING' format from external system.

    2. In SAP used following function modules ' SCMS_XSTRING_TO_BINARY' and 'CRM_SRQM_SAVE_ORDER_INV_OW' to attach data to service request transaction.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2015 at 05:11 AM

    Hello Naveen,

    What type of file you want to attach ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.