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

Creating a new routine in VOFM Tcode

Former Member
0 Likes
419

Hi,

I got a requirements to add CHECK MARA- EXTWG NE space and VBAK-AUART) is ZAFO to the standard include LV61A002.

coding for the include is in this way

  • Pricing is turned on in item category configuration (TVAP)

form kobed_002.

sy-subrc = 4.

if komp-kposn ne 0.

check komp-prsfd ca 'BX'.

check komp-kznep = space.

endif.

sy-subrc = 0.

endform.

*prestep

form kobev_002.

sy-subrc = 0.

endform.

In This code where I have to add my two conditions.urgent plz

Hi,

I got a requirements to add CHECK MARA- EXTWG NE space and VBAK-AUART) is ZAFO to the standard include LV61A002.

coding for the include is in this way

  • Pricing is turned on in item category configuration (TVAP)

form kobed_002.

sy-subrc = 4.

if komp-kposn ne 0.

check komp-prsfd ca 'BX'.

check komp-kznep = space.

endif.

sy-subrc = 0.

endform.

*prestep

form kobev_002.

sy-subrc = 0.

endform.

In This code where I have to add my two conditions.urgent plz

1 REPLY 1
Read only

Former Member
0 Likes
345

Go to the routine number that needs to be copied.

Put your cursor on the routine number field that needs to be copied.

Overwrite that number with your new routine number and hit enter.

The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.

Ex.

You have to copy routine 104 to 904

Routine number Description Active

104 Bill.bus.item data X

Put your cursor on 104 and then change it to 904 and hit enter.

904 will be created as a copy of 104 and you can make your changes in 904.

Don't forget to activate it after you are done.

Hope it helps.

Cheers,

rewards point.