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

modify table vbuk

Former Member
0 Likes
1,188

Hi all.

I need modify the field vbuk-cmgst in the program SAPMV45A.

To do it I wrote the code below:

vbuk-cmgst = iv_cmgst.

I hope it be committed in the standard commit of the program.

Is there a rule to modify standard fields in standard programs ?

thansk.

1 ACCEPTED SOLUTION
Read only

piyush_mathur
Active Participant
0 Likes
1,022

Hi Renato,

No Need to COMMIT. Transaction will commit itself after processing all the routines.

Thanks

Piyush

Rewards points, if helpfull

6 REPLIES 6
Read only

piyush_mathur
Active Participant
0 Likes
1,023

Hi Renato,

No Need to COMMIT. Transaction will commit itself after processing all the routines.

Thanks

Piyush

Rewards points, if helpfull

Read only

Former Member
0 Likes
1,022

Hi Renato Alves,

Whenever you try modifying a tabel , to avoidd deadlocks, you can use the Enqueue and Dequeue functions.

Incase if u need more clarification , reply back

Reward If useful.

Regards,|

Chitra.

Read only

JozsefSzikszai
Active Contributor
0 Likes
1,022

"Is there a rule to modify standard fields in standard programs ?"

There is only one rule:

Don't do that!

ec

Read only

0 Likes
1,022

Hi Eric.

But if I do it in an exit include ?

The problem is I have already a routine that do that, I have to improve the code, because it does not respect the LUW.

Thanks again.

Read only

0 Likes
1,022

I think it has to be Ok, however I don't understand what is wrong with the LUW here. Which exit is it? What happens in real time and what would you expect?

Read only

0 Likes
1,022

Sorry but I didnt explain well!

The problem is not the LUW standard of the exit. But a Z modification that needed be fixed!!

But I got a standard solution. Modifing the sales document type in SD module!!

Thanks again!!

Renato