Change business partner code
Hi All,
I have a prospect who wants to have the business partner code of 20 characters, as you may know 15 is the current. Do you know what is the best way to workaround this? He doesn't like the idea of using user defined fields.
thanks to all
Hector
Hi Hector,
You cannot change the length of the Business Partner Code (CardCode) field built into SBO. You need to use another field if that one is not good enough. You have various options and the best is probably to use a user-defined field. You can also use any other field on the BP Master Data which they don't use internally (like Foreign Name for example).
Hope it helps,
Adele
Similar Messages
-
How to change Business partner PERSON in GTS system
Hi,
I have developed an program to create business partner (Person, Contact person and Organization). But now I have to include code for changing Business partner.
I have used BAPI_BUPA_FS_CREATE_FROM_DATA2 BAPI for Person creation. But now I am not finding any BAPI to change PERSON business partner.
Let me know a BAPI or any other way to change PERSON BP.
Thanks
Atanu DasHi experts,
I am facing the exact same issue and was wondering:
1. Are there specific authorization objects that I can use to limit access on the web UI based on BP roles? I found authorization object B_BUPA_RLT. But does this work for just SAP GUI or web GUI as well?
2. I have read threads relating to another solution, to use a BADI to alternate configuration views. Are there any other alternative solutions that are purely configuration based?
Vinay,
Could you provide details on which solution you eventually went with to solve your problem?
Thanks,
jo -
Business Partner Code when using *
Hi all,
In Business Partner code when the user want's to see all Business Partner and makes "*" appears the BP code, BP Name and Foreign Name.
All user see this information except one that doesn't see the Foreign Name.
Why?Hi Ad,
Thank you for your reply.
"Foreign Name" is already select in the Form Setting.
You say that "This is a setting per user" but i dont think so. In Form Setting of the "List of Business Partners" i add "Account Balance" to one user and ALL users see the same information.
Best regards,
Augusto Silva -
Regarding Autogeneration of Business Partner Code.
Dear All,
I have a unique requirement. My client wants autogeneration of Business Partner Code in the Business Partner Master.
Please guide me in regard to this.
Regards
Hitesh ParsawalaWe normally have customer code generated as 'C00001' then 'C00002' etc and Supplier or vendors as 'S00001' and 'S00002' etc. This requires the FMS on the BP Code to be a little more complicated but not over the top.
DECLARE @MAXC as integer
SET @MAXC=isnull((SELECT CAST(MAX(RIGHT(OCRD.CardCode,5))+1 AS INTEGER)
FROM OCRD
WHERE OCRD.CardType<>'S' AND Len(OCRD.CardCode)=6 AND OCRD.CardCode like 'C%'),1)
DECLARE @MAXS as integer
SET @MAXS=isnull((SELECT CAST(MAX(RIGHT(OCRD.CardCode,5))+1 AS INTEGER)
FROM OCRD
WHERE OCRD.CardType='S' AND Len(OCRD.CardCode)=6 AND OCRD.CardCode like 'S%'),1)
--This will give you the next number then
SELECT CASE
WHEN $[OCRD.CardType]='C' THEN (SELECT DISTINCT CASE
WHEN LEN(@MAXC)=5 THEN (SELECT 'C' + CAST(@MAXC AS varchar) )
WHEN LEN(@MAXC)=4 THEN (SELECT 'C' + '0' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=3 THEN (SELECT 'C' + '00' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=2 THEN (SELECT 'C' + '000' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=1 THEN (SELECT 'C' + '0000' + CAST(@MAXC AS varchar))
END FROM OCRD )
WHEN $[OCRD.CardType]='L' THEN (SELECT DISTINCT CASE
WHEN LEN(@MAXC)=5 THEN (SELECT 'C' + CAST(@MAXC AS varchar) )
WHEN LEN(@MAXC)=4 THEN (SELECT 'C' + '0' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=3 THEN (SELECT 'C' + '00' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=2 THEN (SELECT 'C' + '000' + CAST(@MAXC AS varchar))
WHEN LEN(@MAXC)=1 THEN (SELECT 'C' + '0000' + CAST(@MAXC AS varchar))
END FROM OCRD )
WHEN $[OCRD.CardType]='S' THEN (SELECT DISTINCT CASE
WHEN LEN(@MAXC)=5 THEN (SELECT 'S' + CAST(@MAXS AS varchar) )
WHEN LEN(@MAXC)=4 THEN (SELECT 'S' + '0' + CAST(@MAXS AS varchar))
WHEN LEN(@MAXC)=3 THEN (SELECT 'S' + '00' + CAST(@MAXS AS varchar))
WHEN LEN(@MAXC)=2 THEN (SELECT 'S' + '000' + CAST(@MAXS AS varchar))
WHEN LEN(@MAXC)=1 THEN (SELECT 'S' + '0000' + CAST(@MAXS AS varchar))
END FROM OCRD)
END
Try Shift-F2 on the BP code with this FMS -
To change business partner ( RFC enabled Function Module )in CRM.
Hi All;
While sending a Business partner from R/3 to CRM. I would like to change business partner ( RFC enabled Function Module )in CRM.
Is there any exit or a BAdI which i can use to do this?
Regards
Yusuf Dagyeli
Message was edited by: Yusuf Dagyeli
Message was edited by: Yusuf DagyeliHi RAMS,
1. Under the SWCV Go to the Imported Objects.
2. Right click on the RFC and click on the Import of SAP object.
3. Give the logon server name, system number the user name and pasword.
4. Select the RFC u want to import.
5. Execute the import and the RFC is imported under the SWCV.
Now u can use this Imported RFC in the scenarios of that SWCV.
Regards
Santhosh
Remember to set the thread to solved when you have received a solution -
Hello,
after upgrading from CRM5 to CRM7 (Service for Employee), our Interaction Centre users started getting intermittent SAPSQL_ARRAY_INSERT_DUPREC screen dumps when clicking on the 'Save' button after having changed a partner number in the Partners Table of a Service Ticket.
On encountering one of these screen dumps, the user then has to close their IC session and then restart it - after which it is then possible to successfully 'Save' the same change to the same business partner on the same Service Ticket.
I have not been able to reproduce this error due to its intermittent nature.
Details of the source code extract from the ST22 dump is given below.
Has anyone else encountered such an issue themselves?
thanks,
Martin
Category ABAP Programming Error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLCOM_PARTNER_DU
Application Component CRM-BF-PD
Date and Time 20.08.2014 11:15:25
Line SourceCde
41 * data definitions
42 DATA: BEGIN OF ls_attribute_record_to_use,
43 partner_guid TYPE crmt_partner_guid,
44 values TYPE text255. "has to be as long as the longest
45 "attribute structure
46 DATA: END OF ls_attribute_record_to_use.
47
48 DATA: lt_attribute_records_to_use LIKE SORTED TABLE OF
49 ls_attribute_record_to_use WITH UNIQUE KEY partner_guid,
50
51 lv_tablename TYPE tabname,
52 ls_attribute_record TYPE crmt_partner_attr_du,
53 lv_name TYPE char64.
54
55 FIELD-SYMBOLS: <values> TYPE ANY,
56 <address> TYPE crmt_partner_address,
57 <fs_insert_record> TYPE crmd_partner,
58 <fs_addr_ref_data> TYPE crmt_partner_address_reference.
59
60 FIELD-SYMBOLS: <wa_to_proceed> TYPE ANY,
61 <table_to_proceed> TYPE ANY TABLE.
62
63 DATA: wa_to_proceed TYPE REF TO data.
64 DATA: lt_wa_table TYPE REF TO data.
65
66 *** MAINTAIN PARTNER RECORDS *******************************************
67
68 *** records to insert
69 IF NOT it_partner_records_to_insert IS INITIAL.
70
>>>>> INSERT crmd_partner FROM TABLE it_partner_records_to_insert.
72 IF sy-subrc NE 0.
73 MESSAGE a002(com_partner) WITH gc_object_name_partner.
74 ENDIF.
75
76 ENDIF.
77
78 *** records to delete
79 IF NOT it_partner_records_to_delete IS INITIAL.
80 DELETE crmd_partner FROM TABLE it_partner_records_to_delete.
81 IF sy-subrc NE 0.
82 MESSAGE a002(com_partner) WITH gc_object_name_partner.
83 ENDIF.Hello Atul,
thanks for your message. I have had a look at the SAP notes that you have pointed me to, however they unfortunately do not relate to the functionality where we are encountering this problem:
1914117 - Relates to Sales (not Service {Employee})
1823316 - This error occurs in the wrong FM (BUR_BUPR_UPDATE) rather than FM COM_PARTNER_UPDATE_DU.
1809361 - Relevant for the SAP GUI transaction, 'BP', not the Interaction Centre which iswhere this error is occuring.
SAP have not been able to help because of its intermittent nature, it is not possible to create this error on demand, and as I am working on a secure site SAP cannot open a remote connection.
thanks,
Martin -
Change Business Partner in CRM to trigger OutBound IDOC in R/3 system
Hi Team,
I am stuck on a requirement, We have a scenario were the Business Partner is created in CRM system
which creates a BDOC and is passed to R/3 system through an Inbound IDOC which triggers the Outbound IDOC to PI system. So far good.
The scenario we are getting stuck is when a Business partner is changed in CRM an IDOC triggered in R/3 system but this being a change the Change pointers are not called hence the IDOC which is supposed to be triggered for the PI system is not getting triggered.
Can you please tell me what steps should I take to trigger this Outbound IDOC from R/3 system?
I did some anlyasis and found a table which COM_BUPA_CALL_FU which contains a set of function module which is triggered in the sequence. Is this the solution or if you have any different do let me know.
Thanks,
ImranHi,
Did you add the entry for your new custom 'Z' long text inPITX Tcode in R3 side. Every long texts in CRM should be linked to R3 long text here. If there is no entry please add one and try changing the text in CRM.
Hope this helps,
Karuna. -
Change Business Partner Number or copy
Hi experts!,
I need to change some business partner numbers or in another hand creates a copy of business partner but different number.
It's possible?
A lot of thanks in advance.
Regards.Hi,
There is no standard way to do this, but you can write a simple report to achieve this functionality.
Moreover - copying is not that simple - e.g. : you can copy the data such as name ,etc..but you still needs to generate a new person number as well ! For this, you need to involve address management also.
Again, you can copy the address data, but you will need to generate new address numbers as well.This also requires Address Management.
The solution is to use a report using BAPIs.
E.g : Fetch data of existing BP using BUPA_CENTRAL_GET_DETAIL.
Remove fields such as partner number and peson number from this ,and feed it to the BAPI BUPA_CREATE_FROM_DATA. A new BP will be created, with the same data, but new number GID, etc.
Similarly , you need to fetch all datasets and then create them again.
Let me know if you need more info regarding this.
Cheers,
Rishu. -
Dynpro not found when create or change business partner
Dear friends,
I try to do some maintenance of business partner using tcode BP. An error has occur as below:
Anyone can help me.
Thanks in advance.
Runtime Errors DYNPRO_NOT_FOUND
What happened?
Error in ABAP application program.
The current ABAP program "SAPLBUSS" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
The program had to be terminated.
Error analysis
Program "SAPLBUSS" tried to use screen 7015.
The screen does not exist.
Trigger Location of Runtime Error
Program SAPLBUSS
Include LBUSSO00
Row 1,543
Module type (MODULE PBO)
Module Name PBO_START_SUBSCREENHi,
Please check the screen 7015, is active or not.
Regards
HM -
Autogenerate Business Partner Code
Hi,
Has anyone customized the B1 BP Master Data form to enable the system to automatically generate a BP code while in ADD mode? Our client, understandably, does not want to have to refer to a separate list in order to find the next sequential BP number when adding a new BP. It would also be very cool if customer codes could be preceded by a "C", vendor codes by a "V" and leads by an "L".
Any information is appreciated.
Thanks,
TedThis is the formatted search I'm using. I quite like it
DECLARE @MAXC as varchar(5)
SET @MAXC=(SELECT MAX( RIGHT(T2.CardCode,5)) FROM OCRD T2 WHERE T2.CardType='C')
DECLARE @MAXS as varchar(5)
SET @MAXS=(SELECT MAX( RIGHT(T2.CardCode,5)) FROM OCRD T2 WHERE T2.CardType='S')
SET @MAXS=(SELECT @MAXS+1)
SET @MAXC=(SELECT @MAXC+1)
SELECT CASE
WHEN $[OCRD.CardType]='C' THEN (SELECT DISTINCT CASE
WHEN LEN(@MAXC)=5 THEN (SELECT 'C' + @MAXC)
WHEN LEN(@MAXC)=4 THEN (SELECT 'C' + '0' + @MAXC)
WHEN LEN(@MAXC)=3 THEN (SELECT 'C' + '00' + @MAXC)
WHEN LEN(@MAXC)=2 THEN (SELECT 'C' + '000' + @MAXC)
WHEN LEN(@MAXC)=1 THEN (SELECT 'C' + '0000' + @MAXC)
END FROM OCRD )
WHEN $[OCRD.CardType]='S' THEN (SELECT DISTINCT CASE
WHEN LEN(@MAXS)=5 THEN (SELECT 'S' + @MAXS)
WHEN LEN(@MAXS)=4 THEN (SELECT 'S' + '0' + @MAXS)
WHEN LEN(@MAXS)=3 THEN (SELECT 'S' + '00' + @MAXS)
WHEN LEN(@MAXS)=2 THEN (SELECT 'S' + '000' + @MAXS)
WHEN LEN(@MAXS)=1 THEN (SELECT 'S' + '0000' + @MAXS)
END FROM OCRD )
END -
CIC0: change Business partner in our workspace.
Hi everybody.
is it possible to set BP of CIC0 , from some custom workspace?.
Thanks.
Message was edited by: Gustavo Navas SánchezHi Johnnie
We have an workspace in which we are going to make "patients" in R/3-ISH, and then we´ll copy in CRM, so we want to change the active bussines partners* in CIC0 to the new one - In the case when we don´t have a valid bussines partners -.
So we want to pass to the BP Search component a BP when we "are" proceeding with any businees and don´t end it.
Of-chance could be end bussines and then confirm the new one.
Thanks.
*For us, a patient in ISH have the same number than a Bussines partners in CRM.
Message was edited by: Gustavo Navas Sánchez
Message was edited by: Gustavo Navas Sánchez
Message was edited by: Gustavo Navas Sánchez
Message was edited by: Gustavo Navas Sánchez -
Automatic synchronization of Collection Profile in Business Partner
I'm in the process of implementing FSCM Collections Management in ECC 6.0 single system scenario.
I configured automatic synchronization of customers with business partners. Whenever a new customer is created, SAP is automatically creating corresponding business partners with general and collection profile tabs. If a customer is changed, SAP is automatically changing business partner general data. This process is working fine for general data.
However, I would like system to automatically update business partner collection profile data based on certain parameters maintained in customer master company code view. Is there any BAdI available for this purpose? I do know that it can be done through transactions UDM_BP_PROF or UDM_BP_GRP or enhancing these transactions through BAdI, but I prefer to do it at the time customer is created or updated.
Any suggestion will be appreciated.Hi,
You can directly change the Coll specialist in the BP it self
Regards,
D vasanth
Edited by: vasanth_y18 on Jan 18, 2011 11:50 AM -
Organizational objects do not create a Business Partner ID
I am setting up SRM org structure with PPOCA_BBP/PPOMA_BBP transaction. I am creating, companies, plants, purchase orgs, purchasing groups and positions and the problem is that SRM is not assigning a Business Partner number to any of those.
I have already checked that there is an internal and external number range setup for Business Partners. Do you have any hints why this could be happening? Your help will be appreciated.
Thank you.Hi
Which SRM version are you using ?
I imagine you would like to synchronize business partner data, which are created in backend, into SRM. You can use Tcode BBPGETVD or BBPUPDVD or run/schedule bbp_vendor_sync (need customizing).
You can create BP:->
1) Either via middleware replication from R/3 to SRM - BBPGETVD.
2) Either manually directly in SRM web transaction - BBPMAININT.
<u>Please go through these pointers, which will definitely help -></u>
Re: Errors: Business partner of organizational unit 50024549 has no address
Re: Assinging users to Business Partners in EBP Org Structure
Missing Business Partner
Re: Error Changing Business partner address
Re: Problem with BP. Assignment: Business partner person to user not unique
Error in creation of Employee for Business Partner
Re: Business Partner not created in PPOMA_BBP
delete company code in ppoma_bbp
Re: Business partner relationships -- "Is Identical To"
Re: PPOMA_BBP / PPOCA /PPOSA without Address field
Do let me know.
Regards
- Atul -
Wrong Suggest of Businer partner code
I have a problem in sales order with approval procedure and inactive business partner:
When im trying to enter an inactive business partner code in the document, suggest me this code and let me create the draft to be authorized. How i can disable this option of suggest.
Im working in SBO 8.8 pl15Hi Fernando,
an inactive BP shouldn't be in the Choose-from- List unless you are creating a payment document or the document has a posting date outside the inactive period as set in the BP master data (see 1411244 - Master Data Inactive/ Active Enhancements).
The behaviour you describe cannot be reproduced in 8.81 pl004 or 5, so the bug has been fixed already.
All the best,
Kerstin -
Reg: removing business partner
Hi Experts,
Can you tell me is there any Standard bapi for deleting business partner,
iam created business partner using standard interface BAPI_BUPA_CREATE_FROM_DATA.
now i want remove that field using standard bapi only,
i found one bapi ,that is removing address info(BAPI_BUPA_ADDRESS_REMOVE)...
please let me know is there any bapi for removing businesspartner ..
and tell me mandatory fields for that bapi...
please respond urgent.......
Thanks in Advance
Sumalatha K.
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 5:17 PMhi
good
i dont think there is any such BAPI to delete the business partner.
check this bapi
BAPI_BUSINESS_PARTNER_MODIFY CBP: BAPI for Modifying (Creating/Changing) Business Partner
thanks
mrutyun^
Maybe you are looking for
-
I need to change the preferences in Adobe InDesign CS6, please HELP!!
I have been trying to learn how to change the dimensions of a new document in preferences from picas (default), to inches. Everything I have found says that I need to go up to the menu bar, and choose InDesign>Preferences to change it, but I do not h
-
I can't get back to my homepage after surfing the web. no back button visible
back button not working to get back to homepage after surfing the web
-
Yesterday I bought an electro-acustic Guitar and I would like to connect it to my MacPro and use it with Garage Band. It is possible to connect it directly to the computer? Do I need some extra hardware (like an interface)? Any help well be very appr
-
Hi team, I was referring the below statement to understand the control cycle. The Kanban Control Cycle business object is used to control the flow of information and material between the demand source and the supply source in a pull environment. It c
-
Hi all, give me some diff between adapter and proxy communications.. regards krish..