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

Sales User exit --Partner Function

Former Member
0 Likes
876

Hi,

We are upgrading to ECC 5.0

User doesn't enter ship to on the first screen of VA01.He enters only Sold to.

They go to items--> partner and enter 'SH' and corresponding value.

After they press enter, message about tax determination comes and userexit USEREXIT_NEW_PRICING_VBAP is invoked. I insert two partner functions in xvbpa. But once the partner screen comes again, these 2 partner functions are not shown there on partner screen. While we can see them in 4.5.

Please help out.

Thanks,

Anuranjan

8 REPLIES 8
Read only

Former Member
0 Likes
806

Hi,

Will truly appreciate if someone can reply fast. This is urgent.

Thanks,

Anuranjan

Read only

Former Member
0 Likes
806

Hi Anu,

Can you please tell what values are you passing to which fields.

Lokesh

Read only

0 Likes
806

Hi Lokesh,

Thanks for reply.

Here is the information

z_vbpa-posnr = xvbap-posnr.

z_vbpa-parvw = knvp-parvw.

z_vbpa-kunnr = knvp-kunn2.

select single * from kna1 where kunnr = knvp-kunn2.

z_vbpa-adrnr = kna1-adrnr.

z_vbpa-land1 = kna1-land1.

z_vbpa-adrda = 'D'.

z_vbpa-name1 = kna1-name1.

select single * from tpar where parvw = z_vbpa-parvw.

z_vbpa-nrart = tpar-nrart.

z_vbpa-fehgr = tpar-fehgr.

z_vbpa-spras = 'E'.

z_vbpa-updkz = 'I'.

Read only

0 Likes
806

Hi Anu,

Can you please debug the code and find out what is the value coming in the field knvp-parvw.

Sorry but there is no data available here on my system.

Lokesh

Read only

0 Likes
806

Sorry!!

Actually I do a select from KNVP and then populate it. You may read it as 'ZS' or any custom partner function.

Read only

0 Likes
806

Hi Anu,

Actually these partner fucntions are stored in SAP Tables with different names, whereas it is shown to the user depending on the language. Please check the data in your tables.....

Dont know whether it will help you...

Lokesh

Pls. reward appropriate points

Read only

0 Likes
806

Hi Lokesh,

In all languages the partner function is same. I understand the point your are trying to make. For example, AG is ship to in german while WE in other language and sometimes SH.

Thanks anyways.

Read only

Former Member
0 Likes
806

Does anybody knows if there is a function to translate a partner function code from a language to another.

So that would be easier to have a condition code, without knowing all codes in all languages.

Thanks

Matthieu Lefeuvre