cancel
Showing results for 
Search instead for 
Did you mean: 

idoc + coding?

Former Member
0 Kudos

Hi experts,

plz clarify the below doubts--

1.To send idocs from sap to xi, is it require to write coding in sap everytime, or its only the case with custom idocs.

2.If coding is require, what coding is written in SAP system? Please help me with the steps to write the coding?

3.If coding is written, then its only written to send idocs from sap or to receive idocs into sap from xi aswell?

Regards,

Suresh.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

For all the three questions I would give a common answer. There is a term called as Process Code which suggests how the idoc data should be processed. This occurs both at sender and receiver side under Partner Profile tcode we20. There are some standard ones for which you do not require any coding but in case you have your specific requirement, then you may create your own process code using tcode we64.

You may trigger the idoc using we19. Trigger of an idoc could be an ABAP report.

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suresh,

To send the Standard Idocs from R/3 System to SAP XI system then you don't need to write the code in SAP System, by executing the transaction code corresponding to particular IDoc in R/3 system, it generates IDoc and send to XI system.

For this you need to do settings in the ALE settings in R/3 and XI also.

When you want to send the custom Idoc from the r/3 system , it already associated the function module to process that IDoc.

In the Partner profile of the R/3 system at the receiver side you can find the one option trigger immediately.

By selecting this option whenever the Idoc reaches R/3 system from XI immediately it executes the function module and post the data into the tables.

If you want to develop the Custom Idoc in R/3 system you get the sample code from the following link.

http://www.riyaz.net/blog/beginners-guide-to-ale-and-idocs-part-iii/

If any help on this let me know.

Regards

Goli Sridhar

Former Member
0 Kudos

Hi ,

You need not to code.

1.To send idocs from sap to xi, is it require to write coding in sap everytime, or its only the case with custom idocs.

You need to configure few things for both type of Idocs..Coding is not required.

2.If coding is require, what coding is written in SAP system? Please help me with the steps to write the coding?

Coding will come into picture , While you are building custom Idocs ,To post them Configure your system

3.If coding is written, then its only written to send idocs from sap or to receive idocs into sap from xi aswell?

I think you got the answer ..

Regards,

Ramesh.