Exposing WebService directly from ABAP Class not from BAPI

Hi guys,
is it possible ti expose a Webservice direct from an ABAP OO-Class.
I know the possebility to do it for RFC enabled Funktionmodules but I think it is no good coding style to call ABAP-OO-Methods using RFC-Module only for providing them as methods of an WebService...
Is there anyone who has exerience on that area ?
Thanks in advance.
Bast regards
André

Hi Micky,
thanks for your answer. But the WS-Call are OO codings and the class is OO coding. From my point of view it is not a good style using an RFC Functionmodule as "middleware" between OO-Classes.
However, if it is not possible I have to live with the possabilities SAP provides.
regards
André

Similar Messages

  • I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. Help!

    I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. I've been on the phone with yahoo mail and they've verified that my account settings are correct and I can send email from yahoo. I can receive emails via Mac mail, but just can't send them. An error message appears that says:
    "Sending the message content to the server failed." I can't send emails from my Mac desktop, iphone or ipad. Any suggestions! Help! I'm a Mac rookie and so frustrated! Thanks.

    Please read and begin using Can receive email, but not send email. I had a similar issue with Comcast mail (could receive by not send) and found my answer in this letter. For me it took resetting the outgoing mail and telling the system to use a password when sending outgoing mail. If you need help with that please advise and I'll tell you where to look. 

  • Calling Portal event from ABAP class

    Hi Experts,
    I need a following clarificatrion, Please help,
    1. Is it possible to call a webdynpro method from a normal ABAP class?
    2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    3. Is there any ways with which we can call portal event from ABAP class?
    Thanks,
    Shabir

    >1. Is it possible to call a webdynpro method from a normal ABAP class?
    I wouldn't necessarily recommend this approach. You shouldn't try to trigger events or any of the standard WDDO* methods from outside the WD Component itself.  That said, you can pass the object reference (like the WD_COMP_CONTROLLER object reference or the View Object Reference) into methods of normal classes.  Be careful if you are finding yourself calling a lot of your added methods from outside WD.  This is probably a sign that these methods should be in the Assistance Class or some other Class functioning as a Model Object.
    >2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    What exactly do you want to do here?  Do you just want to get the relaxation script?  For what purpose?  You should never need to inject the relaxation script into WDA. 
    >3. Is there any ways with which we can call portal event from ABAP class?
    To what purpose.  Do you just want to delegate the triggering of the event that is inside WD Component to be called from a class?  If so you can pass the portal API object reference into a class from the WD Component.  However this only works while running within WD.
    How is this class used?  Are you running in WD?  Are you trying to generate some HTML code that runs in the portal independent of WD?

  • Standard Memo Lines read account from Transaction type not from memo accoun

    Standard Memo Lines read account from Transaction type not from memo account
    Is There Away To Readed From Memo lines account
    Facts:
    Define New Standard Memo Lines with Name "Discounts"
    With Type: Line
    Revenue Account: 01.0.000.0000.000.411001.0000
    Active Date: 01-JAN-2007
    When I create transaction with class Invoice
    I select the transaction type, and select customer
    I press on line items button
    I open the list description I select the "discount" define as memo line, I save the transactions
    I press on the Complete Button
    After that I navigate to Distributions button
    I found the account affect not read from account define for memo lines. It read from revenue account define in transaction type
    Especially when I use memo lines, how to read revenue account from account assign to memo lines not from transaction type

    Standard Memo Lines read account from Transaction
    type not from memo account
    Is There Away To Readed From Memo lines account
    Facts:
    Define New Standard Memo Lines with Name "Discounts"
    With Type: Line
    Revenue Account: 01.0.000.0000.000.411001.0000
    Active Date: 01-JAN-2007
    When I create transaction with class Invoice
    I select the transaction type, and select customer
    I press on line items button
    I open the list description I select the "discount"
    define as memo line, I save the transactions
    I press on the Complete Button
    After that I navigate to Distributions button
    I found the account affect not read from account
    define for memo lines. It read from revenue account
    define in transaction type
    Especially when I use memo lines, how to read revenue
    account from account assign to memo lines not from
    transaction typeHi,
    In my opinion, we need to set up AUTOACCOUNTING for 'REVENUE' as standard lines so that system picks up Revenue account from Standard memo lines instead of Transaction type.
    Regards,
    Sreenivas

  • Selective Deletion from Infocube Only (Not from Aggregates)

    Hi,
    For the Selective Deletion, i used the FM 'RSDRD_SEL_DELETION' in program. But this FM deletes the data first from Infocube then from aggregate.Because of this, deletion took more time to delete and adjust the Aggregate.
    I need an way in which i can delete the data from Infocube only and after i reach to my reconcile period then i will deactivate and actiavted the aggregate, so the data will be consistent in Infocube and aggregate.
    is there any to Delete(Selective Deletion) the data only from the Infocube not from its aggregate (for the Performance Point of View)?
    Thanks in Advance.
    Regards,
    Himanshu.

    Hi
    You can try manual selective deletion which will delete data from cube only. check out the below thread.
    steps fro selective deletion for cubes and ODS
    If you want to delete data from FM only, then try to deactivate your aggregates before you start your selective deletion.
    Once deletion is done, you can reload the aggregates
    Regards,
    Venkatesh

  • Delete contacts from icloud, but not from iphone

    I want to delete all my contacts and calendar appointments from iCloud, but not from my iphone, and i still want to have iCloud turned on in the future.
    I have tried to delete the iCloud account from my iphone but when i log in to iCloud.com from a computer the contacts are still there even though i deleted the iCloud account.
    How do i remove these things only from iCloud?

    I fixed it, i had to turn off the syncing of the contacts and the calendar on the phone and then delete them from iCloud. Obviously if i turn on the syncing of these items again the contacts and calendar appointments will reappear in iCloud.
    So problem solved.

  • Want to delete mails from Thunderbird but not from the server?

    Hi,
    Please tell me how to configure the settings of Thunderbird so that if i delete any mail from Thunderbird that mail would be delete only from Thunderbird not from server. I'm using IMAP configuration for all my mail accounts and I'm using Thunderbird in my laptop and tablet both.
    Currently i'm using Thunderbird 24.4.0 and i just want to delete my useless mails from Thunderbird but not from the server without using pop-3 settings.
    Actually the reason for this Question arises because whenever i use to uninstall and reinstatement Thunderbird, i use to take "profiles" as a back up and its size is increasing day by day that is making a big issue to me as i cant take a back up of such a big size file.

    Imap mail accounts keep the emails on the server and you see a remote view of those emails and folders.
    When you subscribe to see a folder, the headers are downloaded, when you select an email to read, the entire folder is downloaded to a temp cache facilitating quicker access. If you synchronize folders, then a copy of that folder is downloaded to an mbox file in your profile, so that you have a copy of the server folder. When you make any changes to a synchronized folder, read an email, delete or move etc, then Thunderbird will resynchronize with the server to update the server. A synchronized folder allows you to work in 'offline' mode and this is the best time to perform a backup as you know there is a temporary stop on synchronizing as you are offline. They will resynchronize when you go back into 'online' mode.
    So, with IMAP mail accounts, the folders you see in Thunderbird are the same folders on the webmail server. If you make any changes via Thunderbird or webmail then you are changing the same folder. You cannot delete an email without deleting it from the server, they are one and the same.
    What you can do is move/copy an email into Local Folders and delete the one on the server. The Local Folders emails are kept in your Profile on your computer, these folders/emails are not on the server, unless you chose to keep a copy of them on the server.
    Pop mail accounts cannot see the folders on the server. They only access the server Inbox folder and download emails not previously downloaded to the mail account Inbox in Thunderbird. These emails are kept on your computer in your profile folder. You can select to keep a copy on the server or not. You can choose to delete emails off your computer and off the server or not.
    If the mail account is gmail , have you subscribed or even synchronized to see the 'All Mail' folder ? Gmail's all Mail folder is their Archive folder, it keeps a copy of all of your non-deleted emails. So, you do not need to subscribe to see this folder as it only shows you what you can already see in other folders. It doubles the disc space.
    Please read section on 'All Mail' at this link.
    * http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
    You do not have to download/synchronize the entire folder. You could select to only synchronize the most recent xx days of emails.
    see info here:
    * https://support.mozilla.org/en-US/kb/imap-synchronization#w_configuring-synchronization-and-disk-space-usage

  • Full page prints from iPhone but not from iPad using photo app with AirPrint ?

    Full page prints from iPhone but not from iPad using photo app with AirPrint ? iPad only prints 4x6 on full size paper. It's an HP 8600.

    I also have this problem printing photos from an iPad to an Epson WF-2540 printer. It prints only 4x6 and without border (so print starts at extreme top left corner of paper). Borderless printing is not selected on printer. Printing a square photo just crops to 4x6 size.

  • Delete Apps from MacBook but not from iPhone

    How can I delete Apps from iTunes but not from iPhone 3GS when I Sync them? The moment I delete the Apps from iTunes and then sync iPhone, iPhone deletes them as well.
    Please assist.

    If you intend to ever sync your phone with your Macbook then you can't delete the app from your Macbook, otherwise the apps will also delete from your iPhone (as you've discovered).

  • How can i detach my iphone from my itunes (NOT from my apple ID)

    how can i detach my iphone from my itunes (NOT from my apple ID)

    Hello Laurien123,
    Can you tell me a little more about your situation?  I'm not sure what you are trying to accomplish.   You authorize your computer to sync or download iTunes; you associate your iPhone with your Apple ID, not with iTunes.
    Please reply if you can with a little more information, and I'll do what I can to help.
    Authorize your computer in iTunes - Apple Support
    https://support.apple.com/en-us/HT201251
    Do I need to authorize my iPhone, iPad, or iPod touch?
    No. You don’t need to authorize your iPhone, iPad, or iPod touch, but you do need to associate your iOS devices with your Apple ID. Your iOS devices don’t use your available authorizations.
    Have a great day!
    - Judy

  • I am not able to login to Gmail past 2 weeks, before that I am, But still i can able to login gmail from chrome but not from Firefox

    I am not able to login to Gmail past 2 weeks, before that I am, But still i can able to login gmail from chrome but not from Firefox
    getting following error
    "Oops! Your browser seems to have cookies disabled. Make sure cookies are enabled or try opening a new browser window. [?] "
    Please help me

    The support article http://mzl.la/1BAQKUb might help you.

  • Printer will print from ipad but not from laptop.

    Printer will print from ipad but not from laptop. No previous problems printing from laptop. HP ENVY 110 series;

    Hi Wpbpatfl,
    Have you tried running the HP Print and Scan Doctor? It is a quick and easy tool that diagnoses and resolves many printing, scanning, and connectivity problems. Check out the link below for details on downloading and running the tool:
    http://goo.gl/8NZ0e
    If I have helped in any way, just click the Kudos star on the left. Also, if your issue has been resolved, don't forget to select Accept as Solution

  • TS2621 I can access yahoo mail from safari but not from the iphone ipad mail icon after changing password

    I can access yahoo mail from safari but not from the iphone ipad mail app after changing my password

    Go into your settings and remove the account. Add the account again with your new password.
    Best of luck- K.

  • HELP: How do I print a photograph from my computer (not from a memory card) with photo quality ?

    HP6510 print-scan-copy-web (All-in-one) ePrint wireless
    Mac OS X 10 6.8
    How do I print a photograph from my computer (not from a memory card) with photo quality ? 
    Is there a software that enables me to let the printer know that what I am sending to print is a photograph and not, for example, a document?
    I sent a photograph to print from I-Photo and from Photoshop and the printer prints it like a document, that is to say, quickly and with very poor quality...for what is a PHOTOGRAPH.
    I bought my print yesterday in Spain and Monday I must turn in a printing job at work. Pleas help. (Today is already Saturday.)
    Thanks

    In OSX when you go to file and print you will usually get a window that pops up with print settings.
    In 10.6 it may only show you the printer to use, and the preset to use, but you can click the square to the right of that with a triangle in it to view more options.
    From here there is a drop down for paper type/quality, where you can select photo paper, and a higher quality, then go to print.
    The following link will actually show screenshots of these settings and how to navigate them:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01662562&tmp_task=useCategory&cc=us&dlc=en&lang...
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • HT5192 what happen if i updated my ipod (4th generation) from there and not from my coputer??

    update my ipod touch 4th generation from there and not from my computer?

    Connecting to a new computer or iTunes will always erase the device first. Back up manually before, by right clicking on the iPod in the device list and choosing "backup". A manual backup does not include the sync process. You can use this backup to restore from after your iPod got wiped during the first sync.
    See also iTunes: About iOS backups to see more info about the content of a backup, and How to back up your data and set up as a new device if you want to know more about saving info from the iPod before setting it up in iTunes.

