CRM Table for finding Partner Function for a Sales Order
Hello everyone,
I am trying to retrieve Ship-to-Party Customer Number for a particular Transaction (Sales Order) from a SAP CRM table.
In SAP SD we have a table VBPA for the same.
I would like to retrieve the same either from a single table if available or multiple linked tables in SAP CRM.
I tried to link CRMD_ORDERADM_H & CRDM_PARTNER to retrieve the data .. But it dint work.
I am new to CRM .. so Gurus, please share ur insight.
Thanks
Vin
Hi,
Select GUID_SET in table CRMD_LINK where GUID_HI = CRMD_ORDERAMD_H-GUID.
Use the GUID_SET to select data in table CRMD_PARTNER.
Best regards,
Caíque Escaler
Similar Messages
-
Unable to find partner function for SPL screening
Hi Guys
We are trying out the SPL functionality for our Client, We are in the Preliminary stages and have just started the Intial Configuration
The problem comes is the Document in ECC is getting blocked and is working as per functionality
But when in come in the GTS system and check the Documents via (SPL > Display all Documents) in the overview menu, and go ahead and check the Log, it shows an error stating
"Unable to find partner function for SPL screening"
I have checked the configuration and The partner structure, Functions and Assignment are all done
Can the experts help in getting a small checklist which I should do a check through in the configuration/user side, which can trigger this error message?
Thanks
Regards
Carl RayHi Carl,
Did you load the SPL List for Screening? Prior to SPL Screening, we have to create Index for SPL Screening. Please follow the following steps and then re-check the document
SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Master Data. Perform the below steps in sequence.
Step 1: Reset Buffer
Step 2: Generate Comparison Terms
Step 3: Aggregate Comparison Terms
Step 4: Comparison terms for Business partners
After doing the above steps, then do the following step
SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Logistics -> Check against updated Sanctioned Party Lists -> Check Business partner addresses
After performing the above steps, then re-check the document.
Let me know if the above solution help or not
Regards
Pradeep -
Partner Function Structure in Sales Order
Hi All,
What is the Partner Function Structure in Sales Ordere (Item Level)?
(In which structure the partner functions are displays in sales order item level?)
Thanks in advance.HI Raja,
Thanks for your replay.
I did the same thing what ever u said, but the thing is while doing debugging the values are not showing in that structure. Like header and item data will available in KOMK and KOMP structurs, not in screen field strucuture. I am thinking that there may be some structure for partner functions like KOMP, KOMK.
Thanks -
Partner function change in sales order
Hi,
I have partner function ZR (sales employee) defined for customer master. I enter a particular employee no 100 in the customer master. and subsequnetly the partner function ZR gets copied into a contract with value 100.
now another user is trying to change the value to 200 from 100, but the system is giving a message that partner function ZR not defned for partner procedure.
If i go to partner determination for sales order , then i see that there is no partner function ZR assigned for a patner procedure.
my question is that the above is happening due to lack of master data for emploee id 200 from HR module or is it that we have to maitain partner function ZR for sales order (I have seen that ZR is not maintained for sales order. ).Iam assuming that for contracts aslo, the config needs to be done in parnter determination for sales order.
regards
sachinHi Sachin,
I assume that you have configured the partner functions for Customer master including ZR, also enabled ZR for the partner procedure applicable for the sales document type.
If this is done, then the partner function ZR should be available for entry in the sales order.
Now the problem is that
You shoudl have assigned the partner function ZR to some account group, while creating this partner function, and customer 100 shoudl have belonged to this account group.
However the customer 200 whom you want to update as the new ZR doesnt belong to this account group.
You can use only those customers belonging to the account group which is linked to the partner function ZR as sales employees.
So find out the customers belonging to the account group, which is linked to the partner function ZR. Make sure their masterdata is correct for the sales area which you wnat to use. If all the things satisfy, then you should be able to use them as ZR partner in your sales document.
This should solve your problem.
Pls reward if this helps you to solve the problem -
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. -
More than one "Sales Employee"(Partner Function Value) in sales order.
Hi Experts,
My customer requested add more than one "Sales Employee"
in Sales Item Line. As the standard SAP, I can add only one
"Sales Employee" value in one partner function. Any suggestions?
Thanks,
PrachHi Prach,
You can add one sales employee per line item. In one line item you cannot add morethan one sales employee however.
If you want to include morethan one sales employee to EVERY LINE ITEM, then
1. Create some PFs like Salesperson1, Salesperson2 etc, say upto 5.
2. Now assign this PF to the sales document header and item category,
3. For all the PFs, you can have the same account group.
4. Now you can create customer master for all these sales person.
5. Once this is done, you can link multiple sales persons for each line item.
Hope thsi helps you
Pls reward if thsi helps you -
Multiple Partner Function in a sales Order
Hi
I have created a partner function ZR Referred By ( Type Customer) but not able to enter multiple ZR in a sales Order
Error .VPD012. Partner Function can occur only 1 in ..
The requirement is to attach the referred customers for reporting purpose and there can be more than one customer referring this new Customer / Order.Hi
Thanks for the input but the solutions suggested by you all does not work.
The Unique button is only relevant for Customer Master and not the Order. In the Order you can have only one.
The Button Modifiable is only for allowing you to change a Partner and not adding another partner with the same partner function.
Any way I figured a way out, we can use the system provided AA ( Partner Function) and able to use multiple AAs in a Service Contract./Scheduling agreements.
But if you need to have multiple partner in a sales Order ...Only way seems to be to have Z1, Z2 Etc ...
Thanks -
Partner function for Application WA Allocation Table Output Type RTA2
Dear Folks
In Transaction NACE, I am trying to assign a partner function to medium 5 'External Send' for output type RTA2 in the application WA (Allocation Table).
My purpose is to send an email to a site/plant to inform them that there is request notification to the site. An external email should be triggered based on site. An email will be maintained in the site master.
Please advice what partner function should I use?
Best Regards
JunwenI have the error in NACE or using tcode MN08.
As soon I executed those transaction the system shows the condition records created for varios Doc Type (e.g LP, LPA, MK, etc) but with no partner function assigned. For example:
Doc. Type / Name / Funct / Partner / Medium / Date/time / Language
LP / Scheduling Agreement / blank / blank / 2 / 3 / EN
LPA / Scheduling Agreement / blank / blank / 1 / 3 / EN
For example, I try to assign function "OA" for Doc. Type "LP", choose value from quickpick. Then when I press enter, the system give me the error "You cannot enter a partner function for output NEU", message no. VN041. Do not allow me to continue, so I have to leave this field blank, with no change.
Thanks, -
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. -
Create, Update and Delete Partner functions for a Functional location.
Hello
I have a requirement where I need to
a. Create / Assign Partner functions to a Functional location,
b. Update the new Partners values ( PARNR ) for particular Partner Functions ( Replace new Partner values in place of old partner values )
c. Delete the Partner values and Partner functions for a Functional location.
when the above changes are done, the changes should be reflected in IFLO ( Table-IFLOT ) and IHPA ( Table-IHPA ) transactions .
I wanted to make the above changes by using FM's or BAPI. I have searched many forums and threads, but still I was not able to get the correct solution.
Can anyone help me out in finding BAPI or FM's to do the above changes. ?
Note : I will have an excel sheet which has coloumns like Functional location, Partner function, Old Partner value ( PARNR ) and New Partner value (PARNR ). This data needs to be updated in IFLO and IHPA.
Thanks and Regards,
Karthik Ganti.Hello
I have a requirement where I need to
a. Create / Assign Partner functions to a Functional location,
b. Update the new Partners values ( PARNR ) for particular Partner Functions ( Replace new Partner values in place of old partner values )
c. Delete the Partner values and Partner functions for a Functional location.
when the above changes are done, the changes should be reflected in IFLO ( Table-IFLOT ) and IHPA ( Table-IHPA ) transactions .
I wanted to make the above changes by using FM's or BAPI. I have searched many forums and threads, but still I was not able to get the correct solution.
Can anyone help me out in finding BAPI or FM's to do the above changes. ?
Note : I will have an excel sheet which has coloumns like Functional location, Partner function, Old Partner value ( PARNR ) and New Partner value (PARNR ). This data needs to be updated in IFLO and IHPA.
Thanks and Regards,
Karthik Ganti. -
Error "You cannot enter a partner function for output NEU"
Hi Experts,
I'm having these error "You cannot enter a partner function for output NEU" (message VN041) when I tried to assign a partner function (e.g OA) in the conditions records for application "EV" (Purchase outline agreement). The system do not allow me to do this for any doc type (LP, LPA, MK, OA, etc). I'm using t-code NACE or MN08.
I want to assign partner for key combination "Document Type". The conditions is already there but with no value, so I want to assign partner function "OA" or "VR".
I already check all the configuration and looks fine. For example, define possible partner functions for output type "NEU" for application "EV" (Purc outline agree).
Hope you can help me to find the problem.
Thanks,
Mairo.I have the error in NACE or using tcode MN08.
As soon I executed those transaction the system shows the condition records created for varios Doc Type (e.g LP, LPA, MK, etc) but with no partner function assigned. For example:
Doc. Type / Name / Funct / Partner / Medium / Date/time / Language
LP / Scheduling Agreement / blank / blank / 2 / 3 / EN
LPA / Scheduling Agreement / blank / blank / 1 / 3 / EN
For example, I try to assign function "OA" for Doc. Type "LP", choose value from quickpick. Then when I press enter, the system give me the error "You cannot enter a partner function for output NEU", message no. VN041. Do not allow me to continue, so I have to leave this field blank, with no change.
Thanks, -
Multiple Partner Functions for a Sales document Item
Hi,
Can you please advise on modeling scenario for showing multiple partner functions for a given sales document in BI Report ..
Because Key figure values should not be distributed for multiple records just becos of multiple partner functions but users want to see them in the reports along with sales doc and key figure
I am explaining bit more clearly...
I can achieve above requirement by having below model ..
SDOC ITEM PF1 PF2 PF3 AMOUNT
1000 10 AB CD EF 50000
PF : Partner Function
but as I feel it is a complicated task to add more and more columns fro partner functions as and when new partner functions have been added or requested to show by users at sales doc level...
So Can you please advise a better solution to meet the same requirement.
Thanks & Regards,
BRK
Please advise me on this scenario
Thanks & Regards,
BRK
Edited by: BRK on Jul 22, 2008 9:19 AM
Edited by: BRK on Jul 22, 2008 9:29 AMSalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
80000_________10_____________A2_______________$1000
80000_________10_____________A3_______________$1000
This will be the normal display in the cube if there is only one Partner Function.
But what we need is
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
80000_________10_____________A2_________________' '
80000_________10_____________A3_________________' '
The Amount (KF) should be populated only for the first record for a SalesDoc / Item combo.
You load data from source to the ODS, say delta.
Suppose that the below record is already available in the ODS.
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A1_______________$1000
And you get the following data as DELTA in the Data_Package from the source.
SalesDoc______Item_______PartnerFunction________Amount
80000_________10_____________A2_______________$1000
80000_________10_____________A3_______________$1000
If you populate the Amount again for these 2 records, then the total would sum to $3000, which is wrong.
So what we do is,
Write a Select stmt for ALL ENTRIES in Data_Package and fetch the records from the target ODS. Have it in an Internal table, say t_ODS1
Take the SalesDoc / Item from the Data_Package and chk if it is present in the internal table t_ODS1.
If it is present, then populate the Amount as ' ' (Blank)
Else populate the Amount as $1000.
Say, you are getting 3 new records, which is not present in the ODS1.
In that case, your internal table t_ODS1 will be blank.
Now again, we need to populate the Amount only for the first record among the 3 records.
So, here comes the "Flag".
Set the Flag as X, when we populate the Amount.
Everytime chk the Flag <> X.
Only if it is <> X, populate the Amount.
Else Leave it Balnk.
Hope I have explained in detail
Regards,
Balaji V -
Creation of new partner function for VENDOR
Hi,
I've a requirement to create some Partner functions for vendors while creation of vendor. Some Partner functions are available by default and some we need to add. but while doing a BDC we are not able to find how many of them are available or where to put the new Partner function?
Please let me know, if there is any BAPI availble..
Regards,
AnupamTry below LSMW batch input method its very esay to upload data
Object 0040 Vendor master
Method 0001 Standard
Program Name RFBIKR00
Program Type B Batch Input -
Function module to give all partner functions for given customer
Can anyone tell me function module name which gives all partner functions for a customer. For ex if we give customer number and sales area then it should give the list of all partner functions of this customer.
I know 'CUSTOMER_PARTNERFS_GET' function module. But I want other than this.Hi,
U can join VBAK and VBPA table and get the parrtners of the customer..
Regards,
Nagaraj -
PFAC rule for detrmining partner functions in Actions of Opportunity
Hi all,
In Opportunity, we have scheduled the actions automatically for every phase.When we select phase in Opportunity transaction & save , the activities in that pahse would be created automatically based on conditions with person responsible same as in Opportunity transaction.
Now I have changed the access sequence in partner determination procedure not to determine person responsible from preceding document means this partner function would be empty in Actions created & I have created rules in transaction PFAC with category 'Agent Determination-Responsibilitis' & responsibility & need the system to deterimine different user for this Person responsible for activities.(Not from preceding document).I have maintained this rule & Partner function in parameters of Actions.& action profile has been assigned to Activity transaction type( Actions). But this rule is not determining the users for the Partner function 'Person responsible'.In activities this partner function 'Person responsible' remains empty.
Solution to this problem would be very helpful & maximum points would be rewarded for the useful answers.
Reagards,
Basavaraj PatilHi Prashanth,
Thanks for your reply. I want the Rule to determine Partner function 'Person responsible in Activity transactions created in Phases of Opporunities not exactly partner function of Opportunity transaction.The procedure user( CRM Opportunity & Task) is maintained in Partner determination Procedure.
For this I have assigned different Action profile with Method Call - CRM_DNO_PARTNER_1 containing Parameters for Rule(Structure - PDTASK & Field SEARK - & Partner function(Structure - CRMD_PARTNER & Field - PARTNER_FCT).
But still it is not determining Partner Determination in Activities.
Regards,
Basavaraj Patil
Maybe you are looking for
-
The other day my iMesasges stopped working so I plugged my phone into my laptop (windows) to update through iTunes. I tried to update it, but when the update was almost done an error message popped up. Now the phone will only turn on with the plug in
-
I have an oracle database on HP machine. There is a sysman directory under $ORACLE_HOME/. There is a schema 'dbsnmp' but no schema 'sysman' in the database. The document says the user sysman was created by defalt when the database was created. I don'
-
Spry horizontal menu showing as vertical ul in WordPress theme- help?
I am trying to modify a fairly simple WordPress theme to match the look of other (static) pages on my site. I inserted a horizontal Spry menu in the file header.php. In the split code window in DW this has the proper appearance, but in MAMP (or on th
-
Issue w/Wiped Text Messages?
I'm trying to find out if anyone else has had part of their text messages wiped from their Blackberry? Back in August '12, I noticed that I wasn't able to access text messages that were before a specific day in August. I chalked it up to a bug or a
-
Does the 2602i require the use of a WiFi Controller?
I would like to setup three Aironet 2602I-A-K9 WAP in my office. Being new to Cisco WiFi, it appeared that I HAVE to have a WiFi Controller to make this work. Is that a requirement that requires me to also purchase a WIFI controller?