Application Development 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: 

VA01 : Partner dialog box , custom fields

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

Hello Srinivas,

Thanks for youre reply, unfortunately I need to add other custom fields which the note is not specifying .

Thanks once again,

Jagruti

0 Kudos

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