2007 Jul 18 1:48 PM
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.
2007 Jul 18 4:32 PM
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---
2007 Jul 18 1:50 PM
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>
2007 Jul 18 1:51 PM
2007 Jul 18 4:32 PM
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---