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
Hi All, I'm really hoping someone can help me. I have an Apple iPod 2g 16gb. I am having real problems with the sound not working when I upgrade the firmware. If I update to the new 4.1, the internal speaker stops working completely and that's not al [More]
How do I copy a photo fromm an email to my photostream?In an Event select the photo and click on the Share button at the bottom of the iPhoto window; In the window that appears select the Photo Stream you want to add the photo to: OTRead other 4 answ [More]
If we need to store some data in a database, but without the need of advanced SQL features, can we use this scheme (written here in Javascript / node.js) : // the DB will be in RAM ! var myDb = {}; // read DB from disk if file exists try { myDb = JSO [More]
Hi, My Apple 17" LCD Studio Display has developed a problem, horizontal bands 2" wide of 1/8" horizontal pixel width "interference" lines. These become increased when playing full motion video. These artifacts are not consistent w [More]
Dear all, I am using strategy 50 for my FG. I have created PIR for FG for 300 qty & created saleorder of 320 qty for FG. while doing availability check for sale order it is confirming only 300 qty bcoz PIR exists for only 300 qty. after this i saved [More]
Hi, I am looking for a way to access tables of a java dictionary within java/GUI mapping. Specifically, if it is possible some simple API to access  java tables within user-defined functions. I know you can access tables via JDBC/RFC lookups. But, th [More]
What is 'Modified' in object tab of AD User account I Presumed that it shows the date and time of the recent changes done to that account like password reset, lockout, Unlock, etc But when observed I found that modified date is changing with out any [More]
Basics: I have Win XP Pro, I use Microsoft 2003, I have an iphone 3G, and I sync my contacts, calendar, and notes using itunes 9.0.3. I don't use Outlook mail and don't sync using MS Exchange -- I just connect my iphone to the computer using a usb an [More]
Hi, We are using Oracle E-business suite 11.5.10.2 with UTF8 Characterset on SunSolaris. We have some custom reports with text as output format and they work fine. Now I changed the output format to pdf on concurrent program definition screen, then s [More]
I recently had huge problems with my MacBook that required going to the Apple store 3 times in one day... Anyway I got all of my problems fixed BUT now I look at the bar on the top of my screen and there is a line through the Bluetooth icon. As seen [More]