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
Recently, I faced into one issue: I want to binding incoming xml node (it's not avaliable at start) list to the tree control as a dataProvider. Since the incoming xml node list is not avaliable at beginning but I needs to bind it to the tree, so I cr [More]
As titled. I bought many apps from iTunes at the end of last year, and then my computer had got problem that I had to format and reinstall everything. I just want to know how can I restore the previously bought apps once if I forgot to backup any of [More]
Putting some button into a JFrame, the buttons auto wrap when size of JFrame changed. but if put buttons into a JPanel,and the JPanel in a JFrame the buttons don't display in multi line as JFrame resizing what's the reason? Is there anyway to resolve [More]
I noticed a box with the letter d next to it when I open up my messaging. It has since gone away and come back. Does anyone know what that is?This is what it looks like.Read other 2 answers [More]
I have PURSCHASED an audio book, but when I changed my iPad the items I had purschased did not come up in my history, does anyone one know how I can get these back without having to pay again?Audiobooks are currently a one-time only download. Have yo [More]
hi i am trying to create new legal entity but ended up with the following error: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-12535: TNS:operation timed out in Package xle_legal_address_swi Procedure create_legal_ad [More]
Is there a way to take the machine Serial Number (From System Profiler possiblely) and match it to a file that has Serial Numbers and Asset Tags from a inventory database? 1. Define Serial Number through System Profiler 2. Scan File with Serial Numbe [More]
Hi, Does any body has a doc which can guid me to avoid issues regarding coding in ABAP-HR. Thanks in advance. Thanks & Regards,   V.K.friend have u tried by finding solutions using search tab in the forum itself, because there are no posts related to [More]
My ipod touch is english excpet for the app store and itunes, which is in chinese. What can I do to get everything in english? My ipod touch is updated to the newest version already.Where are you located.  Where is the location and credit card locati [More]
I'm having a strange and annoying issue with Dynamic linked clips in Premiere CC: When I render or export my timeline the progress will stall when it hits a dynamic linked clip.  It will stay stalled until I click the After Effects application and ma [More]