09-08-2008 12:28 PM
Hi,
we had a requiremnet to update the asssignmnet field with material text in Certain Transcarion types.We have done a Substition for this using assignmnet user exit and i assigned user exit U997.
For which i followed the following steps.
First i copied the standard RGGBR000 and assigned to T80D.
and have inseted my exit.
********************
exits-name = 'U997'.
exits-param = c_exit_param_none .
exits-title = text-102. "Cons. transaction type
APPEND exits. "from xref1/2
*****************************
in the programe and called
form
endform and written logic.
But the system is throwing dump in certain Tcodes like MB1c and certain it is working fine.wat could be the problem.Can i call any other param instead of c_exit_param_none .
<removed_by_moderator>
Thanks
Edited by: Julius Bussche on Sep 8, 2008 12:23 PM
09-08-2008 12:44 PM
exit was wrong applied.
pls provide us DUMP details to evalute more
09-08-2008 12:31 PM
Hi,
When you write a substitution in FI please make sure that if you have written it with a certain transaction in mind you write a condition before calling the substitution that this substitution has to be called for that particular transaction only.
Regards,
Pramod
09-08-2008 12:40 PM
thanks for the reply pramod,but wat if i need it for many transaction like MB1c reservations etc.i have put condition
BSEG-KTOSL = 'GBB'.
Its throwing dump in GBTC2FI0 while doing MB1c
09-08-2008 12:44 PM
exit was wrong applied.
pls provide us DUMP details to evalute more
09-08-2008 12:58 PM
Runtime Error PERFORM_PARAMETER_MISSING
Occurred on 05.09.2008 at 20:10:18
Missing parameter with PERFORM.
What happened?
Error in ABAP application program.
The current ABAP program "ZRGGB000 " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
given when defining the routine.
Error in ABAP application program.
The current ABAP program "ZRGGB000 " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
-
Error analysis
A PERFORM was used to call the routine "U997" of the program "ZRGGB000 ".
The current call contains 0 actual parameter(s), but the routine "U997"
expects 1 parameters.
parameters.
-
How to correct the error
Correct the PERFORM call. You can find out where the call
occurs in the section "Active calls / events".
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
-
"PERFORM_PARAMETER_MISSING" C
"ZRGGB000 " or "ZRGGB000 "
"U997"
-
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
-
.......
002570
002580 *& *
002590 *& Form U997
002600 *& *
002610 * text
002620 * *
002630
> FORM U997 using lv_MAKTX." bseg-matnr changing bseg-zuonr.
002650 clear:LV_maktx.
002660 select single maktx from MAKT into lv_maktx where matnr = bseg-matnr.
002670 if sy-subrc eq 0.
002680 bseg-zuonr = LV_maktx.
002690 move lv_maktx to bseg-zuonr.
002700 modify bseg.
002710 endif.
002720 ENDFORM.
002730 ****End of Changes
Contents of system fields
09-08-2008 1:04 PM
Hi,
Please do not use the USING clause in your form for all transactions as this parameter might not be passed for all transactions.
So in your substitutions you can write the following conditions
if BKPF-TCODE = (your desired set of transactions)
Then call the form
Regards,
Pramod
09-08-2008 1:26 PM
hi,
FORM U997 using lv_MAKTX." bseg-matnr changing bseg-zuonr.
In the above remove usign lv_maktx....
Regards
Karthik D
09-08-2008 1:33 PM
FORM U997 using lv_MAKTX
what about its perform?
both perform and form staructure should be same.
09-08-2008 1:11 PM
replace
FORM U997 using lv_MAKTX.
with
FORM U997.
and declare lv_maktx locally in the form routine.
Thomas