Maybe you are looking for

  • BAPI_DOCUMENT_CREATE2 / CHECKIN2 etc.

    Dear fellows, Does anyone know of a webblog or another site about calling the DMS-BAPIs from .NET Co ? I don't get them to run when checking-in / uploading the file.. These... Bapi_Document_Checkoutview2 woes problem with BAPI_DOCUMENT_CHECKOUTVIEW2

  • PDF Output giving Blank Page at first

    I have an rtf template which is used to print output in pdf format. I have a table which has many rows which displays data for each record. In order to avoid breaking the page in between the rows of a record , i have added an outer table with single

  • Date Validation In YYYY/MM/DD Format

    Hi All....             I have developed A conversion Program in which I have struck up with the code of validating the date format in YYYY/MM/DD Format. I should Append the records to the database table T558B in which all the other validations are do

  • Dimension with 2 roles and 2 hierarchies used in 2 cubes

    Hi, I have a dimension in which there are two dimension roles (roleA, roleB) defined as well as two hierarchies (hierarchyA, hierarchyB). Currently hierarchyA is set as default. (Not because that is in fact the default one, only because OWB forces on

  • How to enable region magnification in firefox

    We are viewing the HTML/xhtml files in firefox for the Kindle .azw files. We need to have the region magnification option tocheck the magnification in kindle view. We could not enable them in forefox. Kindly suggest how to enable the region magnifica