cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt About Source And Target Structures

Former Member
0 Kudos

Hi Experts,

I have one Issue.

Here i am Implementing HTTP To RFC Scenario.

My Scenario is I Wil receive MaterialNo and one URL Attachment from webservice

I Should attach this attachment to the material by calling RFC

RFC is BAPI_DOCUMENT_CREATE

And this is the Synchronous Cal

Can any body give me a look how wil be the Request Source and Target Msg Structures And Response.

Please Clarify me

Regards

Khanna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

as u will be getting matNo and URL on the sender side,you sender datatype may look like this

<Recordset>

<Records>

<Matno>materialnumber</Matno> String

<URL> url</URL> String

</records>

</Recordset>

you dont need any datatype or message type for RFC,

and then based upon the response ur getting from RFC,create ur response Data type.

thanx

ahmad

Former Member
0 Kudos

Hi,

Maybe you can start with finding out the required import parameters to successfully execute the BAPI_DOCUMENT_CREATE by doing a single test using SE37 on the SAP system.

With that information, you can create the interface objects for your outbound message. Then, use mapping objects to map your outbound message to the RFC interface.

A webservice can be created from your outbound message interface.

Regards,

Bill