WS-Security with ABAP RFC

I want to use a signature and encryption with an ABAP RFC (e.g. BAPI_CUSTOMER_GETDETAIL2). How can I do that? Has anybody a documentation about that?
thanks in advance

Hi Birgit -
Sorry to follow up on this so late, but I'm now hitting the exact same error that you got 4 years ago!  Did you ever work past this message?  Would you be willing to provide any hints?
Thanks so much for your help!
Abby

Similar Messages

  • WS Security with ABAP 6.40

    I tried to configure an ABAP Web Service with WS Security:
    On the Web service definition I set basic authentication, no transport guarantee.
    On the Web Service configuration I added WSS profiles for user name checks (no date). In the ICF I configured an anonymous login user (Web user without any authorization)
    I did the same configuration on the client side:
    Proxy: basic authentication
    logical port: WSS profiles for user name and PW.
    When I test the Web Service I get the following error: "SOAP Runtime: Exception message: Unexpected element -el=html ns="
    Can I use WS Security to implement a login check for a specific Web Service or do I always need to configure digital signatures?
    Many thanks for any hint!
    Best regards,
    Birgit

    Hi Birgit -
    Sorry to follow up on this so late, but I'm now hitting the exact same error that you got 4 years ago!  Did you ever work past this message?  Would you be willing to provide any hints?
    Thanks so much for your help!
    Abby

  • Question on security in ABAP program with ITS. Please help!

    Hi Experts,
            I have a question on security in ABAP program.
    I have a ABAP program which has a transaction attached.
    I have added authorization check in ABAP program(Progran level security).
    I have also attached the authorization object to the transaction.(Transaction level security)
    If an end user runs the transactionm, then which authorization check will fire first? Will it be transaction level?
    If I have web enabled my ABAP program via SICF (in other words, ITS). Then when I try to run my ITS service in the browser will the transaction level authorization fire? or Will the program level authorization fire?
    Please help me understand this security aspect.
    Thanks
    Gopal

    <i>I have added authorization check in ABAP program(Progran level security).</i>
    i assume you have coded call authority within the program.
    <i>If an end user runs the transactionm, then which authorization check will fire first?</i>
    if he calls the transaction, then first authorization attached to the transaction will be checked.
    but if he executes the program attached to the transaction, then the authorization attached to the transaction dosent help here, the one coded in side the program is checked.
    <i>If I have web enabled my ABAP program via SICF (in other words, ITS).</i>
    it depends,
    if you are calling your transaction like
    webgui/?~transaction=<tcode> then first tcode level authorization.
    if you generate the templates for the program and callign the same, then i guess its progam level. (i need to check this)
    Regards
    Raja

  • Web Service Security with SAML - Invalid XML signature

    Hello together,
    we want to build a scenario where we want to use Web Service Security  with SAML.
    The scenario will be
    WS Client (Java Application) -> WS Adapter -> Integration Engine ->  WS Adapter-> CRM (Web AS ABAP 7.01 SP 3)
    SAP PI release is 7.11 (SP Level 4)
    We want to use the SAML Authentification from WS Client to PI and from PI to Web AS ABAP.
    The SAML authentifications between the WS Client and PI works when there is no SAML auth between PI and CRM.
    But we get following error at calling the CRM system when we want to communicate with SAML:
      <E_TEXT>CX_WS_SECURITY_FAULT:Invalid XML signature</E_TEXT>
    Has somebody an idea of the possible reason for the error.
    Thanks in advance
    Stefan

    Error Messages in the Trace/Log Viewer:
    CX_WS_SECURITY_FAULT : Invalid XML signature | program: CL_ST_CRYPTO==================CP include: CL_ST_CRYPTO==================CM00G line: 48
    A SOAP Runtime Core Exception occurred in method CL_ST_CRYPTO==================CM00G of class CL_ST_CRYPTO==================CP at position id 48  with internal error id 1001  and error text CX_WS_SECURITY_FAULT:Invalid XML signature (fault location is 1  ).
    Invalid XML signature

  • Error during creation of web service from abap rfc

    Hi,
    I'm creating a web service from abap rfc (SE37), but at the end  of Creation Wizard I have this error:
    "web service object already exist".
    This is my first web service creation. Into WSADMIN there are not web services with the same name.
    How can I solve this problem?
    Thanks!

    Hi,
    What system/release/SP do you use ?
    Beginning with Netweaver 7.0 SP14, you configure Web services with SOAMANAGER and you don't see them with WSADMIN...
    Regards,
    Olivier

  • Publishing a Web ABAP Service with ABAP stack

    Hi,
    We are only running ABAP Stack (we don't have Java Stack) in a SAP ECC 6.0 version.
    We have a RFC (or BAPI), for instance BAPI_CUSTOMER_GETDETAIL.
    How could we publish a Web ABAP Service?
    Thanks.
    Regards,
    Marta.

    Hi,
    I think this could be possible,
    refer below links
    Working With Web Services From ABAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a4433436-0301-0010-f2a9-9281ad574054
    ABAP Web Services in the Real World
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    Journal Part XIII: Developing ABAP WebServices
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
    SAP Network Blog: BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Thanks
    Swarup

  • Excel ( VB ) to ABAP RFC WEB SERVICE Call - No Errors - Blank Output Table

    Trying to get Excel talk to ABAP RFC Web Service.
    -  Excel - 2007 ( Since it is Excel 2007, I didn't had to add any Office Web Services Toolkit or any add on )
    -  ECC 6.0
    Excel (VB) not throwing any error, but is not giving any output ( expecting a table output ).
    ABAP RFC WebService with Uid Pwd Authentication.
    Activated binding for ABAP RFC via SOAMANAGER for clnt 600.
    Using WSDL of WS of Clnt 600 in Excel via VB
    Basic ABAP RFC -
    1 optional import param ( Input Param )
    1 table output  ( Tables Param )
    Basic VB Call Code  -
    Call projHoursWS.wsm_YProjHours("", arProjHours)
    To test if VB and WebService are talking to each other, when i temperorarily change the Authentication method ( uid/pwd ) of Webservice in Sicf it throws "NO MATCHING AUTH" .. So VB and ABAP WS are talking to each other.
    Debugged VB in Excel, not throwing any error , but is always returning the output table (arProjHours) Empty.
    Missing anything?

    Hi,
    Try turning on the ICF Recorder in TCode SICF (check SAP Help for usage details) to establish that the request is reaching SAP successfuly.
    You'll also be able to catch the response that's being generated by SAP this way. Then turn off the ICF recorder.
    Best Regards, Trevor

  • Call ABAP RFC From mapping

    HI Guys,
    I have a requirement to call ABAP RFC from Message Mapping.
    Can any one pls share the document links or ideas with me.
    Thanks,
    MS

    Hi
    u can use RFC LoopUp
    if PI 7.0 / 3.0 -- need to write the UDF to execute
    link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231
    if PI 7.1 then u have functionality in MM itself to do so
    rgds
    srini

  • ABAP RFC doen't get called, although XI says it does

    Hi all,
    sorry for my noob question, but I'm completely new to XI.
    The following situation:
    I've a scenario, where some mappings are done in XI and at the end the payload is handed over to a ABAP RFC function to persist the mapped data to the backend system.
    I've got a communication channel set up,
    Inferface mappings are fine,
    receiverdetemination looks fine,
    SXMB_MONI shows all messages, all with checkered flags,
    The last message of XI lists properly the RFC function to be called. Receiver determination is ok, lists the proper business system which has a communication channel (receiver) available.
    But when I have a look at SLG1, not even a starter log is written. Nothing. It seems that the ABAP function is never being called.
    So my questions are:
    Where can I find some information what might get wrong?
    Any ideas where I can have a look at, what might be configured wrong?
    Can I test the login credentials I gave in the communication channel for the business system?
    The SOAP message part "RunTime" lists in the "User" element a different user name that I gave in the Business System / Communication Channel. Where does this one come from?
    Any help and ideas appreciated,
    Tnx,
    Martin.

    Hello Manjusha.
    >
    Manjusha Nair wrote:
    > Can you check in Runtime Workbench.
    > Goto Message monitoring.Here you please check the details of your message .
    >
    > ref:
    > http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/frameset.htm
    Oh thanks! This was the useful hint!
    With the help of the Message Monitoring I could find out, that there was an authorization problem.
    Although the password was given properly.
    I found out, that XI doesn't like whitespaces at the beginning or at the end of a password!! Somewhere deep down, there must be a trim() call on the password. ARRRGGHH Cost'd me several days!
    Thanx to all!
    Martin.

  • Big Problem: ABAP-RFC and JCO  client

    Hi Friends,
    I am a java developer in trouble with a ABAP/RFC, and I dont have idea whoe lese ask for help
    This is the situation:
    In order to send a "candidates resume" (curriculum) in to SAP,
    the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
    The rFC when tested in the SAP GUI works fine.
    I wrote a java client which calls the RFC, send the parameters and expect the results.
    This client uses JCO to access SAP.
    But, from the java client the RFC works PARTIALLY.
    I mean, it creates the applicant, fills his name, address (infotypes 002,006,001)
    but doesnt fill the education a qualifications (infotypes 22 and 24).
    I am trying to figure why.
    Some of the internal ABAP errors code that we get are:
    DC -006
    PA -054
    5A -135
    Also I get this message:
    "Exception condition "CNTL_ERROR" raised"
    Please, I am a java-per lost in the SAP land.
    Thanks in advance by any help!!!
    PD: I could sent you the ABAP code of the RFC or the java code of the client if necessary.

    That CNTL_ERROR tells me that its trying to access a gui control which I don't is possible thru jCo.  Gui Controls are very dependent on the SAP Gui Frontend.  Since you are calling the transaction thru jCo,  it oviously doesn't know what to do with it.  Any chance that you can get a hold of the ABAP developer which wrote it initially?  Maybe there is another transaction that can be used instead of the PB10 transaction.
    Regards,
    Rich Heilman

  • RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does n

    Hi all , i did a small application in webdynpro abap  by calling BAPI . MY application  is when i enter the studentid and click the submit button i shoutl get student details .
    but when i'm clicking the submit button i'm gettting the error
    "RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does not exist. Occurred " can any one help me out.

    hi rajeev.....
        i am sure that you would have used service call.
       in service call, in the destination part, you would have given a name. the service call automatically creates a destination in this name. but your user id would not have had that rights. so only you get this error. either use a already existing destination or get the access for that.
    ---regards,
       alex b justin

  • How to interface the Weigh Bridge System with ABAP thru' RS232 PORT

    Hi Gurus,
    Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI.
    I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.
    Goodwill
    Jacob charles

    Hi Jacob,
    <b>You can integrate Weigh Bridge with SAP ABAP .
    I have done this for one of our projects
    The technology used in RFC SDK and DCOM Connector.
    Refer to this link
    SAP Business One SDK Version 2005 [original link is broken]
    Search here for sap software distribution center link
    https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/sapintegration.asp
    http://www.intelligententerprise.com/channels/applications/feature/archive/homann.jhtml;jsessionid=BR44S4YLZ0HSGQSNDLOSKHSCJUNN2JVN?_requestid=505707
    www.sapgenie.com/sapgenie/docs/SAP%20Connectors.doc
    help.sap.com/printdocu/core/ Print46c/en/data/pdf/BCMIDDCOM/BCMIDDCOM.pdf</b>
    Good Luck and thanks
    AK

  • ABAP RFC Function to merger table data?

    Hi All,
    Has anybody tried to merger that from multiple table in 1 table using ABAP RFC function module.
    I have to merger 3 table into 1 which I am not able to do using Combine or Union operater.
    One solution suggested in the below thread by Marcel was to use ABAP RFC function mod..I dont know how to do that.
    If anybody has tried please share.
    Union operator between tables
    Thanks,
    Murtuza.

    Thank you for the reply,
    I got the solution without ABAP code.
    I created a structure of table (Key Figures) in Column of query designer and then use that structure in VC to output table.
    There I had used formula for each KeyFigures using IF ...something like this:-
    NVAL(IF(@Key_Figures=="Prior Sales",0,IF(@Key_Figures=="Price",NVAL(IF(#ID[ACA257]@Price_Impact_value>=0,#ID[ACA257]@Prior_Sales_Value,#ID[ACA257]@Prior_Sales_Value+#ID[ACA257]@Price_Impact_value)),IF(@Key_Figures=="FX",#ID[ACA257]@GAP_3,IF(@Key_Figures=="Volume",#ID[ACA257]@GAP_4,IF(@Key_Figures=="Lost Mix",#ID[ACA257]@GAP_5_6,IF(@Key_Figures=="Gain Mix",#ID[ACA257]@GAP_5_6,IF(@Key_Figures=="Current Sales",0,123))))))))
    This way I got the output table as required.
    Pls see this thread for the requirement.
    link: Table with Formula Values as output table?

  • Connect JAVA with ABAP

    Hi,
    I have a requirement in my project to connect Java with ABAP. I want to access ABAP tables from my java application. I am not sure but I think we can use SAP JDBC drivers to do that.
    I found this link to connect JAVA with ABAP  :
    SAP DB JDBC Driver
    My doubt from this link is where can I get the Host Name for the sandbox system I am using and what is the Database Schema name for the tables created using se11.
    Regards,
    Prateek

    Hi
    If you have direct connection to data base then  you can use
    the JDBC driver for the data base that is in use (We have oracle).
    But usually you have to go through the application server this mean you have to use "SAP Java Connector" that connect to SAP using RFC .
    Talk to your basis people.
    Regards.

  • Online Security with "best attempts" set for certificate verification

    As many others, I've had some security issues with both webkit browsers and the iTunes store after upgrading to 10.4.8 and running the late-November security update. Basically it was impossible to access https sites as well as the iTunes store without changing my certificate verification settings in Keychain.
    After switching Keychain preferences for certificates to "best attempt" for both OCSP and CRL, things are working fine again. But now my concern is about security. Basically, how insecure are such settings? Is Apple working at all on a fix for this or should I basically wait to upgrade to Leopard before expecting a solution?
    Thanks in advance.

    Hi Shadya10,
    Those are some pretty big questions! I'm not saying that your company can't become a CA because obviously there are companies that have, but this is almost something that happens at the state level if your not already intimate with PKI. Just from the tenor of your questions I'd suggest you contract with a reputable, existing CA to provide your PKI infrastructure. I could explain key management and how revocation checking works, but really if you're asking in an Adobe forum this is way more than you want to be dealing with.
    If you're really interested you need to start with reading RFC 5280.
    Steve

Maybe you are looking for

  • Office 2013 pro plus deployment

    Hi, I am trying to deploy office 2013 to all in my organization through a group policy, the version that I have is 15.0.4569.1506. I have used oct to customize the setup and activate the product. All works fine but after the product is installed ther

  • Photoshop Elements 8 - is anyone having a problem with the screen color ?

         I just installed Elements 8 & the screen color has 2 choices: DARK (Black screen with Black & Grey text) LIGHT (Dark Grey screen with Black text) BOTH of these are VERY difficult to read & some text just dissapears into the background. After spe

  • Apple Maps and Yelp app integration....errors beyond belief

    Has anyone else ever experienced when you launch driving directions to a business from within the Yelp app, that even though Yelp has the address correctly, and will show it correctly on the map.....that Apple Maps gives completely innacurate directi

  • How to convert sapscript to excel & send it as attachment in mail?

    Hi, I have a requirement to send the customer statement  in excel format with all open items to the customer email address.  I am creating the customer statement via sapscript . Then I need to convert that into excel. I tried using CONVERT_OTF. But a

  • How to Update Infoobject Masterdata using Process Chain

    Hello, I am trying to update the Master Data in Infoobjects (text and Attr) by using Process chain. The steps used are 1. Delete data from PSA 2. Execute Infopackage 3. Execute DTP for Attr 4. Run Attr Change 5. Execute DTP for TEXT While updating Te