Howto check the Partner function
Hi all,
My requirement is to get partner (like sales employee in VA41) from the user.
I need to check the value given bythe user whether it is correct or wrong.how to achive this.
Hi ,
u need to validate the sales employee number or name ...
for ur query u need to look for the specified field as a primary key in a given table ..
what is the user giving the partner number/customer number or name ..
1.
if its partner u can validate it from the VBPA entries ..
vbpa-parvw ,
vbpa-kunnr,
vbpa-parnr,
2.
if its a name u need to capture the parnr number ..then the table will be
KNVK
KNVK-PARNR PRIMARY KEY
KNVK-KUNNR
this is other way around ..
3.
if its a customer number
validate it from table KNA1
KNA1-KUNNR.
hope this helps regards,
VIjay.
Similar Messages
-
Uploading the partner function for the business partner
Hi Experts ,
I wish to upalod the partner function fields like
partner function
sales area
division
channel etc .
Can anyone suggest me how to uaplod this via a BAPI in ECC system ?
regards
Abhi.HI ,
Pls check Kindly check
BAPI_CUSTOMER_CREATEFROMDATA1
regards,
PD -
How to get access to the partner Functions of a PO header in BADI
Hi All,
I have a scenario where I need to get access to the PO Header Partner Functions to get the Vendor number, in the PROCESS_ITEM method of BADI ME_PROCESS_PO_CUST. I could not find any method to get the partner functions. Is there any way I can get this data in my BADI implementation. I'm talking about ME21n transaction code, and the PO is not created yet, hence the PO number is not available in the BADI.
If the above is not possible, is there any other function module which I can call in the PROCESS_ITEM method of the BADI to get partner functions and their respective vendor numbers.
Any pointers would be appreciated and points awarded. Thanks for your time and help.Hello,
Use the methods of the class: CL_PO_ITEM_HANDLE_MM, in the method: PROCESS_ITEM of the badi:
ME_PROCESS_PO_CUST, for example to access the po lines. the code is as follows:
data: it_mepoitem type mepoitem.
**Get the po lines.
it_mepoitem = im_item->get_data( ).
To look at the methods available: Go to SE24, Input the class:
CL_PO_ITEM_HANDLE_MM
Hope this helps.
PS: Award points if my answer is helpful.
Rajeev -
How to change the Partner function code in Quotation
Hi All,
We have a requirement that whenever a Quote is cancelled,
We need to change one of the function codes in the partner tab and also the user status should be changed.
Can anyone give a quick solution on this?
Your response will be appreciated.
Thanks in advance.
Regards,
RamyaYou will best implement this as an action (tx. SPPFCADM), which is called on changing the status to cancelled. In this action you can call a function module changing the partner functions using e.g. CRM_ORDER_MAINTAIN as the appropriate function module.
Regards, Kai -
How to get the partner function code by partner function?
For example, I need to know the partner function code for 'Reported By' and it's 'SLFN0002', How can I get this information by abap code?
Best regards,Hey Blake,
You can look up CRMC_PARTNER_FT( Db table ) which is used in the above maintainance view...
Use select stmt to populate an internal table.. then use Read Table( which key DESCRIPTION = < Sold to party > and so on...
Just Get an Abaper and things would be easy..
Reward points for usefull posts..
Regards,
Anand -
How to get the Partner Function of the corresponding index
Hi experts,
We have a requirement where in we need to fetch the corresponding partner function(PARTNER_FCT value) , when we click on the value help icon of a Partner_No_descr field of the component BTPARTNER.
For eg:- When we click on the value help icon of second entry in the assignment block 'parties involved',
we should fetch the Partner Function (PARTNER_FCT)value of the second entry.
We tried using the GET_CURRENT ( ) ,GET_BY_INDEX ( ) etc method , but to no avail.
Any helpful pointers would be rewarded.
Kindly help.This thread remains closed.
-
Delete the partner function in purchase order
Hi,
I need to delete the partner function from a purchase order, but when I´m trying to delete the partner, this function not is working.
How I can do it?
Thanks!Hi,
when ever you create a PO,the partner functions which are privided in vendor master gets defaulted in PO.You can either delete the functions at vendor level or at the PO header partners tab.
Regards, -
Restrict the Partner functions visible in the Partners tab of One Order obj
Hi Gurus,
We are implementing Opportunity Management
We want to restrict the Partner functions visible in the picklist in the partners tab
can anyone suggest how we can achieve this
Regards,
VishVish,
If you would have searched on "restrict partner list" in this forum, you would have found your answer as the first search result. Please in the future do a search before posting here and read the rules of engagement.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement
The thread that answers your question is located here:
Hide List Elements for example Partner Functions
I'm know locking this thread due to this being a duplicate question.
Thank you,
Stephen
Edited by: Stephen Johannes on Apr 27, 2009 8:45 AM -
It is related to the partner functions - Reporting
My client is using the Partner functions for vendors
Where Vendor A is ordering vendor, Vendor B is Goods Carrier and Vendor C is the Invoicing party
I want to get such a report; in which there will be
Purchase order number
Ordering vendor
Quantity ordered
Value of the quantity ordered,
Goods Carrier Vendor
Quantity of goods delivered
Value of the goods delivered
Invoicing Vendor
Invoiced Quantity
Invoiced Value
In short the report will show the partner functions & their respective activities
Is there any standard report exist for the samedoes this link help you?
https://discussions.apple.com/thread/3329575?start=15&tstart=0
they had and solved a similar problem. but icloud is not in beta anymore... -
How can the system automatically assign lead(Sales Prospect) to sales manager which is one of the partner function ?
Hi Deep,
you can go through below links if you have not gone through already.
Lead Distribution - Lead Management - SAP Library
How to Distribute Leads Automatically to Partners in SAP CRM?
Rgds
Hari -
Check on partner function detail
Hi , all
In CRM order taking , to parter function tab , click the button 'Detail' below , then you can get the partner detail information , how can i check those input fields ? for example , some must input , some can not be changed etc ? any badi or any way to do this?
thanksHi Jacky,
Here are the steps to make the setting
Tranx ..SPRO->Customer Relationship Management->Basic Functions->Partner Processing->Define Partner Determination Procedure
Select a Partner Proceedure and go to 'Partner Functions in Procedure'
Now double click on Partner Function and you can make you required settings.
Shud solve...
Siva -
Org determination based on the Partner function
Dear Experts,
I have a scenario where i need to determine the org data of an activity based on BP assignment in Org model. this BP is caluclated based on partner determination procedure which has got access sequence "Preceding Document: Activity Partner -> Preceding Document: Sold-To Party" & is actually an employee. This employee is assigned to org structure & i want to have the org data based on that.
Can somebody help me on that.
Thanks & Regards,
Shashank AgrawalHi Shashank,
In the customizing, under transactions->define transaction types, cannot you make use of "Partner function ORG" under "profiles"?
Regards,
Arun Prakash -
User exit to change the partner function in VA02
Hi experts,
I have a requirement to increment Volume field value everytime when the end customer ( partner function) is modified at header and item level.
Can you suggest some exits ?
PLease suggestHi
Try with the following exits.
EXIT_SAPLV46H_002
EXIT_SAPLV46H_001
Thank you,
Sekhar. -
Help! Howto use the join function in a query with select distinct ?
Hi!
I have 2 tables. I want to select only 1 painting of each artists.
select distinct idartist
from tbl_artworks
where blah blah blah
order by rand()
how does the "join" function work for add: name, lastname, title, image and much more... i try... but i fail...
tbl_artists
idartist
name
lastname
1
Paul
Gaugain
2
Vincent
Van Gogh
3
Pablo
Picasso
tbl_artworks
idartwork
idartist
title
image
1
1
days of gods
image1.jpg
2
2
sunflower
image2.jpg
3
3
Dora maar au chat
image3.jpg
4
2
Sky
image4.jpg
5
3
La vie
image5.jpgGetting a single random image for each probably requires a combination of sql and cf. It would take someone smarter than me to do it with sql alone. I would probably try something like this:
1. Run a database query that gets all the images from all the artists.
2. Run a Q of Q that gets a distinct list of artist ids.
3. Loop through that list and run a Q of Q to get all the images for that artist.
4. Still in that loop, use randrange (1 to the recordcount) to select a random record from your Q of Q -
BAPI to Retrive the Partner Function in Customer Master
Dear All,
I wand to read the parner function list of an customer thorugh BAPI. please help me out.
Kannan .SHi,
I think these will work for your scenario,
BAPI_BPCONTACT_CHANGE
SD_SALES_PARTNER_MAINTAIN.
Regards,
Ravi shankar
Maybe you are looking for
-
Can i use my iPad to backup high definition video from my camera?
I need to backup high def video from my canon 7d to free up card space. If I export the video to my iPad (who h I can do daily using the cck) , can I re-export it to my MacBook pro without losing any resolution quality? Thanks for any fast responses
-
Configuring DG's Standby database in 10g Grid Control monitoring.
Hi. I am facing issues to configure "for monitoring" the standby instance of a 10g database. If someone on this forum have experience, please share, will be greatly appreciated. Thanks /SKH
-
Transfering data from Iphone 3Gs to a computer
Hi, (this is my first post on these forums :P) how can i prevent itunes from deleting all my data from my Iphone. I heard that you can download some software, but is there an "apple way" of doing this. By the way, I really love apple products but can
-
How to get rid of cache in temp\webservice\dyn folder
hello friends, i am working on a model where i have to invoke lots of webservices. i see that lots of cache gets generated in following directory... D:\usr\sap\P4S\DVEBMGS01\j2ee\cluster\server0\temp\webservices\dyn how do i get rid of it ?
-
I have an entity bean (CMP) which connect to a view in database (Sybase). In the EJB-JAR.XML, i connect to the view name and the fields in the view. However, when i tried to deploy the EJB in weblogic, i encounter the followign problem: The Entity EJ