‎2007 Aug 13 9:41 PM
Hi Experts,
This is part of a standrad sap program.
module check_kurs_extend input.
data: length type p.
data: extend_error.
if pppar-fcode eq insert or pppar-fcode eq quick or
pppar-fcode eq cop or "VWMCOP
pppar-fcode eq plvo or pppar-fcode eq change. "VWMA136859
describe table dyn_tab lines dyn_tab_lines.
if p1002-subty eq '0004'.
Kurstexterweiterung
clear extend_error.
loop at dyn_tab.
PERFORM ACT_LENGTH(SAPFH5AM) USING DYN_TAB-VDATA LENGTH.
length = strlen( dyn_tab-vdata ). "VWMD057827
if length > 40.
if sy-binpt is initial.
message s735(pp).
else.
message e735(pp).
endif.
extend_error = 'X'.
exit.
endif.
endloop.
if extend_error eq space.
if dyn_tab_lines > 3.
extend_error = 'X'.
if sy-binpt is initial.
message s736(pp).
else.
message e736(pp).
endif.
endif.
endif.
if extend_error ne space.
clear ok-code.
endif.
else.
clear extend_error.
endif.
endif.
endmodule.
I want to make a change in this. Instead of if dyn_tab_lines > 3 I want if dyn_tab_lines > 5.
How can i make this change this condition in standrad sap program.
Please help me out.
Thank you.
Admir.
Points will be rewarded.
‎2007 Aug 13 9:44 PM
Admir
No other way other than getting the <b>access key</b> for that program and then modify it.
But it is not suggestable to change the SAP Standard program other than in extereme cases. Check out there might be some other way through which you can solve your issue.
Regards,
Vinod.
‎2007 Aug 13 9:44 PM
Admir
No other way other than getting the <b>access key</b> for that program and then modify it.
But it is not suggestable to change the SAP Standard program other than in extereme cases. Check out there might be some other way through which you can solve your issue.
Regards,
Vinod.
‎2007 Aug 13 9:45 PM
best way would be to clone it as your own Z program - you really, really don't want to modify SAP standard unless you really, really need to.
‎2007 Aug 13 9:46 PM
Hello
I think you have to ask your basis team for the access key for this piece of code.
Anyways check if there is a note to apply for this matter, remember that you should not change the standard.
Bye
Gabriel