Skip to Content
0

bdc- error. se38.

Oct 24, 2016 at 08:32 PM

119

avatar image

Hi All,

I have to replace string of particular line of source code automatically. so I have recorded se38 using shdb. I use cntrl+O to go to that particular lin eand cntl+F to replace string. when i am processing recording its stop at edit mode and continuing after hiting cntl+O using key board. same with cntl+F. After that I tried click on Find icon. and bug is same. Is there any function module to repalce string of particular program at particular line. I have tried RS_EDTR_REPLACE2. i have not got it. please help me out. Thanx in advance.

With Regard's

Madhu

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Matthew Billingham
Oct 25, 2016 at 07:36 AM
1

Don't use BDC. Use READ REPORT, do your replacements, use INSERT REPORT.

Share
10 |10000 characters needed characters left characters exceeded
Martin Shinks Oct 25, 2016 at 06:06 AM
0

Please please please tell me why you would need to replace a line of code in a program .

Show 1 Share
10 |10000 characters needed characters left characters exceeded

There are tons of causes linked a bad programming practice.

I once had to replace all the "BDG" fix value in currency conversion, looking thru 5K reports/userexit/BAdI/FM, for example.

Or replacing a fix default (i.e. werks = "MYWK") with its corresponding memory id or parameter id.

Something I ereditated from 15 years of stratified developments and I had to fix.

So a massive replace could have a reason :)

2
Sandra Rossi Oct 25, 2016 at 07:47 AM
0

If you need to do it once, you may find/replace text in several programs via SE80, by selecting them and use contextual menu "Replace".

Share
10 |10000 characters needed characters left characters exceeded
Sivaraj Sadasivam Oct 26, 2016 at 06:03 AM
0

Dear Madhu Babu Panasa,

Have you try this two function module?..

May be it will help you..

STRING_REPLACE

REPLACE_STRING

Regards,

Sivaraj Sadasivam..

Share
10 |10000 characters needed characters left characters exceeded