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: 

How to get Business Partner from Installation in SAP- utilities?

vinothkumar_g
Advisor
Advisor
0 Kudos
2,049

HI Experts,

Is there any bapi where i will get the business partner by giving Installation as input in SAP-utilities.

Transaction code - es32.

Input any installation number.

then enter.

You can find the current business partner field.

Or any table which will have the relationship between installation and BP.

Points will be awarded.

Regards,

Vinoth.

1 ACCEPTED SOLUTION

kathryn_mcgallicher
Active Participant
373

Hello,

In Utilities, you can get to the business partner for an installation by this path if you can start with table EANL (installation):

join EANL to EVER using ANLAGE

join EVER to FKKVKP using VKONTO

the field in FKKVKP is GPART

if you need partner details, you can further join FKKVKP to table EKUN and/or BUT000

if you want the current, active customer, check for EVER-AUSZDAT > sy-datum, which will denote a contract that has not moved out yet

K---

3 REPLIES 3

Former Member
0 Kudos
373

Am not on SAP system now, i guess there is one table

for partner with structure BAPIPARNR. You can use this to

change the partner details.

You have to use PARTN_ROLE like AG for Sold-TO, SH for

Ship-to etc...

PARTN_NUMBER for Customer Number

and remaining details whichever you want to populate.

Please try exploring on the same.

As per the error mesg in your post, i guess you are

trying to change details for customer EHO, can you check

if the customer exists for the sales area in your sales

order via transaction XD03. Alternatively you can also

check in tables KNA1,KNV*.

<b>Rewrads for useful answer</b>

Former Member
0 Kudos
373

<b>Follow this link:-</b>

<b>Rewards point for useful answer.</b>

Regards...

Abhay Singh

kathryn_mcgallicher
Active Participant
374

Hello,

In Utilities, you can get to the business partner for an installation by this path if you can start with table EANL (installation):

join EANL to EVER using ANLAGE

join EVER to FKKVKP using VKONTO

the field in FKKVKP is GPART

if you need partner details, you can further join FKKVKP to table EKUN and/or BUT000

if you want the current, active customer, check for EVER-AUSZDAT > sy-datum, which will denote a contract that has not moved out yet

K---