User Exit or Enhancement or BADI for CA03 & MM03
I had a scenario like validate the Material No for CA03 & MM03. When ever we give 'material no' in the MM03 or CA03 ans press
enter I need to validate that material no. I don't see any proper user exit or badi for these tcodes to validate material no.
I used this enhancement MGA00003 - EXIT_SAPLOMCV_001 - INCLUDE ZXMG0U08 my own logic which is
calling a RFC function module here. It send values to this FM in turn this FM is sending the values to (third party - thru WSDL) Proxy . Here I am having the problem. When we give material no in MM03 or CA03 and press enter this enhancement got
triggered and it is going into dump. in my custom RFC FM we have 3 methods in WSDL I.e. Connect,Query,Close. When ever
it comes to the statement 'Connect' this dump is triggered. I am unable to find the exact problem because in the debugging mode
it is not showing constantly in one place...if I run for first time it is showing at one point , for second time if I run it is showing
at some other place. I can't predict correctly like where exactly we r getting dump.
Can any one please let me know any other user exit or BADI or enhancement points... exist to vlaidate Material No.
Can any one please let me know the procedure how to do if enhancement points exists?
Error : RPERF_ILLEGAL_STATEMENT
Statement "RFC-SYSTEM RFC_ID id RFC_VALUE value" is not allowed in this form.
There is probably an error in the program
The program was probably called in a conversion exit
or in a field exit. These are implemented by
function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or
Conversion exits are triggered during screen field transports or
WRITE statements, field exits during field transports from the
screen to the ABAP/4 program.
In this connection, the following ABAP/4 statements are not allowed:
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- MESSAGE W... and MESSAGE I...
- COMMIT WORK, ROLLBACK WORK
Thanks in Advance,