‎2008 Apr 11 7:58 AM
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
‎2008 Apr 11 8:15 AM
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.
‎2008 Apr 11 8:07 AM
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...)
‎2008 Apr 11 8:15 AM
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.