‎2007 May 21 9:31 PM
Hi Guys,
I got a spek to add an additional "check" statement to SAP standard requirement 002 (LV61A002). My question is how to make the modification work. Do I just change the Include program in SE38, or I need to do some extra work to make it work. Thx in advance! The source code of standard include program is shown as follow:
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.
‎2007 May 22 12:09 AM
Hi,
Go to transaction VOFM..
in the menu..choose.
REQUIREMENTS -> PRICING..
At the end of the rows...Give a new number that should be greater than 600...
Ex..601
And give a description..
Press enter...It will ask for access key...Give the access key for the corresponding object.
Then select that row ...and in the menu...EDIT -> ACTIVIATE...To activate the routine..
Then press the source code button..t will take you to the code..There you can write code..
Then configure this routine in the pricing procedure V/08..
Thanks,
Naren
‎2007 May 21 9:51 PM
Hi,
Create a new routine in the transaction VOFM..
Then copy the code from the routine 002...
And add your code..
Thanks,
Naren
‎2007 May 22 12:04 AM
Hi Naren,
Thanks for your early reply. How can I create another routine. We r using ECC 6. And the Menu path for the Include program is Requirement>Pricing>Routine Number 2
‎2007 May 22 12:09 AM
Hi,
Go to transaction VOFM..
in the menu..choose.
REQUIREMENTS -> PRICING..
At the end of the rows...Give a new number that should be greater than 600...
Ex..601
And give a description..
Press enter...It will ask for access key...Give the access key for the corresponding object.
Then select that row ...and in the menu...EDIT -> ACTIVIATE...To activate the routine..
Then press the source code button..t will take you to the code..There you can write code..
Then configure this routine in the pricing procedure V/08..
Thanks,
Naren
‎2007 May 22 1:25 AM
‎2007 May 23 9:42 PM
Also, do not forget to activate your routine everytime you transport it to a different client.
Program to activate your routine is RV80HGEN
Thanks!