File-XI-RFC, archiving file only when system ack ok. Is it possible?
Hi !
We have a File-XI-RFC scenario. We need the file adapter to archive the input file ONLY if the message was delivered ok to the RFC.
Should this work, using a BPM with this steps ????
1) Receive (file message type)
2) Block
2a) Send (ASYNC to the RFC, with transport Acknowledgement enabled)
2b) deadline branch at N minutes
The goal is that if the R/3 RFC receiving system is down, XI does not archives the input file and tries to process it later when R/3 is available. XI's File Adapter should find the file in the source directory because it was not archived when the process returned error the last time it was executed.
Thanks,
Matias.
Hi Bhavesh !
I'm thinking in other idea, based on yours...
there should be 2 scenarios:
Scenario 1: takes file from SOURCE folder,archives it in a VERIFICATION folder, tries to send via RFC.
Scenario 2: takes file from VERIFICATION folder, checks via BAPI call if its content was succesfully inserted via the RFC of scenario 1, if this BAPI returns OK, send the data to a HISTORIC folder if the BAPI returns ERROR, send the data to the SOURCE folder. I could use the extended receiver determination feature here to select between the HISTORIC and SOURCE folders or BPM.
Always using EOIO, and file construction mode = APPEND in the receiving file adapters of scenario 2, to rebuild the input file based on the several splitted messages.
What do you think ?
Thanks !
Similar Messages
-
File to Rfc to File in pi7.1
Hiii,,
Iam trying file to rfc to file scenario...when iam montoring sender commuication channel it shows below mentioned error...wat may the issue..help me out
"Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.. Setting message to status failed"
With Regards..
DineshHi,
I checked the namespace its rite...whether i have to check the same namespace in sap system...if yes, where to find it..
I guess your File CC configuration is not correct. Namespace will be your source interface namespace in PI. This is a very basic question and should be searched on SDN / SAP Help before posting here.
Go through this SAP Help ...
http://help.sap.com/saphelp_nw04/Helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Neetesh -
SAP PI7.1 File to RFC to File
Hiiii,,,
i have doubt in mapping related to file to rfc to file scenario...
i have a source message type i have two field name ( 1.field_name 2.table_name)...i have to map this two fields to RFC_READ_TABLE function module to the field query_table and field_name...how to map this...
With Regards.....
DineshHi Dinesh,
i have one data type in source with two fields (1.table_name 2.field_name).
.i mapped this to target RFC_READ_TABLE to the parameter query_table and fielname in that function module
Please let us know if you have any mapping rules for creating the mapping, i mean
what are you trying to fetch from the RFC, what are the values you are sending and
what you want in response.
Its based on your requirement and you need to decide which field is to be mapped
to RFC structure.If you are getting error while testing , please let us know.
Also ensure that your RFC Function module is working when tested in sap system.
Go to Se37 and enter your Fn module name and test with the valid inputs.
check if its outputting the desired values.
Regards,
Srinivas -
Issue in File to RFC to File Scenario with BPM using Block Step
Hi Everybody,
I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
Could somebody suggest me the outcome of this? What does this mean and how to
release the stuck up message in Queue.
Thanks and Regards,
N.Jayanth KumarHi Rajesh,
After going through the blog, i saw the trace messages. It says
" The exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
Regards,
N.Jayanth Kumar -
Hi All,
I am trying to do File To RFC To File using BPM.
I am following the given link.
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1926. [original link is broken] [original link is broken]
I did exactly same .But it is showing error as "RED" in the workflow as I checked it in sxmb_moni.
I am very new to BPM.
Can anyone please help me solve this.
Thanks
RabiHi All,
Thanks to you.
My problem is solved now.
I checked by using tcode SXMB_MONI_BPE which is showing error as "Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed".
"No handler defined for this system exception".
So I checked all channels in RWB.
Problem was in my receiver RFC channel configuration.
I corrected it and it is solved.
Thanks
Rabi -
AS400 - File adapter not archiving File and Member
Hi Gents,
Specific problem for the archiving of file/members on the AS400 system. When the file adapter is archiving the AS400 member to an AS400 archive file it is leaving an empty file structure in the origin directory. So at the end of the day we have a lot of AS400 Files with no members.
AS400 Technical folks are looking for the FTP 'script' that is being executed on the AS400 to pick up the file and archive it.
Has anyone else encountered this AS400 problem, were you able to solve it?
Also how can I see the exact commands being executed on the AS400 from XI?
Thanks in advance and regards.
MarkExtend the trace file to Debug in Visual Admin, and re run:
 Services
 Log Configurator
 Locations
 Choose the location (Java package) and the tracing level (severity)
