on 08-10-2016 12:25 PM - last edited on 02-04-2024 3:08 AM by postmig_api_4
Hi expert i have a requirement to process Master Product information to hybris via Data hub . But product information will not be coming from SAP ECC or ERP. we have another third system.
How do i write custom idoc and and process it to raw ,canonical and target
Could somebody please tell me what are the steps required for handling above scenario .
Create an new extension.
Create a bean class method using annotations : @Component, @Path, @POST, @Consumes
from package javax.ws.rs
. This is too process web requests. In fact, you are creating a spring http end point to receive your POST payload. This new @Path
suffix will be concatenated to the root /datahub-webapp/v1/
.
Inject the channel "rawFragmentDataInputChannel" to your bean as class MessageChannel
.
Send List<RawFragmentData>
as payload to the message channel so that Data Hub process those line as RawItems.
Implement your code to translate your payload into a List<RawFragmentData>
.
Implement the Raw, Canonical, Target extensions using The Extension Archetype.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Farid,
The format of data you will be receiving from Non-SAP system will not be IDoc. IDoc inbound adapter is required only in case of SAP master data system. In this case, you will have to use custom inbound adapter.
Thanks, Arvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.