cancel
Showing results for 
Search instead for 
Did you mean: 

Routines in VOFM

Former Member
0 Kudos

Hi all,

I had doubt in VOFM Routines, like if i create a routine in VOFM transaction it automatically creating two forms with names as <b></b> FORM KOBED_918 and FORM KOBEV_918<b></b> why ?

Points is sure ....

Thanks,

Anil.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is Related Form Requirement,

I done One requirement similar to this,

When we create sales order ,Output type Triggers.

some of the reason output type should not be trigger.

We return code

form

endform.

form

endform in Vofm Transaction

both form routine ,we need to write sy-subrc = 4 when ever condition does not match

Reward Points if it is helpful

Thanks

Seshu

Former Member
0 Kudos

Hi sesu,

Thanks for reply, but my question is why 2 forms are creating in VOFM Routine with the name

<b>FORM KOBED_918

FORM KOBEV_918. </b>

what is the meaning of KOBED and KOBEV .

Points is sure .

Thanks ,

Anil.

Former Member
0 Kudos

Yes the two forms are for header and detail processing seperately.

Former Member
0 Kudos

Hi,

KOBEV is used for adding requiriments related to header conditions. KOBED is used for adding reuirements related to both header and item conditions. If you put your routine in KOBED that is good enough. But if your requirement checks only header fields (like customer, order type etc), it is recommended to use kOBED for performance issues.

rgds,

bharat.

Answers (1)

Answers (1)

Former Member
0 Kudos

I had this question not too long ago, and I learned that one of these was for header processing and the other for detail processing.