(for example, com.sap.aii.adapter.file)
 Root Location > com > sap > aii > File
 Set the severity and choose Copy Severity to Subtree.
Check the log file which will give you the details.
Don't forget to switch this back afterwards.
There are also quite a few OSS Notes relating to problems with Adapter Framework and AS/400... -
File to RFC to File with BPM Scenario
Hi all,
I am trying to implement a Sender File ( async ) to RFC (sync ) to Receiver File with a BPM. I using the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1926. [original link is broken] But it doesnt work. First message FileRequestOut is correct in SXMB-MONI, but the second is showing a error. I checked in SXMB-MONI-BPE and I say in workitem is follow message:
Message Error Workflow
Error handling for work item 000000001714
Work item 000000001714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
No reference message specified when sending a response
No reference message specified when sending a response
I configured my BPM scenario in this way:
( Sender File Adapter )
First Step
Receiver Step ( Asynchronous )
Mode: Asynchronous
Receive Message: File Request
( Receiver RFC Adapter )
Second Step
Send Step ( Synchronous )
Mode: Synchronous
Request Message: File Request
Response Message: File Response
Receiver From: Send Context
( Receiver File Adapter )
Third Step
Send Step (Asynchronous )
Mode: Asynchronous
Receive Message: File Response
Receiver From: Send Context
I have changed it, many times and I can get solve it. About my configuration objects, I think it is ok, because a tested my Interfaces in Configuration Test Tools it was ok. ( Receiver Det. Interface Mapping, etc )
I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.
Could you help me about this problem?
Thanks for help
Best regards
Fábio Ferri
Consultant XI/ABAP/NetweaverHi ,
<b><i> I have seen in SDN, this error maybe Sencond Step must be Synchronous e Third Step must be Synchronous too. Is it true? In other hand, I have seen, it is possible to use a Async / Sync Brigde.</i></b>
In BPM did u used as
Recive Step Async
Synchronous Send Step
Send Step is Async
<i><b> it is possible to use a Async / Sync Brigde.</b></i>
No need to use Asyn Sync Step for this
Assign poins if u found hepful
Best Regards.,
V.Rangarajan -
How to implement Exception Handling error in IDoc to File and RFC to File
Hi,
We are implementing the two below scenarios :
1. IDOC to File
2. RFC to File
We have to implement the Exception Handling for the above two cases. Kindly could you provide the inputs to implement the Exception Handling for the above two cases.
Please provide the precious inputs to implement this.
Thanks,
RameshHi Ramesh,
The exception handling for idocs
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f1543d711d1893e0000e8323c4f/frameset.htm
Exception handling in File to IDoc Scenario
For RFCs
Re: Passing SAP Exceptions to a sync SOAP Call
Error Handling when using RFC
Exception Handling while Calling RFC - BPM
handle exceptions in remote function modules
Regards,
Prateek -
NO DATAS IN OUTPUT FILE FOR RFC TO FILE SCENARIO
In RFC to File scenario, I am executing the ABAP program in ECC and generates a empty file in PI server.
I am getting the error message in SM58 of ECC:
u2018Bean Z_HR_OUTBOUND_DATA2 not found on host SDNPI1,u2019
'call FM Z_HR_OUTBOUND_DATA2 to ProgId ECCTOPI_OUTBOUND on host SDNPI1 wit'
RFc Source code:
FUNCTION Z_HR_OUTBOUND_DATA2.
""Local Interface:
*" EXPORTING
*" VALUE(FILENAME) TYPE BBP_ACC_DESCRIPTION-ACC_OBJ_NAME
*" VALUE(RETURN) LIKE BAPIRETURN STRUCTURE BAPIRETURN
*" TABLES
*" ITAB10 STRUCTURE YSTRING1 OPTIONAL
*" P_STATUS STRUCTURE ZHRT0031 OPTIONAL
DATA : wa_status TYPE zhrt0031,
wa_itab10 LIKE ITAB10.
break-point.
LOOP AT p_status INTO wa_status.
CONCATENATE wa_status-pernr
wa_status-ename
wa_status-orgeh
wa_status-plans
wa_status-persg
wa_status-rank
wa_status-***
wa_status-icnum
wa_status-usrid
wa_status-dept
INTO wa_itab10-str1.
APPEND wa_itab10 TO itab10.
ENDLOOP.
wa_itab10-str1 = 'test'.
append wa_itab10 to itab10.
append wa_itab10 to itab10.
CONCATENATE sy-datum
'PYO_EMPDAT.TXT'
INTO
filename.
ENDFUNCTION.
And in the ABAP program the RFC is called like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
in background task destination 'ECCTOPI'
EXPORTING
INTERFACE =
IMPORTING
FILENAME = filename
return = return
TABLES
ITAB10 = itab10
P_STATUS = p_status
When i am testing the standard program STFC_CONNECTION in ECC with the same RFc destination it works fine and creates a o/p file with the datas in it, but if i m executing the other function module it doesnt contain any data it.
What could be the error? and how to resolve the errors that i am getting in SM58?
ThanksBean Z_HR_OUTBOUND_DATA2_1 not found on host SDNP1, ProgId =ECCTOPI_OUTB
Change the case of your Program ID to lower ecctopi similar was the issue in this thread:
Bean ZFM_MODULE_OUT not found on host <XI_HOST>
And may be for the same reason even Michal used lower case program ID in his blog.
Regards,
Abhishek. -
File to RFC to File Asynchronus
Hi
I have an a scenario that is I'm sending a request to an RFC throgh a File.. and based on that RFC will execute and it will send the results to the another file.. this is my requirement.. for this how can i approach.. (Request sending file name is different and Responce getting file is different but the RFC is the same only ..)
any body please provide me the suggestion..
Thanks
babuHi Babu,
This senario can be done in two ways using BPM and Using RFC Lookups,
Using BPM its an performance issue and maximum avoid to use it.In ur senario we can use RFC lookups,
Create an RFC Adapter.In Interfaces objects create two date types both are of file Sender file structure and receiver File structure.
In mapping u have to take sender as file and receiver as file only.In mapping u have to write RFC Lookup code were in the Code u have to call the RFC adapter and u have to pass all the incoming values into that and the responce which u will get from the UDF(RFC Lookup) Code that should be mapped to the target side file.
I have done the same senario in my project,I will work and it will be simple file to file senario were in mapping u will call RFC.
Regards,
phani
Reward points if Helpful -
Removal of Namesapce from generated target file in RFC to file Scenario
I am working on RFC to File Scenario. In target file we are getting the target namespace also. we need to remove it from the target file but how?
Thanks
Anuj AgarwalAnuj,
Go to the Message Type you have created for your File.
You will see a field called Namespace. Just remove this / Delete this , and activate your message type.
Relaod the message type in the message mapping and now the namespace will not occur in the target.
Regards
Bhavesh -
High CPU Usage by System.exe (20-60%) only when system is idle
When I leave my computer idle (for 60 seconds or longer usually) the System.exe process begins consuming all of the CPU resources. I ran xperf but am having trouble finding the root cause of this CPU spike. This problem is only present since installing Windows
8.
This .7z etl file is here: https://dl.dropbox.com/u/64956730/HighCPUUsage.7z
Anyone able to assist on this?
** I have followed some of the instructions on the threads here: http://social.technet.microsoft.com/Forums/en-US/W8ITProPreRel/thread/81d8345d-4acd-43e8-947b-7971e3893b99 and http://social.technet.microsoft.com/Forums/en-US/W8ITProPreRel/thread/c3f06d6d-d7ba-4427-9ceb-05e88a5e31e9Hi,
Please also check the issue referring to the method below:
Troubleshooting High CPU Utilization issues using Tracelog.exe
http://blogs.technet.com/b/askperf/archive/2012/01/20/troubleshooting-high-cpu-utilization-issues-using-tracelog-exe.aspx
Hope this helps.
Thanks.
Nicholas Li
TechNet Community Support -
Time Machine backup only when system is idle
Many times when I wake up my Mac and start to use it, Time Machine does a backup. This is annoying since it slows down the system. Is it possible to configure Time Machine to only do backups when the system has been idle for a few minutes?
Thanks.
Andy.The Time Machine Buddy widget is nice. I discovered that there were some errors about a VirtualPC disc image plug-in. I've not used VirtualPC for a long time so I deleted the plug-ins and the errors went away. The backup is still very slow. One of the knowledge base articles said that the preparing step should be relatively short. My preparing step takes a long time, each backup. My "small" backups take 10-12 minutes.
I have two volumes that are being backed up. Two separate physical discs actually. One has the OS (Earth) and one has my home directory (Moon). I'm backing up to a time capsule through a wired network.
The backup shown below took 12 minutes.
Starting standard backup
Mounted network destination using URL: afp://Andrew%[email protected]/Saturn
Backup destination mounted at path: /Volumes/Saturn
Disk image /Volumes/Saturn/Earth_0017f202d9a4.sparsebundle mounted at: /Volumes/Backup of Earth
Backing up to: /Volumes/Backup of Earth/Backups.backupdb
No pre-backup thinning needed: 2.82 GB requested (including padding), 154.93 GB available
Waiting for index to be ready (-903 < 0)
Copied 291 files (1.7 MB) from volume Earth.
Copied 2009 files (29.4 MB) from volume Moon.
No pre-backup thinning needed: 2.79 GB requested (including padding), 154.93 GB available
Waiting for index to be ready (-903 < 0)
Copied 75 files (8 KB) from volume Earth.
Copied 402 files (8 KB) from volume Moon.
Starting post-backup thinning
No post-back up thinning needed: no expired backups exist
Backup completed successfully.
Ejected Time Machine disk image.
Ejected Time Machine network volume.
Below is a larger backup > 137MB that took 16 minutes to complete. That tells me that the time delay is not in the copying of the files, it in the pre- and post-processing steps. There are some different messages in this log trace.
Starting standard backup
Mounted network destination using URL: afp://Andrew%[email protected]/Saturn
Backup destination mounted at path: /Volumes/Saturn
Disk image /Volumes/Saturn/Earth_0017f202d9a4.sparsebundle mounted at: /Volumes/Backup of Earth
Backing up to: /Volumes/Backup of Earth/Backups.backupdb
No pre-backup thinning needed: 2.95 GB requested (including padding), 154.93 GB available
Waiting for index to be ready (-903 < 0)
Copied 84 files (9 KB) from volume Earth.
Copied 2717 files (137.7 MB) from volume Moon.
No pre-backup thinning needed: 2.79 GB requested (including padding), 154.88 GB available
Waiting for index to be ready (-903 < 0)
Copied 10 files (8 KB) from volume Earth.
Unable to rebuild path cache for source item. Partial source path:
Copied 1508 files (631 KB) from volume Moon.
Starting post-backup thinning
Deleted backup /Volumes/Backup of Earth/Backups.backupdb/Earth/2009-07-14-222828: 154.88 GB now available
Post-back up thinning complete: 1 expired backups removed
Backup completed successfully.
Does anyone have any suggestions for reducing the pre- and post-processing time?
Thanks.
Andy. -
Converting .XSL file to RFC using File Adapter
Hi,
I need to convert .xsl file using XI and send an RFC. I am not sure how to do that. Do i need to write some JAVA API's for the same. Is File adapter capable of converting .xsl files.
Any pointers are most welcome.
Thanks in Advance
Regards,
VikasHI,
try in the following ways
Write a simple XSLT mapping or java mapping to change the value of the attribute "encoding" to "ISO-8859-1" in the output XML of message mapping . Include this XSLT or Java map as the second mapping step in your interface mapping.
An example of the XSL code might be as follow:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='xml' encoding='ISO-8859-1' />
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>
OR
see the below links
/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
How to write ModuleData process exit bean in the sender file adapter
Adapter module for file renaming
Module processor usage in File ADapter
Regards
Chilla -
FIle to RFC to file (BPM)
hi
I have a problom in this scenario
Like instead of getting 50 records from the RFC call i am only geting 25 records
Where as when i give the same input in the R3 and debug the RFC i get 50 records ,
I think one parametre is not getting passed to the R3 due to which i am not getting all the records, Can any body help why the parametre is not getting passed ,Hi! Sandeep,
I have some sugessions and I hope it will be useful to you.
1. First delete that RFC and re Import that RFC again
2. Again make sure once importing the RFC a;; fields
3. After that do CACHE Refresh of all teh Integratiob Builder Objects once
4. Also do mapping mainly response mapping clearly and very carefully okay
Please follow the below blog and I hope it will be useful to you.
RFC Scenario using BPM --Starter Kit
http://help.sap.com/saphelp_nw04/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
Thanks
Amar srinivas Eli
Reward points if useful. Okay
Maybe you are looking for
-
How can I copy everything from one G4 Powerbook to another G4 Powerbook?
I have a Powerbook which I wiped and reinstalled Leopard, updated and installed Safari 4. I would like to copy literally everything from my second G4 Powerbook with Leopard and Safari 4 to the new one, so that I have a clone with all emails, pictures
-
How do I get MSN messenger to work on my MacBook Pro.
I want to use MSN Messenger on my MacBook Pro. All my friends use PCs and can chat easily, transfer files and can use the camera too. I can't do any of that. Hope someone can help.
-
How to make all Button component instances trigger rollOver sound?
Hello all-- I am using the Button component (the one shipped with CS3) in many places in my AS3 project. I am coding in .as files, not on the timeline. I have skinned the Button to use the colors I like. Now I wish to "skin" it so that all instances
-
Opening secatt application from webdynpro UI
Hi friends, I want to open the secatt applications second screen from webdynpro UI. For this I am using the following code on webdynpro side CALL METHOD cl_wd_utilities=>construct_wd_url EXPORTING application_name = 'appname'
-
What is the STANDARD LAYOUT FOR fb03
hi, What is the name of the STANDARD LAYOUT for fb03. Regards Mave