cancel
Showing results for 
Search instead for 
Did you mean: 

Sample with IDOC send/receive

ganimede_dignan
Contributor
0 Kudos

Hi forum,

where can I find code example to send receive idoc from/to a SAP R/3 system ?

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ganimede,

how are you doing ?

www.microsoft-sap.com/pdf/dotnetconnector.nov02.pdf

there are some basic samples which do ship with NCo 2.0

plz check in the samples directory

please review this thread for a likely issue to get the sample which ship with NCo itself

also a good blog to read

/people/sap.user72/blog/2004/12/31/some-tips-on-developing-idoc-receiver-programs-with-net-connector

with respect,

amit

Message was edited by:

amit chawathe

ganimede_dignan
Contributor
0 Kudos

Hi,

this link is bad:

Thank you.

Regards.

Ganimede Dignan.

Former Member
0 Kudos

Hi Ganimede,

thanks for the link check,

the correct one is :

also please check out the samples documentation on help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/9e/7b562de2cce14da8bb5af01c73de0b/frameset.htm

thank you for the 'solved problem' reward points

with respect,

amit

Former Member
0 Kudos

Hi Ganimede,

thank you for the 'very helpful answer' reward points

with respect,

amit

ganimede_dignan
Contributor
0 Kudos

Hi,

now I sent a file as idoc into our R/3.

Where can I find a Idoc example ? Our developer ask me an idoc example so can I use an idoc that I send from R/3 to file-port as example to developer ?

Regards.

Former Member
0 Kudos

Hi Ganimede,

how r u doing ?

IDocs, and their examples, can be found within your R/3 system

you can use transaction WE05 to view them

here is a list of IDoc specific transactions, which you might find useful

with respect,

amit

http://www.erpgenie.com/saptech/transactions.htm

-


IDoc Transactions

WE09 / WE02 IDoc lists according to content. View IDocs via specific IDoc number or business application detail contained within the contents of a segment.

WE05 View IDocs

WE19 EDI test tool. Use to test inbound Function module changes.

WE20 Partner profile configuration. Add partner detail together with inbound and outbound relationships. We also incorporate message control on the outbound IDocs. Utilize the organizational units to trap functional errors for further processing

WE30 Create IDoc extension type

WE31 Segment create

WE57 Assign function module to logical message and IDoc type

WE60 IDoc type documentation tool

WE82 Link Release detail to Extension IDoc Type

BD55 Conversion rule user exit. Link conversion rule user exit to the different system \ partner combinations

BD87 Reprocess IDocs in error or waiting for action. (Both inbound and outbound in 4.6. Use BD88 in prior versions)

BALA ALE Application Distribution

BALM ALE Master Data Distribution

ganimede_dignan
Contributor
0 Kudos

Hi,

in you previsu post-example:

....

private void idoc_BeginReceive(object sender, SAP.Connector.SAPIDocReceiver.ReceiveEventArgs e) {

Console.WriteLine("IDoc begin receive");

sw = new System.IO.StreamWriter(@"C:\temp\idocs.txt", true, System.Text.Encoding.ASCII);

e.WriteTo = sw;

}

....

Our flow is a PPCC2PRETTICKET idoc type from a VB custom application to R/3.

So I need a C:\temp\idocs.txt as example to send to our vb developer because he hasen't any idea about ALE-IDOC tecnology.

Is it OK a PPCC2PRETTICKET created from R/3 a port file as a example for our developer ?

Regards.

Former Member
0 Kudos

hi Ganimede,

how r u doing ?

C:\temp\ ... is a local file from your SAP system, you will need to pick it up from the location itself

yes the file you mention would be sufficient

but to get an understanding of what it does, it is better if he can take a look via we05

with respect,

amit

Answers (0)