Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bdc- error. se38.

Former Member
0 Likes
1,388

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,192

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

Read only

1,192

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 🙂

Read only

matt
Active Contributor
1,192

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

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,192

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".

Read only

Former Member
0 Likes
1,192

Dear Madhu Babu Panasa,

Have you try this two function module?..

May be it will help you..

STRING_REPLACE

REPLACE_STRING

Regards,

Sivaraj Sadasivam..