2005 Mar 15 5:02 PM
In the sales order transaction when a sold-to-party has multiple ship-to-parties attached, a dialog box is displayed containing address and other info .
In additon to the standard fields available on the dialog box if other fields like the Name1 , sortl , tax field from the partner need to be added then the fields are coming from the structure SDPARTNER_ENHANCED_KUPAV, this structure is in turn getting filled from the structure sdpartnerlist.
The values are not getting populated in the structure SDPARTNERLIST or SDPARTNER_ENHANCED_KUPAV.
I have found a sap note 362861 with a similar egs, which states that the standard sap program LV09CF11 needs to be modified . Debugged LV09CF11 and found that the values are not getting pulled in .
Is there any other way to do this , I am not comfortable about modifying the standard SAP program LV09CF11
Thanks in advance
2005 Mar 15 7:04 PM
Hi Jagruti,
Unforunately there is no option except to make that change. However, the note you mentioned also states that this functionality will be available in higher versions. So if there an upgrade plan in the near future, you may not have to make this change.
Srinivas
2005 Mar 15 7:04 PM
Hi Jagruti,
Unforunately there is no option except to make that change. However, the note you mentioned also states that this functionality will be available in higher versions. So if there an upgrade plan in the near future, you may not have to make this change.
Srinivas
2005 Mar 15 7:33 PM
Hello Srinivas,
Thanks for youre reply, unfortunately I need to add other custom fields which the note is not specifying .
Thanks once again,
Jagruti
2009 Dec 16 2:58 PM
Hi Jagruti,
I had the same requirement.
So I appended both structures SDPARTNERLIST and SDPARTNER_ENHANCED_KUPAV with the needed fields in Z-Appends.
Then I used the SMOD-enhancement V09A0004 with the Function EXIT_SAPLV09A_004 to poulate the fields.
Here is the coding for KNVV-KVGR1:
tables: Knvv.
loop at FRT_DETERMINATED_PARTNERS
where
parvw eq 'WE'.
clear knvv.
select single * from knvv
where
KUNNR = FRT_DETERMINATED_PARTNERS-KUNN2 and
VKORG = FRT_DETERMINATED_PARTNERS-vkorg and
VTWEG = FRT_DETERMINATED_PARTNERS-vtweg and
SPART = FRT_DETERMINATED_PARTNERS-spart.
FRT_DETERMINATED_PARTNERS-kvgr1 = knvv-kvgr1.
modify FRT_DETERMINATED_PARTNERS.
endloop.
Hope that helps you.
Kind Regards
Martin
Edited by: Martin Schlegel on Dec 16, 2009 4:02 PM