Why Service Call and why not call Function module Directly in WD ABAP

Hi,
I have created a Webdynpro applications and the logic requires calling avrious Function modules.
Do I need to create Service Call for each Function module or call them directly.
It would be great if you can suggest me under what cases I need to opt for Service call
For example, if I use 'RP_CALC_DATE_IN_INTERVAL', do I need to use Service call or call function module directly.
Note: I have searched forums but could not get the correct answer which I want
Thanks!

The Service Call is really meant to be a wizard/time saver.  It has the advantage that it can generate matching context nodes/attributes for the interface of the Function Module you are calling. However everything that the service call does can also be created by hand.
Personally I'm not a fan of what the service call wizard generates.  Its good as a time saver or for beginners, but I find I prefer to touch up the code it generates anyway. I much prefer to create a nice reusable model class with its own unit test and then consume this model class (with the service call wizard) from WD.  This model class might contain one or more function module calls depending upon what logic I need to access.

Similar Messages

  • I downloaded the version 6.1.2 on my iphone 4 after that it couldn't receive calling and can not call and on the iphone compaires te voice : "NO SERVICE"

    I downloaded the version 6.1.2 on my iphone 4, after that on the phone compairs the voice : "NO SERVICE", i can connect on internet but i cannot call and cannot receive callings.
    How can I resolve the problem?

    This phone was purchased direct from apple, so came unlocked. My sim card is from o2 in the UK and the phone works OK when on the o2 network. But when roaming in Europe as I do every weekday the signal consistently drops out and the phone reports "no signal" when in fact there are usually several networks available. I've done a restore and a total reset and it still doesn't work. Any help greatly appreciated.

  • When on a phone call and an incoming call rings in the display does not show who is calling in. My phone used to that and allow me an option to answer why?

    When on a phone call and a second call rings in you do not see who it is or given the option to answer or ignore the call. My phone did that previously. Why would this be?

    My phone is doing exactly the same thing... I tried changing the language as someone else suggested but it didn't work. It is very frustrating!!

  • In incoming call, why iphone 4S (ios 7.04) sometimes gives option to decline the call and sometimes not?

    In incoming call, why iphone 4S (ios 7.04) sometimes gives option to decline the call and sometimes not?

    Try to do this experience.
    Ask a person with a block phone to call you and the option to reject doesn´t appear. Try with a non-blocked phone and the option of reject appears.
    I think it´s an iOS 7 problem.

  • Why does Adobe promise return calls and then not do so?

    Why does Adobe promise return calls and then not do so?   To avoid talking with customers?

    Thanks for your reply - unfortunately I have talked with an Adobe
    representative in India and their action is to put one on hold
    indefinitely.  I am annoyed  because I paid an additional $60 to them 
    for no reason.  Appreciate your comment.
    des

  • Assertion failed: poll() is a blocking call and cannot be called on the Service thread

    Hi
    We are getting a strange issue, the application successfully joins the cluster but after start failing with following exception.
    The cluster have three nodes storage disabled web-logic and two standalone coherence JVM's, we are using distributed cache with Local scheme
    <Error> (thread=DistributedCache, member=4): Assertion failed: poll() is a blocking call and cannot be called on the Service thread
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.get(PartitionedCache.CDB:26)
    at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
    at com.thehartford.pi.core.referencedata.dao.cachedaoimpl.ReferenceCacheDAOImpl.getReferenceData(Unknown Source)
    at com.thehartford.pi.core.caching.cachestore.ReferenceCacheStore.load(Unknown Source)
    at com.tangosol.net.cache.ReadWriteBackingMap$CacheLoaderCacheStore.load(ReadWriteBackingMap.java:6132)
    at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.loadInternal(ReadWriteBackingMap.java:5616)
    at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.load(ReadWriteBackingMap.java:4698)
    at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:717)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.get(PartitionedCache.CDB:10)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onGetRequest(PartitionedCache.CDB:23)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$GetRequest.run(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:722)
    ERROR 2013-09-20 09:06:42,515    :  [2013-09-20 09:06:42.515/8740.228 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): Assertion failed: poll() is a blocking call and cannot be called on the Service thread
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.get(PartitionedCache.CDB:26)
    at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
    at com.thehartford.pi.core.referencedata.dao.cachedaoimpl.ReferenceCacheDAOImpl.getReferenceData(Unknown Source)
    at com.thehartford.pi.core.caching.cachestore.ReferenceCacheStore.load(Unknown Source)
    at com.tangosol.net.cache.ReadWriteBackingMap$CacheLoaderCacheStore.load(ReadWriteBackingMap.java:6132)
    at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.loadInternal(ReadWriteBackingMap.java:5616)
    at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.load(ReadWriteBackingMap.java:4698)
    at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:717)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.get(PartitionedCache.CDB:10)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onGetRequest(PartitionedCache.CDB:23)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$GetRequest.run(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
              at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)

    Hi
    The problem is that you are making a re-entrant call back into a cache service from the service thread or worker thread of a cache service. This is a bad thing to do as you risk deadlocking your cluster by consuming all of the threads in the service. From the stack trace it looks like you are doing a get on a cache which is calling through to a cache store which is then doing a get on another cache.
    For example, you have done a "get" on a cache, that has now consumed a worker thread (call it Thread-1), that thread is calling the cache store which is doing a get on another cache in the same cache service so will now consume another thread (call it Thread-2) so you now have two threads in use, Thread-1 will not return until Thread-2 completes. Now say you had 2 worker threads on your cache service and two "get" calls came in at the same time, Get-1 and Get-2. Both worker threads are now in use so when Get-1 calls the cache store to do a get on the other cache then it has to wait for a worker thread to become free to process the get. The same applies to Get-2, it is calling the cache store and waiting for a thread to become free. The problem is no threads will become free as they are all waiting. Hopefully that is a clear enough explanation of why you get the warning.
    Read this Constraints on Re-entrant Calls - 12c (12.1.2) This is for 12.1.2 but the same applies for any Coherence version.
    JK

  • Placed calls and messages not showing on-line

    I'm the account administrator of 2 lines so I can see calls and messages that the other line makes except I can't figure out why some do not show up. Can anyone help me with this?
    Example: I was present when my family member received a call/hung up when it rang so I went on-line to see who was calling. No such time nor details. So I called another family member to see if that call would show up and sure enough it did.

    Was the call actually connected? The family member answered the call and then the caller hung up?

  • Why does drag and drop not work?

    Why does drag and drop not work?

    Do you mean that when you move files on the Desktop, they don't stay where you put them ?.
    If so - use Finder - View menu - Show View options & choose 'Arrange by' : none
    If not - please describe exactly what the problem is.

  • My iphone 4 is getting horrible service in Mendota, IL. I drop every single call and have to call back 3 or 4 times just to finish a conversation. How can i fix this?

    my iphone 4 is getting horrible service in Mendota, IL. I drop every single call and have to call back people 3 or 4 times just to finish a conversation. How can i fix this? Its getting really annoying and I cant upgrade to an iphone 5 until January.

        Hi KL04!
    Let's see what's causing the problem! Current zip code? When did the issue begin? Are you experiencing the issue in or outdoors?
    Thanks,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

  • Customer Calls and AR Notes

    Do we have any API for Customer Calls and AR Notes conversion?

    Not sure. If you are on R12 check the metalink note 558951.1...

  • My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker  while calling

    My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker phone button
    AlsO sometimes I. Cannot hear anything in normal speaker even though the call Is going through and has been re ieved on the other end, I have to enable speaker and then disable it to route audio to normal speakers

    I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
    I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
    The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
    IdleActionSec=9min
    IdleAction=suspend
    Will check it and report back.

  • We have a 5s active on our account.  After turning on a previously active 4s (it had the same number)  The 5s can no longer place call and when you call it from another phone the 4s rings, but will not pick up.  Texting over the cell networks works fine.

    We have a 5s active on our account.  After turning on a previously active 4s (it had the same number)  The 5s can no longer place call and when you call it from another phone the 4s rings, but will not pick up.  Texting over the cell networks works fine.  Any suggestions??

    hens0861,
    Hmm, let's ensure this is working as it should be! So what phone should be active on your account? Did you switch the devices online or how to did you activate the 5s? Please share details.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Since installing iOS 6, I have had problems receiving calls and messages. Calls go straight to answerphone and messages do not appear until I switch off and on again. I have also installed iOS 6.1.1

    Since installing iOS 6, I have had problems receiving calls and messages. Calls go straight to answerphone and messages do not appear until I switch off and on again. I have also installed iOS 6.1.1

    Try a reset. Press & hold the Power and Home buttons simultaneously, ignoring the red power off slider, until the Apple logo appears. Then release both buttons. This should not affect any content on the iPad, it is similar to rebooting your computer.

  • Problem with calling a report from a function module. Please help! URGENT!

    Hi Experts,
       I have a scenarion like this:
      XI -
    > Function Module -
    > ABAP Report
      From XI I am callingf a function module in another R/3 system. This function module inturn calls a ABAP report using SUBMIT statement. The function module and the report reside in the same R/3 system.
      I am calling the report like this:
    SUBMIT yseg_save_bp_data WITH SELECTION-TABLE rspar
                                 AND RETURN.
    The problem is when I run the function module directly in the R/3 system then it calls the report without any problem.
    On the other hand, when I call the function module from XI then the report is not called. On debug mode I found that the program exits just at the Submit statement. Why is this strange problem?
    What mistake am I doing? Is there any limitations or restrictions with SUBMIT statement.
    What is the correct way of using submit statement in this scenario?
    Kindly help me!
    Thanks
    Gopal

    Hi Rao,
       I have created the FM as remote RFC. Infact XI is able to call the FM. Only problem is when it reaches the point where the report is called via SUBMIT it exits.
    Help me please!
    Thanks
    Gopal

  • I used to see my contacts' photos full screen when they called or when I called them now I only see a thumbnail when they calling and when I call them?

    I used to see my contacts' photos full screen when they called or when I called them now I only see a thumbnail when they calling and when I call them?
    iPhone 4s iOS 7.1

    Hello User909807,
    After having some close calls with fraudulent purchases on my own bank account, I know how scary it can be to know someone else other than you had your personal information, so it was nice to know my issuing bank was helping keep my identity safe. Having said that, it’s completely understandable why it’d be frustrating to discover you were unable to continue making purchases after confirming your identity via text, and I apologize if this caused any unintentional frustration.
    While I’ll be sure to document your feedback regarding our partnership with Citibank, N.A., please know that they are the issuer of your My Best Buy credit card account. As such, I will be glad to share your concerns with our Citibank contacts so that they may contact you to discuss your account in further detail. Please know you should receive follow-up contact from them within the next 3-5 business days.  
    Respectfully,
    Alex|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for

  • ORA-07445 on Ubuntu 8.04

    Hello, I manage Oracle Database 10g Express Edition Release 10.2.0.1.0 on a Linux Ubuntu 8.04 server for some students. I've installed the package oracle-xe-universal Simple queries works fine but some like this one does'nt work : SQL> select nomf, n

  • Question on Static keyword  design with JVM

    hi how jvm identify this one is static and other is non-static, if it identifies by using any keyword what is that? see, don't tell by static word. To identify that static, what is implemented in jvm?

  • PDF - poor font.

    I have a Pixma MX420. I used ADF scanner and created a PDF. It works, I can open it in a PDF file and read it, copy the text and paste it into notepad, etc. However, the text is very grainy. How do I convert it to something smoother / more readable,

  • Powerpoint 2008 and displays?

    Hi, does anyone know how to show a powerpoint on a projector but on your MBP you see the powerpoint presenter tools (ie. notes for each slide) whereas on the screen of the projector there is just the presentation? I did a search in powerpoint 2008 an

  • I just switched over to Mac, and I'm unsure about syncing my phone

    It let me back it up on the new Mac, and transfer purchases, but I'm worried about syncing it. I won't lose contacts/photos I've taken/messages, correct? And as for apps, if I transferred the purchase, will it keep all my app data there? I don't wann