‎2007 Feb 19 9:47 AM
hi,
i m new to user exit and i have been assigned an object on it n its very urgent.
use the include MV45AFZZ - User Exit --userexit_save_document or userexit_save_docuemnt_prepare. i need to do is to create an algorithm to create ALPHA number range . Also i need to check for exceptions from a cutom table which conatins some prohibitary words.
if any one have indea on this,do help.
thanx in advance.
Vishal.
‎2007 Feb 19 10:03 AM
Hi Vishal,
You can write the code in userexit_save_document.This is where u can put checks to the table that u r reffering to.But before that u need to check whether the fields that you are operating on are populated in the perform userexit_save_document.
Just goto that perform, put a breakpoint.Then goto the order and run it after putting all the values and save.It will take u to that perform.Here u can check for the fields for editing.
If u r getting the required fields,then u can put the code in that perform..
Just go through the description below that perfoem for additional info...
Reward points if found useful...
‎2007 Feb 19 10:03 AM
Hi Vishal,
You can write the code in userexit_save_document.This is where u can put checks to the table that u r reffering to.But before that u need to check whether the fields that you are operating on are populated in the perform userexit_save_document.
Just goto that perform, put a breakpoint.Then goto the order and run it after putting all the values and save.It will take u to that perform.Here u can check for the fields for editing.
If u r getting the required fields,then u can put the code in that perform..
Just go through the description below that perfoem for additional info...
Reward points if found useful...
‎2007 Feb 19 11:19 AM
Hi shushant,
thanx for yr help.
but still i m wondering,hw to create algorithm to create alpha number range.
if u cld focous light on this.
thanx.
vishal.
‎2007 Feb 20 2:36 PM
hi sanjay,
i m new to user exit n i have been assigned an object on enhancement.
i m sending you the requirement,if u have idea on that do help.
the requirement is.....
i have to use the include MV45AFZZ - User Exit --userexit_save_document or userexit_save_docuemnt_prepare. i need to do is to create an algorithm to create ALPHA number range . Also i need to check for exceptions from a cutom table which conatins some prohibitary words.
in more detail,The User Exit for this should be at document Save to prevent creating numbers that do not become Sales Orders.
The field VBKD-IHREZ should be Display Only for the PM( philip morris) Document Types, only changed by the generation program update. This will be controlled through configuration of Transaction Code SHD0 - Field Display Characteristics> Configure Application Transaction Fields.
and also to have a unique 5-character alpha order number generated and retained with the sales order
thanx in advance.
Vishal.