cancel
Showing results for 
Search instead for 
Did you mean: 

XML not generated in sxmb_moni

vishnu_pallamreddy
Contributor
0 Kudos

Hi All,

Our requirement is sftp to proxy.

for that we have create module.

our structure data type:

                    data type

                         rset(1)

                           detailer(0 to unbounded)

                           trailer(1 to unbounded)

this is my sender data type.

in my input file we have 4 trailer records at first position of the file.

after that we have some detailer records.

 

file uploaded successfully and no errors.

but we have issue with XML i.e, there is no XML for Detailer it generates only trailer xml.

what is the error.

please find my module declaration:

Accepted Solutions (1)

Accepted Solutions (1)

gagandeep_batra
Active Contributor
0 Kudos

Hi vishnu,

did u check this link also:

http://scn.sap.com/people/gabrielsagayaselvam.panneerselvam/blog/2009/08/31/solve-key-field-problem-...

Check with that also

ignoreRecordsetName: true.

Regards

Gagan

vishnu_pallamreddy
Contributor
0 Kudos

gagan,

we already check that link.

and there is no use with

ignoreRecordsetName: true.

Thanks in Advance,

vishnu p.

Former Member
0 Kudos

Hi,

Just try by changing the sequence of recordset structure as detail first and then trailer.

Also you have defined 2 key field names and one of the value for key field is *. So its matching alll records with trailer record set and you are not getting anything for detail records.

Regards,

Beena.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Beena,

if we change the sequence of recordset structure as detail first then trailer we got only detail records not trailer.

and also change the trailer key field valu to "stext" from * same problem.

thanks in advance,

vishnu p.

Former Member
0 Kudos

Hi Vishnu,

You have provided 2 key field names. There will be only one key field name. It checks the if value of key field name matches with key field value provided for detail structure or trailer structure. So the configuration should be something like this:

keyfieldname = Test

detail.keyfieldvalue = A

trailer.keyfieldvalue = B

and flat file will have values like

A2345678

A2343555

B123

A456

In this case, first 2 records will be mapped to detail structure, 3rd to trailer structure and last to again detail structure.

So please configure common key field and check.

Does record_type gives identification for detail or trailer record. If so you may use it and remove Plan field as key field name.

Regards,

Beena.

vishnu_pallamreddy
Contributor
0 Kudos

thank you gagan.

Answers (1)

Answers (1)

gagandeep_batra
Active Contributor
0 Kudos

Hi vishnu,

check below wiki i think that match your requirement. Hope this help

http://wiki.sdn.sap.com/wiki/display/XI/How+To...Content+conversion+module+with+J2EE+JMS+adapter

Regards

Gagan

vishnu_pallamreddy
Contributor
0 Kudos

thank you gagan,

issue fixed.