Case created without business partner, reason code and result code
In our CRM system, some cases was created without business partner, reason code and result code.
We created some customer functions to make these fields as mandatory, it always work for our technique people and process expert, but it didn't work for some users occasionally. We cannot debug it.
Can anyone tell me why and how to solve it?
Please help me !
Regards,
Shirley
Hello Shirley,
Well, then I would check the code, which calls your custom function modules.
It may be possible, that you have an IF in the 'Main' program, which makes it possible to skip the custom FM for these users.
The reason I am assuming this, is that normally you need just to change attributes for a field to make it mandatory, or customizing like SHD0 makes this possible. If you use custom FM, you have to call them somewhere and this is the point I would be looking for.
Check the traces for the users and you should find, that the custom FM are not called for them.
My opinion, of course
Award points if this helps.
Regards,
Martin Kuma
Similar Messages
-
Any inbuilt Function Module available in CRM to create a Business Partner
Hi All,
I need to create a business partner in CRM not manually through GUI. I need to develop a function module that will create a Business Partner in CRM.
Can some one tell me if there is an in-built BAPI/Function Module availabe in CRM to create a business partner in CRM.
When i researched i found that there is a BAPI BAPI_BUPA_FS_CREATE_FROM_DATA2 which can create a business partner in CRM.
I dont know how to use this BAPI, can some one help me with some sample code.
Also will the development of a function module differ in CRM when compared to ECC?Hello,
Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
p.s. If you don't see combobox mentioned above, it could be security issue.
Kirill -
How to create a business partner whose BP category is person in crm portal?
How to create a business partner whose BP category is person in crm portal.When I use Partner and account management>Partner function in portal,I create a new partner,the partner category is default organization,can not change.
But I what to create a partner with the partner category person,how can I do it?
Is there any other special function to ceate a BP in portal matching the function with T code Bup1(create BP)in sap gui?
By the way,I have the whole privileges in portal and crm.
thanksHello,
Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
p.s. If you don't see combobox mentioned above, it could be security issue.
Kirill -
Create new Business Partner in Loan Area
Hi friends,
I am facing the problem following:
I can not create a new Business Partner (main Loan Partner) in Loan area.
From Create new contract in Loan area, I create a new Business Partner (Organization) -> Result: Display screen is Create new contract
I don't know why? I check in customizing but I can't find which step I missed.
Please help me fix error
Thanks and Best regards
Ms. MinhHi friends,
it's done if create a Business Partner from T.code BP then assign to loan contract.
But I want to fix error why I can't search and create a Business Partner from Loan Contract
Thanks and Best regards
Ms.Minh -
Writing an Upload Program for Business Partner, its address and Attributes
Hi SAP Gurus,
I am in process of writing a tech design and code for an upload program which requires uploading a list of million Business Partners, its address (primarily Zip Code) and a list of Marketing Attributes of those Business Partners. The data will come in a .csv extract which will contain the BP Name, Zip Code, Marketing Attributes (X, Y, Z, etc) and then through this upload we will be creating BPs in the system and then updating its address and then Marketing Attributes.
The approach that I have chosen is -
1) Select the file from the presentation server using the class/method CL_GUI_FRONTEND_SERVICES /GUI_UPLOAD FM
2) Call the FM TEXT_CONVERT_XLS_TO_SAP to transfer the content of the MS Excel file to an internal table for further processing.
3) Call the FM - BAPI_BUPA_CREATE_FROM_DATA and pass the necessary parameters to upload/create the Business Partner and then call the FM BAPI_TRANSACTION_COMMIT to ensure the upload is complete.
4) Once the upload of BP is complete, then upload the address (Zip Code) data through the FM - BAPI_BUPA_ADDRESS_ADD and then call the FM BAPI_TRANSACTION_COMMIT to ensure the address upload is complete.
5) Post the upload of BP and address data, call the FM CRM_MKTBP_PROCESS_BP_LIST to upload the Marketing Attributes of the Business Partners to the relevant tables and then again call the BAPI_TRANSACTION_COMMIT.
I just wanted to check if the above steps are correct or am I missing something important there??
Would appreciate expert opinion/guidance on this.
There is a time constraint on completing this; hence would appreciate a quick and reliable response to it.
BR,
RaviHi Clemens,
Thanks for your input.
So, just wanted to re-iterate the points you highlighted -
1) Instead of presentation server, you want the file to be read from application server and schedule this program as a background job? Am I following you correctly?
2) Link the address upload along with the BP upload only (at the same time instead of separately) to ease of double processing through one FM - BAPI_BUPA_CREATE_FROM_DATA
3) Calling BAPI_TRANSACTION_COMMIT every 1000 BPs or so for faster processing.
However, you did not mention anything about attribute upload. Is that approach fine? or do I need to include anything more there?
Please confirm and then I can close this question.
BR,
Ravi -
Error while creating a business partner / sponsor
Hi experts,
I am getting the following error (same as the one posted by one of the other users) when i try to create a business partner in the 'sponsor' role:
Sponsor does not have a customer associated with it.
Because of this error I AM STUCK!!! and cannot move forward with the rest of the customization. I searched all the settings and researched this error - couldnt find anything useful.
Can you guys PLEASE HELP???
Thank you,
AjayDear Ajay,
The sponsor should have a customer number behind
Please have a look at the online help:[http://help.sap.com/saphelp_erp60_sp/helpdata/en/8d/b6283b85b6666be10000000a114084/frameset.htm]
See Customizing Grantee Management ->GM-GTE Customizing: Master Data -> GM-GTE Master Data Customizing: Sponsor
You can adjust your customizing in a way to create the customer automatically at the time of creating the sponsor, or you can first create the sponsor and link it to a customer afterwards. This will depend on how the sponsor Role (Standard is PSSP01) is set.
you can find it in the IMG> Master Data Synchronization> Customer/Vendor Integration> Business Partner Settings> Settings for Customer Integration> Set BP Role Category for Direction BP to Customer
and check options 'Customer-based' or 'Optional for Customer'
Hope this will help
Kind regards
Mar -
Creating a business partner using data from a remote legacy system
Hi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PMHi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PM -
Creating a Business Partner from XML
I have a problem creating a Business Partner from an XML
First I did get the XML from an existing one. Deleted the DocEntry element but I always get this error :
-5002 : Employee is not a Technician [OCRD.DfTcnician] , '0'
Even if I go to this element and put NOTHING, I get the error anyway
What that means ?Yeah, I succeeded. I had to get rid of dtfncien element completly and DocEntry element too and the bp was created
Would have been so much useful to get an EMPTY xml representation of an object so we juste have to fill the needed properties to an empty one and create the object afterward.
According to various threads, we have to GetAsXML() then, change whatever needs to be changed and then we create the object from this xml but there are a lot to get rid of sometimes in these objects -
Change history of User for Business Partner Number attaching and removing
Hi Experts
Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
Thanks--
Guru Prasad DwivediSerene,
I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this. If at all a Payment term was deleted, I don't think it can be traced.
It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
Suda -
How can i define the same business partner as Vendor and Customer and link between them
Hello Professionals,
I want to define the same business partner as customer and vendor and link between them,
How can i do this in SAP B1?
Thanks in Advance,Hi Karem
Our Account People doing like this only in my company.
If you Raise A/R Invoice means customer list only show in Business Partner List.
If you Raise A/P Invoice means Vendor list only show in Business Partner List
We Follow different Code for Customer and Vendor as show below.
for Vendor = Code Starts with V0001
for Customer = Code Starts With C0001
With Regards
Balaji -
Business Partner - Number Ranges and Groupings
Hello,
A few weeks ago, we are activated RMCA components and activated Telecommunications 6.0 in a sand box client.
Now we are doing customizing and application of BP.
We want, and we could, to range BP in number range from 1 to 9999999999, as the costumers appear in our CRM system. But the problem is that we cannot do the same with AR/SD costumers because we already have old AR/SD costumers, not the same person, in the same range and we don't have not used range.
I know that we can to convert AR/SD costumers groups, but that problem is that we need to convert costumers number.
How we can open in the same number, the BP and AR/SD costumer? Can we reorganize the old SD costumers?
We sure that we are not the first company that implement RMCA in the middle of life cycle that already have AR/SD costumers.
With best regards,
Galia Ribinik.
Edited by: Yes SAP Team on Jan 8, 2012 7:53 AMRM-CA: Number ranges and groupings
Choose the following in the Customizing: Cross-Application Components ® SAP Business Partner ® Business Partner ® Basic Settings ® Number Ranges and Groupings.
Define the corresponding number ranges externally in RM-CA and ensure that this RM-CA number range includes both the internal and external CRM number range.
You can choose any name for the group, but it must be the same as the name in CRM.
SD Customer Mapping
Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ® Master Data ®Preparations for Creating Customer Master Data ® Create Number Ranges for Customer Accounts.
If you also want to create an SD customer during business partner replication, you must create a separate number range for this customer. Assign this number range to the corresponding account group. Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ®Master Data ® Preparations for Creating Customer Master Data ® Assign Number Ranges to Customer Account Groups.
·SD Customer Mapping
Choose the following in Customizing: Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ® Master Data ® Preparations for Creating Customer Master Data ®Define Account Groups with Screen Layout (Customers).
You must reconcile the account group settings for the business partner with the corresponding field groups for the business partner in CRM. If for example a field in RM-CA is not defined as a mandatory field in CRM, replication will fail if an entry has not been made in this field in CRM.
Use the PIDE transaction to control which CRM business partner classification is mapped to a specific account group in RM-CA.
Define the reverse situation here using the corresponding number range grouping.
· Create and assign an SD sample customer
To generate an SD customer in RM-CA during the business partner replication, you require a reference business partner. This is used as a template during creation.
Choose the following in the system: Logistics ® Sales and Distribution ® Master Data ® Business Partner ® Customer ® Create ® Sales and Distribution (Transaction VD01).
Create the sample customer using the account group described in the preceding step. The system name for the sample customer must start with the letters u201CMUSTu201D (such as MUSTER_TELCO).
You must also create the sales area data for the customer. Note that you must maintain each sales area used accordingly.
· Assign SD sample customer
Assign the sample customer in the TCRMBP_REFCUST table (transaction SM30) and define the corresponding determination. If you only want the system to determine a specific sample customer, you can leave the Business partner category, Group and Partner type fields blank.
http://help.sap.com/saphelp_telecom472/helpdata/en/65/d7a55dadd52348ad73320774783649/content.htm -
FM to create a business partner
Hi
Which function module used to create a business partner like ship-to, sold-to sales employee, contact person and assign to customer.
Best regards
PravinHi ,
take a look in those functions :
1) BAPI_BUSINESS_PARTNER_CREATE
2) COM_PARTNER_BAL_CREATE
regards ,
Herzel . -
Hi Specialist
I have some invoices in my transaction FBL5N according to one customer. But if I am try to display my worklist i can't see the invoices...
THen I tried to check the business partner and it isnt exist.
Could you let me know the program to create the Business partner. I cant create it manually.
Thank youHi, In this transaction you should be able to see the Source object: Customer, Target obj. Business partner. If you dont see this options you have configuration issues.
If you are running this for one customer you can untick the Background processing flag.
Cristobal. -
Hello All,
I was trying to create a Business Partner(Ship to Party) using function module SD_CUSTOMER_MAINTAIN_ALL. When I am executing this through SE37 transaction, its working fine &
creating a KUNNR value along with new ADRNR number.
But when the same data is passed inside the program, its throwing CAM_ERROR(sy-subrc = 22).
If anyone used this FM, please suggest. Thank you.Hello Ragu,
I am passing the data to function module as shown below.
*KNA1 population
ls_kna1-mandt = sy-mandt.
ls_kna1-ktokd = 'ZN02'.
ls_kna1-land1 = ls_adrc-country.
ls_kna1-name1 = ls_adrc-name1.
ls_kna1-name2 = ls_adrc-name2.
ls_kna1-ort01 = ls_adrc-city1."City
ls_kna1-regio = ls_adrc-po_box_reg.
ls_kna1-pstlz = ls_adrc-post_code1.
ls_kna1-sortl = ls_adrc-sort_phn.
ls_kna1-stras = ls_adrc-house_num1.
ls_kna1-spras = ls_adrc-langu.
*BAPIADDR1 population
ls_bapiaddr1-name = ls_adrc-name1.
ls_bapiaddr1-name_2 = ls_adrc-name2.
ls_bapiaddr1-city = ch_adrc_struc-city1.
ls_bapiaddr1-postl_cod1 = ch_adrc_struc-post_code1.
ls_bapiaddr1-street = ch_adrc_struc-street.
ls_bapiaddr1-house_no = ch_adrc_struc-house_num1.
ls_bapiaddr1-str_suppl1 = ch_adrc_struc-str_suppl1.
ls_bapiaddr1-str_suppl2 = ch_adrc_struc-str_suppl2.
ls_bapiaddr1-location = ch_adrc_struc-location.
ls_bapiaddr1-country = ch_adrc_struc-country.
ls_bapiaddr1-langu = ch_adrc_struc-langu.
ls_bapiaddr1-sort1 = ch_adrc_struc-sort1.
ls_bapiaddr1-sort2 = ch_adrc_struc-sort2.
ls_bapiaddr1-langu_cr = ch_adrc_struc-langu_crea.
*KNVV Population
ls_knvv-vkorg = '1000'.
ls_knvv-vtweg = '01'.
ls_knvv-spart = '01'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = ls_kna1
i_knvv = ls_knvv
i_bapiaddr1 = ls_bapiaddr1
i_maintain_address_by_kna1 = 'X'
i_no_bank_master_update = 'X'
i_raise_no_bte = 'X'
pi_postflag = 'X'
i_from_customermaster = 'X'
IMPORTING
e_kunnr = lv_kunnr
o_kna1 = ls_kna1_output
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 = 0.
EXPORT kunnr FROM lv_kunnr TO MEMORY ID 'Z_CUST_NUM'.
EXPORT adrnr FROM lv_adrnr TO MEMORY ID 'Z_ADDR_NUM'.
ENDIF.
When I am executing this through SE37, its working perfectly. However when used in Sales Order Save exit, its throwing an error saying SY-Subrc = 22(CAM_ERROR). -
How to create the Business System both sender and receiver in SAP XI / PI
Dear All
kindly let me know how to create the Business System both sender and receiver in SAP XI / PI
Regards
BlueHi,
If by any chance you are not able to find these....
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/workingwithSystemLandscapeDirectory+%28SLD%29&
http://help.sap.com/saphelp_nw04s/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/f1/92b248db68409487661ff13239127d/content.htm
Regds,
Pinangshuk.
Maybe you are looking for
-
Why does my wifi work with my dell but not my new Imac?
Hey, I was wondering if ya'll could help me. My wifi won't work as fast on my Imac. It works on my dell laptop real fast but for some reason it goes super slow on my new Imac 21 inch. Please help. -Thanks
-
How do I determine the size of my iPhoto library?
I am running out of disk space and I assume that it is due to my photos. #1 - how do I determine if this is the case? #2 - how can I figure out the size of my library so I buy the correct sized external HD? #3 - what is the best practice for moving i
-
Implementing Enhancement pack only on ECC
Dear All, We are planning for implementing EHP4 on ECC system, we are currntly not on any EHP level.Currently we have this enhancement requirement to be done only on ECC system and no othr system in landscape(CRM&BW) due to some of the criticality an
-
Gnupg core package: command not found: gpg-zip
Hi! Where is the "gpg-zip" command from the core "gnupg" package? Why removed?
-
What are Binary Format. I took over a site and now using DW to update. I can't get Flash files to work and was told to make sure I'm using Binary Format. Does that happen with DW