Application Development 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: 

modify table vbuk

Former Member
0 Kudos

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

piyush_mathur
Active Participant
0 Kudos

Hi Renato,

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

Thanks

Piyush

Rewards points, if helpfull

6 REPLIES 6

piyush_mathur
Active Participant
0 Kudos

Hi Renato,

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

Thanks

Piyush

Rewards points, if helpfull

Former Member
0 Kudos

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.

JozsefSzikszai
Active Contributor
0 Kudos

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

There is only one rule:

Don't do that!

ec

0 Kudos

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.

0 Kudos

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?

0 Kudos

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