Sitemap

Amicuk Programming Answers

Testing custom function modules

-0001-11-30   Views:0

Advertisement

Hi Friends ....   As I am new to ABAP testing , I need help in knowing how to test custom function modules . Below is how I am trying :   Step : 1 -- >  Open Tcode SE37   Step : 2 -->  Display the function module    Step : 3 --> Do its syntax che

Hi Friends ....
  As I am new to ABAP testing , I need help in knowing how to test custom function modules .
Below is how I am trying :
  Step : 1 -- >  Open Tcode SE37
  Step : 2 -->  Display the function module
   Step : 3 --> Do its syntax check.....activate it..... execute it
   What if no test data is available???
I am trying to execute directly where it gives a return parameter for some function modules saying No Entry \ No data available for this ID etc.,
I am in a confusion whether its correct or not
I want some ideas regarding this
                             - Swapna

The replay answer
Advertisement
>
Swapna Vadlamani wrote:
> Hi Anupama...
>
>   Thank u a ton for the quick reply...but I have another doubt..if I execute without giving any selection parameter data...it says
>
>   No data stored for in the selected period
>
>                                 -Swapna
Ok, so that is what it does if you don't pass it any selection parameter data - I doubt very much if that is how it will be used in Production.  Any function module is just a bit of code that does what it has been programmed to do; to test it you just need to find out what it is supposed to do from whoever has asked for it to be built and then check that it does it.  If there is no test data set up, then you'll need to find out from your functional consultant how to set some up or get them to set it up for you.

Go to See the other 8 answers

How to write the custom Function Module to trigger the Alert.

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have developed a custom alert category in Tx - alrtcatdef. Now i want to trigger it from my custom function module. what should i do or what is the procedure to trigger the alert from my custom function module. Arul Jothihi arul, try this p[More]

How to create a custom function module with the records in SAP R/3?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records. Regards SaraHi goto se37...here u need to create a function group... then u need to create a function mo[More]

How to bring the custom function module in WE42?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have created a custom function module to post a custom idoc. Process code has been created thro WE42 and WE57 is done. Still I am not able to see the custom function module in the list (WE42) in order to assign it to process code. May i know th[More]

How to develope custom function modules in SAP R/3 system to maintain c...

Category:DefaultRelease time:2015-10-11Views:130

How to develope custom function modules in SAP R/3 system to maintain cross referencing tables for sales order number.Hi Raja, Steps to crate FM.. Follow these steps.. Go to the T: code SE37 First You Create Function Group On That u specify Function[More]

Inconsistent Errors when processing  IDocs using custom Function Module

Category:DefaultRelease time:2015-10-11Views:130

I am encountering a most perplexing error. Here is the situation. We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module: 1. IDoc data is read a[More]

Error in Custom Function Module

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am working on implementing General Ledger Business content in financial Accounting. We had a requirement of creating a Custom Virtual cube similar to 0FIGL_V10. Hence, we had copied the standard function module RS_BCT_FIGL_DATA_GET_VC10 and cre[More]

Export tables in custom function module

Category:DefaultRelease time:2015-10-11Views:130

I am creating a custom function module and want to return a table of contacts i_contacts. In the global data area I created a structure TYPES: BEGIN OF t_contacts,           prsnr       TYPE knvk-prsnr,           contactinfo TYPE adr6-smtp_addr,     [More]

Update the custom table by using Custom Function module.

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts,         My requirement is , 1) To create the Custom Z table with fields            vbak-vbeln            likp-vbeln            vbuk-vbeln   After creating this Z table. 2) I have to create one custom function module.     Based on this fun[More]

Export, Import and Table declaration in custom function module

Category:DefaultRelease time:2015-10-11Views:130

I am creating a custom function module. Parameters needed are export internal table and one data field from the internal table. What do i need to fill for 'associated type' for these export parameters since size of the internal table and type for the[More]

Regarding custom Function Module

Category:DefaultRelease time:-0001-11-30Views:130

Hi Group, Could anyone please guide me on a custom Function Module. Scenario: I have to use this function module to get either active records or inactive records. This function module which has yet to be created should have to code to fetch both acti[More]

Debugging customized function module when Idoc is triggered via ALE

Category:DefaultRelease time:-0001-11-30Views:130

Hi, Whenever we save the billing document, an outbound idoc is triggered via ALE. The logic for the data to be included in the idoc is written in a customized function module. However we are making some changes and would like to include some more dat[More]

Hot
Hello, I need help with my printer, I ve recently upgraded my OS to Win 8.1 from Vista, after upgrade i' ve installed drivers from hp official website and now it begins to be weird, my pc set my printer f2280 as default etc. everything looks fine on [More]
I created a system image, which included drive C (where Windows is installed) and drive G (where some installed Windows programs are located).  I then ran into a situation where I wanted to restore from the system image.  With my first attempt, this [More]
Hi there, I just bought an iBook off e-bay with no os.  I have Tiger on a DVD but the iBook has CD drive.  You see my problem here. Thanks in advance, MikeHold Command-T while booting iBook and it should go into Transfer Mode and allow access to your [More]
Hi Gurus, I am sorry , I had deleted this post. Thanks Edited by: user10679113 on Feb 5, 2009 6:13 AMWhat does it mean to do something with comma separated values through XML. That is a new concept for me. Either something is CSV or XML but what is i [More]
I bought this computer used and was loading my iTunes library onto it when it forze.  I shut down the computer now it wont boot up.From Apple Support Site http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp2889.htmlRead other 3 answers [More]
(CVP/ICM 8.5, comprehensive, using CVP studio) This may be a dumb question, but is it normal for CVP studio Audio steps to enter and exit immediately? I have the issue where if I have a queue loop with just audio steps, it produces a log file like th [More]
This is a little convoluted, so I'll use bullet points. 1) I am currently on a family plan that is paid for by my former employer. I need to leave that plan by the end of this month. 2) I would like to port the number from this plan to a pre-paid pla [More]
My Version Tracker "What Size" results are as follows: / - on disk 91.4 GB Capacity 465 GB Used 145 GB Available 320 GB 71.1 GB Users 8.61 GB Applications 6.34 GB Library 2.67 GB username 1.43 GB System I have about 30 GB of songs, 5 GB of Pictu [More]
Hi! I have a problem with creating a bufferimage. It compiles just fine but when I run it I get a NullPointerException... Can anyone tell my why and what I shall do to make it work? public class Meadow extends JFrame{      private MediaTracker tracke [More]
Hi Experts, one of the user of the report is missing a filter option in the input screen, but when i try to execute the same query  with other users it comes up with the missing filter parameter.what could be the problem?? Thanks in advace.Hi Shetty, [More]