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: 

vofm routines

0 Kudos

Hi All,

I am trying to stop the creation of output messages when the user modifies a custom PO

I created a VOFM routine, application EF, with number 902. Activated it. Checked table TFRM to make sure it is active.

But when I put a breakpoint there, the code execution doesnot seem to pass from that part. Breakpoints do not get hit.

Any ideas as to what might be happening?

10 REPLIES 10

ankurch
Active Contributor

Please check whether your output has been regenerated while processing the transaction code for ME22N!

Thanks,

0 Kudos

I do not understand what your are saying. can you explain pls?

ankurch
Active Contributor

Just goto ME22N, click on message here check if your message output has been done, then system should not allow you to make changes!

Thanks,

former_member182550
Active Contributor
0 Kudos

have you run RV80HGEN ?

0 Kudos

RV80HGEN being only needed in target system right after routines have been transported. Otherwise the ABAP code is not regenerated and is unchanged.

0 Kudos

Yes I did but no luck

Sandra_Rossi
Active Contributor
0 Kudos

The VOFM routines are often called from within the update task, so you must switch on the "update debug" mode (cf procedure here: https://archive.sap.com/discussions/thread/1586576)

0 Kudos

I did

FORM KOBED_902.
  BREAK-POINT 'myusername'.
ENDFORM.
FORM KOBEV_902.
  BREAK-POINT 'myusername'.
ENDFORM.

used /h in the tcode text field to activate the debugger

when I got into debugging, I went into settings==> change debugger profile/settings and checked update debugging

still it is not stopping at my routine

0 Kudos

Could you run an ABAP trace to make sure this form is called? (or MESSAGE ... TYPE 'X' to make it short dump, check ST22 afterwhile)

(PS: it's either the macro BREAK 'myusername', or BREAK-POINT alone)

kiran_k8
Active Contributor
0 Kudos

Mike,

Refer to my reply in the below mentioned thread...

https://archive.sap.com/discussions/thread/3518177

K.Kiran.