cancel
Showing results for 
Search instead for 
Did you mean: 

File to ECC using proxy

Former Member
0 Kudos

Hi All,

I am trying to do a sample scenario using file to ecc using proxy.

I want to post ORDERS05 using proxy but when I use sproxy transaction in that I cant see service interface for orders as we dont need to create service interface for IDOC.

Then how I can create proxy in sproxy transaction to post ORDERS05 IDOC in ECC.

I read so many blogs but I couldnt find exact point like how I can create proxy for these orders to post into sap.

I can do it from IDOC but I want to try through proxy.

If anyone please provide some examples or documents to acheive this.

Thanks

Raju

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

If you want to do it in Proxy then definer structure for Proxy(receiver data type ) and map the relevent fields.

or

take external definion of IDoc message and create service interface for Proxy and refer your external definition IDoc message in service interface and genarate proxy for the same.

in message mapping use IDoc xsd and use service interface created for proxy in operation mapping.

But the problem here is genaratiung proxy for IDoc structuyre is not a good idea because we never use all fields in IDoc's but very much possible.

take the back ground code of your ORders IDoc and later the same accordingly in Proxy code.

Regards.

Raj

Former Member
0 Kudos

Can anyone please provide the proxy code to fill idoc tables..

rajasekhar_reddy14
Active Contributor
0 Kudos

check the back ground program of Orders IDoc and use the same logic in Proxy.

former_member184681
Active Contributor
0 Kudos

Hi,

Usually when ORDERS IDoc reaches SAP, it is processed by the function module IDOC_INPUT_ORDERS. You could use the same for your proxy (as suggested by Raja Sekhar Redd).

Still, my question is: why do you want to use IDoc structure for proxy scenario? You should consider using a standard BAPI: BAPI_SALESORDER_CREATEFROMDAT2 instead, if you asked me.

Hope this helps,
Greg

Answers (2)

Answers (2)

Former Member
0 Kudos

want to post ORDERS05 using proxy but when I use sproxy transaction in that I cant see service interface for orders as we dont need to create service interface for IDOC.

as per my knowledge,that is only possiable  to create service interface inbound for ORDERS5 then will generate in SPROXY on Receiver Back end sap system.

Former Member
0 Kudos

Thanks for all your replies..now understood I need to create service Interface but how to fill the iodc tables using code.

Can anyone please help me in this.

Former Member
0 Kudos

if you want to post ORDERS05 via proxy, then create an inbound msg interface for ORDERS05 structure in XI system. then in ECC using SPROXY generate the proxy for its msg structure and implement the method for processing it.