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

User-Exit.

Former Member
0 Likes
546

HI friends,

i have a doubt in User-Exit.

i have an enhancement:V45A0002

It's purpose is: Predefine sold-to party in sales document

What does it mean?..is it mean that when ever i go to va02 screen after given sd document number, in the 2nd screen it will automatically displays the sold-to-party in the screen which we mention in the code?..how to write the code for this?

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
527

HI

just go to SMOD then enter the exit name.

then goto COMPONENTS there you will have a functional module. double click the FM it show a include program

type the code in the include program

i.e E_KUNNR = <your customer id>

regards

kishore

5 REPLIES 5
Read only

Former Member
0 Likes
528

HI

just go to SMOD then enter the exit name.

then goto COMPONENTS there you will have a functional module. double click the FM it show a include program

type the code in the include program

i.e E_KUNNR = <your customer id>

regards

kishore

Read only

Former Member
0 Likes
527

HI Jak,

that means for certains sales group, sales office you can fix the sold to party for that particular sales order. for the sales group, slaes office combination you are predefining Sold-to party, it is depends on customization.

Regards

vijay

Read only

0 Likes
527

Thank You.

Read only

Former Member
0 Likes
527

Hello Jak,

This user exit will help u to derive a sold to party. If u check this enhancement it call FM EXIT_SAPMV45A_002 which has exporting para as Kunnr.

So this enhancement will not automaticaly prompt.

Create a project by useing CMOD. Add this enhancement to this project. Goto components and double click on the FM. Then double click on the include in the FM. This will open ABAP editor for u.

Design ur own logic and finally push values to E_KUNNR.

Abhijit

Read only

Former Member
0 Likes
527

Hi,

1. Goto CMOD

2. Create a new project

3. Enhancemen assignmen button

4. Specify the Enhancement name

5. Click the component button

6. Select the exit name and activate

7. Double click on the exit name

8. Now double click on the include

9. Edit the code and pass the imported parameter to

E_KUNNR.

Regs,

Venkat Ramanan