FM to fetch Industry sector of Business partner
Hi Gurus,
Can you tell me the Function Module to fetch Industry sector for a given Business partner. I have already tried using the FMs
1. BUPA_INDUSTRYSECTORDETAILS_GET
2. BAPI_INDUSTRYSECTORDETAILS_GET
Any pointers on the same will be helpful.
thanks,
Udaya
Udaya,
Use this FM :
crm_bupa_frg0040_get_detail
In the export structure ES_DATA , you will get industry sector in INDUSTRY field.
Similar Messages
-
Need for SQL to fetch the details of Business Partner table (OCRD)
Hi,
I am trying to write a sql that would help me to get all vendors and their Tax ID information. Here is what I wrote...
select CardName, LicTradNum, Address, City, State1, Country, ZipCode, Phone1, Fax, CntctPrsn, Box1099, CreateDate, UpdateDate, * from OCRD where CardType = 'S'
In the SAP B1 client I am able to see valid values for fields '1099 Form' and '1099 Box'. When I execute above SQL, I only get a reference to the actual values. I am thinking there is a cross reference to other table to pull this informaiton. Can you help me to get the details for 1099.
Thanks a lot in advance for your help.
Manoj.Hi Manoj,
Try:
select CardName, LicTradNum, Address, City, State1, Country, ZipCode, Phone1, Fax, CntctPrsn, T1.Form1099, Box1099, CreateDate, UpdateDate from OCRD T0
LEFT JOIN OTNN T1 ON T1.FormCode=T0.FormCode
where CardType = 'S'
Thanks,
Gordon -
Is business area and industry sector are same.
Hi All,
is company code is related to industry sector in any way???
is industry sector related thro business area then, or is business area and industry sector are one and the same.
Thanks
SathsihDear Satish,
Business Area - Organizational unit of external accounting that corresponds to a specific business segment or area of responsibility in a company. Movements in value entered in Financial Accounting are assigned to business areas.
Financial statements can be created for business areas for internal purposes.
The definition of the business area organizational unit is optional.
Business areas are used in external segment reporting (over and above company codes), based on the significant areas of operation of a company (for example, product lines, branches).
To define business areas, choose the following in Customizing for the Enterprise Structure: Definition -> Financial Accounting -> Define Business Area.
If you have defined business areas, the transaction figures for the G/L accounts are managed separately for internal evaluation purposes. You can therefore create internal financial statements for business areas.
If you want to create financial statements for business areas, you must make sure that the Business area field is ready for input in all the line items. To do this, proceed as follows in Customizing for Financial Accounting: Financial Accounting Global Settings -> Business Area -> Enable Business Area Balance Sheet.
To post items in a business area, enter the business area when you enter the business transaction. However, the business area can also be derived from other account assignments, such as the cost center. To enable the system to do this, you must define the business area in the cost center master record.
If you enter a cross-company code document, you can post to different business areas across all company codes in one document. As a result, any number of combinations of company code and business area are possible.
Industry Sector - When you create a material master record, you are required to classify the material according to industry sector and material type.
The standard system contains the following industry sectors. The ID used to identify the industry sector internally appears in parentheses.
· Plant engineering and construction (A)
· Chemical industry (C)
· Mechanical engineering (M)
· Pharmaceuticals (P)
The other sectors are for retail.
Regards,
Naveen. -
Hello gurus
Where in SAP CRM we enter the Industry sector code.......for example
Industry code Descreption
10000 Auto
10100 Engine
Etc.....
in R/3 we enter under Define Industry sector codes...
as we are getting B doc errors due to missing Industry code in crm
Inputs will help us a lot.......
RegardsHi Sajja,
We have the same kind of field in General data tab with in Business Partner master record.
Field name is Industry ( Technical name : INDUSTRY)
Table BUPA_CRMD01.
Regards
Naren.. -
Issue in creating a dropdown for Industry sector field
Hello Gurus,
Am trying to create a dropdown for Indusry field. 3 dropdown should come up for Industry sector field namely primary,secondary and tertiary.Corresponding to the value selected in primary,data should come up in Secondary and corresponding to value selected in secondary ,data should up in tertiary.Am only able to fetch the value at first instance but corresponding values are not coming up secondary and tertiary.I have followed the procedure that had to be followed in order to make a field as dropdown.Can anyone Please help.
In get_v , i have added this code.
DATA: lt_ddlb TYPE bsp_wd_dropdown_table,
wa_ddlb LIKE LINE OF lt_ddlb.
DATA:
lr_entity1 TYPE REF TO if_bol_bo_property_access,
lv_index TYPE sytabix,
lr_collection TYPE REF TO cl_bsp_wd_collection_wrapper,
lv_high_ind_sector TYPE string,
lv_istype TYPE string.
CLEAR: wa_ddlb, lt_ddlb
lr_collection = me->GET_COLLECTION_WRAPPER( ).
lv_index = lr_collection->get_current_index( ).
IF lv_index = 1.
lr_entity1 ?= lr_collection->find( iv_index = lv_index ).
lv_high_ind_sector = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTOR' ).
lv_istype = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTORKEYSYSTEM ' ).
CLEAR: lv_high_ind_sector.
ELSE.
lv_index = lv_index - 1.
lr_entity1 ?= lr_collection->find( iv_index = lv_index ).
lv_high_ind_sector = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTOR' ).
lv_istype = lr_entity1->get_property_as_string( iv_attr_name = 'INDUSTRYSECTORKEYSYSTEM ' ).
ENDIF.
SELECT aspras aind_sector atext INTO CORRESPONDING FIELDS OF TABLE GT_IND_SECTOR FROM tb038b AS a INNER JOIN tb038a AS b ON bistype = a~istype
AND bind_sector = aind_sector
AND b~istype = lv_istype*
AND b~father_sec = lv_high_ind_sector.
Loop at GT_IND_SECTOR into wa_ind_sector.
wa_ddlb-key = wa_ind_sector-ind_sector.
wa_ddlb-value = wa_ind_sector-text.
Append wa_ddlb to lt_ddlb.
endloop.
IF lt_ddlb IS NOT INITIAL.
INSERT INITIAL LINE INTO lt_ddlb INDEX 1.
ENDIF.
IF GR_DDLB_INDUSTRY_SEC IS NOT BOUND.
CREATE OBJECT GR_DDLB_INDUSTRY_SEC
EXPORTING
iv_source_type = 'T'.
IF sy-subrc = 0.
GR_DDLB_INDUSTRY_SEC->set_selection_table( it_selection_table = lt_ddlb ).
ENDIF.
ENDIF.
rv_valuehelp_descriptor = GR_DDLB_INDUSTRY_SEC.Hello,
Not sure I understood your requirement 100%, but kindly check the following thread where a question on How-to make dropdown list values dependent has already been answered:
How to link the first Drop down values witht the second Drop down Values
Regards,
Nicolas Busson.
PS: also it would be good to know your CRM version... because I thought this thread was posted in the WebClient forum, but it's not. -
Creation of Business Partner with External BP #,ID type and Identifications
Hi Group,
I have a query on creation of Business Partner with External BP #,ID type and Identification # (along with the Firstname,Lastname,Email, Phone & etc.,) things.
the thing is that I was using a BAPI called "BAPI_BUPA_FS_CREATE_FROM_DATA", to create a BP and I was not able to have an option available for these things (External BP #,ID type and Identification # ) along with that BAPI.
So please kindly let me know how these things can be fetched from a BAPI which can accomodate all the above things mentioned.
Please kindly let me know how it can be achieved.
thanks in advance.
Regards,
Vishnu.Hi Gerhard,
Infact this reply was very useful, but ,while using the BAPI "BAPI_IDENTIFICATION_ADD" while creating the Id type and Id #s, this BAPI was not enabling this.
I was trying to use this BAPI to create ID #, and it's desc, but, this BAPI was returning like "This BP # does not exist" (in some cases) and in some other cases, it is keeping quiet without giving any indication as whether the things have been updated or not... and also when I checked, things were not getting reflected.
your help would be very much appreciated.
thanks & regards,
vishnu. -
E-Recruiting 6.0: Business Partner Role For Branches
Hi Experts,
In the IMG, SAP E-Recruiting > Basic Settings > Enterprise Structure > Define Business Partner Role for Branches
Can anyone help in the following:
1) What is the purpose of Business Partner Role and how does it relate the Branches? Or how can i make use of it?
2) If i am going to maintain the Company & Branches via the Administrator function instead of IMG, do I still need to configure this step: Define Business Partner Role for Branches
Thanks. Will reward points for any helpful tips.
WilliamHello William,
the Business Partner is an application / module which belongs to the base components of the SAP. It is used and partly extended by various other applications / modules. Next to E-Recruiting it is used for example by CRM and the financial service solution (FS-CS, FS-PM, FS-RI). All of these modules can put their data for a person or an organization into the same tables. Depending on the installation / system environment or even within one single module the requirements for available fields and business checks as on authorization differ between kinds of business partners (e.g. in FS-CS the commission solution for the financial service sector knows external agents and internal employees which have to be treated differently). The business partner is the element to assign the logical / business role in which a person is handled by the system.
For E-Recruiting you have 2 kinds of business partners, too. On the one and there are people being candidates and on the other hand there are branches of your company which hire people. The configuration allows you to seperate them if you need to identify anywhen which business partner is a branch and which is a candidate. So far I never tried if this is really working as there is no real use for this I never set it up. The attributes and the business checks are the same anyways.
Hope that helps a bit to understand the context
Best Regards
Roman Weise
PS: please remember that you have to maintain the branches via administrator bsp application. Using the IMG entry won't work. -
Duplicate check: access ID of current business partner
Hello,
we're using BADI ADDRESS_SEARCH to perform duplicate check of business partners in CRM 7.0.
Some relevant address fields are passed to method ADDRESS_SEARCH (e.g. city, country, ...), however, not the partner ID or the GUID of the business partner.
Is there any chance to access the currently processed business partner from inside the BADI method? The former (CRM 4.0, 5.0) BDT function modules "BUPMEMORY" don't work any more.
The thing is that we need to control the duplicate check based on several BP attributes like grouping, BP role, and so on.
Kindly consider that we're not in the IC (interaction center) but in the CRM web client (role SALESPRO)
Many thanks for any help & kind regards
WolfgangHi,
One way is to enhance the custom controller of the BP_HEAD component, add a new attribute e.g., BP No or GUID and set its value on submitorenter event or save event and inside the BADI retrieve the custom controller reference to fetch the BP No or GUID.
Regards
Prasenjit -
Transfer of Business Partner Master data from CRM to TIBCO.
Hi All,
We intend to integrate CRM4.0 with TIBCO for transfer of Business Partner Master data from CRM to TIBCO.
Can anyone provide solution for the same. One of the think is through XI.Please correct if it is the right way to do it?.
Also, would appreciate if someone can provide documentation or links for integration.
Regards,
Mehul Shah.Hi Rahul,
Yes you can integrate CRM and TIBCO using XI.
Check the below links
transfer the Business Partners from the CRM system to XI and to MDM.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50260ae5-5589-2910-4791-fc091d9bf797
any XI content delivered by SAP can be found in the SAP service marketplace which you can enter http://www.sap.com/services/bysubject/servsuptech/index.epx.
a) After you entered the service marketplace go to Software Download under the header SAP Support Portal.
b) Next navigate to Download -> Support Packages and Patches -> Entry by Application Group
c) In the main window select SAP Content and then Process Integration Content (XI Content).
d) Now you should see a list of XI content packages.
The package containing XI content for CRM is
XI CONTENT BBPCRM
In addition you find some packages that offer mappings from CRM interfaces to industry standards like RosettaNet or STAR standard, like
XI CONTENT ROSETTANET CRM
XI CONTENT STAR CRM
Some of these packages may require a license, therefore I am not sure if they are visible to you.
As per my knowledge, XI has CRM pre-delivered content and usually it communicates thru Proxies,Http, RFCs..
And in your scenario , you can always go for Proxy communication
Have a look into these threads
CRM and SAP XI
SAP CRM integration with XI
How to access the pre-delivered XI Integration Content for APO ,SCM or CRM
Dont forget to Reward points if this helps
Regards
Pragathi. -
Hi Experts,
I get this error when replication the Organization Unit created in transaction BP from CRM to ECC.
The error is generated in ECC system and Error Class is CVI_EI.
Any ideas.
Kind Regards,
GauravHi Gaurav,
The Business partner does not have 'industry Key' that is reason the warning msg is coming.
BRSCH- Industry Field
you can check this in structure 'CMDS_EI_VMD_CENTRAL_DATA ' which will be filled at run time and later validation happen in Program 'Fill_customer_central' on it. You can set up breakpoint at line number 183 where the validation is failing and warning message is getting raised.
Please assign point if above information helpful.:-)
Thanks
Prem -
Industry sector in material master
Dear all,
May I know what are the guide lines to select Industry sector to configure material master.
What are all the SAP standard Industry sector available?
Can we use any indutry sector for any type of business. How to choose this.
please advise.
Thanks
UdayaHello Udaya,
Branch of industry.
The industry sector groups together companies according to their activities (for example, plant engineering and construction, mechanical engineering, the chemical industry, and the pharmaceutical industry).
Table-driven program support is provided according to industry sector; for example, for the selection of data fields on-screen, for the sequence of the screens, and for the allocation of a material to a material type.
Industry Sector :
Key that specifies the branch of industry to which the material is assigned.
Use
When you create a material master record, the industry sector you specify determines
which screens appear and in what order
which industry-specific fields appear on the individual screens.
Thanks
Geeta -
Using Business Partner versus Customer/Vendor master
What could be the business scenarios in ERP2005, when Business Partner (BP) functionality should be used rather (or addition) than older Customer/Vendor master?
I know that in CRM the BP is mandatory, but still CRM can interact with ERP's customer master using middleware replication. I also know that some ERP industry solutions like IS-U uses BP instead of customer master.
I know that when maintaining a partner with tcode BP, also the customer master tables (KNA*) gets updated if partner has a Sales role. Thus system automatically updates both BP and customer master data. But does it work other way round?
But if no CRM nor ERP industry solutions are within current solution landscape are there any other business scenarios why BP should be chosen instead of customer/vendor master?
In a virgin ERP2005 project, is it a good practise to start with BP already from the beginning even if benefits of it are not yet recognized?
I know that many ERP2005 projects are live without BP, so a it cannot be a "must" at least.
best regards,
KimHi,
Just to check, try running from the synchronization cockpit for your scenario from the master data reconcillation. Give your BP number and try running BP -- Customer sync. In this you can check the PPO logs and check where the error is. It will show the exact error you are getting.
For BP, you can also try creating it in FI customer role, which will have all the customer master data.
Regards,
Ravi -
Change in Business Partner Master Data
Dear all,
i got a massage if i want to update the control Accounts for a *Business Partner.
*"Another user-modified table 'Business Partner (OCRD) (ODBC- 2039) Message 131 - 183"
The Business Partner has no transactions till now!!
Thank you all and Best regardsHello Serkan Er
1.Does the error only happen to one BP?
2.please read 1041482, this should apply to your case. if it does't help, please try the following:
3.can the query return any results?
declare @table nvarchar(16)
declare @field nvarchar(256)
select @table = 'OITM' -- parameter
select @table = ltrim(rtrim(@table))
create table problem_fields (field nvarchar(256))
declare fldCursor1 cursor scroll optimistic for
select [name] from syscolumns
where [id] in (select [id] from sysobjects where [name]=@table) and [xtype] in (select [xtype] from systypes where [name] in ('char', 'varchar'))
declare fldCursor2 cursor scroll optimistic for
select [name] from syscolumns
where [id] in (select [id] from sysobjects where [name]=@table) and [xtype] in (select [xtype] from systypes where [name] in ('nchar', 'nvarchar'))
declare fldCursor3 cursor scroll optimistic for
select [name] from syscolumns
where [id] in (select [id] from sysobjects where [name]=@table) and [xtype] in (select [xtype] from systypes where [name] in ('datetime'))
declare fldCursor4 cursor scroll optimistic for
select [name] from syscolumns
where [id] in (select [id] from sysobjects where [name]=@table) and [xtype] in (select [xtype] from systypes where [name] in ('nchar', 'nvarchar'))
open fldCursor1
fetch next from fldCursor1 into @field
while (@@fetch_status = 0)
begin
exec(
insert into problem_fields select ''' + @field + ''' where exists (select 1 from ' + @table + ' where len(' + @field + ')>0 and left(' + @field + ', 1) in ('' '', ''\t'', ''\n'', ''\r''))
fetch next from fldCursor1 into @field
end
close fldCursor1
deallocate fldCursor1
open fldCursor2
fetch next from fldCursor2 into @field
while (@@fetch_status = 0)
begin
exec(
insert into problem_fields select ''' + @field + ''' where exists (select 1 from ' + @table + ' where len(' + @field + ')>0 and left(' + @field + ', 1) in (nchar(0x0020), nchar(0x0009), nchar(0x000A), nchar(0x000D), nchar(0x00A0)))
fetch next from fldCursor2 into @field
end
close fldCursor2
deallocate fldCursor2
open fldCursor3
fetch next from fldCursor3 into @field
while (@@fetch_status = 0)
begin
exec(
insert into problem_fields select ''' + @field + ''' where exists (select 1 from ' + @table + ' where datediff(millisecond, cast(ltrim(rtrim(str(datepart(year, ' + @field + ')))) + ''-'' + ltrim(rtrim(str(datepart(month, ' + @field + ')))) + ''-'' + ltrim(rtrim(str(datepart(day, ' + @field + ')))) as datetime),' + @field + ')<>0)
fetch next from fldCursor3 into @field
end
close fldCursor3
deallocate fldCursor3
open fldCursor4
fetch next from fldCursor4 into @field
while (@@fetch_status = 0)
begin
exec(
insert into problem_fields select ''' + @field + ''' where exists (select 1 from ' + @table + ' where len(' + @field + ')>0 and right(' + @field + ', 1) in (nchar(0x0020), nchar(0x0009), nchar(0x000A), nchar(0x000D), nchar(0x00A0)))
fetch next from fldCursor4 into @field
end
close fldCursor4
deallocate fldCursor4
select * from problem_fields
drop table problem_fields
Wilma Wang -
Business partner not created in FSCM
Hi,
I have a problem where in creating customer master data in FI creates a business partner in FSCM for all the payers except in the case when partner functions(sold-to, ship-to) on the sales area tab of the customer master record are populated. I do not know why this is the case - why would partner function fields on the customer master record break the automatic creation of business partner in FSCM?
Helpful answers would be rewarded.Hi
We dont have any problem by entering the Industry field in the customer master for the creation of the business parter for FSCM. May be you need to check what are the parameters that will be passed on for creating a business partner from the customer master.
Thanks
Ashok -
Hiding the business partner search parameter from search criteria
Hi,
I have business partner search parameter whose value is hardcoded in the lead search..
I would like to hide the business partner search parameter from displaying only..
I need to achieve it programatically and not in configuration and all.
Do I need to write the code in P method or which method?
Thanks
MadhukarHi,
The code is as below and I just need to have the functionality of BP search field intact but hide it from display in web UI..if any correction is required let me know..
***current date is populated into LV_DATE
DATA lv_date TYPE string.
lv_date = sy-datum.
***current user login name is populated into LV_SUNAME
DATA lv_suname TYPE string.
lv_suname = sy-uname.
***Fetching the BP ID of the current user who logged into L_PARTNER
DATA:l_partner TYPE bu_partner.
CALL FUNCTION 'CRM_ERMS_FIND_BP_FOR_USER'
EXPORTING
iv_user_id = sy-uname
IMPORTING
ev_bupa_no = l_partner.
***structure for BUT051
TYPES : BEGIN OF ty_data,
relnr TYPE bu_relnr,
partner1 TYPE bu_partner,
partner2 TYPE bu_partner,
date_to TYPE bu_datto,
END OF ty_data.
***work area for BUT051
DATA wa_but051 TYPE ty_data.
***Fetching Dealer BP ID which is 'PARTNER1' field in BUT051
SELECT relnr
partner1
partner2
date_to
FROM but051
INTO wa_but051
UP TO 1 ROWS
WHERE partner2 = l_partner.
ENDSELECT.
***Geting the dealer BP ID into LV_DEALER
DATA lv_dealer TYPE string.
lv_dealer = wa_but051-partner1.
DATA: lr_qs TYPE REF TO cl_crm_bol_dquery_service,
lr_search_node TYPE REF TO cl_bsp_wd_context_node_asp,
lr_col TYPE REF TO if_bol_bo_col ,
lr_iterator TYPE REF TO if_bol_bo_col_iterator ,
lr_param TYPE REF TO if_bol_bo_property_access,
ls_selection TYPE genilt_selection_parameter,
lv_low TYPE sy-datum,
lv_attr_name TYPE name_komp ,
lv_value_set TYPE abap_bool .
IF iv_first_time EQ abap_true.
* to initialize the search view.
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = iv_first_time.
* fetch the search node and its content.
lr_qs = me->get_current_dquery( ).
lr_col = lr_qs->get_selection_params( ).
* check the currently visible search attributes.
lr_iterator = lr_col->get_iterator( ).
lr_param = lr_iterator->get_first( ).
WHILE lr_param IS BOUND.
* get the parameters
lr_param->get_properties( IMPORTING es_attributes = ls_selection ).
IF ls_selection-attr_name = 'VALID_FROM'.
* SET_PROPERTIES
ls_selection-low = lv_date.
CALL METHOD lr_param->set_properties
EXPORTING
is_attributes = ls_selection.
lv_value_set = abap_true .
EXIT.
ENDIF.
IF ls_selection-attr_name = 'BU_PARTNER'.
* SET_PROPERTIES
ls_selection-low = lv_suname.
CALL METHOD lr_param->set_properties
EXPORTING
is_attributes = ls_selection.
lv_value_set = abap_true .
EXIT.
ENDIF.
lr_param = lr_iterator->get_next( ).
ENDWHILE.
IF lv_value_set EQ abap_false .
* it was not part of the visible attributes, then add it at the end.
CALL METHOD lr_qs->add_selection_param
EXPORTING
iv_attr_name = 'VALID_FROM'
iv_sign = 'I'
iv_option = 'EQ'
iv_low = lv_date.
CALL METHOD lr_qs->add_selection_param
EXPORTING
iv_attr_name = 'BU_PARTNER'
iv_sign = 'I'
iv_option = 'EQ'
iv_low = lv_dealer.
ENDIF.
* for a proper display of the added / changed attribute.
lr_search_node = get_dquery_cnode( ).
lr_search_node->build_parameter_tab( ).
ELSE.
* non first time call - just delegate to superclass.
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = iv_first_time.
ENDIF.
Maybe you are looking for
-
Error Message after data load (error is "1130610")
We load data using a data load rule. The data seems to load fine except we get the error message "ERROR - 1241101 - Unexpected Essbase error 1130610" on last line below? Any thoughts? Is there a guide somewhere that explains in details all the variou
-
Gift card Money disappears?
Is it possible for gift card money that I have put on my account to truly disappear after a couple of months? It seems that money left over from a card I put on my account a couple of months ago is not showing up on my account. Is there any way to ge
-
Managing fonts in Adobe CS6 and Windows 7
Previously I had students add their fonts to C:\Program Files\Common Files\Adobe\Fonts. This worked well. I gave them write access to this folder and they would drag their fonts into this folder and they would be available to all products from the Cr
-
Do I really have to enter my apple id EVERY time I update or download an app??
Is there anyway for the phone to remember my id so I don't have to enter it every single time?
-
Sync folders to network shares?
I set myself up a windows server, running AD, print services, filesharing, network installation stuff, and what not. I got bored really, but I figure I may as well make use of it, since I don't know what else to do with a dual P3 system. actually, to