Regarding File 2RFC scenario
Hi Friends, please help me on file 2 rfc scenario . here after completion of the configuration and design. i place my file in my server but it was not picked. can u solve this issue.i have created this scenario using business service.
Hi
you can check the following things.
1. check whether the parameters given are correct or not.
like file name , directory name etc.
2.check whether the channel is active or not in configuration..
3.second check adaters ststus in the runtimeworkbench you can check this,
go to the runtime workbench->component monitoring->display>adapter engine->communication channel monitoring check the adapter status , it will also describe about the error in the channel.
4.check whether the adapter is start or not if not start tye adapter by click on automatically.
if u still face the problem please reply me back.
Thanks
Rinku
Similar Messages
-
XI is not able to archive file in file-idoc scenario
Hello friends,
I have an issue in my file->idoc scenario. When a file is placed to XI's filesystem using FTP, it is placed under xiftpuser user. Owner of all directories in this structure wher the file is placed is xiftpuser. XI is not able to archive the file because of the permissions on the archive directory. But the problem is, permissions on this directory are 775 and xiftpuser and xipadm user are in the same group. So this should work. But it doesn't. When I change permissions to 777 everything works fine.
Do you have any idea what could be wrong?
Does it matter, that xipadm user has been added to the common group with xiftpuser "later", when XI was up a long time before? Do we need to restart j2ee to take these new permissions into account?
Thank you,
Olian
Edited by: Olian Saludew on Sep 23, 2008 11:46 AMHi,
If archive directory Path is d:\archive
Put a '\' after it.
e.g. "D:\archive\"
It will work.
Regards,
Akshay. -
Data tuncated in file adapter scenario
Hi,
File adapter scenario - Sender systems passes a file (csv format) to PI which has one of field as 0001. This field is received at PI without the prefix 000. But, the target systems requires the data to be in the same format as the sender. How to solve this?
ThanksSatish,
It is the behaviour of the CSV files that it trims leading zeros in the columns with numeric values, try this open the CSV file and select the column and right click it in the context menu you would find FORMAT CELLS and change the type of the column to TEXT so that whatever values you enter in that column remain as it is without truncating.
Also, the trick at following link would help
[http://www.howtogeek.com/howto/microsoft-office/how-to-import-a-csv-file-containing-a-column-with-a-leading-0-into-excel/]
Hope this resolves your issue!!
Regards,
Amit -
HTTP-FILE synchronous scenario
Hi,
I want to configure a Http to file synchronous scenario.
Message will be sent through the HTTP test tool. I have selected BestEffort as the QoS.
We do not want to use the repository objects.
Sample file say(<tag>this is a sample file</tag>) will be sent through HTTP test tool.
This file should be received by the File Receiver channel and dumped on the FTP.
In response, a file from some other folder on FTP should be sent.
How can this be achieved?
Regards,
Pratibha.Hi Pratibha,
the standard sap help side is here very good
[Integration Processes (ccBPM)|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm]
You need a receive step (synchronous) for for your http request. For this you need 3 abstract interfaces: 1 synchr IF, 1 async for request container, 1 async for resp container. You need to correlate with a unique number which the http sender has to send (f.e. date/time stamp)
Next may be a transformation (mapping) but not required.
Then a async send step to send the file.
The response file need to be created, the corresponding adapter should have a short poll intervall. The response file need to send the unique id as well.
The BP correlates the second receive step, next you can - like before optional - execute a transformation step.
Finally u close the sync/async bridge and send the response back. This will take assumedly a minute or more.
The whole design is may be not sufficient. Better ask if the requierments are changeable.
Regards,
Udo -
Exceptions in file-idoc scenario
Hi Folks,
I am developing a file-idoc scenario. What are the different exceptions I would be needed to handle apart from the following two identified?
1. Mapping issue
2. Problem in posting the idoc (SAP system may be down and others)
Thank youHi Raja,
The errors an happen at following steps:
1. Error while picking the file:File adapter error
2. Error in mapping: error due to incorrect data, incorrect format, corrupt file etc.
3. While posting Idoc: due to Incorrect userId password, due to structure not matching, destination system being down.
Hope this helps.
Regards
Vijaya -
Regarding A2A & B2B Scenario development in SAP PI /XI?
Hello Experts,
Kindly clarify my doubt regarding A2A & B2B Scenario's development in SAP PI / XI.
I mean when to use & which adapter user in which scenario & specifically what difference does it make when we use one adapter in one scenario meant for another one. Will it work?
The Question may be quite Naive to all of you but still want to clear some thing from my head.
Best Regards
Priyesh ShahHi Inaki Vila,
Thanks for Reply, i did searched SDN before raising this question. i stumble upon this difference between A2A and B2B scenarios.but the question still remain in my head what adapters should i use for B2B scenario is it necessary that i should use EDIFACT for B2B & not for A2A. Here in my company we are handling a client which has several legacy system in landscape which are integrated to SAP ERP with SAP PI here they mostly used File Adapters, what happens if i use File Adapters for B2B scenario.
Best Regards
Priyesh Shah -
ALE Settings For File-IDOC Scenario
Hi All,
While Doing IDOC-File Scenario we have to do the Following Settings
In XI
1) Create RFC Destination towards R/3
2) Create Port
3) Load Meta data
In R/3
1) Create RFC Destination towards XI
2) Create Port
3) Create PF
Q1) Coming to File-IDOC Scenario do we need to do the Same Settings ????
Q2) In this File-IDCO Scenario do we need to create RFC Destination in R/3 towards XI ????
Clarify me these Confusions
Regards
BopannaHI,
for IDOC TO FILE
We need to create the rfc destination at XI side so as to send the acknowledgement to sap r/3 as soon as idoc has been received.This is the reason WHY WE NEED RFC DESTINATION AT XI SIDE
There are are only 2 major difference in Ale settings for FILE TO IDOC AND IDOC-FILE
i.e for FILE-IDOC
1) No need to Distribute the modal view
2) For partner profile Specify the INBOUND PARAMETERS
FOR STEP BY STEP U CAN SEE THE SETTINGS GIVEN BELOW
We need to do the following settings in XI
1) Create an RFC Destination to the Receiving System in transaction code (SM59)
a) Choose create
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#
e) Enter the Gateway host as same details above SID/URL
f) Gateway service is 3300+system number#
g) In the Logon /Security tab, enter the client, user & Password details of Destination system
h) Test the connection and remote logon.Both should be succesful
2) Create Port Using Transaction Code IDX1
a) Select Create New button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client
d) Enter the RFC Destination created in XI towards R/3
e) Save
3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1
SETTINGS IN SAP R/3
We need to do the following settings in R/3
Logon to Sap R/3 System
1) Create an RFC Destination to XI in transaction code (SM59)
a) Choose create
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#
e) Enter the Gateway host as same details above SID/URL
f) Gateway service is 3300+system number#
g) In the Logon /Security tab, enter the client, user & Password details of Destination system
h) Test the connection and remote logon.Both must be succesful
2) Create communication Port for Idoc processing Using Transaction(We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile with Inbound Parameters (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang
Then Save
e) Select Partner no. and LS which were create above
f) Now we have to give some Inbound Parameters.So click on ADD TO Create Inbound Parameter
g) Select Message type
h) Double click on Message Type and Then Enter the details for Message Type and Process Code.
I) save
4) In Transaction SALE, Create Logical System
a). Go to Basic Settings-> First Define logical systems
and then assign logical systems
b) Double click on Define the logical systems
c) Give data for your Logicaal System and Name
d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
e) Assign the logical system name to the client
ALSO WE NEED TO CONFIGURE THE IDOC ADAPTER AS RECEIVER TO CONVERT THE IDOC-XML TO IDOC
PLZ REFER THE LINK BELOW.
PLZ REWARDS THE POINTS
VIKAS JAIN
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098]
Edited by: vikas jain on Jan 22, 2008 11:49 AM -
Hi Experts,
I am getting the below error for File to File BPM scenario.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message is not used by any processes</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Could you please tell me, why I am getting this error.
Regards
SaraIR IP
FileTOFile_BPM
1. Receive Step (Used MI_Abs_Async)
2. Send Step (Used MI_Abs_Async)
Please find the below configurations which I hv done in ID
IP in ID
BPM_FileToFile
Business Service & CC
1. SENDER_SERVICE
CC: File_Sender_BPM
2. RECEIVER_SERVICE
CC:File_Receiver_BPM
3. Receiver Determination:
a) Sender Service : SENDER_SERVICE
Sender Interface : MI_Outbound_Async
Receiver Service : BPM_FileToFile
Receiver Interface : MI_Abs_Async
Mapping : IM_File
b) Sender Service : BPM_FileToFile
Sender Interface : MI_Abs_Async
Receiver Service : RECEIVER_SERVICE
Receiver Interface : MI_Inbound_Async
Receiver Agreement : File_receiver_BPM -
File-to-File/RFC scenario with reading filename
Hi,
i have a File-to-File/RFC scenario which causes some problems in desining it correctly. Maybe some of you has an idea how to do this.
Scenario:
- A file is picked up by a File-Adapter. The files are different: pdf, doc, tiff, jpg, txt, ...
- The file must now go through a business process (not necessary the file, but i need the filename in the business process).
- The process has to contact several backend systems (SAP R/3) to collect some data. To achieve this the filename has to be send to this systems.
- The collected data are send via SOAP to a receiver system
- The file itself has to be stored in a directory via File-Adapter.
Here's my problem:
- Is it possible to transport the binary file content within a message which contains other elements (e.g. filename)?
- Is it possible to do graphical mappings with such a payload (only 1 to 1)? Or must i use Java Mappings only?
- How to generate a Message from the sender File Adapter which contains binary file content AND filename? Is this possible with a Module?
- Is it better to create 2 messages with an adapter module? One with the image the other with the filename. Or is it better to split them later in a Mapping?
Thanks in advance,
msIf all that you need is the file name, use adapter specific settings in the sender file adapter. Then you can access the file name in mapping runtime in UDFs. If you want to have content of the pdf, jpg etc images, i do not think there are ready modules available except for reading pdfs ( you might have to research on this).
For look ups etc with R3 systems, you can use the file name that you got from the adapter and store it in mapping fields.
VJ -
N:1 file merging scenario in bpm
Hi friends,
Can anybody send me link of blog for file merging scenario in BPM. i hav two files and i hav to merge it into one single file. I am new to XI, plz help me.
Thanks in advance,
ShwetaHi,
Check this blogs...
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Merging using corelation -
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
Example using correlation:
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Please reward points if it helps
Thanks
Vikranth -
ATTRIBUTE_IDOC_RUNTIME error in File-IDOC Scenario
Hi,
I got this error in FIle-IDOC scenario.
ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
<SAP:P1>Transaction IDX1: Port SAPMMX, client , RFC destination contain errors
There are many threads on same issue. Almost in all threads, the suggestion given was, we need to check the Channel Definition(Port should be SAP<SYSID> and not SAP<SYSID>_<CLIENT>)
I have given the proper values for RFC desitnation and port. Even then, I m getting this error.
Is there any other suggestions?Hi aarthi,
I suggest u chk all d settings dat u hav done..
Steps for ALE settings:-
Steps for XI
Step 1)
Goto SM59.
Create new RFC destination of type 3(Abap connection).
Give a suitable name and description.
Give the Ip address of the R3 system.
Give the system number.
Give the gateway host name and gateway service (3300 + system number).
Go to the logon security tab.
Give the lang, client, username and password.
Test connection and remote logon.
Step 2)
Goto IDX1.
Create a new port.
Give the port name.
Give the client number for the R3 system.
Select the created Rfc Destination.
Step 3)
Goto IDX2
Create a new Meta data.
Give the Idoc type.
Select the created port.
Steps for R3.
Step 1)
Goto SM59.
Create new RFC destination of type 3(Abap connection).
Give a suitable name and description.
Give the Ip address of the XI system.
Give the system number.
Give the gateway host name and gateway service (3300 + system number).
Go to the logon security tab.
Give the lang, client, username and password.
Test connection and remote logon.
Step 2)
Goto WE21.
Create a port under transactional RFC.(R3->XI)
Designate the RFC destination created in prev step.
Step 3)
Goto SALE.
Basic settings->Logical Systems->Define logical system.
Create two logical systems(one for XI and the other for R3)
Basic settings->Logical Systems->Assign logical system.
Assign the R3 logical system to respective client.
Step 4)
Goto WE20.
Partner type LS.
Create two partner profile(one for XI the other for R3).
Give the outbound or inbound message type based on the direction.
Step 5)
Not mandatory.
Goto BD64.
Click on Create model view.
Add message type.
Step 6)
Goto WE19
Give the basic type and execute.
fill in the required fields.
Goto IDOC->edit control records.
Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
Click outbound processing.
Step 7)
Go to SM58
if there are any messages then there is some error in execution.
Goto WE02.
Check the status of the IDOC.
Goto WE47.
TO decode the status code.
BD87 to check the status of IDOC.
In case if not authorized then go to the target system and check in SU53, see for the missing object
and assign it to the user.
SAP r3
sm59(status check)(no message)
WE02(status check)
WE05(status check)
BD87(status check)
Xi
IDx5(Idoc check)
SU53(authorization check)
reward points if helpful...
MenoN -
Regarding file content conversion
Re: regarding file content conversion
Posted: Sep 25, 2008 11:30 AM in response to: kummari Edit E-mail this message Reply
i tried.but m getting this error
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns1:MT_HyperionReport' found in document', probably configuration error in file adapter (XML parser error)'
Actually my input structure is:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_ECCReport xmlns:ns0="urn:syngenta.com:i_ecc_erp:se:global:fi_reports:common">
<ACTFiscalyear>siva</ACTFiscalyear>
<StartPeriod>44</StartPeriod>
<EndPeriod>55</EndPeriod>
<LineItems>
<ReportingUnit>rama</ReportingUnit>
<ProfitCentre>844</ProfitCentre>
<Amount>855</Amount>
</LineItems>
</ns0:MT_ECCReport>
and in FCC i wrote below these three lines:
LineItems.fieldSeparator 'nl'
MT_HyperionReport.fieldSeparator 'nl'
LineItems.fieldSeparator 'nl'
So please tell me what is wrong in thisMT_HyperionReport is your message type and this represents the top level node of your message. Below this you have your records. You have MT_HyperionReport as a record type which is clearly not going to work.
In the content conversion parameters section the following fields should be filled, you dont need to specify Recordset if your XML structure does not include this node see SAPhelp example:
Document Name: MT_HyperionReport
Document Namespace: <look at your message type in the designer>
Recordset Structure: Record_type1,<occurrence 1..>, Record_type2,<occurrence 1..>
In the parameter box:
Record_type1.fieldSeparator
Record_type1.fieldNames
ignoreRecordsetName value true
Record_type2...
The SAP help on this is pretty clear and comprehensive...
http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm -
Query regarding file content conversion using file adapter
Hi All
I have a question regarding file content conversion in file adapter.
I have a file coming in the following format.
AA,111,222,333
BB,444,555,666
CC,777,888,999
My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
AA,111,222,333
<<BB,444,555,666>>
<<<<CC,777,888,999>>>>
After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
Is it possible to get a nested hierarchy as a result of file content conversion?
Please let me know
Thanks
ChandraHi Udo
According to your suggestion, I am trying to use mapping.
I am getting a flat file and i am reading it.
This is my source structure:
AA,11,22,33
BB,44,55,66
CC,77,88,99
This is my required targer structure:
AA,11,22,33
<<BB,44,55,66>>
<<<<CC,77,88,99>>>>
To explain this, BB record can have multiple records of CC records.
AA records can have multiple records of BB record.
I am using removecontext node function.
CC (Source) (removecontext)-> CC (target structure)
But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
Many Thanks
Chandra -
Idoc to File Split Scenario..
HI Experts,
My scenario is Idoc to File split scenario..
Idoc will be triggered from the SAP ECC system and at the target side we need to drop two text files at the ftp directory.
so Idoc data needs to be splitted and to be dropped in two differient files in the target FTP directory..
So can any one suggest how to go ahead with the scenario..
Thanks,
--Kishore.Hi,
In the idoc, some of the data will go to onefile and some goes to other files..
the structures of the two files are differient..
There is no condinal spliting here every idoc contents should be mapped according to the requirement and dropped as two files.. at the target end.
for ex:
Idoc
field1
fileld2
field3
field4
in the out put side
file1 should contain
field1
field3
field4
file2 should contain
field1
field2
fileld3
This is what the requirement, if you are not getting reply back with your queries..
Thanks,
--Kishore.. -
Hi,
I have some problem regarding file export from java to some word or excel. I have a Jtable in which I fill the data dynamically now I wan't to get that data into an excel sheet with just one click. Regarding .doc I am writing the file but how to do in excel sheet having columns defined.
Best Regards,
SreedharA good Java API for creating or accessing Excel files is POI-HSSF: http://jakarta.apache.org/poi/hssf/index.html
Maybe you are looking for
-
Competition problem between Windows 8.1 and Windows 7 on Photosmart C5180 connected via LAN
Hello everyone, I am writing because I need some advice / help on a problem last night while configuring a small network. The network is made up as follows: 2 notebook: Windows 8.1 and Windows 7 3 different printers: 2 USB connected to the respective
-
Image opens at 1% instead of full-size.
For some unknown reason when I try to open an image file using PSE9 the image opens at 1% resolution instead of full screen. I have to manually enlarge the file to 100% and then enlarge it's window as well. I've already tried re-installing the soft
-
Help! Previously plugged android phone into wife's Mac to get some charge on battery, Mistake obviously as it automatically synced her contacts. This was some months ago Yesterday updated android software and this has subsequently overwritten my wife
-
Problem with Updation of entires in table T030
Hi, We have written a program to update some entires in the standard table T030.We tried writing INSERT as well as modify statemnt for updating these entirs in internal table.All these entires are new and they donot exist in the table. However the
-
Multi selection in RichTextArea
Hello everybody, Someone know if it is possible to enable the multiselection in a RichTextArea or TextArea in Adobe Flex 3? I want to select different parts of the text but it seems it is not possible. Thank you for the reply Achille