RFC(Bapi) to Webservice using BPM

Hi,
Can anybody explain me how to do RFC TO Webservice (whole scenario is synchronous) using BPM.My scenario is I have a sender RFC where I need to call two webservices in sequence.Appreciate any help guys.
Thanks
Points will be awarded

Hi,
Yesterday itself I asked u in the other thread, but u didn't reply to my question. Since you are calling two webservices which Webservice response do u want to send back to RFC? Do u want to combine both the responses and send back together?
raj.

Similar Messages

  • 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

  • File to Webservice Using BPM

    Dear Friends,
    Kindly give me some walkthrough doucment for File to Webservice Using BPM
    it is urgent. Kindly help.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
    Fotr more about WSDL and its usage in a scenario ref:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • RFCs / BAPIs for complex use case - offer and account receivable

    Hello,
    a scenario for testing purposes requires me to make remote function calls.
    I found almost everything I need in the IDES system I am accessing.
    What I am still missing, are RFCs or BAPIs to do the following
    - after selecting materials to be sold and after providing a pricing I would like to create an offer, proposal, or quote
    - after creating a bill, I would like to create and later close an account receivable item
    Can anybody help me on finding appropriate remote functions or BAPIs?
    Thanks in advanced
    Stefan
    PS: If you need more context, here is what I got so far
    - create and lookup customers using BAPI Customer
    - material availability and price check using BAPI Material
    - create a sales order using BAPI SalesOrder
    - create a shipment using BAPI Shipment
    - create a bill using BAPI ItCustBillingDoc
    hope that makes sence

    Hi Stefan,
    To find the BAPIs you need, use transaction BAPI in R3.  Creating the quotation, for example, can be found in Sales>Customer Quotation>Create From Data which gives the function "BAPI_QUOTATION_CREATEFROMDATA".  Using the same found General Accounting>Accounting Interface>AccntgBilling-->Post(etc) leading to "BAPI_ACC_BILLING_POST".
    Regards
    Gareth

  • Webservice to JDBC to SAP System to webservice using BPM

    Hi Frnz
    My requirement is i need to get data from webservice....... and i need to push that data to some Database... and the response from the Database to SAP system......and from that SAP system  the respone should come to the Webservie which is the sender one. and the whole procedure should be done under PI7.1. using BPM.
    can any one suggest me how to achieve this whole process... related links and your views.
    MunnaV

    Hi,
    I will tell you how to search for that :
    1. find  BPM blogs in the forum - to get the idea of a BPM
    2. then find the blogs about SOAP adapter for WS call and JDBC call and ABAP proxy (for SAP)
    3. then combine it and you have the scenario
    you don't need links from us, you can get them on your own
    we can help you with detailed questions once you start the development
    Regards,
    Michal KRawczyk

  • Is there a common RFC/BAPI so that using it I can create multi report in EP

    Hi,
    I am new to EP ..
    I have to generate some 25 reports of R3 systems which shoudl be exposed to EP. After going thru the docs on EP..
    It says that for every reports I need to create either an RFC or a BAPI. But It is a tedious job to create RFC functions for every report. Since these report is already there(Written) in the R3 System. I hate to convert these again as an RFC for every report.
    Is there a common RFC /BAPI where I need to pass required parameters and the transaction code for a specific report instead of creating a new RFC for every reports. so that that specific RFC will do the job for me.
    Is there a better/intelligent way to accomplish this task.
    Please do not say use SAP trasnational iViews ... As this expose the SAP GUI directly to the user..thru this one can trigger new transactions ... Correct me if I am wrong.
    thanks
    Pkiran

    thanks mario,
    very helpful answer
    pkiran

  • File to Sync Webservice using BPM

    Hi all,
    My scenarios is File to Webservice and again the output of this web service to some other file...
    I an refering a document in which its written as
    *In the Integration Directory Create Configuration Scenario, Then create three communication channels, one for sending the xml file to the BPM, one for sending the request to Web Service from BPM and one for sending the response as xml file to the desired location.*
    My doubt is do I need a communication chaneel for BPM also?
    and if yes then what will be my receiver adapter in case of BPM.
    Thanks in advance

    Hi,
    No need for 3 Communication channels.
    you define a CC for Sender and another CC fro receiver(webservice)
    In BPM we'll define the IM(this is between the two abstract interfaces)
    Reward points if this is helpful
    Thanks,
    Madhu

  • RFC-to-SOAP webservice using HTTPS

    Hi experts,
    I have a RFC-to-SOAP (sync) and the URL of the webservice is using HTTPS. I'm not the owner of the webservice.
    Encountered these errors
    - for sender comm :
    com.sap.aii.af.ra.ms.api.DeliveryException: Peer sent alert: Alert Fatal: illegal parameter
    - receiver comm :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Peer sent alert: Alert Fatal: illegal parameter: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: illegal parameter
    We are not using certificate authentication so I don't think that's the cause.
    Have checked that the https is running ok for ABAP but I don't think that got anything to do with the errors. Is there something wrong with SSL setting for J2EE? If yes, how may I check?
    Are there some parameters to be set up? In the RFC sender comm & SOAP receiver comm, I do not find any special settings for https.
    I have read this link : http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm. Is it necessary to set the Exchange Profile Parameters? My BASIS colleague is now checking it.
    Thanks for reading and will appreciate any advice!

    Thanks Prateek for the quick reply!
    Re HTTPS certificate, do you mean the cert for my XI server or the cert from the web service?
    I have tested calling the web service using SOAPUI and it works fine without using the cert given by the web service (which is expired anyway)...

  • Idoc to Webservice using BPM

    Hi
    I am using the BPM for the IDOC to Webservice Synchronous Scenarion...
    When i trigger the IDOC from SAP it stuck in the Queue ...when i checked in the SXMB_MONI and when i clicked in PE it taking me to the INbound Queue ..
    When i opened the Queue its showing the SYSFAIL ..and when i double click on that its shoes me Permanent ERRor in BPE Inbound Processing..
    In BPM i used the Receive and Send Synchronous and Send Asynch steps ..
    Did i miss Any thing
    SV

    HI,
    I think for IDOC to Webservice you are going for Async to Sync bridge with BPM and have the similar steps as mentioned in below link.
    Asyn - Synch BPM - Async/Sync Communication using JMS adapter without BPM (SP 19)
    If there is some other flow plz let me know. Also let me know the exact error that you are facing with it.
    Thanks
    Swarup

  • File-To-RFC without using BPM

    hey guys
    is a File-To-RFC scenario possible without using BPM? i have gone through the blog by Arpit Seth ( /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ) but it uses BPM.
    i am new to XI and not very comfortable with BPM.
    please let me know if BPM is the only way out or are there some other methods too.
    Also under what circumstances one should use BPM?
    thanx in advance.
    aamir suhail

    Hi,
    it's a standard non BPM scenario
    (you can find many weblogs like this)
    the only different thing is the RFC signature import
    (inside repository)
    and the use of different channels (file and RFC)
    you can find many examples in my XI FAQ
    (document section)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to passing lowercase values to RFC/BAPI using webdynpro for JAVA

    Hi Exerts,
    When we sending values to RFC/BAPI through webdynpro (JAVA), the values are sent in capital (uppercase) letters to ECC.
    So if we fill xxxx, it is send like XXXX. Why? and how to avoid this?
    Thanks in advance,
    Joeri

    Hi,
    There could be two possibility if you are storing this value in ABAP table.
    1. You are entering value in UPPERCASE in your webdynpro application.
    2. The data stored in ABAP table, converts value in small to upper case.
    1.  Can you tell me how you are passing this value, is user entering value in some input field which is binded to some context and this value are you passing to RFC/BAPI...???
    Or else before passing value to RFC/BAPI you can use toLowerCase string function and the npass this value to RFC/BAPI
    e.g String name = wdContext().currentContextelement().getName().toLowercase();
    Now pass this name to RFC/BAPI is should go as lowercase only..
    This is from webdynpro java side..
    2. If you are storing this value in ABAP table, check the domain/type of variable in ABAP table for which you are storing the value. Ask ABAPper, so that this value are stored in small case letter.
    There is one tick in domain which you need to remove so that it stores in lower case. I dont have exact information but you can consult this with ABAPer.
    Hope this information helps guy ..!!!!
    Regards,
    Jigar

  • File to IDOC Scenario using BPM

    Hi Experts,
        I am working on file-Bapi-Idoc scenario using BPM.
        I have two conditions
    1. If the Sonumber is populated then need trigger an Bapi_change
    2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
    and the response of these BAPIs should be validated whether the Bapi is successful or not.
    If it is successful message then need to trigger IDOC or else should throw an alert message.
    let me know the steps involved in this scenario.
    can i send alert message to other email IDs or can i send it to only XI admin?
    Please let me know u r inputs.
    Thanks in advance
    Praveen

    Hey,
    You need to have a BPM for this.
    BPM design.
    Recieve step(abstract asynchronous) for file structure
    Switch Case(condition whether sonumber is populated or not) 
    if populated
    Branch 1(of switch)
        transforamtion step:- mapping between File and Bapi_Change(Request structure)
      Send step(abstract syncronous) To send the BAPI_change
    Branch 2(of switch)
    transformation step:-mapping between file and BApi_Create
    Send step(abstract synchronous) To send the BAPI_Create
    Block step(which will include the Switch step)
        trigger an Execption in case of an error(in any of the two branches) through the block
        The Exception will trigger an alert.
    Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
    Next is the send step(abstract asynchronous) for the idoc
    In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
    rewards points if useful
    regards,
          Milan

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

  • How to use BPM?

    Hello,
    1.Could some one provide me the Step by Step procedure for using BPM.
    2.whati si the use of BPM
    Regards,
    Swaroop

    Hi,
    1.Could some one provide me the Step by Step procedure for using BPM.
    [Step By Step file to webService Using BPM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588]
    2.whati si the use of BPM
    Use Of BPM
    BPM in SAP XI is generally used for stateful message processing. Having said that if you want two messages to be processed depending on certain criteria you will have to use BPM.
    The places where we generally use BPM is:
    1. Error handling.
    2. Handling messages from multiple senders
    3. Collecting of messages
    4. Splitting of messages
    5. Processing message based on certain criteria
    6. If the receiver structure is created based on certain criteria.
    These are just some of the examples. If you hace SAP XI installed, then you can go to SWCV SAP BASIS and you will find examples out there.
    Also, you can find examples in here
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm and
    http://help.sap.com/saphelp_nw04/helpdata/en/69/4ad13fa69a4921e10000000a1550b0/content.htm
    BPM is one way to raise your alerts in an excetion step. This does not mean BPM is mandatory for raising alerts
    Hope this gies you some clarity.
    Thanks.

Maybe you are looking for

  • Creating first number in a sequence field

    Hello. I'm used to SQL Server and I see there is no direct way to create identity fields in Oracle. I have an application that receive many messages that are inserted in a table. I need that to be the fastest I can do it. The table has a sequence num

  • My JList does not scroll

    hello forum, my JList (indentifier=PKGList) does not scroll. Can any look at code and tell me what's the problem. Following is the code. To test this code create two files in same directory. No package statement is there in code. 1. javaEditor.java 2

  • Aperture Crashes on Opening

    Hi, I cannot for the life of me open Aperture, its really frustrating as its such a good program.  When I click on the icon the following link pops up. So I reopen it and the following message is displayed.  I assume this means its trying to open my

  • In 'camera raw', .TIF vs .tif, a difference?

    When converting jpgs to tiffs, I see both .TIF and .tif as a choice in file extension.  Is there a difference or is it just semantics/lowere case ?

  • Real-time box does not work

    Today ,a real-time box in our lab didnot work.  I used this station on Tuesday of this week and a 6024E in the real-time box to  run the a control on a DC brush motor.  The real time box has a dedicated VI in it for your undergraduate controls lab.