2009 Oct 15 1:25 PM
While saving MIRO, we have some checks to do, and if they are true, we need to change the payment conditions to our ZTERM. I need to know where ( user-exit ) we can do this and be sure that will save correctly in all tables that contains the field zterm.
While saving MIRO, we have some checks to do, and if they are true, we need to change the payment conditions to our ZTERM. I need to know where ( user-exit ) we can do this and be sure that will save correctly in all tables that contains the field zterm.
2009 Oct 15 1:39 PM
2009 Oct 15 3:06 PM
Hi Pablo,
this badi doesn´t update the 'zterm' field. And it´s have to be made at the 'save moment'.
2009 Oct 15 3:18 PM
2009 Oct 15 3:47 PM
Hi Pablo,
the abap put a stop at the badi, and stopped at the SAVE moment as we need. We forced the value 'SUCT' that we need in the field RBKP-zterm, but this value was not saved. It was saved the PO zterm again ( D10 )...
2009 Oct 15 4:06 PM
Hi,
try this within the badi:
CONSTANTS: c_zterm(21) TYPE c VALUE '(SAPLMR1M)RBKPV-ZTERM'.
FIELD-SYMBOLS: <fs_zterm> TYPE ANY.
ASSIGN (c_zterm) TO <fs_zterm>.
<fs_zterm> = 'HERE_GOES_YOUR_VALUE'.
but be careful and think twice about the consequences of changing ZTERM here.
Regards.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |