on 04-06-2005 5:32 AM
I would like to know How to use the SAPIdocReceiverclass Works?
for e.g:- I could generate the IDOC for PO.Iwould like
to replicate the same PO in my .NET
application.Does the values in IDOC in SAP
will be transfered(using tRFC) in memory
to .NET application or .NET will receive it in
TEXT file and .NET application
need to parse it??.
Could you please explain me how this class
works and what need to be done in .NET
application
to retrieve values from the IDOC in .NET.
SAPIDocSender and SAPIDocReceiver just send and receive text-IDOCs as byte-stream. You need to construct or parse them by your own.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't understand the question.
In the outbound scenario the SAP server would serialize some business data into a text-idoc. You would on the .NET side receive the file as a byte-stream: As a result of the OnBeginReceiving function or BeginReceive event you hand in a TextWriter that receives the data.
You later need to understand the data somehow. You need to know the offsets of the individual fields. This indormation is available in the definition of the IDOC type in the SAP system.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.