HTTP to BAPI (CRM)

Hi,
I need to pull CRM BP oganizational data (Sales Office, Sales Group and District) by calling CRM BAPI (BAPI_BUPA_FRG0140_GETDETAIL) using Sales area data and send the results to my HTTP client. I configured the complete scenario and I checked whether Sales office, group and district have been maintained in my CRM system for the business partner I am using . They are all maintained properly but I am getting empty tags (Sales office, district and group tags) in my HTTP response. No errors. What could be the reason that I am not getting the values. I checked all my configuration and everything seems to be OK, I tested my mapping etc.
Any suggestions would be helpfull. There some complex scenarios ahead.
Thanks and Regards,
Jagadish.

hi,
  Can you have a look at this and recheck.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/17c5345a-0601-0010-05bc-a35317360dde
Last two topics(8 and 9).
Anirban.

Similar Messages

  • Http to bapi scenario runtime mapping exception

    Hi,
    I am doing to http to bapi scenario and I am giving the valid sales order number and organization. And It is throwing me below exception when I see it in sxmb_moni.
    ======================
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_request_sales_bapi_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_request_sales_bapi_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    ========================
    I have executed individual mappings with sample data and worked fine.
    Any inputs on this?
    Thanks
    Balaji

    hi,
    you need to test the mapping as shown in my blog:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    to find the error
    then correct your mapping and try again
    Regards,
    michal

  • Http == rfc (bapi) - bapi not created

    Hi
    I've got an http <==> rfc (bapi) scenario. QoS is Best Effort. I am using SAP's http test tool. After enabling the "synch-logging" I can see two successful rows. I am using the bapi "bapi_master_savedata".
    Some weird things:
    - no material master data is created.
    - The parts of the response message are only "Call Adapter" and "Request Message Mapping", nothing else.
    Thanks
    Go:khan

    Hi
    I think you pointed to the right problem.
    I haven't written something like that before, but I will try if there is no other solution.
    So I don't need any wrapper for a syn. rfc call with SP 14??
    But the following article doesn't use any wrapper "/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit ??
    Thanks
    Go:khan

  • HTTP to BAPI

    Hi,
       I am doing HTTP to BAPI. In this one I am following the setps of TBIT - HTTP to BAPI scenario. Now when I compleated I am getting error <b> The requested resource does not exist..</b> ( MY sender service is correct and all parameters like host,port,client and etc were correct.)
      Is there any thing to be changed in the XSD and XSL files.
    regards,
    Ansar.

    Hi,
    Where you are getting this error... is it while sending a request to XI, I mean to the HTTP adapter?
    If so please check of you are using a proper URL
    check out this link for HTTP adapter URL
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    Regards,
    Prakash

  • HTTP 2 BAPI

    Hi 2 all,
    I am running the HTTP to BAPI scenario ....
    My test Html tool for executing the scenario is showing Error Msg on page.
    and Error message : Permission Denied is showing..
    Help needed ..XI guru's
    Regards,

    Sorry guys,
    you took me wrong....
    Scene  is  : When i am clicking on Send button of Test HTML...A message is coming up at the status bar of Explorer saying "Error in Page".
    Regards,

  • HTTP to BAPI  Scenario

    Hi Friends
    I am doing one scenario in XI  and getting an error can anyone please help me
    The scenario which I am trying to achieve is this:
                           A Web Client using SOAP protocol calls the BAPI "BAPI_USER_GET_DETAIL" in R/3.
        Configuration
        ==========
    1) System Landscape Directory: Created a new product and one software component for it. Created 2 technical systems : One for Web Client and the other for R/3. Created two business systems for these two technical systems. For both the technical and business systems, I added the software component of the product which I created.
    2) Integration Repository: Imported the created software component and allowed for the import of RFC's and IDOCs and then imported the structure for "BAPI_USER_GET_DETAIL". I then created a OUTBOUND SYNCHRONOUS message interface, let's call it "MSGINTRF_BAPI". The outbound structure is "BAPI_USER_GET_DETAIL" and the inbound structure is "BAPI_USER_GET_DETAIL.Response".
    3) Integration Directory: Created a new scenario and added the two technical systems as services and then created communication channels for them. Since the Web Client is the sender, I used the SOAP adapter for it and for R/3 which is the receiver, I used the RFC XML adapter.
    In receiver determination, the sender service and message interface - "MSGINTRF_BAPI" were specified and then the R/3 system was specified as the receiver system.
    For interface determination, the sender service, the message interface and the inbound interface (BAPI_USER_GET_DETAIL) were specified.
    For receiver agreement, the receiver service, the message interface (BAPI_USER_GET_DETAIL) and the communication channel were specified.
    For sender agreement, the sender service, the message interface (MSGINTRF_BAPI) and the communication channel were specified.
    I am using XMLSpy for testing the scenario. I have generated the 'Web Service' 'wsdl' file from the Integration Directory. I use XMLSpy to generate a SOAP request using the generated 'wsdl' file. The error which I get back is that "User  does not exist". There is a space between the words "User" and "does not exist". You can replicate this error if you were to run this FM in R/3 without passing the value for the parameter 'username'.
              This means that XI is not passing this value to R/3 when it calls this FM in R/3.
    What I would like to know is what else should I do in my configuration to let XI transfer the 'username' parameter value, which I pass from my Web client, to R/3 so that I can get the results back?
    I hope I have been comprehensive enough to explain the scenario and the problem I am facing...
    Please help me in this as i am very new to the XI .
    Thanks and Regards

    Hi ! Ishika
    refer these
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit 
    /message/266750#266750 [original link is broken]
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    check with this for http client
    /message/266750#266750 [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    http://help.sap.com/saphelp_nw04s/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
    Follow this weblog
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    have a look also at these
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&
    Unable to view payload in HTTP to RFC Scenario
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Pls reward if useful

  • Https in CRM

    Hi,
    I am integrating EP with CRM content server. For this I am defining one http service in CRM and calling it from KM .
    default_host> sap> crm> crm_prt_km_dav
      The same service I want to access using https in stead of http .
    What are the ways to configure it ?
    Thanks,
    Chirag

    Hi,
    For https you need to enable the https for the service, for that in SICF got that service and in Error pages tab click on Configuration of System logon and in Action During Logon  select "Logon via HTTPS or Switch to HTTPS". Along with this setting you need to enable the SSL and configure parameter related to HTTPS. Please refer the below link for the same.
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm
    Regards,
    Sharath

  • Exception occurred during internal http communication

    Hello Everyone,
    We are getting the following error when we call the bsp application ( http://hostname.domain.com:8000/sap(bD1lbiZjPTgwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm)
    An error occurred during initialization of the application
    An exception occurred during the internal HTTP communication
    Background:
    CRM 7.0 ABAP stack
    Patch Level:
    SAP_ABA     701     0002     SAPKA70102
    SAP_BASIS     701     0002     SAPKB70102
    ST-PI     2008_1_700     0000          -
    PI_BASIS     701     0002     SAPK-70102INPIBASIS
    CRMLOY     700     0001     SAPK-70001INCRMLOY
    SAP_BW     701     0002     SAPKW70102
    SAP_BS_FND     701     0001     SAPK-70101INSAPBSFND
    LCAPPS     2005_700     0001     SAPKIBHD01
    Please check and revert.
    Appreciate your response.
    Regards,
    Vadi

    Hi Vadi,
    Would you please provide the details of how you maintain the entry in hosts file? I met with the same problem as yours, and I also have maintained the hosts file by adding one line like this:
    IP address             hostname.domain.com
    I still have that problem. Waiting for your suggestion!
    Regards,
    Wei-guo

  • Exceptions in BAPI

    Hi ALL,
    Can u pls help me out with the following queries?
    1. how can we handle exceptions in BAPI?
    2.wats the major/important differences between BAPI and RFC?( im really confused)
    Pls help me out!!!
    <REMOVED BY MODERATOR>
    Jack
    Edited by: Alvaro Tejada Galindo on Apr 9, 2008 5:51 PM

    Hi Jack,
                BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system.
    RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.
    Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.
    When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.
    In other words: A BAPI function is a function module that can be called remotely using the RFC technology.
    Thanks,
    Greetson

  • How to connect to XCM of CRM?

    We have CRM installed on one host (f.e. PC1) and J2EE-engine on another host (PC2).
    How can I connect to XCM?
    I try to check my system acordantly to this topic:
    Troubleshooting IC WebClient's Interactive Scripting Runtime
    Thanx, Alexander.

    Hello Gregor,
    Ok. I thought that XCM is available through 8000 port (HTTP-listener of CRM WAS).
    But then I found it by myself:
    http://server:50000/ICSERVER/admin/xcm/init.do

  • SAP CRM WITH ABAP

    Hi Gurus,
    I am SAP ABAP consultant and now I want to learn CRM along with ABAP, so it will be great if you can send me the related document.
    Thanks,
    Rajeev !!!

    hi,
    go to these link.
    http://www.crito.uci.edu/publications/pdf/crm.pdf
    http://www.twocrows.com/crm-dm.pdf
    https://www.sdn.sap.com/irj/sdn/wiki
    http://www.crm2day.com/library/pdf.php?pdf=50350-0.pdf
    http://en.wikipedia.org/wiki/Customer_relationship_management
    http://crmtutorial.com/CRM/CRM.aspx
    *Reward points if useful.*
    Regards,
    pankaj

  • BAPI  Vs  RFC

    Hi all,
         Can anyone of you please tell me the difference between BAPI and RFC
    Regards
    SURYA

    Hi praveen..
    BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system.
    RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.
    Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.
    When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.
    In other words: A BAPI function is a function module that can be called remotely using the RFC technology.
    Hope this will be helpful..
    Urs GS

  • RFC Vs BAPI

    hi

    Hi,
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system.
    RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.
    Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.
    When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.
    In other words: A BAPI function is a function module that can be called remotely using the RFC technology.
    bye

  • CRM Certification

    hi Experts
    Can any one please guide how/where i should take CRM Certification and Stuff like FAQ
    Thanks in advance
    Vinaykumar.Ch

    Hi,
    Check This Link
    http://www.sapgenie.com/mysap/mysap_crm.htm
    http://crmtutorial.com/CRM/CRM.aspx
    <b>CRM Overview</b>
    http://www.ixos.com/local/es/home/products/pro-integration/pro-integration-crm/pro-integration-crm-sap.htm
    http://www.sapgenie.com/mysap/mysap_crm.htm
    http://www.sap.com/solutions/business-suite/crm/index.epx?roleview=imp
    http://crmtutorial.com/CRM/CRM.aspx
    http://help.sap.com/bp_crmv340/CRM_DE/BBLibrary/html/BBLibrary.htm
    http://wiki.ittoolbox.com/index.php/Topic:MySAP_ERP
    http://www.cadservices.nl/site/cadservices/28/27/Designer_mySAP_PLM_2005.pdf
    http://www.unevoc.unesco.org/southernafrica/8-km/SAPKW_SolutionBrief.pdf
    http://help.sap.com/saphelp_crm40/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm

  • BAPI about create a material record on ecc6.0

    Dear everyone!
         In XI, I want to achieve through the HTTP call BAPI to realize the operation that create a new material information. But I do not know which BAPI  I can  choose and call in the RFC.
       Can somebody give me this BAPI,and which parameters i must fill in.  Or give me some help file!
         thanks very much!

    Hi
    use this  BAPI_STANDARDMATERIAL_CREATE
    Thanks

Maybe you are looking for

  • How can I copy GarageBand projects to a new iPad?

    I recently got a new iPad Air 2 running 8.1.1  and I wanted to transfer GarageBand projects from my old iPad 3 running 8.1.2 to my new device. I found this harder than I expected. You'd think the help instructions I found at http://help.apple.com/gar

  • Where are the filter/effect presets saved on a Mac?

    I've searched a bit but can't seem to find anything but tutorials on saving your own presets. On my old Mac I had a few presets which I liked, and so I want to copy them to my new Mac. I have a Time Machine backup and I managed to find my export pres

  • Auto login from other site

    Hi there, There are 2 websites with different database connections and login settings, which uses both the same database. One website is used (among other) to administer the other website, for example adding documents etc. The login on website2 is on

  • Wrong House bank assigned in FBWE

    Hi, I created customer invoice (FB70), then Bill of exchange Payment: F-36. Then, I use Transaction code FBWE: Bill of Exchange presentation, I've assigned the house bank and I saved. But before executing SM35 ( batch input) I realized that I was mis

  • Link for Details screen

    Hi! I wonder why the link for the details screen of documents ans folders is only visible for users which have write permissions to these folders and documents. In my opinion every user who has read permissions should have the possibility to look at