FILE To RFC Synchronous
Hi Experts,
I have a requirement of FILE TO RFC (BAPI_ABC) synchronous .Everything is ok with it.
But Once I have called BAPI_ABC, I need to call BAPI_TRANSACTION_COMMIT and pass it the hardcoded string u201CXu201D to save the changes made in SAP.
For this in Target Side of mapping i have called this bapi after BAPI_ABC. this wont work.
because with synchronous intefaces we can't do multimapping(1..2)
now when will I call this comit bapi,?
and What will be the probable solution for it.
Shall I use BPM or Proxy. but my client requirement is "everything should be done in PI side only"
Kindly reply it with your best.
Regards,
Sumit
Hello,
I had similar problem and i could resolve this issue with help of SAP Note 1342143 - RFC Adapter: WAIT during call to BAPI_TRANSACTION_COMMIT.
So all you need it is to set up next:
In receiver RFC adapter
Check "Advanced Mode"
Check "Commit Handling for Single BAPI Calls"
Add the following Name-Value pair to the table:
Name: BAPICommitWait
Value: true
BR,
Dzmitry
Similar Messages
-
File to RFC synchronous scenario stopped Picking the files
Hi Experts,
We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
Give me your valuable inputs to resolve this issue.
Regards
Bhargava krishnaHi Bharghav,
Please go through the below,
Symptom
FTP Adapter is being used in the business scenario for message processing.
During file processing it is noticed, that the FTP sender channel stops
polling. There is no error in the channel monitor or the trace/log files
and the polling jobs are correctly displayed in the AFW scheduler table.
The issue is observed after a network connection issue with the FTP server.
In order to remove the hanging locks from the FTP Adapter, the parameter
'ftp.timeout' setting is required to be set, which releases the lock once
the timeout value is expired. But in the above situation, the value for the
'ftp.timeout' is not taken properly while establishing the data connection
by File Adapter.
Other terms
FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
Reason and Prerequisites
Program error
Solution
The hanging situation has now been improved by code changes. Please see
section "SP Patch Level" of this note for a list of updated software
components.
To get this correction available in your Support Package you need to apply
the patch matching to your Support Package version as per the instructions
in the NetWeaver Support Package Stack guide which can be found on the SAP
Service Marketplace as described in SAP Note 952402.
Thanks & Regards
Uday.S -
File to RFC synchronous scenario
Hello Friends,
I have a file to RFC scenario.
Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
Does anyone have such scenario example.
Kindly share.
Edited by: vishal kharat on Aug 5, 2011 2:47 PMHi Mr.
You can follow this example, regarding BPM implementation:
http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
For XPath Receiver Determination, follow this links:
http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI -
Business service for file to rfc
hi
can someone tell me the business services used for each of the communication channels and their inbound outbound interfaces for Arpit Seth's blog file to rfc synchronous scenario
this is the url
RFC Scenario using BPM --Starter Kit
Edited by: pratichi chauhan on Aug 19, 2008 9:12 AMHi,
In the RFC Service, Add the Standard Idoc's Message Inetrface name at Receiver TAB only
that all
You can Implement the same Scenario with out BPM also
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&
Regards
Seshagiri
Edited by: N V Seshagiri on Aug 19, 2008 10:11 AM -
File to RFC/BAPI - Async- How to capture response field value
Hi,
I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.
For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.
How do I proceed with the Mapping. I am working on PI 7.1
Any input would be Appreciated.
Thanks & Regards,
VarunHi Varun,
apparently you need a Business Process:
XML -> BP (asynchronous), Map to Bapi1 request structure
BP -> BAPI 1 (synchronous)
Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure
BP-> BAPI2
Regards,
Udo -
File to RFC scenario with no BPM
I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
Thanks,
DeepeshHi,
I need to have BPM if want to see the response back from RFC? ... yes
The BPM will help you find the response very comfortable.
What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
Regards
Agasthuri Doss -
Problem in file to rfc scenario without using BPM concept
hi ,
I have configured the file to rfc scenatio and in that i have created a synchronous message interface .i have even aaded modules to my sender adapter .
I have one sender aggrement , 2 receiver aggrement , 1 interface determination , and 1 receiver determination .
the problem that i am facing is that i am able to perform the operations on r3 side succesfully but i am not getting the response back in xi .
can any one pls help me in getting out of this problem .
with regards
Bhawarlal ChoudharyHi Amit ,
My scenario is for creating the notification ( in plant maintenance) . every time i transmit a file a new notification nos is generated and even i am able to see it in SAP . in RWB when i check my communication channel i am not getting any response . The synchronous process seems to be working fine according to me do i need to even create a FRC communiation channel for sender as i have not done that .
with regards
Bhawarlal Choudhary -
Hi
I am trying to execute a synchronous scenario of file to RFC. Actualy it worked in XI 7.0. I am trying to do the same thing in PI 7.1
I have done all the configurations, yet it shows the error.
Worst part is, it is not shown in sxmb_moni. The status is not displayed.
Where could the problem be? Did i miss somewhere either in installing or configuring?
Kindly let me know.
Regards,
KevinHi
Hey but u said its a file to RFC???
in the module name write : localejbs/AF_Modules/MessageTransformBean
(see that it is the first module in the chain )select type as localejbs,
in the module key just add a simple name (it is the variable which depends on u e.g var)
This variable will be used ahead (see below in cc in module configuration part in ur channel )
now in the column module key below choose the key "var" from drop down
In Parameter Name add Transform.Class and the value as com.sap.aii.messaging.adapter.Conversion
second row add parameter Transform.ContentType
and value text/xml;charset=utf-8
for the same module key
Edited by: Progirl Progirl on Jul 18, 2008 12:53 PM -
hey guys
i m doin a synchronous File to RFC scenario using BPM and getting a 'NO receiver found error' in MONI,i checked my File as well as RFC adapter in RWB,the sender File adapter is green,RFC adpater is also green and the receiver file adapter is green but says 'no message processing until now'
i m takin help from the followin blog
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
the error in MONI is
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Receiver Grouping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I checked SM58 as well but it does not have any error XML messages.
and idea where shuld i check?
i check my mappin by using payload from MONI,mapping is working fine
thanx
ahmad
Message was edited by:
Ahmad ansariHi Ahmad,
In which step is the error occurring?
Have you checked your BMP status using SXMB_MONI_BPE?
PS: Usefull link: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c">How To Monitor Integration Process (ccBPM)</a>
Regards,
Sergio -
File to RFC (Error Mail )
Hi,
I have a requirement like legacy system details ( flat file ) send to RFC/Bapi and the status ( Success or Error ) should be updated to the concerned people with the mail. How can we achieve this in XI?
I have done with the File to RFC scenario...need help on update the status (error/ success) with mail.
Where should we implement mail adapter settings for this scenario?
Can anybody share their experiences with me.
Cheers.,
EshaHi !
You can make it as a File - Mail scenario, and call the RFC synchronously using JCO during the graphical mapping (or java mapping) using a user defined function.
Then, based on the response of the RFC, decide what should be the content of the mail or maybe decide not to send it.
pros: no use of bpm
cons: need ad-hoc methods for managing connection parameters of the rfc connection.
other:
RFC Scenario using BPM --Starter Kit
Regards,
Matias
ps: please award points if helpful.
Please read the Forum's Rules of Engagement,
i.e.,
/thread/117188 [original link is broken]
and refrain from requesting points
SDN PI/XI Forum Moderator -
File to soap synchronous senario
Hi Experts
File to soap synchronous senario ?
Can you tell me step by step procedure
Regards
SagarHi Sagar,
Use request response module bean at File adapter to achieve synchronous communication.
Please check below links for detailed information
Using Request Response Bean Module in FILE Adapter - Process Integration - SCN Wiki
File-RFC-File(Without BPM) - Process Integration - SCN Wiki
Adding RequestResponseBean in the Module Processor - Adding Modules to the Module Processor - SAP Library
Sync/Async scenarios without BPM
Regards,
Krupa -
Is it possible with out BPM- update transaction from flat file - XI -RFC
Hi
my requirment is: i need to update 2 values transaction(ks01)
Required data we get in flat file(Val1,Val2), that data needs to be updated in transaction KS01 in r/3 system.
Scenario is: Flat file - XI - Rfc -KS01.
im have come across couple of doubts while thinking this way:
->is it possible using fie -to- rfc scenario to update KS01 transaction in R/3 system through RFC, if possible some body please explain the complete process to implement this scenario.
->is it possible file -to- rfc without BPM in XI
can somebody please help out me, how can i approach for the above requirment
-> help would be appriciated and thanks in advance
Regards
RajeshThe BAPI / RFC corresponding to your requirement is :
BAPI_COSTCENTER_CREATEMULTIPLE
You scenario on a high level would be FILE-XI-RFC
in your IR, map the corresponding fields of the fiel to the fields in the BAPI's interface.
As BAPI is synchronous , you may have to use BPM to implement the Asynch-Sync bridge.
Regards,
Ravi -
Hi everybody,
I'm able to solve most of my doubts by this forum, thankz to everybody who assisted me.Here are some simple doubts plz give solutions to them as many as possible
1.In my FILE to RFC scenario I'm using BPM & i should send response back to SENDER so what steps should i include in it ? I'm using BAPI_GOODS_MVT_CREATE bapi?
2.In my FILE to RFC scenario I'm maintaining single SLD for DEV,CONS,PROD ,so can i configure my file sender service directly in ID as a BUSSINESS SERVICE?
3.Can any one give some information In which case we have to go for
PROXY & in which case for IDOC?exluding this reason " if syst config is >6.20 or else go for IDOC or RFC for an sap system?
Plz kindly answer to this questions & valuable answers are rewarded.
Regards,
Vinod.<i>1.In my FILE to RFC scenario I'm using BPM & i should send response back to SENDER so what steps should i include in it ? I'm using BAPI_GOODS_MVT_CREATE bapi?</i>
>>>
Ref: /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Else in case you have SP19 then ref this abstract from an earlier post !!
<i>All,
Just thought I'd add a quick note here.
From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
Steps:
Integration Repository
The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
Integration Directory
This is where a few differences lie, so let me take some time.
1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System
With this configuration, you can now handle the requirement without a BPM
This feature been already blogged for JMS Adapters in these blogs ,
Sync/Async communication in JMS adapter without BPM (SP19)
Async/Sync Communication using JMS adapter without BPM (SP 19)
Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
bridge within the Adapter Framework" available on the Service Market Place.</i>
<i>
In my FILE to RFC scenario I'm maintaining single SLD for DEV,CONS,PROD ,so can i configure my file sender service directly in ID as a BUSSINESS SERVICE?</i>
>>
you can use Business service !!!
<i>3.Can any one give some information In which case we have to go for
PROXY & in which case for IDOC?exluding this reason " if syst config is >6.20 or else go for IDOC or RFC for an sap system?</i>
>>>
Advantage of Proxy over RFC, IDOC
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems -
Doubt in file to rfc to mail scenario
Hi All,
I have a doubt in configuring File2Rfc2Mail scenario,
Actually my requirement is to send flat File to RFC, and trigger mail alerts for successfull execution , like after successfully posting the mesg to rfc i need to trigger a mail alert to mailserver,
For that what i thought to do is file to rfc and from rfc response to mail , i don't know whether i can do like that or not , do anybody help me in this issue,
Thanks in advance,
Nousheen.Hey,
Your BPM will be like this.
recieve step(file)-> sysnchronous send step(rfc)-> send step(mail)
3 abstract interfaces:-
abstract asynchronous(file structure)
abstract synchronous (in this request as file sturcture and response as mail structure)
mapping between abstract synchronous and rfc(no need for transformation as mapping is outside)
abstract asynchronous(mail structure)
create two container variables, one for each abstract asynchronous interface.
use them in recieve step(file) and send step(file)
revert in case of any queries.
reward points if useful.
regards,
Milan -
Hi...All,
we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
thanks in advance,
Pasi.Hello Pasi,
JDBC-RFC Synchronous Scenario with out BPM,
Go through this links...
JDBC Sync - RFC Sync Scenario without BPM
File - RFC - File without a BPM - Possible from SP 19.
JDBC-RFC-File
Re: jdbc-rfc synchronous
/people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
JDBC-RFC Scnario mapping problem
Thanks,
Satya Kumar
JDBC---RFC will Support Sync?????????
Maybe you are looking for
-
How to change power settings?
My G series Windows 8, 64-bit laptop keeps going to sleep after about 2 minutes while plugged in. I changed the power settings via Windows 8 (by personalizing desktop and / or clicking on battery). But it still keeps happening. Is there another se
-
I am looking for a App that i can store projetcs in, and use on site when i need to show a client! i need it to show notes pdf drawings ect? how do i search this? Thanks Mike
-
Auth Error in BW while executing a query with Company hierarchy
Hi All, I have an issue in BW Reporting auth objects.. Hope to get resolved here. We are using BI 7.0. However We are still using the Reporting auth objects for fiield level security. We are having a problem while executing a query with company code
-
Do i qualify for free copy of OSX Lion?
I bought my macbook pro on june 28th 2011. i read off another forum that if i bought the mac after june 6th then i qualify for a free copy of OSX lion when it comes out. Is this true. and how would they give me a free copy.
-
According to HP, my Mac Os x v10.7.4 is compatible with their HP Deskjet F4580 printer, however when trying to add the printer in my computer, it says "no available softwares at this time". The HP Support website said that donwloads are not necessary