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

facing problem with user exit.

Former Member
0 Likes
443

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
413

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...

3 REPLIES 3
Read only

Former Member
0 Likes
414

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...

Read only

0 Likes
413

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.

Read only

0 Likes
413

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.