Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating a function module

Former Member
0 Likes
476

please help me to

create a function module as follows-

i) Have the following import parameters

empnm TYPE zb19rv2_table-empnm ,

empdj TYPE zb19rv2_table-empdj ,

empad TYPE zb19rv2_table-empad ,

empph TYPE zb19rv2_table-empph ,

depid TYPE zb19rv2_table-depid.

ii) Have the following export parameter

empid TYPE zb19rv2_table-empid ,

iii) Have the following exceptions

Raise exception if the Name field is blank

iv) Source code-

Check if the import parameter has name given, if not raise exception, else

Select the latest empid from table zb19rv2_table

Increment this id by one

Use the import parameters and the new generated empid to insert record in to the table zb19rv2_table

If the record is inserted, then move the new generated empid to the export parameter of the function module

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
449

Hi Ravinder ,,

check this link for step by step procedure to create function module ,

http://abaplovers.blogspot.com/2008/02/creating-function-module-in-sap-abap.html

http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm

Reward if useful,,

Thanks & regards ,

Sreekar.Kadiri.

2 REPLIES 2
Read only

Former Member
0 Likes
449

IMHO this forum should only be used to discuss ussies regarding ABAP and should not be used to getting a development task done for free! (just my opinion...)

Read only

Former Member
0 Likes
450

Hi Ravinder ,,

check this link for step by step procedure to create function module ,

http://abaplovers.blogspot.com/2008/02/creating-function-module-in-sap-abap.html

http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm

Reward if useful,,

Thanks & regards ,

Sreekar.Kadiri.