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
I'm currently running Mountain Lion on my unibody Macbook Pro. Last night I got a notification that there was an update (10.8.3 I beleive), so I opened up the App store and proceeded with the install process. The update details mentioned that this up [More]
Hi, I have component called : SRQM_INCIDENT_H. This component has used component - BTSTATUS. Now, I need to read the context node of the BTSTATUS/UserStatus in GET Methods of Context node in SRQM_INCIDENT_H. Can you plese help me out. Thanks, Sandeep [More]
I am a volunteer firefighter. I am dispatched to calls via a Motorola Monitor voice pager. Since approximately 84% of firefighters in the U.S. are volunteers, and the vast majority of them use the same system that my department does, an app that woul [More]
hi I'm doing a delivery using vl01n bt at post goods issue its showing run time error.the error message details gvn below. Information on where terminated Termination occurred in the ABAP program "SAPLMBWL" - in "MB_POST_GOODS_MOVEMENT" [More]
Hi, we are trying to write digital signals to a citadel database. The polymorphic function "Write Trace.vi" has the types logical and bit array. First of all I have created a new database and tried to write 10 digital signals of type boolean to [More]
When attempting to update my ipad 3 (wi fi 3G VR)-- I receive error code 1664 & states to verify network. Anyone know encounter this problem & have a fix?Update and restore alert messages on iPhone, iPad, and iPod touch http://www.buybuyla.com/tec [More]
I am trying to send an E Card but no matter what site I use i get blocked plug-in message.  I have downloaded the latest Adobe Flash but it hasn't fixed the problem.  Any advice?Make sure you downloaded the flash player from the proper website - Adob [More]
I went to try to upgrade my device at a Radioshack store in town a couple hours ago, but the transaction couldn't due. The lady couldn't tell me why, but she said it was because of a "past debt" with Verizon. I have a bill of about but $175, but [More]
I work with lightroom 5.2 and Photoshop 5. When I work in lightroom and open a picture in Photoshop (control+E) and I want to open a normal correctionmask, that mask is standard a clippingmask and I want a normal correctionmask. What do I wrong?Gooie [More]
Hi experts,     In the application a user raises a request for some resources, After the request is raised its goes through many level where the concerned person has to approve the same request. the flow is like this user -> xxx -> admin -> yyy - [More]