cancel
Showing results for 
Search instead for 
Did you mean: 

InBound, OutBound Container and Application flow via API' in Generic Sync

neha_mahanty
Active Participant
0 Kudos

Hi All,

I wanted to understand how an application works via Generic Sync:

Can any one explain me about

1. The InBound and OutBound Containers in Generic Sync ?

2. How the Data containers are created ?

3. The Application flow via API's in Generic Sync?

Any ideas and suggestions are truely welcome..

Thanks and Regards

Neha Mahanty.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Neha

From an application developers point of view

1. Inbound Containers contains the data that is transmitted from the Server to the Client and Outbound Containers contains data that has to be transmitted from Client to Server.

2 & 3. You really do not need to know how they are created but just know that the API OutboundContainerFactory.createOutboundContainer() will create the container.

OutboundContainer.addItem() is to be used to put in data into the container

OutboundContainer.close() is to be called to close the container (This is mandatory)

To read Inbound data use

InboundContainer.readNextElement();

InboundContainerElement.getFieldName()

InboundContainerElement.getFieldValue()

More detail explaination along with examples is available in MDK

Best Regards

Sivakumar

neha_mahanty
Active Participant
0 Kudos

Thanks Siva,

Its clear now that we create the outbound Container and pass the values like the RFC function module that is to be called.

and then we fill the container by using addItem()

just one more question, can you tell me where do we specify the processing type whether the data needs to be handled Synchronously or Asynchronously ?

Thanks and Regards

Neha Mahanty

Former Member
0 Kudos

HI Neha,

The API OutboundContainer.TYPE_OUTBOUND will create a asynchronous container while OutboundContainer.TYPE_REQUEST will create a synchronous container. You will have to use this API while using API OutboundContainerFactory.createOutboundContainer(VisibilityType type, String method, String outboundType)

Best Regards

Siva

neha_mahanty
Active Participant
0 Kudos

Thanks Siva

I got the answer

Neha

Answers (0)