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

Include program MV45AFZZ

Former Member
0 Likes
2,402

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,772

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

8 REPLIES 8
Read only

Former Member
0 Likes
1,773

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

Read only

0 Likes
1,772

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

Read only

0 Likes
1,772

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

Read only

0 Likes
1,772

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

Read only

0 Likes
1,772

No issues. You can do it directly.

Thanks,

Srinivas

Read only

0 Likes
1,772

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.

Read only

Former Member
0 Likes
1,772

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

Read only

0 Likes
1,772

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