on 11-21-2012 1:04 PM
Hi All,
in VA01 after entering the Sold-To-Party number a popup comes up with all the different partners. As far as I know this is done in FM SD_PARTNER_DETERMINATION.
In this popup partners that were flagged for deletion in transaction XD06 (table KNA1-LOEVM) are also shown there. We want to change this so that partners that are flagged for deletion will be excluded and cannot be selected.
How is this possible? Is there a user exit or should I modify the FM SD_PARTNER_DETERMINATION? Please give me a hint.
Thanks in advance for all your help.
Kind regards,
Klaus
Klaus,
You can configure the partner determination system to use a user exit that will accomplish this.
The user exit is called by setting the field called ORIGIN TABLE in the partner determination procedure customization.
SPRO path: Sales and Distribution
Choose "Set Up Partner Determination for Sales Document Header"
Setting the ORIGIN TABLE to one of the user exit codes (X, Y, or Z) for the SH partner function causes the standard FM SD_PARTNER_DETERMINATION to call on this procedure. ORIGIN TABLE = X will call strategy X. ORIGIN TABLE = Y will call strategy Y.
Create the user exit with a CMOD project that has the SAP standard enhancement V09A0003 assigned. Write your code in the include program ZXV09U03.
Regards,
Ken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ken,
Thanks so much for your answer. Great.
I have one more question to you: how can I implement the include ZXV09U03??
I did a test like this...
fef_new_partners = 'X'.
fet_determinated_partners-parnr = 'XXXXXXXXXX'.
APPEND fet_determinated_partners.
(Assume XXXXXXXXXX is a valid partner for Sold-To-Party YYYYYYYYYY)
This did not work. XXXXXXXXX did not come up in my popup window. I could not see it. So what do i do to code include ZXV09U03??
Thanks in advance.
Klaus
You code looks reasonable, assuming that the partner number you put into fet_determinated_partners-parnr is valid.
Did you activate the CMOD project? The function module that invokes include ZXV09U03 does not get called if the CMOD project is not active. There are icons for project activation and deactivation on the CMOD screen. There is also an application help icon with good documentation.
Regards,
Ken
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.