Skip to Content
0
Former Member
Apr 29, 2009 at 09:28 AM

Reg: When trying for [Record Set Per Message] Payload not generating MONI

57 Views

Hi! Gurus,

I am trying to do Send 10 records at a time in .TXT file and I want them each record as each file in target FTP location which seems like FCC to File Scenario. her I am sending now only 3 records

See this is the data I am sending as TEST Data:::.

K01Amarsrinivas,Eli,4444,XYZ,3
K01Sachin,Tendulkar,29564,ABC,9
K01Ajay,Jadeja,5555,PQR,5

*_IR PART_*

See this is the Outbound Data type I have created::

*ADT_Record_Outbound	Complex Type	*						
Record	                       Element	 	0..unbounded			
First_Name	       Element	  xsd:strin	1				
Last_Name	       Element	xsd:string	1				
EMP_ID	                       Element	xsd:string	1				
Project_Status	       Element	xsd:string	1				
Experience	       Element	xsd:string	1				

THis is the Inboudn Data type I have created::

ADT_Record_Inbound

*ADT_Record_Inbound	Complex Type	*						
FullName	Element	xsd:string	1					
Global_ID	Element	xsd:string	1					
Project	Element	xsd:string	1					
IT_Exp	Element	xsd:string	1					

This is the Mapping I have done.....

ForSource Message TYpe I kep Occurancs as 1

For Target Message Type as I kept Occurances as 0--Unbound

Since I kept occurances it will generates defaultly Messages and under that Messages1 right ?

For Messages and Messages1 I didn;t mapped anything> Okay

Same Occurances I kept for Operation Mapping also.

ID Part::

1) Exce[t File sender as FCC everthing are same.

2) Here I am mentioning FCC parameters:

CONTENT CONVERSION PARAMETERS::

Document Name:: AMT_Record_Outbound

Document Namespace:: http://xxxxxxxxxxxxxxxxxxxxx

Document Offset:: -


RecordSet Name::

RecordSet Structure: ---:Record,*

Recordset Sequence,* ::: Assensding

Record Set Per Message:: 1

Key Field Value: KF

Key Field Type: Case Sensitive

Record.fieldSeparator= ,

Record.endSeparator= nl

Record.fieldNames= First_Name,Last_Name,EMP_ID,Project_Status,Experience

ignoreRecordsetName= true

Record.keyFieldValue = "K01"

ISSUE::

I am not getting any issue related to this scenario in SXMB MONI or MEssage MOni or CC moni

Everything is Success but Payload is not generating at outboudn side okay

in MONI VIEW SOURCE IS this one::

<?xml version="1.0" encoding="utf-8"?>
<ns:AMT_Record_Outbound xmlns:ns="http://RecordSet_Message">
	<Record>
		<First_Name>uFEFFK01Amarsrinivas</First_Name>
		<Last_Name>Eli</Last_Name>
		<EMP_ID>48907</EMP_ID>
		<Project_Status>NAB</Project_Status>
		<Experience>3</Experience>
	</Record>
	<Record>
		<First_Name>K01Sachin</First_Name>
		<Last_Name>Tendulkar</Last_Name>
		<EMP_ID>29564</EMP_ID>
		<Project_Status>ABC</Project_Status>
		<Experience>9</Experience>
	</Record>
                 <Record>
		<First_Name>K01Ajay</First_Name>
		<Last_Name>Jadeja</Last_Name>
		<EMP_ID>55555</EMP_ID>
		<Project_Status>PQR</Project_Status>
		<Experience>9</Experience>
	</Record>

</ns:AMT_Record_Outbound>

Note:: Even I tested by taking this payload from moni and placing in Message Mapping and everything is finr and there I am able to see tw records at targegt side

Requirement::

See Iw ant each record as each seperate File I mean here 3 records are there so I want 3 files to be generated in FTP Target Lcoation path;

I followd belo blogs::

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1818] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1825] [original link is broken] [original link is broken] [original link is broken];

[http://help.sap.com/saphelp_srm40/helpdata/ru/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]

and few more..........

So please resove thiis issue

Regards::

Amar Srinivas Eli

Edited by: Amar Srinivas Eli on Apr 29, 2009 2:59 PM

Edited by: Amar Srinivas Eli on Apr 29, 2009 3:03 PM