Vi01 - Issue in conversion of partner function data in VTPA table
Dear All,
In VI01 tcode while creating shipment cost document, system gives error message as see log.
"Item not created because service agent CR not in reference document".
When debug, it is found that system is not converting data of table VTPA from PARVW (SP) to CR in following FM.
SD_SCD_ITEM_INITIALIZE
at line no. 55
* determine relevant partner
READ TABLE I_REFOBJ-VBPA INTO L_VBPA_WA
WITH KEY POSNR = I_TSNUM
PARVW = I_TVFT-PARVW BINARY SEARCH.
please help if anyone has idea of this type of error.
Thanks in advance,
Rajesh Vasudeva
In general I would focus on the message "Item not created because service agent CR not in reference document"
Do you have any proof that a CR partner is in the reference document? screen shots from document or table?
You probably know that a partner function key is a German abbreviation SP = Spediteur
And in customizing you actually maintain that SP is e.g. CR for carrier in english
Looking at your document you should then see a partner CR, looking into the table you would see a SP if the conversion exit is not active in your SE16, or you see a CR if the conversion is activated.
So far the coding does not tell much.
But the message says that a CR partner is missing.
I would suggest you check your customizing to find the relation from the original key to your CR.
then check the reference documents if you have a partner for this role.
Similar Messages
-
VENDOR SEGEMNT, IN THE 3rd Purchasing Orgnization Data,( in one of the partner function data) in that what is that function of partner function data
The partner function can be used in purchasing. For example a vendor ordering goods which will be paid by the companies headquarters. In the partner functions you can distuingish between ordering and paying party.
Regards,
Johan -
Table containing Partner Functions Data for a specific Vendor
Hi SDN members
I'm building an iView on our Supplier Portal, and part of our "Welcome iView", we want to show supplier (vendor) relevant information contained in the Vendor Master. One of them is to show their Quality Partners in Read mode, including their phone # and email address. However, I cannot find the tables linking a Vendor to all the "partners" listed in the Display Vendor : Partner Functions Screen. Do you happen to know where this data is? Also, all the details for a given partner is contained somewhere else, which table(s) would that be?
Thanks in advance for your collaboration!
Eric L.Hi,
Vendor partner functions are stored in table WYT3.
Cheers ! -
Change partner function data in PO using EXIT_SAPMM06E_013(MM06E005)
Hi all,
I have an issue related to partner functions while creating purchase order.In the user exit MM06E005, we have EXIT_SAPMM06E_013 which is triggered when PO is created from Preq using tcode ME59. There is a table XEKPA in the fn mod EXIT_SAPMM06E_013 which holds the various partner function records corresponding to the PO.
In our case we get two records in that table, the 2nd record corresponding to partner function 'BA' (german) /'OA'(ENGLISH). ( U can find these in table 'WYT3' for partner functions where OA/BA is for ordering address of the vendor.) I am trying to modify this record corresponding to 'OA'. But when the PO is created and when I go to Partners tab in ME23N, I am not able to see the change I made in the internal table 'XEKPA' within the exit. Am I missing something while changing or should I go for a totally new exit/BADI for modifying this?
Please help,
Thanks,
steveHi Steve,
Please try like this.
DATA: WA_XEKPA LIKE UEKPA,
WA_IDX LIKE SY-TABIX.
READ TABLE XEKPA INTO WA_XEKPA
WITH KEY PARVW = 'BA'.
IF SY-SUBRC = 0.
WA_IDX = SY-TABIX.
WA_XEKPA-LIFN2 = '0000600100'.
MODIFY XEKPA INDEX WA_IDX FROM WA_XEKPA
TRANSPORTING LIFN2.
ENDIF.
Regards,
Ferry Lianto -
Issue with Update / Overwrite Partner functions after a customer is created
Hi All,
I have been using the standard program RFBIDE00 in LSMW to update / insert the business partners. I could update different partners for PY,SH after a customer is created but for only BP one more entry is getting added instead of updating the existing entry
Could anyone please let me know why this is happening.
SP Sold-to party 6353240
BP Bill-to party 6353240
*BP Bill-to party 6353538* ENTRY WHICH GOT ADDED
PY Payer 6353241
SH Ship-to Party 6353240
Thanks in Advance
Vijay....Hi All,
I have been using the standard program RFBIDE00 in LSMW to update / insert the business partners. I could update different partners for PY,SH after a customer is created but for only BP one more entry is getting added instead of updating the existing entry
Could anyone please let me know why this is happening.
SP Sold-to party 6353240
BP Bill-to party 6353240
*BP Bill-to party 6353538* ENTRY WHICH GOT ADDED
PY Payer 6353241
SH Ship-to Party 6353240
Thanks in Advance
Vijay.... -
Hi all,
I have an issue. I have created a customer say 'A' and a ship to party say 'B' and 'C'.
In customer master of 'A', I have assigned ship to party 'B'. At the time of order creation for 'A', system shows me 'B' as possible option for ship to party. I manually enter ship to party C there and system does not give any error. I want that system should accept only those ship to parties that are maintained in customer master at the time of sales order creation.
Any idea for that?
Many Thanks
Best Regards,
AI.Dear AI,
Try this:
IMG - Sales and Distribution - Basic Functions - Partner Determination - Set Up Partner Determination - Set Up Partner Determination for Sales Document Header -
Select TA - Standard Order & then select Partner FUnctions in Procedure (from Left side).
Here for the required Partner Functions (SP, SH, BP & PY) in Origin (Table) maintain "C"
C - stands for - Partner function from customer master (table KNVP).
This will ensure that partner Functions are taken only from Customer Master.
Hope this helps...
Thanks,
Jginesh Mehta -
Regarding finding out Partner function based on Sales Order/Output Type
Hi All,
<b>I have a issue in finding out Partner function[PARVW], Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
Can anybody solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.Check this FM
WFMC_MESSAGES_SELECT
example
tables : nase.
constants: appl like nase-kappl value 'V2'.
select-options:
rg_nacha for nase-nacha default '1',
rg_kschl for nase-kschl.
ranges: rg_objky for nast-objky.
data:
msgs_1 like msg0 occurs 100 with header line.
*-Fill Object Key
*-Execute fm
call function 'WFMC_MESSAGES_SELECT'
exporting
pi_application = appl
pi_processing = '1'
tables
ri_medium = rg_nacha
ri_type = rg_kschl
ri_object = rg_objky
tx_messages = msgs_1. -
Order Partner Functions for VENDORs
Hi All,
We are using CRM 5.0 and ECC 6.0. We successfully replicated all the VENDORs from ECC to CRM BPs with BBP000-VENDOR role as this features is supported from CRM 5.0.
We are now trying to get the VENDOR Partner functions replicate from ECC sales order to the Partner Functions for the CRM ORDERS. Looks like SAP doesn't support this feature yet. I am getting the Partner Functions (say Z1 - Freight Carrier ) but the partner data is BLANK. So i am working on a workaround.
My Issue I am using ORDER_SAVE BADI to enter a BP from CRM to this Partner Function that is coming empty to CRM. For some reason my code is not working. Below is my code
Data declarations for VENDOR Partner Function*********
data: lt_partner_ref type CRMT_PARTNER_EXTERNAL_WRKT,
ls_partner_ref type CRMT_PARTNER_EXTERNAL_WRK,
lt_partner type CRMT_PARTNER_COMT,
ls_partner type CRMT_PARTNER_COM,
lt_partner_act type CRMT_PARTNER_COMT,
lt_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM_TAB,
ls_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM.
data:lt_header_ref type crmt_object_guid_tab,
guid type crmt_object_guid.
guid = iv_guid.
insert guid into table lt_header_ref .
call function 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_header_ref
IMPORTING
et_partner = lt_partner_ref
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
others = 7.
Start of the code to VENDOR PARTNER FUNCTIONS for ORDER Heafer/Item ***********
Read table lt_partner_ref into ls_partner_ref with key partner_fct = 'Z0000007'.
if ( sy-subrc = 0 ).
ls_partner-kind_of_entry = 'C'.
ls_partner-partner_fct = 'Z1'.
ls_partner-partner_no = '0010060331'.
ls_partner-display_type = 'BP'.
ls_partner-no_type = space.
ls_partner-REF_HANDLE = '100'.
INSERT ls_partner INTO TABLE lt_partner.
ls_input_names-fieldname = 'KIND_OF_ENTRY'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_names-fieldname = 'PARTNER_FCT'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_names-fieldname = 'PARTNER_NO'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_names-fieldname = 'DISPLAY_TYPE'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_names-fieldname = 'NO_TYPE'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_names-fieldname = 'REF_HANDLE'.
ls_input_names-changeable = ' '.
INSERT ls_input_names INTO TABLE ls_input_field-field_names.
ls_input_field-ref_guid = ls_partner_ref-ref_guid.
ls_input_field-objectname = 'PARTNER'.
ls_input_field-ref_handle = '100'.
ls_input_field-logical_key = '0000'.
ls_input_field-ref_kind = 'B'.
INSERT ls_input_field INTO TABLE lt_input_field.
Endif.
call function 'CRM_ORDER_MAINTAIN'
EXPORTING
it_partner = lt_partner "I added this for VENDOR PF
CHANGING
ct_input_fields = lt_input_field
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
others = 5.
endmethod.
Could anyone check my code and suggest any changes?
Thanks,
Karuna.Hi ROshan,
Open customer master in XD02 sales view and save it then check in XD03 it should display the partner functions.
As you said the account group has been changed I think the records needs to be saved again. -
Upload partner functions to customer master using LSMW
Dear Friends,
I'm trying to uplaod customer partner functions data through LSMW. I have tried to upload the data using recording method in LSMW(Tr. code: XD02).
As per the business requirement, I need to upload multiple number(For example: 10 records) of SP(Sold to) partners to a single customer.
While executing session, instead of adding all 10 records of partner functions, only the last record(i.e 10th records) is adding in the customer master.
Your response will be highly appraciated.
Regards
SatishHi Satish,
You can't use XD02 to upload multiple partner functions by recording the transaction. It will not create multiple entries, always it will replace the existing ones with the new entry. you need to use the standard BI program or Idoc method do the same.
I know the scenarios for the vendors it didnot work in that way for me at that time I used Standard BI method to create the multiple partner associations. -
Update partner function in KNVP table using FM sd_customer-maintain_all
Hi All,
I have to update Partner Function PARVW in KNVP table using FM sd_customer_maintain_all.
I had already created a BDC program for updating which is running successfully.
But my requirement is to create a BAPI using FM customermaintain_all.
Ex: Tcode VD02
KUNNR PARVW KUNN2
Old data 123 Z1 70006666
123 Z2 70007777
Req. output 123 Z1 70006666
123 Z1 70007777
PARVW Z2 should not exist after updation.
When updating, I am getting the error message to my inbox as
Error Info... F2 802: System error in table KNVP
The above error is triggered while committing work after execution of SD_CUSTOMER_MAINTAIN_ALL.
The options I tried while looping at internal table containing kunnr, parvw & kunn2
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
I_KNA1 = w_kna1
I_KNB1 =
I_KNVV = w_knvv
I_BAPIADDR1 =
I_BAPIADDR2 =
I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
I_KNB1_REFERENCE = ' '
I_FORCE_EXTERNAL_NUMBER_RANGE = ' '
I_NO_BANK_MASTER_UPDATE = ' '
I_CUSTOMER_IS_CONSUMER = ' '
I_RAISE_NO_BTE = ' '
PI_POSTFLAG = 'X'
PI_CAM_CHANGED = ' '
PI_ADD_ON_DATA =
I_FROM_CUSTOMERMASTER = ' '
IMPORTING
E_KUNNR =
O_KNA1 =
E_SD_CUST_1321_DONE =
TABLES
T_XKNAS =
T_XKNBK =
T_XKNB5 =
T_XKNEX =
T_XKNVA =
T_XKNVD =
T_XKNVI =
T_XKNVK =
T_XKNVL =
T_XKNVP = I_XKNVP
T_XKNZA =
T_YKNAS =
T_YKNBK =
T_YKNB5 =
T_YKNEX =
T_YKNVA =
T_YKNVD =
T_YKNVI =
T_YKNVK =
T_YKNVL =
T_YKNVP = i_yknvp ***
T_YKNZA =
T_UPD_TXT =
EXCEPTIONS
CLIENT_ERROR = 1
KNA1_INCOMPLETE = 2
KNB1_INCOMPLETE = 3
KNB5_INCOMPLETE = 4
KNVV_INCOMPLETE = 5
KUNNR_NOT_UNIQUE = 6
SALES_AREA_NOT_UNIQUE = 7
SALES_AREA_NOT_VALID = 8
INSERT_UPDATE_CONFLICT = 9
NUMBER_ASSIGNMENT_ERROR = 10
NUMBER_NOT_IN_RANGE = 11
NUMBER_RANGE_NOT_EXTERN = 12
NUMBER_RANGE_NOT_INTERN = 13
ACCOUNT_GROUP_NOT_VALID = 14
PARNR_INVALID = 15
BANK_ADDRESS_INVALID = 16
TAX_DATA_NOT_VALID = 17
NO_AUTHORITY = 18
COMPANY_CODE_NOT_UNIQUE = 19
DUNNING_DATA_NOT_VALID = 20
KNB1_REFERENCE_INVALID = 21
CAM_ERROR = 22
OTHERS = 23.
IF sy-subrc eq 0.
Commit work and wait.
Endif.
All above tables have a field called KZ which has options
U-update
D-delete
I-insert
E- (I dont know)
Ex: T_XKNVP structure = KNVP Structure + Field KZ.
Documentation for this FM is not Available in English or German
1. I tried sending Z2 KZ as D first & Z1 with KZ as I with business partner of Z2 (KUNN2)
as single update.
Ex: T_XKNP table
KUNNR PARVW KUNN2 KZ
123 Z2 70007777 D
123 Z1 70007777 I
2. I tried it as a separate delete record and insert record i.e calling the FM twice .
3. I tried passing table T_YKNVP with old partner data + TXKNVP table new partner data
Ex: T_YKNP table
KUNNR PARVW KUNN2 KZ
123 Z2 70007777 U or space (I tried both one after another)
4. All combinations for field KZ are tried.
Please help me to overcome this problem.
I ) I need which parameters are to be passed to FM for updating partner function in KNVP table .
II) Do I need to pass structure I_KNA1 or I_KNVV to FM ? (Blank or with values corresponding to
partner function ).
III) Any sample code which can guide me.
Even a small hint or clue from you will certainly help me.
Thanks in Advance.
AJAXi have the same problem. I need to update the partner function PARVW thru a program that i created. I tried to use this FM but it didn't work. Anyone knows another FM that i can use to update the KNVP table?
-
How to use Partner function in Purchase transactions(Purchase cycle)
Hi,
My issue is related to partner function i have defined the following customize setting .
1) Defined partner role
2)Defined Permissible Partner Roles per Account Group
3)Defined Partner Schemas
4)Assigned Partner Schemas to Account Groups
5)Assigned Partner Schemas to Document Types
6)created Partner role for vendor in vendor master given defrent vendor code for one partner type i.e given different vendor number to Invoice party (IP)
7) crated PO and GR during IR when i click Detail tab there is Inv. Party Field which shows all the vendor master i want only my Partner type there. how to archive this.
actually my question is after define the Partner function how to use them in MIRO or MIGO i am not able to understand if some one know pls reply
regards,
Ashish VatsHi
The use of Standard Parner functions are as follows:
1. Ordering Address (OA): The PO will be sent this vendor and not the main vendor.
2. Goods Supplier (WL): In case of return deliveries, Goods will be returned to thsi vendor's address
3. Invoicing party (RS): The payment will be made to this vendor.
Hope this clarifies.
Thansk -
Extract customer master partner functions.
Hi ,
We are generating an sales order extract we also need to provide customer details.I understand that the customer address data should read from transactional ADRC table.Could you please suggest which ship-to address should be put in the customer master extract in case have more than one ship-to address considering customer id the unique primary key.
I assume that customer master is on transactional level and customer id is bill-to partner function.In that case How to identify the ship-to address in both customer master and billing document?
Suppose we have such case(it is very common in best practice)
Invoice CustomerID(bill-to) bill-to address ship-to ID ship to address
123 A A-001 B B-001
124 A A-001 C C-001
We have customer id u201CAu201D, but we are not able to know that we should put u201CB-001u201D or u201CC-001u201D as our ship to address in customer master.
Could you please advise.
AmyHow to identify the ship-to address in both customer master and billing document?
To find ship-to number in the customer master, use table KNVP and from billing document use table VBPA.In the output the partner function WE represents the ship-to number. From these tables, get the address numbers (field ADRNR) for WE partner function and pass in table ADRC to find the address details.
Regards, -
Benefits of using vendor partner function
Hello Experts:
I understand the general use of vendor partner function. But what are the benefits of using vendor partner function? Is it for ease of reporting? Is there a functionality down the line that will not be possible if a vendor partner function is not used?
The reasoning for this question is, I am at a client that has the general association of vendor and remit to addresses. However, they also have a scenario where they have one main vendor, but there are 30+ remit to addresses. These remit to addresses are dependent on the plant that placed the order. As an example, the vendor is AT&T, but the plant that uses the service in Caifornia sends the check to a remit to address in Calif. The plant in Arizona, sends their check to another AT&T remit to address in AZ.
My current solution is, for the client to create the partner function that are more straight forward, one main vendor and one remit to address. As for the vendors that have multiple remit to addresses, i am opting out not to create the partner function. Which is why I am asking if there is an issue not using vendor partner function.
Thanks in advance for your help!!It is certainly possible to work without partner functions in SAP.
It is almost impossible to work without partner functions in SAP if you do business with global players and need some comfort for your processes.
It is impossible to work without partner functions if oyu have to do Intrastat reporting with SAP and your goods supplier is located in a different EU country than your vendor.
In your special case with AT&T without partner functions, you would enter the invoice to your main vendor, the payment run then creates a cheque to your main vendor (and you then use Microsoft word to create a lable with the remit to address that you stick over the SAP printed address on the cheque ..... how does Finance department know that it has to create this lable?.....how will you be able to trace who got the cheque? ..........this is not a good practice)
Especially in this case the partner funtions gives the real benefit.
partner funtions are not for ease of reporting, as You cannot run analyses for any of the other partner roles supplied in the standard system.
if you use invoicing party, then the invoicing partyu2019s account will be charged instead of the vendoru2019s.
more can be found: http://help.sap.com/saphelp_erp60_sp/helpdata/en/a1/7b373944f7a97ce10000000a114084/content.htm -
How to CIF vendor partner function
Hi All,
Can someone explain how to CIF the vendor partner function into SNC ? Does the standard Integration model work for it ?
Regards
Vivek JajuHi Vivek,
In ECC we have CIFLOC01 (EXIT_SAPLCLOC_002) user exit for CIF location enhancement but i don't think so this will help you.
Also there is no field in SNC location master that we can use to stored this partner function data in SNC(may Z-field can be created but it is not good)
What is the requirement for which you need partner function information in SNC?
Regards,
Nikhil -
LSMW, CREMAS04, and updating Partner Functions
I am involved with converting legacy data into SAP. To populate the SAP Vendor Master correctly will involve 3 passes using LSMW:
Pass #1: use IDOC CREMAS04 and populate the majority of master record fields
Pass #2: use BAPI: Business Object "BUS4001"; Method "SAVEREPLICA"; Message Type "ADRMAS"; Basic Type "ADRMAS03" to update Vendor record address data.
Pass #3: use IDOC CREMAS04 and update Head Office, Alternate Payee, and related Partner Function data.
The problem I am having is best explained using the following example:
When a vendor record (ex: Vendor Number 300004) is first created, the following 3 Partner Functions are also created automatically to reference the same vendor number: OA, VN, & PI (Ordering Address, Vendor, & Invoicing Party):
OA Ordering Address 300004 Vendor A
VN Vendor 300004 Vendor A
PI Invoicing Party 300004 Vendor A
This particular vendor is actually one of many "plants" or "warehouses" of a larger vendor, and I need to configure the record to reflect that the Purchase Orders go to the Parent Vendor (Head office) and that the Invoice comes from the same source. Therefore, I need to remove or edit the existing OA and PI partner functions so that I only end up with the same 3 Partner Functions, but the linked vendor record for partner functions OA and PI needs to be that of Head Office.
Example: if using Vendor Number 300005 "Head Office Vendor"
OA Ordering Address 300005 Vendor A
VN Vendor 300004 Vendor A
PI Invoicing Party 300005 Vendor A
What I am actually seeing when I post the IDOC is the following:
OA Ordering Address 300004 Vendor A
OA Ordering Address 300005 Vendor A
VN Vendor 300004 Vendor A
PI Invoicing Party 300004 Vendor A
PI Invoicing Party 300005 Vendor A
Can anyone shed some light on this?Don,
I am trying to work with the same data that you discussed in this thread. Can you send me some additional details on your Pass #2? I was successful in Pass #1, particularly in adding new PI vendors when necessary and deleting the existing internally created PI vendors. But I'm stuck on Pass #2 where I want to add the extended address information that you mention using the SAVEREPLICA BAPI. I can certainly use the recording method, but would like to leverage the power of the BAPI approach.
Thanks in advance!
Wes
Maybe you are looking for
-
S_ALR_87012169 R3 FCC 6.0 drill down help (AR account balance)
Can anyone teach me how to display 87012169 Classic Drill Down Report? I need check the history data from Oct. 2010 to Feb. 2012 AR transactions. The Help > Application Help showed "No documentation available", I believe we did not install the hel
-
Jvm 1.4,1.5 default memory usage in Ram in different operating systems
Hi , Can anyone help me with the default memory occupied by Jvm in different operating systems ? I have practically seen that jdk1.4,jdk1.5,jdk1.3 has around 64 Mb as the default size on 32 bit machines . I am in need of the similar data for jvms on
-
Is the Info Tab still there in Yosemite upgrade?
Hi. So I know that the info tab disappeared in Mavericks when it was launched but was then later re introduced after a load of complaints. Does anyone know if the info tab is still there in Yosemite? The reason I ask is I upgraded to Mavericks when i
-
Setting the update batch of entity at runtime....
Hi , Is it possible to set the update batching of entity records at runtime when the number of entity instances exceeds a specified number....???? In other words , to simulate the check the checkbox "Update Batching" of the "Tuning" window of the pro
-
Installing Adobe Reader XI and it is stopping at about 70%. No error, it just stops. If I hit cancel and try it again, I get the 2203 error.