on 07-28-2008 4:30 PM
Dear all,
i'd like to do the follwoing thing in XI:
1. Receive a structured text file
2. Make an content conversion:
File is structured in the following way:
- all records have fixed field length, there are two possible types of record, indicated by the first 2 characters e.g.
AA Recordtype 1
BB Recordtype 2
BB Recordtype 2
BB Recordtype 2
BB Recordtype 2
AA Recordtype 1
BB Recordtype 2
..
So each record of type 1 is followed by 0 - n records of type 2.
3. Send the converted message into an ABAP inbound proxy
I have some questions regarding that scenario:
a) Can i use the flag "Recordsets per message" in XI to control if my message should contain multiple recordsets (one recordset would be associated with one record of type 1 and N of type 2)
b) How will i access in the server proxy class the records. Will I have a field for the recordset (or a table of recordsets if i don 't use the flag "Recordsets per message" in XI ).
What about the subfield? Will I have a table structure for the record of type 2?
c) Is the file content conversion I described feasible?
Many thanks in advance for your replies
Best regards
Florian
Edited by: Florian Wittke on Jul 28, 2008 5:31 PM
Hi,,
a) Can i use the flag "Recordsets per message" in XI to control if my message should contain multiple recordsets (one recordset would be associated with one record of type 1 and N of type 2)
why? i dont see any productive for this.
b) How will i access in the server proxy class the records. Will I have a field for the recordset (or a table of recordsets if i don 't use the flag "Recordsets per message" in XI ).
to integrate with a proxy see nexts PDFs, is the same for BW,BI,R3.
follow this guide
or this
What about the subfield? Will I have a table structure for the record of type 2?
c) Is the file content conversion I described feasible?
hi, yes it can be done.
see this link
in this link some blogs
Thanks
Rodrigo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can define your structure as
MessageType 1..1
RecordSet 1..unbounded
RecordType1 0..1
RecordType 2 0..unbounded
(RecordType1 and RecordType 2 are children of RecordSet.. I am not able to format the structure)
Use keyfield as AA for RecordType1 and BB for RecordType2.
Use RecordSet per message = 1 and it should create 1 message for each recordtype 1 and n occurrences of recordtype 2.
Thanks,
Beena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.