10-11-2007 7:15 PM
hi all...
CC:to Anjith
how to creat an include program in "MV45AFZZ"....for USER exit....VA01
Pls post ur comments...on urgent basis.
thnanks & regards
sankar
10-11-2007 7:30 PM
Hi,
You don't need to create other include program.
You can add your code in include program MV45AFZZ in the appropriate subroutine.
Hope it helps.
Thanks,
Srinivas
10-11-2007 7:30 PM
Hi,
You don't need to create other include program.
You can add your code in include program MV45AFZZ in the appropriate subroutine.
Hope it helps.
Thanks,
Srinivas
10-11-2007 8:32 PM
Dear srinivas,
my client requirement is this...
In va01 or va02.....i've to restrict the end user upto the maximum of 4 line items, they can able to give at a single time...while entering 5th....it throws an error and revert back to the main......(restricting to 4 line items)...and also saving the same to the table xvbap or vbap....
Just advise me...how to go for it.....
Expecting ur reply...
my mail-id is sankar1781@gmail.com....
will come and check ur mail tom mng since i've to leave right now....
Pls post ur comments.....and check here tomorow for my reply....dont mind,pls
bye
sankar
10-11-2007 11:11 PM
Hi Sankar,
Try to give the below code in the include MV45AFZZ.
FORM USEREXIT_MOVE_FIELD_TO_VBAP
DATA: V_LINES TYPE I.
DESCRIBE TABLE XVBAP LINES V_LINES.
IF V_LINES > 4.
ERROR MESSAGE.
ENDIF.
Hope it helps.
Thanks,
Srinivas
10-12-2007 6:52 AM
thanks Srinivas,
If we change/including a program in d std MV45AFZZ thru Access key...
is there any problem in our future process.....belongs to client actually....
Pls advise
Anyway thanks a lot
sankar
10-12-2007 4:41 PM
10-15-2007 12:09 PM
First you take access key from ur Basis people, then write your code in another include program in inclu. MV45AFZZ.
As per my exp., it would be good write ur code in another include program. Later ur clinet may go for another exits in MV45AFZZ, in this situation ur code doesn't disturb another's code & easy to understand.
While testing ur code use user-check. if sy-uname = ''.
Reward if it useful 2 u.
10-11-2007 7:45 PM
Hi
MV45AFZZ is the Std Include program in the Sales order Main Transaction Program SAPMV45A
so there is no need to create it
just goto Se38
enter this you will see
only thing is that if you are changing it for the first time it may ask the access key, so take it from the BASIS guy and change it and add your code at the respective place and check it
Regards
Anji
10-11-2007 8:11 PM
Hi anji,
If i do that.....it wont affect the process at any way....??
y im asking u.....some other abapper guys....saying that its not advisable...since v r in client/server relationship.....
If u sure...no probs....of changing this thru....access key.....bcos im in client implementation project....
Pls advise.....
thanks
sankar