FILE-BPM-RFC-FILE ERROR
I had created the BPM scenario excatly (I believe) as per the BLOG provided by Arpit (very helpful).
It does pick the input file and gets the response (as seen from the payload) but does not write the output file. Tried several options for last 3 days but could not suceed till date.
In SXMB_MONI it creates 3 entries and do not see any error even in the workflow
Sender Service Sender Interface Receiver Service Receiver Interface Pipeline Inbound Outbound
ADR100 FileRequest_OUT_MI File_RFC_BP FileRequest_AI CENTRAL XIRA PE Asynchronous
File_RFC_BP FileDetails_Sync_AI ADR100 BAPI_COMPANY_GETDETAIL CENTRAL PE Synchronous
ADR100 BAPI_COMPANY_GETDETAIL File_RFC_BP FileDetails_Sync_AI CENTRAL PE Synchronous
Any help will be appreciated
Thanks
Hi,
Please chk the status of your bpm in SXI_CACHE for a return code of 0.If its not then you got error in the process.
Rectify the errors and reimport the bpm in ID and redo the agreements.Hope this helps.
Regards
Priyanka
Similar Messages
-
File - BPM - BAPI_COMPANY_GETDETAILS File
Hi,
I'm in a little trouble...
I had a working scenario with File -> BPM -> BAPI_COMPANY_GETDETAILS -> File as found in a Blog.
The first file contains one company code and the RFC sync call gets the details and then sends the info back in a file.
To get closer to my final scenario, I enhenced this scenario qith having in the first file, multiple instance of the CompanyID (I created a special DataType, Message Type, .. for that) then in my BPM, I started with the receive step, then a transform 1 to N and then a bloc foreach that included the Sync RFC call and the send call as before.
My trouble is that now the RFC call sends me back an error (with same companyID then before)
Type - Code - Message
E - FN030 - Company 1 does not exist
but if I do the BAPI call with SE37, I get the correct results...
Has any one an idea ? It keeps me mad from this morning !
Thx in advance!!
Cheers
gregHere is the message as it comes back from the RFC call:
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:BAPI_COMPANY_GETDETAIL.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <COMPANY_DETAIL>
<COMPANY />
<NAME1 />
<NAME2 />
<COUNTRY />
<LANGU />
<STREET />
<PO_BOX />
<POSTL_COD1 />
<CITY />
<CURRENCY />
<COUNTRY_ISO />
<CURRENCY_ISO />
<LANGU_ISO />
</COMPANY_DETAIL>
- <RETURN>
<TYPE>E</TYPE>
<CODE>FN030</CODE>
<MESSAGE>Company 0001 does not exist</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>0001</MESSAGE_V1>
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
</RETURN>
</rfc:BAPI_COMPANY_GETDETAIL.Response> -
hi,
I have send a file to a RFC using XI.The RFC.response is being received by XI correctly in XI Monitor.
Now,I need to send this RFC.response to Flat file.
For this,What i need to do? The only way is using BPM?
¿all the interfaces should be async?
Can any body help me step by step in this regard..........
I'm with XI 3.0 SP9.
Regards,
Antonio.Hi Antonio,
In the <b>Integration Repository</b> (Design) :
1. Create Data type, Message Type for Input file and Output file.
2. Import the RFC.
3. Now create Message Interface for both input (outbound type, asynchronus)and output (inbound type, asynchronus) files. Create Abstract Intefaces (asynchronus) for these two files.
4. Create a synchronus Message interface for the RFC.
5. Create the request (input file and RFC) and response( RFC.response and output file) Message Mapping.
6. Create Interface Mapping (between the synchronus inteface created in step 4 and RFC)
7. Create a <b>BPM</b> (Integration Process)with receive (input file), send (synchronus) and send(asynchronus).
In <b>Integration Directory</b> (Configuration)
1.Create new Scenario. Assign the Business System from which RFC is being picked and new Business Service.
2.Specify three communication channel. One each for input (sender) and output file (receiver) and one for RFC (Receiver).
3. Create the Integration Process.
4. Create a sender Agreement (between File Service and RFC(Business System))
5. Do three Receiver Determination and Corresponding Interface Determination
a. File Service and BPM
b. BPM and RFC(Business System)
c. RFC and File Service
6. Create two Receiver Agreement
a. BPM and RFC (Business System)
b. BPM and File Service.
Hope this will be helpful.
Regards
Suraj -
File - BPM (RFC) - Mail Scenario
My scenario is File to Mail scenario thru BPM. in BPM I need to make RFC Call. I set ASMA in File sender adapter and File Nmae is not accessible in BPM Mapping. we are PI7.0 SP12. Im sure this is possible but for some reason not working. Any clue ?
Hi,
>>So Q1: Im not getting Filename into BPM though I checked ASMA in the Sender File Adapter
You cannot take the filename (using Dynamic Configuration) in Message Mapping inside BPM transformation step. So I will propose to take it before entering into BPM.
>>Q2: I need to send attachment name as Dynamic which I should get from the Input Message. we are on PI7.0 SP12.
Check the blogs in sdn, you will get more idea on this. If I get any I will reply back
Regards
Suraj -
File to rfc (file has multiple records)
Hi Guys,
I have a filr to rfc scenario..
I created a Z table with ITAB in import tab and field names and then a BAPi using se37...
The BAPI source code is just one line
Modify Ztable from ITAB
I first tried wth input file having one record, and in scenario runs successfully to update the Z table, checked in se 16
Now when the input file has more than one record, but ZBAPI has just 1..1 ITAB tab
Ho can I do multiple inserts using the same rfc/bapi??
Regards,
TejaHi,
As Prateek suggested 2 opionts, so I think option 2 is best for your otherwise option 1 can lead into performance issues.
Make sure that you have declard your internal table ITAB as standard table of ztable. e.g.
DATA: ITAB type standard table of ztable,
WA_ITAB type ztable.
if you do like this and import the BAPI in XI then you can see the occurence of target has been changed as 0..unbounded
Finally, when you have multiple records in your internal table then loop on it and update the table. e.g.
Loop at itab into wa_itab.
Modify Ztable from WA_ITAB.
Clear:wa_itab.
Endloop.
Regards,
Sarvesh -
ERROR IN FILE--XI--RFC SCENARIO. BAPI did not UPDATE the DATABASE TABLE
Hi
I have created a scenario FILE -XI- RFC
File is picked by file adapter - Its working fine
I have used BPM
In RFC side i used BAPI_INCOMINGINVOICE_CREATE
Its working fine and return an Invoice Number and Fisical year .
When i Check this in the R/3 System , in Invoice no Does not Exist .
Message mapping is ok
SXMB_MONI all are ok
Receiver file i got the invoice no and fisical year .
The Problem is " DATABASE TABLE DID NOT UPDATED "
So should i do BAPI_COMMIT seperately ........
Any solution ................
VERY VERY URGENT .....
thanks in advance
B.Judehi jude,
Commit Control for Single BAPI Calls
If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values , S, I, and W are displayed. All other values are regarded as errors.
To change this setting, set the indicator BAPI Advanced Mode.
<b>In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.</b>
Regards,
Mandeep Virk -
Dear Friends,
My scenario is File to RFC , file is picking from third party and that file parameters are updated in ecc and response is updated in third party system
using XI.
For this one I created data types,message types,message interfaces and message mapping for sender , receiver and response.
In interface mapping I have small doubt i.e how many interface mappings needed for this scenario.
In integration directory how many receiver determination and interface determination needed.
please suggest me.
Regards,
Shalini ShahHi Shalini,
U need to create 2 interfaces at sender side(1 is for file request & 2nd for file response) and one interface at ur receiver side for RFC.
Refer File to RFC blogs with out BPM u may find lot of stuff to ur requirement.
Regards,
Edited by: farook shaik on Sep 20, 2008 7:53 AM
Edited by: farook shaik on Sep 20, 2008 7:55 AM -
We have a scenario, file 2 RFC, file is picked from FTP.
File is CSV file and has Invoices in it. After every invoice, there is a bapi call.
How to handle this.
Any docs or links or blogs would help me.
-Naveen.Hi Naveen,
File system will not support Application Acknowledgements. It will support only System Acknowledgements. So inorder to handle this we need to have a BPM.
Your scenario can be addressed like this..
File->XI(BPM)->R/3(RFC)
Please go through these links and see if it helps....
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Scenario File-XI-RFC-File
http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
Hope This is Useful.....:-)
Regards,
Abhy -
File to RFC with multiple records using BPM Scenario Error...!!!
Hello Guru's,
I have done the File to RFC with multiple records using BPM scenario as per the Materiel available in the sdn.sap. This involves BAPI (BAPI_MATERIEL_AVAILABILITY). I have done exactly the same what is their in the materiel. SXI_CACHE is also giving return value " 0 ". File is getting deleted from the source directory, but no file in target directory. SXMB_MONI is also showing no error (black Flag). BPM is also error free. Checked the interfaces also.
Can any one tell me what mistake would i have done.
Thanks in advance.Hi,
There is one similar discussion I found,
FTP TO RFC using BPM
Thanks
Swarup -
Error in File-RFC-File Without BPM
Hi,
We are following this wiki
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)]
and we are getting Error: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error in sender communication channel monitoring. File is not picking. I think problem with the parameters that we have mentioned in module tab in sender communication channel as specified in the wiki. If we remove additional 2 parameters it is picking the file.
Please help me to resolve this issue.
Thanks.
Jyothi Anagani.are you able to see the logs of file adapter?
go to messaging system and check the details
http://host:port/MessagingSystem/monitor/monitor.jsp
Rajesh -
Error in BPM: FIle to RFC
Hi friends,
I am working on File --> RFC ---> File Scenario using BPM ...
Here I am getting system error in BPM and showing broken red brick in workflow at sender1 ...
I have given like this...
Start --> Receiver ->sender1>Sender2 ---> Stop.
I have given properties... for each
C2 = Abstractinterface FIleResponse_Abs
Recevier
1)Step Name = Receiver
Message = C1 (I defiend in container Category =Abstact interface type = FileRequest_Abs)
Start process = (Selected)
Mode = Asynchronous
2)Sender1
Step name = Sender1
Mode =Synchronous
Synchronous Interface = FileRequest_AI
Request Message= C1
Response Message=C2
3)Sender2
Step Name =Send2
Mode = Asynchronous
Message = C2
After Configartion,I have placed the sender sample XML in Server ...it is picking up properly.But
it showing error while it was executing in the BPM. Please suggest me what i have to do.
If you didnt understand I ll give some more details.
Pls help me in this regard.
With Regards,
Raju.I am getting error in Integration Engine.....
Attribute Value
Engine Integration Engine
Status System Error
Repeatable No
Cancelable No
Start 20.06.2007 06:25:22
End 20.06.2007 06:25:22
Sender Party
Sender Service BPM_FILE_RFC_SAGAR
Sender Interface http://File2RFC_Syn
FileRequest_AI
Receiver Party
Receiver Service ECCIDOC800
Receiver Interface urn:sap-com:document:sap:rfc:functions
BAPI_SALESORDER_GETLIST
Quality of Service Best Effort
Error Category
Error Code
Message 9BA7365DDBC0FE49B9F512F7308DDA53
Reference -
File-RFC-File Sync-- BPM error..
Hi All,
My scenario is File -- RFC -- File, synchronous scenario, The scenario needs to be designed using BPM its clients requirement, and i have used Receive step, BLOCK and in the block Transform, Sync Send, Transform and with in the block i have used control step with cancel process.. and out of block send step .. when i execute the scenario, in sxmb_moni i can able to see the response message and when i see in SXMB_MONI_BPE the flow was blocked in the BLOCK1 Step and i am not getting the response file in my target ftp directory.. so request you to post any links how to debug this issue..
regards,
saiBLOCK and in the block Transform, Sync Send, Transform and with in the block i have used control step with cancel
process.
when i execute the scenario, in sxmb_moni i can able to see the response message and when i see in SXMB_MONI_BPE the flow
was blocked in the BLOCK1 Step and i am not getting the response file in my target ftp directory.
The BPM is working perfectly as designed....you have a maintained a Cancel Process step....how in such a case will the BPM proceed? The BPM is bound to stop in side the block itself the BLOCK1.
What is the reason of having a Block over Transform --> SYNC Send --> Transform?
Your BPM should be:
Receive --> Transform --> Sync_Send --> transform --> Send.
If you want to have a block then have it for the individual steps with an Exception Branch and then in this Exception Branch have a Conntrol Step cancelling the process.
Regards,
Abhishek. -
File-RFC-File (without BPM)- Issue
Hi All,
I am working on a File-RFC-File (without BPM) scenario in PI 7.1.
My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it shows an error in the Sender file CC.
"Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
But it gets processed successfully and provides a written paramter which I could see in MONI, but again doesn't write the file in the target directory. Could you please provide your inputs and let me know if I need to do any additional settings w.r.to PI7.1.
These are the parameters which I have specified in the Sender File adapter
Processing sequence
AF_Modules/RequestResponseBean Local Enterprise Bean 1
CallSapAdapter Local Enterprise Bean 2
AF_Modules/ResponseOnewayBean Local Enterprise Bean 3
Module configuration:
1 PassThrough true
3 receiverChannel <FilereceiverCCname>
3 receiverService <Receiver Bus System>
Regards,
NithiyanandamHello,
Check out in module configuration tab for any "type error" or spell mistakes.
Check out this thread which might be useful for you :[ File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.]
regards
Ramesh -
File - RFC - File without BPM --- Object not found in ResponseOneWayBean
I am using PI 7.1, and facing the following error in File - RFC - File without BPM
"Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ResponseOneWayBean."
I am using 1 sender CC for File ( CC_LOTUSNOTES_CHALET_SND)
1 receiver CC for File( CC_LOTUSNOTES_CHALET_RCV_FILE)
1 receiver CC for RFC (CC_LOTUSNOTES_CHALET_RCV_RFC)
in the sender CC I have given Module parameter as:
Processing sequene
CallSapAdapter Local Enterprise Bean 2
AF_Modules/ResponseOneWayBean Local Enterprise Bean 3
AF_Modules/RequestResponseBean Local Enterprise Bean 1
Module configuration:
1 passThrough true
3 receiverChannel CC_LOTUSNOTES_CHALET_RCV_FILE
3 receiverService Bus_File
pls let me know where i am wrongHi
i am facing following error:
2009-12-03 09:08:17 Information The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
2009-12-03 09:08:17 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
2009-12-03 09:08:17 Error MP: exception caught with cause java.lang.NullPointerException
2009-12-03 09:08:17 Error File processing failed with java.lang.NullPointerException -
File is not getting deleted in File-RFC-File without BPM
Hi,
I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
For the sender CC, I'm passing the following parameters,
Transsport protocol: File system
Message protocol: File
QoS: BE
Poll Interval: 30 sec
Mode: Delete
File type: Binay
Please let me know if I missed anything while passing the values.
Thanks,
Swamy
Edited by: Swamy Mothe on Jun 15, 2009 8:52 AMHi
Then , is Sender and receiver File Adapter is using same folder )
Just a question.
But having all permisions and above config would delete the file
can u see the status of u r File Adapter in RWB.? Is it in green?
rgds
srini
Maybe you are looking for
-
For some reason, my iCloud e-mail on my MacBook Pro goes crazy! I can send and receive mail, but no matter how I set the blue tab and up/down "Date Received" arrow, sometimes my mail goes back to 2002 back when I first set up my mail on an old Titani
-
Hooking Macbook up to 40 ' Samsung LCD
I just bought a mini display port adapter to hook my macbook to my LCD via HDMI. When I plug it in all that comes up on the LCD is my desktop wallpaper. How do I set it up so I can watch movies etc.. from my macbook through the TV?
-
My iphone 5c won't install iOS 8.0.2.
Once I agree to the terms, the screen completely freezes and won't let me do anything. How do I install the update? I've tried shutting down my phone, restarting it, closing out of the system preferences and opening it again. Nothing seems to work.
-
Export my slideshow from Aperture (with music) to a CD
I'm having problems with exporting my slideshow from Aperture. I'm also new to the mac and aperture, so this could be part of the learning curve! I would like to export the slideshow (with music) to be played on a non-apple computer via a CD. I see t
-
Why does my ipad not work properly when charging
when my ipad is plugged to charger it does not work properly goes crazy