cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDOC scenario-no messages in SXMB_MONI

Former Member
0 Kudos

Hi all,

I know this is asked so many times ,I checked some links but couldn;t find out the gap where it happened.

I am doing a File to IDOC scenario through XI mapping.

I am not getting any messages in SXMB_MONI.

When I check Communication Channel monitering in Runtime Workbench, it shows processing successfully, then it should generate messages in SXMB_MONI and intimate whether the scenario created is correct or not right!

Please help.

My scenario goes like this:

Sender : Business service(Some file location)

Used File adapter for sender communication channnel.

Receiver : Business system(SAP R/3)

Used IDOC Adapter for receiver communication channel.

One more thing is,do I need to create logical system for Business service also?If so, where do I maintain it?(In SAP R/3 or in XI system?)

Till now,I maintained my XI system as logical system in WE20 and I didn't create any logical system for business service in any system.Does it create main problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Adittion to the above, Check the below blog if like to know how the idoc control record uses logical systems...

/people/rajeshkumar.pasupula/blog/2009/03/16/unable-to-convert-the-sender-service-to-an-ale-logical-system

HTH

Rajesh

Former Member
0 Kudos

Hi Rajesh,

It's not generating any message ID and I checked the link given by you for setting logical systems.

there it was mentioned to create logical system for both business system and business service.I couldn't get how a normal path will have R/3 Id and client. May be my scenario doesn't match with the example you have given.

And I was able to see messages for the other scenarios I did .

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>It's not generating any message ID

that means that the file adapter is not polling

so there no message send to SXMB_MONI - that's why you don't see anything

correct the config in file adapter and once it will poll the file you will see it there

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

My file adapter configuration:

Adapter type :File

Sender radi button is picked

Transport Protocol:File system(NFS)

Message protocol :File

Adapter engine :Integration Server

Given file access parameters as per the path.

my file type is xml.

Processing parameters :

Quality of service:Exactly once

Poll interval (sec.s):30

Processing mode : Test(earlier II tried with 'Read only' also)

Empty file handling:Don't create message

Processings equence : By Name

File type :Binary

Adapter Status:

status :active

Former Member
0 Kudos

Hi,

Post the sender channel logs also...what is generating..whether it is picking file or not...we can find out based on the logs of the same... go to RWB->component monitroitng->adapter engine->communicatio channel monitoring->sender channel name

HTH

Rajesh

Former Member
0 Kudos

Hi Rajesh,

I am able to read file it seams.I created another file in different folder and changed path.I am able to see messages in SXMB_MONI now.when I selected one record and clicked Error Information tab is says:Unable to convert the sender service BS_flatfile to an ALE logical system.Now could you let me know one thing clear how could I create logical system for business which is a legacy system(i.e. a normal file path)

Former Member
0 Kudos

Hi,

if it is a business system created as a third party then go to the tab integration in SLD and there provide the logical system name... and there after clear SLD cahce in ID and do a synchronization tab at Business system menu level..

if it is a business service go to Business service menu and there provide the logical system name...

Hope this clears you...otherwise check the link of the blog provided by me..

HTH

Rajesh

Former Member
0 Kudos

Hi , I am able to poll the files from file location now.and I am receiving IDOC into SAP R/3 with status 56.I already created partner for file path as a logical system and assigned inbound parameters with respective message type . Even the status shows :

-


An inbound partner profile could not be found with the following key:

/LSDEMO/LS//DEBMAS////

This involves the key fields of table EDP21:

-SNDPRN partner number of sender

-SNDPRT partner type of sender

-SNDPFC partner function of sender

-MESTYP logical message type

-MESCOD logical message code

-MESFCT logical message function

-TEST test flag

-


I already manitained following data and there is one record in EDP21.

SNDPRN = LSDEMO

SNDPRT = LS

SNDPFC = LS

MESTYP = DEBMAS

MESCOD = space

MESFCT = space

TEST = space

EVCODE = DEBM

SYNCHK = X

METHOD = space

USRTYP = space

USRLNG = space

INMOD = space

DCART = space

And please let me know whether I have to maintain outbound parameters also for my partner in XI system.I didn't see any difference even I maintained it.

And my IDOC takes another port rather than I mentioned in my SNDPRN(sender port) of my IDOC control record in message mapping.Let me know whether it's mandatory to maintain port name with SAP<XXX>convension,because IDOC in R/3 is picking the port with that naming convension.

Edited by: Jaya on Feb 26, 2010 10:17 AM

Edited by: Jaya on Feb 26, 2010 10:27 AM

Former Member
0 Kudos

Hi,

in order to resolve this either remove the PartnerRole in SAP R/3 for the partner profile in we20 Tcode or pass the SNDPFC value in the idoc control record EDI_DC40 for the same...

in order to pass this value enable the options at idoc reciever channel to pick the data from payload and in the mapping assign the values to the control record as needed like SNDPRN..SNDPFC..SNDPRN...

but the port will taken by PI systems port...and you need to look into this...

Hope this clears you...

Regards

Rajesh

Former Member
0 Kudos

Hi Rajesh,it's working now.

Edited by: Jaya on Feb 26, 2010 11:51 AM

Answers (7)

Answers (7)

Former Member
0 Kudos

Dear All,

For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.

For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.

I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.

Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

former_member183908
Active Contributor
0 Kudos

Hi Jaya,

refer the below link.

Thanks

Former Member
0 Kudos

This message was moderated.

former_member207622
Contributor
0 Kudos

Hi Jaya ,

Please check with basis for your administartion settings in SXMB_ADM as you might not have display authorizatiosn against your ID

Try running some other scenario before your scenario and check if you get any message in sxmb_moni

Try searching the message in sxmb_moni by giving message ID which you get in communication channel monitoring .

you need to create logical system in XI and SAP R/3 system both if im not wrong .

you have to mention the logical system name in adapter specific identifiers in business service .

Regards

Ninad

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>When I check Communication Channel monitering in Runtime Workbench, it shows processing successfully, then it should generate messages in SXMB_MONI and intimate whether the scenario created is correct or not right!

do you see a message ID in the CC monitor ?

or only processing successfully ? if the latter maybe you're pooling from an empty folder or wrong name

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Message Id is empty,but I checked the file path again now.It's correct and file is also place in right location.

Former Member
0 Kudos

Hi jaya,

when the file is picked by channel is that not generating any message id at channel level....

check this

Rajesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi Rajesh,

>>>when the file is picked by channel is that not generating any message id at channel level....

of course it does... check your file channel to see it there

if it's not there then the file adapter did not poll the file

Regards,

Michal Krawczyk

former_member200962
Active Contributor
0 Kudos

1) Your FILE adapter is locked....in this case it will show processing successful....but actually it has not passed any message.

Check if you are able to see the message content in the FILE channel.

2) The logging and TRACE has not been enabled and hence no message is seen in SXMB_MONI .... are you able to see messages for other interfaces?

Regards,

Abhishek.

Former Member
0 Kudos

Hi jaya,

Go to SXMB_ADM =< Integration engine configuration => configuration =>

Check the Following record is existing otherwise create it and check

Category => Runtime

Parameters => Logging

Current value => 1

Thanks,

RJ