12-28-2007 7:54 AM
hi folks,
Using enhancements can i update the screen value?? i need to update the miro transaction header text value with a predefined value?? pls let me know if this is possible through enhancement points?
12-28-2007 8:44 AM
hi
yes it is possible.
you can do it by writing a piece of code in user exit for this transaction.
just search user exit for this transaction and fill the screen fields with pridefined values there.
1.an easier way to find user exit is
2.goto the transaction for which you want to find user exit.
3.check its program name say 'sapxyz'.
4.now goto se37 enter 'EXIT_sapxyz_*' AND PRESS F4.
this will give u all the exits called in this program.
regards
vijay
reward points if helpfull
12-28-2007 9:38 AM
Hello,
Above answer is ok. However, other way you can try is to search for enhancements in the standard code. In debugging mode search for statemets that start with 'enhancement'. Breakpoint --> Breakpoint at --> Breakpoint at Statement.
Then create an implementation for this enhancement. In this implementation you can stablish the value for header text. In this way: header_text_val (field's name in the screen) = desired_value.
Sometimes it is not so easy because the standard transfers the dynpro fields values to other tables and you have to modify the value in this tables but you can try the easiest way first.
I hope it will help you.
12-28-2007 9:39 AM
12-28-2007 9:54 AM
Hi
you can use INVOICE_UPDATE BADI for updating the value.
Inside this badi call CREATE_TEXT for creating a header text .
Reward points if Helpfull.
Regards,
Hiren Patel