I have a standard program HINCEPF1 for HR which generates two forms :
A BADI has been created by someone to upload the files in this standard program to insert data for the MARCH month in these above forms either one you select in the selection screen.The function module to upload the file which has been used is :
call function 'WS_FILENAME_GET' ** call function 'WS_UPLOAD'
this function modules works fine when you select form 6A on selection screen but in case of Form 3A it works but does not uploads all the data .It only takes first 7 fields .So to upload data when we select Form 3A I have changed the BADI and added the function module :
KD_GET_FILENAME_ON_F4 and ALSM_EXCEL_TO_INTERNAL_TABLE
to upload the file which works fine but this does not work with Form 6A.
So i want to put a CASE in the BADI that when we select Form 6A then the 1st function module should work and when Form 3A is selected then the above function module should work .
But when i try to add a importing parameter to BADI it does not let me do that . It gives a message that :
'Parameters/exceptions of inherited methods or events cannot be changed'.
Can anyone help.