cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BUP_INDUSTRYSECTOR_IMPORT Function Module

Former Member
0 Kudos
899

Hi All,

I've to transfer industry keys from ECC to SRM system. does any one have idea on how we can use BUP_INDUSTRYSECTOR_IMPORT function module to achieve the same.

Thanks in advance.

Best regards,

Deepak Khandelwal

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I am trying to import contents of Business Partner Industry Key (TB038A, TB038B, TB038) into BW from ECC using the function module BUP_INDUSTRYSECTOR_IMPORT but I am having a hard time. It is even possible to do this?

Thanks,

Samir

Former Member
0 Kudos

Hi,

Please try this method.

CALL FUNCTION 'BUP_INDUSTRYSECTOR_IMPORT' "

  EXPORTING

    iv_istype =                 " tb038-istype  Industry System

*   iv_xrefresh = SPACE         " boole-boole

* TABLES

*   it_indsector =              " bus_indsector_import

*   it_indsector_text =         " bus_indsector_text_import  Industry texts

  EXCEPTIONS

    ISTYPE_NOT_FOUND = 1        "

    INTERNAL_ERROR = 2          "               Internal Error

    .  "  BUP_INDUSTRYSECTOR_IMPORT

Regards,

RBEI/SRM/Naga.

Former Member
0 Kudos

Hi,

I'm maintining Industry keys in ECC in path SPRO->Logistic General->Business Partner->Vendor Control->define Industries.

I'm maintaining the same industry keys in SRM system SPRO->Cross Application components->SAP Business Partner->Business Partner ->Organizations->Maintain Industry systems and industries

I'm executing this function module BUP_INDUSTRYSECTOR_IMPORT in SRM  by supplying the value of RFC destination as R/3 system(R3UCLNT500) and is_type 0001 and iv_xreferesh = ''.

I get the error Industry Number System 0001 Does Not Exist which i think it checks in ECC system.

can you please comment where it is reading it ?

Thanks in advance.

Best regards,

Deepak Khandelwal

Former Member
0 Kudos

Hi,

Initially above function module will call the function module BUP_TB038_SELECT_SINGLE to check both client and industry system in table TB038.

If the value is maintained in the table the error will not be raised.It will check with the client of the system,and the client entry maintained in the table.(TB038).

For Example I think your client is 500 and industry system(0001) should be available in TB038.

This function module BUP_TB038_SELECT_SINGLE should return the 0 value otherwise error message(Industry Number System &1 Does Not Exist) will be raised.

Regards,

RBEI SRM/Naga.

Former Member
0 Kudos

Hi ,

Thanks for inputs. I tried following the same way but it still it does not show the desired outcome with the error ' Industry Number System 0001 Does Not Exist'. what can be the possible solution/reason?

any comments?

Thanks in  advance.

Best regards,

Deepak Khandelwal

Former Member
0 Kudos

Hi Deepak,

The value of variable iv_istype of the function module (BUP_INDUSTRYSECTOR_IMPORT)should be maintained in the table TB038 or else the error will be raised.

Please confirm to us, the passing value of the function module BUP_TB038_SELECT_SINGLE should be maintained in table TB038.

Additionally check the following information :

1.Data type of the passing variable should be BU_ISTYPE (char 4).

2.Test this function module BUP_TB038_SELECT_SINGLE by passing the value of the variable (industry system).

3. Please check the format of table TB038 as example.

Client          Industry system

011               0001

011               0002

Regards,

RBEI SRM / Naga.