cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting Company Name

danilo_cardoso
Participant
0 Kudos

Hello guys! Happy new year for all!

I would like to know one thing.

How do i do to select the company name in SRM?

I've the CompanyID (BUKRS) but in SRM system there isn't the table T001 that there is in ECC.

I already tried the following Function Modules:

B31H_COMPANYCODE_GETDETAIL

B45A_COMPANYCODE_GETDETAIL

NOR3_COMPANYCODE_GETDETAIL

R2_COMPANYCODE_GETDETAIL

META_COMPANYCODE_GETDETAIL

BBP_STD_COMPANY_GETDETAIL

BBP_LA_GETCOMPANYNAME_BY_PGUID (It doesn't run 'cause i don't have the PARTNER_GUID)

However, anyone of these functions return the company name, all these return the error: "RFC Destination doesn't exist", but, i am putting the correct Logical System and Destination.

I don't know what to do anymore.

Please help me guys.

Thanks for all.

Hugs.

Danilo Carodso

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The function META_COMPANYCODE_GETDETAIL should work. Please do the below:

1. Make sure that the backend system can be access from SRM, transaction SM59 -> check the RFC is working properly.

2. SE37 -> execute the function META_COMPANYCODE_GETDETAIL with

COMPANYCODEID = <COMPANYCODE>
LOGICAL_SYSTEM = <BACKEND LOG SYS NAME (R/3 or ECC)>

This should bring all the details.

Regards

Kathirvel

danilo_cardoso
Participant
0 Kudos

Hi Kathirvel.

I tried to do this a few minutes ago (before i post the thread), but, this function doesn't execute.

It return for me the error: "There is not atualized data for Logical system".

I'll talk with BASIS. Maybe there's some problems with configuration of RFC's.

Thanks a lot.

Hugs.

Danilo

danilo_cardoso
Participant
0 Kudos

Hello guys!

My problem was resolved.

After that i told to BASIS what happened, he told me that the RFC system was not configured in DEV, so, he asked me to test my RFC's in QAS system.

Thanks for all guys that try to help me.

Thanks a lot and hugs.

Danilo Cardoso

Answers (2)

Answers (2)

Former Member
0 Kudos

BBP_ATTR_TEXT_REFRESH try running this program this will get the company name from the backend.

Former Member
0 Kudos

Hi Danilo,

Please check if the table BBP_ATTR_VALUE_T is of any help in this regard.

Check for the field VALUE_LABEL.

Thanks,

Pradeep

danilo_cardoso
Participant
0 Kudos

Hi Pradeep.

Thanks for your help, but, in this case, this table doesn't have the information that i need.

Hugs.

Danilo