on 01-13-2005 6:20 AM
Hi all,
i am trying the scenario file-xi-idoc scenario in sap xi 2.0,am using a flat file on ftp server which is being converted as idoc in idoc adapter. Now the idoc is available in receiving sap system with status 51. here i found 2 problems.I am using debmas 03 idoctype.
1. The segment E1KNB1M is occuring 9999 times instead of 1 . I want to set this value to 1 instead of 9999 times.
2. I have taken 3 fields as source structure and mapped the same with idoc fields, but they are not mapped, but idoc is with error 'mandatory fields missing'.
Can anyone suggest??
Sriram
Hi Sriram,
Unfortunately I do not have an XI 2.0 system to test your scenario so I cannot help you any further, sorry!
Cheers,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi paul,
I got stucked with one problem in file-xi-idoc scenario using sap xi 2.0.
I am using sender file adapter which is picking up the file from ftp server. The file contains three fields and I am placing them in a text file as
Sriram,mumbai,in.
The file adapter is picking the file successfully and converting them into xml sending to integration engine. But during runtime these fields are not mapped to target idoc structure (DEBMAS 03) and there are no errors showing in SXMB_MONI. The idoc is going to receiving sap system with error status 51. This is the payload of xml messages observed in SXMB_MONI.
<?xml version="1.0" standalone="yes" ?>
- <resultset>
- <row>
<field0>sriram</field0>
<field1>mumbai</field1>
<field2>in</field2>
</row>
</resultset>
Here is the file adapter configuration :
file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
mode=FILE2XMB
mode = file2xmbwithrowconversion
Integration Engine address and document settings (example, see docu)
XMB.TargetURL=http://ht56f4:8000/sap/xi/engine/?type=entry
#XMB.SLDConfiguration = SLDaccessor7
XMB.User = xiappluser
XMB.Password = xipass
XMB.SenderBusinessSystem = PS_LEGACY
XMB.SenderInterfaceNamespace = http://ps_crm.com
XMB.SenderInterfaceName = Customer_out
#XMB.SenderBusinessSystem=ExtAdapterSender
#XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
#XMB.SenderInterfaceName=ExtAdapterSenderIF
XMB.ContentKind=T
#XMB.ContentKind=T
#XMB.ContentType=application/xml
#XMB.ContentType=text/xml
XMB.ContentType=text/plain
XMB.QualityOfService=EO
#ftp server details
ftp.host = 10.1.45.43
ftp.port = 21
ftp.user = sapftp
ftp.password = ftp***sap123
ftp.connection = permanently
ftp.mode=Text
#file.sourceFilename = bank.txt
##File Adapter specific parameters (example, see docu)
file.sourceDir= \/pssap\/
file.sourceFilename = testing.txt
#file.processingMode=setAttribute
#file.processingMode=archive
#file.archiveDir=c:/temp_archive
file.pollInterval= 60
file.pollIntervalMsecs= 10
#file.retryInterval = 30
file.logPollInterval=YES
file.processingMode=delete
##xml conversion properties if mode FILE2XMBWITHROWCONVERSION specified (example, see docu)
#xml.fieldFixedLengths=8,9,2
xml.processFieldNames=notAvailable
xml.fieldSeparator=,
xml.enclosureConversione = YES
I am not able to test mapping in sap xi 2.0.
Any suggestions greatly helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sriram,
Did you test the mapping in the repository using the test option? You can take the data from the message in the SXMB_MONI and save that as XMl file which can be used in the mapping test part. I am working with 3.0 so I am not sure if 2.0 has this option. Maybe you can check too if the correct mapping is selected by XI.
I still not understand what you mean with the occurrance of 9999, do you mean there have to be 9999 segments?? Because that does not make sense and should be defined in the IDOC type definition in your receiving SAP system. Maybe you have to import the IDOC in XI 2.0 again.
And off course you can change your mapping! I think somewhere the mapping is not quite right!
Cheers,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi paul,
Thanks for your response.Actually i want to transfer customer master data from a file in ftp server to sap r/3 receiving system. I have taken customername,country and city fields in file and rest of the mandatory fields hard coded to idoc segments in mapping.
Now i am getting the idoc posted in receiving system with status code 51 stating mandatory fields are missing. I observed the three fields which i have taken in flat file, they are not mapped into idoc structure.
second problem is the segment, E1KNB1M is occuring 9999 times. Can we make any changes in mapping. I am using sap xi 2.0?
Rgds,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In principle the segment E1KNB1M should occurr at least 1 time, so the 9999 does not matter. Did you manage to manually create an IDOC using E.G. WE19 which could be posted without error? Then you can check which segments/fields you must fill at least. What do you mean by we have used 3 fields as source structure?
Greetz,
Paul
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.