‎2010 Feb 08 7:26 AM
hi masters,
in TCODE OBBH i have created substitution
the EXIT IS = U001.
in the substitution i have selected the U001.
BUT it does not take to my routine.
i have writen tHE ROUTINE Like this.
form U001.
endform.
but once i give the EXIT NAME in the SUBSTITUTION It does not move anywhere.
but when i trying to select the EXIT it goes DEBUGGER and not after my selction of EXIT - U001.
CAN YOU PLEASE TELL WHAT I NEED TO DO NOW.
thank you,
pasala.
‎2010 Feb 08 7:36 AM
Hello,
Where have you written the code for your exit routine ?
BR,
Suhas
‎2010 Feb 08 7:36 AM
Hello,
Where have you written the code for your exit routine ?
BR,
Suhas
‎2010 Feb 08 7:50 AM
hi suha,
i have created the EXIT - U111.
and i have writen the code LIKE this in routine.
FORM U111 USING is_bkpf type bkpf
is_bseg type bseg
i_xref_field type i
Changing c_rmvct type rmvct.
DATA : L_TEXT LIKE BSEG-SGTXT.
CONCATENATE BKPF-BELNR BSEG-GJAHR INTO L_TEXT SEPARATED BY space.
ENDFORM.
as i said when try to select a exit i could be able to get to the debugger... but... once i select the the EXIT it does not trigger my my routine.
i am not sure of the debugger mode in SUBSTITUTION... and your info will be of greate help to me.
thank you,
pasala.
‎2010 Feb 08 8:01 AM
Check those OSS notes for reference
- Note 842318 - Frequently asked questions about validations + substitutions
- Note 48121 - User Exits in Validations/Substitutions
In Note 842318, check §3. How can I use the Debugger to analyze a problem?
Regards,
Raymond
‎2010 Feb 09 6:47 AM
hi Raymond,
i have gone through the notes and other things regarding the substitution but i still dint get to my point when i debug.
as i said :
i have created a substitution.. created a step in step there are 2 things
1. pre-requisite : in pre-req : i said it to be like this sy-tcode = 'miro' and bkpf-bukrs = tr05.
2. substitution : in substitu: i have selected the bseg-sgtxt.
i have copied the prog RGGBS000 to zf_ggbs000 and maintained in the table.
in zprog i have writen the code in:
form get_exit_titles tables etab.
data: begin of exits occurs 50,
name(5) type c,
param like c_exit_param_none,
title(60) type c,
end of exits.
*----> begin of new-insert jj
exits-name = 'U907'.
exits-param = c_exit_param_field.
exits-title = 'TCP Vendorname, Number and Reference'.
append exits.
endform
and writen the form like this
form u907 using is_bkpf type bkpf
is_bseg type bseg
i_xref_field type i
changing c_rmvct type rmvct.
data : l_text like bseg-sgtxt.
concatenate bkpf-belnr bseg-gjahr into l_text separated by space.
endform.
but when i stop here it does come to the above routine but does not come to the below routine.
can anyone help me pls your input is highly appriciated.
thank you,
pasala.
‎2010 Jun 24 9:53 AM