on 01-25-2010 5:27 PM
Hello, is there a way, when you create a new realignment step, how to set "Delete soure" = True and Copy Logic=A
as default
We have today programmed it in :
Transaktion : /SAPAPO/RLGCOPY
Program : GP447FE7ONSOE0DA51EJL4K7QYQ
We would like to find a "standard" solution/customizing , as we are missing the changes due auto generated programs
Thanks in advance
Br. Jan Juhl
Hi,
In standard there is no customzing setting to set default values .
You can modify the following lines in the report /SAPAPO/TS_PSTRU_SAMPLE_REALIG
**>>
CALL FUNCTION '/SAPAPO/TS_RLG_GET_LABEL'
EXPORTING
IV_FIELD_ID = GC_FI_DELSRC
IMPORTING
EV_FIELD_DESCRIPTION = GV_FIELD_DESCRIPTION .
tx_delsr = GV_FIELD_DESCRIPTION.
ed_delsr = gs_rlgn_tab_row-DELSRC. >(replace this line with the code:
if gv_rlgn_mode = gc_new and gs_rlgn_tab_row-DELSRC is initial.
ed_delsr = 'X'.
else.
ed_delsr = gs_rlgn_tab_row-DELSR.
endif. )
***<<
***>>
CALL FUNCTION '/SAPAPO/TS_RLG_GET_LABEL'
EXPORTING
IV_FIELD_ID = GC_FI_LOGIC
IMPORTING
EV_FIELD_DESCRIPTION = GV_FIELD_DESCRIPTION .
tx_logic = GV_FIELD_DESCRIPTION.
if gv_rlgn_mode = gc_new and gs_rlgn_tab_row-LOGIC is initial.
ed_logic = 'M'. ---> (replace 'M' with 'A')
else.
ed_logic = gs_rlgn_tab_row-LOGIC.
endif.
The report //TS_PSTRU_SAMPLE_REALIGN is not a normal program, so it will
have synatx errors. read note 335528 regarding this.
If you make changs to standard templete then every generated program take these changes,so no need to change every
generated program eery time.
Regards,
Sunitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.