How to create Customer Partner Function
Hi all,
How do we create Partner function for customer.
Regards,
Kishore Kumar Yerra.
Hi Kishore,
Have you looked this BAPI?
<b>BAPI_BUS2001_PARTNER_CREATE_M</b>
<b>BAPI_BUSINESS_PARTNER_CREATE</b>
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
Similar Messages
-
Hello Experts,
I am from EHS Module.. I am creatig Scenario for report Shipping.
In that I am creating Customer.
I am using Account Group: 0002 Goods Receipts
As per SAP Guide,
"If User created the customer in the account group 0002, the SR (MSDS Recipient) and WE ( Goods Receipient) functions will appear automatically in Customer Partner Function.
But when I am creating Customer in My system using account group 0002, those mentioned Customer Partner Funcition are not getting cretaed Automatically instaed SH ( GOods Receipt) is getting created.
Could you please guide me what setting I need to do in order to create Customer Partner Function SR (MSDS Recipient) and WE ( Goods Receipient) Automatically while creating Customer.
Thanking You
Regards
AmolHi,
IMG >>> SD >>> Basic functions >>> Partner determination
First you create partner determination procedure or copy from std. AG
Then double click on partner functions in procedure
Include your two partner functions in procedure and tick mark to mandatory (Also remove tick marks of other partner functions which u don't need)
Now double click partner determination procedure assignment
Assign partner functions in front of account group - 0002
Now double click on Account group - Function assignment
Assign account groups in front of your two partner function
Then create customer partner functions will come automatically
Kapil -
How to Create Customer by BAPI or by Function Module
Hi all,
I am new to this forum...
Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
I have tried many of the function modules posted in the threads.. but it couldn't help me out...> The only official solution is batchinput and idoc (CREMAS).
Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one. -
Custome Partner Function from SD to CO-PA
Hi,
I have created 3 custom partner functions and have assinged in customer master. I need these 3 custom partner function to be transfered to CO-PA during billing. Is there a easy way around to achieve this, coz there are some SAP notes which are sort of confusing and complex, since we are already live in production, we cant take a chance on the SAP Note.
If somebody experienced like this, could you please share the knowledge, how to achieve this.
Thanks.
With Regards
gjHi Gj,
There are no simple way around to get the customer partner function in to CO-PA during billing. You must follow the notes to get the correct value transfered to CO-PA. I will outline the steps below so that you do not miss anything.
I am going to try to summarize the basic steps to add one or
more new partner function(s). For more detailed information
please see the notes 36557, 32878, 12682 and 93658 although some o
these notes are known for you.
Add new domain/data element for the new partner function in the
ABAP/4 Data Dictionary.
Examples are the data elements KUNAG, KUNWE, KUNRE, KUNRG,
SPDNR, and VRTNR in structure MCPARTNER. This is where the
partner functions for the Standard Sales Information System are
defined.
Save the new partner field in structure MCPARTUSR (user part of
structure MCPARTNER) or, if available extend structure
MCPARTUSR by an append structure (ZAMCPARTUS).
Make sure that the check tables and foreign key relationships are
maintained for the new fields in structure MCPARTUSR
Define the assignment of partner function < > new partner
field in the communication structure.
Program RMCSUZ10, routine USR_PARTNER_GET.
Add the line as in the example of note 12682 given.
Include the corresponding field via transaction 'KEA0' from the
structure PAPARTNER into the Profitability Analysis data structures
If your new partnerrole is a representative/sales employee please
apply note 32878.
Should you have implemented note 43002 (to prevent a field overflow
in pricing) please follow note 93658 and use userexit
userexit_pricing_prepare_tkomp instead of
userexit_pricing_prepare_tkomk.
userexit_pricing_prepare_tkomp is contained in Include MV45AFZZ
(sales order) and RV60AFZZ (billing)
Add the new field to the structure 'KOMPAZ' as in note 93658
described and NOT to the structure 'KOMKAZ' (note 36557)
(you have used both structures)
Generate the operating concern and check if the following entries
are included in TKEZU:
Charact. BTran Table Field name Offset Length
XXXXX KEDR KOMP YYYYY
XXXXX KEDR KOMP YYYYY
XXXXX KEDR KOMP YYYYY
XXXXX = Field name of the partner function in the profitability
analysis
YYYYY = Field name of the partner function in structure KOMP
(these entries should be made automatically here).
If you need more than one partner function please repeat the
steps as described above for your need.
Regards,
Abhisek -
Help for custom Partner Function
Hi,
I'm on SRM 5.0 ECS.
I create two custom partner function and now I need to add they a search help.
How can I do this?
I will take data from R3, but I know how to build a search help, I need to know how give it to the partner function.
thanks
enzoI solved.
-
How to Copy Customized Partner From One Opprtunity to Another in CRM
Hi experts,
How to save more than one same type partner(with same partner FCT) in CRM opportunity Application?
I am using following Function Module...
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_partner = lt_partner_com
CHANGING
ct_input_fields = lt_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
I am giving the input field name as 'PARTNER_FCT', 'PARTNER_NO', 'DISPLAY_TYPE', 'NO_TYPE', 'MAIN_PARTNER' and 'RELATION_PARTNER'.
I have created one partner function for saving additional entity. And I am trying copy one existion opportunity by using CRM_COPY_PROCESS. And I am maintaining that partner via 'CRM_ORDER_MAINTAIN'. But it is not saving the data in session level also.
The limit of that partner FCT record is 0-999.
Please help me how to save this.Hi,
Forgive me if I've misunderstood your query, but what you are asking sounds like standard customization to me - Copy Control. I assume you have created your own Opportunity type and that is where the problem lies?
Have a look at the following IMG path (transaction SPRO > then press F5 on next screen to open the IMG):
SAP Implementation Guide > Customer Relationship Management > Transactions > Settings for Opportunities > Define Copying Control for Opportunity Item to Opportunity
Create an entry for your opportunity by entering the source opportunity (to copy the partner from) and the target opportunity (to copy the partner to) and tick the "Partners" checkbox for the new entry - that will automatically copy the partner from one opportunity to the next as specified.
Hope this helps.
Thanks,
Andrew G. -
Sales Area check for custom partner function
When processing sales orders in our system, it does not check the sales area for the customer of a custom partner function. Can this be setup via config or is there a an exit that can be used for this.
Thanks,
RoyYogesh -- Thanks for your response. However, it does not address the functionality issue.
Currently, I created new partner function ZZ (for example).
I assigned this partner function ZZ to account group Z000.
I created new partner XYZ in account group Z000, in sales area XX00/XX/XX.
I created a sales order in sales area YY00/YY/YY.
Problem is that system allows me to assign partner XYZ to this sales order.
How do I prevent this?
How do I enfore that system will only allow partner XYZ in the sales order, if the partner is created in the same sales area?
Edited by: krist d on Dec 13, 2010 4:33 AM -
Org determination in transaction based on custom Partner Function
Hi All,
I am trying to figure out how can I modify the partner determination procedure and org data profile to determine the sales area (org,dc,div,so,sg) in a transaction automatically without having to choose the sales org.
Here is the set up:
Sales Org ->Soff->Sales group are permitted for Org determination in ppoma_crm.
Custom Partner Functions - Y1 and Y2 assigned to Sales Partner Function Category
Access Sequence YXXX has the following set up:
Source PF Function Category Usage
10 COM_PARTNER_A
20 CRM_PARTNER_C Sold to Party
30 CRM_PARTNER_C Activity Partner CRM
40 CRM_PARTNER_C Sales Prospect
50 CRM_PARTNER_C Activity Partner
Partner Procedure YPP001 has the following setup:
Function Access Sequence
14 User Recurring
15 YXXX Recurring
21 0001 Recurring
23 YXXX Recurring
Y001 Recurring
Y002 Recurring
Y1 YXXX Recurring
Y2 YXXX Recurring
Org Data Profile YORGPROF01 is maintained for Scenario SALES with Org Model Deter Rule 10000177. Sorg and Dc mandatory set.
The transaction type YOPP is configured as shown:
Org Profile YORGPROF01
Partn Func Org Activity Partner
Partner Determination Proc YPP001
Now here is the issue:
We want that when we create transaction YOPP it should fill the Org data including Sales Office and Sales group from the partner associated with the PF Y1 which gets assigned automatically when the account is selected on the transaction.
With the above setting, it populates all the sales offices and sales groups that have been marked for determination in ppoma_crm (which we don't want it to do). We need it marked for determination so the BP's master data associated with Y1 shows up the sales group and sales office.
When the account is selected on the transaction and Y1 is determined via partner determination, we would want the sales Org also to get determined automatically from the Y1 partner's master data.
Anything that can be changed in the above settings to make this happen?
Thanks
PCHi
Although i have no practical experience with this but an educated guess would be to use Partner function determination . If you have 'employee responsible ' PF , Then u can further use him for org determination.
May be this helps...
Regards
Ruchi -
How to create a callback function module
Hi all,
I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_
I created a sample function module and try to create entries in table crmv_event_cust, but i got an error message saying that the function module name I provided is not in table CRMC_FUNC_ASSIGN. When I try to create entry there, I got a message that function module is not in CRMC_OBJ_FUNC and that table is a standard table with no maintanance options !!
looks like i am going in wrong way ... can any one please help ??Looking at my system all you need to do is create the entry for the callback function in maint view: CRMV_FUNC_ASSIGN.
Your entry should be as simple as Z-function name Object Function - <same as others in the segment you are assigning>
IE for the partner it would be CRM_PARTNER as object function, for general order processing CRM_ORDER
Take care,
Stephen -
How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?
Hi,
I have created custom action for Share functionality in document library.
On Share action i'm showing Model pop up with Share form with addition functionality.
I am developing custom share functionality because there is some addition functionality related to this.
How to Implement custom share functionality in SharePoint 2013 document Lib pro-grammatically?
Regards,
- SiddhehswarHi Siddhehswar:
I would suggest that you use the
Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
We customize <Edit> Ribbon. As shown below.
When user click <Edit Item>, the system will
render customized pop up window.
Will -
CREATION OF CUSTOMER PARTNER FUNCTIONS IN LSMW
Hi
I want to add more partner functions to customer master through lsmw in change mode. I developed a LSMW for this using transaction code XD02 with recording of partner function screen only. when i run the batch input session, it shows all the records processed sucessfully. But actually it does not add any record to partner functions. Can you help pls as how to add more partner functions to customer master in change mode using LSMW
thanks in advance
Best Regards,
SAVIOHi James,
Did you map the partner functions like sold to party(SP), Ship to party(SH), Bill to party(BP) and payee(PY) functions on your sheet. If so, what is the error msg u r getting??
Regards
Aravind -
How to create a partner and header record using CRM_ORDER_MAINTAIN?
Hi any one knows how to create a partner and header record using the function module CRM_ORDER_MAINTAIN??
I tried to create a record, but i only managed to create a header record and the partner record is not reflected in the transaction. Why is that so? is there any indicator that i need to include?
Thanks..
JenHi Jen!
I use this FM and it works perfectly.
Use this to create a partner:
gs_partner-ref_handle = '0000000001'.
gs_partner-ref_kind = 'A'.
gs_partner-ref_partner_handle = '0001'.
gs_partner-partner_fct = '00000001'.
gs_partner-partner_no = NO_PARTNER. "number of the partner, bu_partner
gs_partner-display_type = 'BP'.
gs_partner-no_type = 'BP'.
gs_partner-kind_of_entry = 'C'.
* ls_partner_l-ref_handle = '1'.
gs_partner-ref_guid = '00000000000000000000000000000000'.
APPEND gs_partner TO gT_partner .
ls_input_field-ref_kind = 'A'.
ls_input_field-logical_key = '0001'.
ls_input_field-objectname = 'PARTNER'.
ls_input_field-ref_handle = '0000000001'.
ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'NO_TYPE'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'PARTNER_FCT'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
ls_input_field_names-fieldname = 'PARTNER_NO'.
INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
INSERT ls_input_field INTO TABLE gt_input_fields.
clear ls_input_field-field_names[].
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
* it_schedlin_i = gt_schedlin_i_com
it_partner = gt_partner
* it_sales = gt_sales
* it_orgman = gt_orgman
* it_appointment = gt_appointment
* it_ordprp_i = gt_ordprp_i
* it_product_i = gt_product_i
* it_activity_i = gt_activity_i
* it_pridoc = gt_pridoc_com
CHANGING
ct_orderadm_h = gt_orderadm_h
* ct_orderadm_i = gt_orderadm_i
ct_input_fields = gt_input_fields.
* ct_doc_flow = gt_doc_flow
* cv_log_handle = gv_log_handle.
Hope it helps u,
Regards,
Mon. -
How to create custom report plugin using child region report metadata
Hi,
I want to ask for help on how to create custom report plugin using child region report metadata. My idea is to create a child region, a classic report and set the condition to never.
Then i will query the child report metadata from apex view and use it to create a custom report like using jquery jq-grid. Any idea how i can create a process that will use the child report
metadata? I dont know how i can create a process just like how apex work, how apex render report, coz i want it to be control using the standard apex report attribute. This plugin will
render according to the child report attribute.
Is there anybody here had ever done this?Hi Nicolette,
Thanks for the reply. I know where to find the metadata, just asking for idea on how the rendering process will be.
Start from determining column heading, column order until finish rendering the report. The same way how apex
render the classic report.
Previously this imy my rendering process:
FUNCTION GETCOLUMN(P_REGION IN APEX_PLUGIN.T_REGION,
P_PLUGIN IN APEX_PLUGIN.T_PLUGIN,
P_VALUE IN VARCHAR2) RETURN SYS.DBMS_SQL.DESC_TAB2 IS
VSQLHANDLER APEX_PLUGIN_UTIL.T_SQL_HANDLER;
VCOLCOUNT NUMBER;
VCOLNAMES VARCHAR2(2000);
VAJAXIDENTIFIER VARCHAR2(100);
VPAGESIZE TYPEATTR := P_REGION.ATTRIBUTE_04;
VJSCODE VARCHAR2(32767);
BEGIN
VSQLHANDLER := APEX_PLUGIN_UTIL.GET_SQL_HANDLER(P_SQL_STATEMENT => 'select * from s_emp',
P_MIN_COLUMNS => 1,
P_MAX_COLUMNS => 999,
P_COMPONENT_NAME => P_REGION.ID);
VCOLCOUNT := VSQLHANDLER.COLUMN_LIST.COUNT();
FOR I IN 1 .. VCOLCOUNT LOOP
VCOLNAMES := VCOLNAMES || '{name: "' ||
UPPER(VSQLHANDLER.COLUMN_LIST(I).COL_NAME) || '",';
END LOOP;
APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
RETURN VSQLHANDLER.COLUMN_LIST;
EXCEPTION
WHEN OTHERS THEN
APEX_PLUGIN_UTIL.FREE_SQL_HANDLER(VSQLHANDLER);
RAISE;
END GETCOLUMN;
So this is how i get the header for my report plugin. The same method is use to get the value / data for each column. This process is work. So now
i want to extend my plugin so that i will use all attributes from the child report to render my plugin. So the column header, column order, all will depend
on the child report. And the column display condition is set, it will also check the condition before render the column. Sounds like i want to reinvent
the normal apex rendering process but this is what i want to achieve.
I need help to find the correct logic for my render process. Don't want too much for starting, just want to render the plugin correctly, same with child report,
same columns alias, column ordering and column conditional display.
Thanks,
akulala -
How to create SSWA plsql function in Oracle Apps of HTML call .html
Hello Team,
I am working on Oracle Apps 11i (11.5.10.2)
I want to know , what is the process to create a , "SSWA plsql function" in Oracle Apps of type "HTML" and html call tab.
How to create that Function and how to attach the PL/SQL code to these functions.
How it works.
Please help me to understand this concept from basics.
Kind RegardsHi;
Please review:
how to setup a forms function in R12 to launch an URL?
http://www.trutek.com/serendipity/index.php?/archives/15-An-Example-of-How-to-Create-Custom-Functions,-Menus,-and-Responsibilities.html
Regard
Helios -
How to create a Payroll function
Hi all,
I have just begun HR programming. can anyone tell me how to create a payroll function step by step? I have read a few threads on payroll in SDN but i had trouble understanding what they were talking about.
any help will be appreciated.
regards,
HamzaHi
HR deals with the INFOTYPES which are similar to Tables in General ABAP.
There are different ways of fetching data from these infotypes.
There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
Infotypes for these areas are different from one another area.
storing of records data in each type of area is different
LDBS like PNP are used in HR programing.
Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
On the whole Normal ABAP is different from HR abap.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
http://www.sapfans.com/forums/viewtopic.php?p=498530&sid=d7ec5866e3fb26880da129de45ce79de
http://www.sapcookbook.com/preview_hr_questions.htm
http://www.atomhr.com/library_full.htm
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://www.planetsap.com/hr_abap_main_page.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983590,00.html
Reward points if useful
Regards
Anji
Maybe you are looking for
-
Problem with downloading file from FTP server
Hello all I have uploaded a file from an application i developed and i want to download this file from another application. The code is public static void FTPcon() throws FtpException{ String hostname = "my.ftp.server"; String username = "myuse
-
when ever i video call my friends or anyone at that matter they're webcam is black and white. i've already uninstalled skype and reinstalled but that only works for a day or so. could someone help me with this issue? btw i am on a windows 8.1
-
I was trying to make a screen capture service, but have been hitting errors in the Start Capture and Save Capture actions. I tried to make a service as simple as New Screen Capture > Wait for User Action > Stop Capture, but it gives me an error on th
-
HI! Can anyone explain to me as to how to create a line layout and assign that to FORM window (W1).As shown below ID long text **10 overtime PTyp CTy 01 Y CV Rule Splits Would really appreciate
-
Very serious bug in DocumentBuilder !!!
hi everybody, i want to know whether anybody has the solution for the problem i am facing . whenever i build the document using DocumentBuilder it treats "\n","\t", and space characters in the content as the child text nodes of element in which they