Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Support for multiple attachments in a batch

$
0
0

Hello,

We are working on a requirement to receive multiple attachments for a request along with payload via odata service. I would like to know if its possible.

1. To process multiple attachments with a batch request

2. To process multiple attachments with a batch request + a payload

 

If above is possible, how can i make sure that i can read attachments in a batch request. My understanding is that i need to redefine CREATE_STREAM. But how is this triggered for batch processing. I see some operation types in the domain /IWBEP/MGW_OPERATION_TYPE and it supports create stream. But how can i read stream data with a deferred processing(my plan is to use /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_PROCESS ). When i use deferred mode framework does not call standard methods CREATE_ENTITY, DELETE_ENTITTY etc..

In case of entity i know that i have to use interfaces  /IWBEP/IF_MGW_REQ_ENTITY_C, /IWBEP/IF_MGW_REQ_ENTITY_D, /IWBEP/IF_MGW_REQ_ENTITY_P

/IWBEP/IF_MGW_REQ_ENTITY_U to get payload. But can't find such interfaces to play with stream.

 

Some blogs on scn suggests to send only one attachment in a request, loop thru all attachments and store in temp db.

Any suggestions..

 

Regards

Pradeep


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>