cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning new InfoObj to InfoSource

Former Member
0 Kudos

Dear All,

at InfoSource level I'm trying to add a new InfoObj that DOES NOT belong to the datasource.

We did the following steps:

1. We added that InfoObj to the Communication Structure (right click on our infosource -> context menu -> change)

2. In the transfer structure we tried to assign to that InfoObj the transfer rule but from the list of available InfoObj it does not appear our needed InfoObj

Is there any step that we missed in the above process?

Thank you in advance.

Regards,

R.C.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Roberto,

did you activate your enhanced communication structure ?

After the activation you should see your new infobject not mapped in your transfer rules...

Are you talking about a transactional infosource ?

Former Member
0 Kudos

Yes, Roberto.

In the transfer rule we see that new InfoObj not mapped.

The problem stays here: when we try to assign a mapping we can not see the correspondent InfoObj.

More specific:

1. We added the 0COUNTRY I.O. to the communication structure.

2. In the transfer rule we do not have the possibility of assigning (clicking on the red cross) the 0COUNTRY I.O. because we do not see it in the proposed list

Thank you very much. Regards,

R.C.

Former Member
0 Kudos

Roberto,

on the right side in transfer rule maintenance screen, you can see a list of R/3 (source system) available fields and not infobject (that are only indicated with reference to your mapping).

So, as you said before, if in your datasource you don't have a field to use in mapping, you have to:

- add something in your transfer structure (that is, in your datasource) and then use it to map your added infobject

- or create a different mapping (ABAP code, constant, formula and so on...)

Hope it helps !

Bye,

Roberto

(and please don't forget to reward useful answers received...it's a way to say thanks ! for details see /people/mark.finnern/blog/2004/08/10/spread-the-love ...)

Former Member
0 Kudos

I'm posting because my problem is a little clearer.

In my ODS I have the InfoObject 0CUSTOMER that has as a nav. attribute the InfoObject 0COUNTRY.

My task is to have, in the ODS, the 0COUNTRY I.O. not as a nav. atribute but as a Data Field (I have to load it in some way).

My idea was to define the 0COUNTRY as a Data Field in the ODS definition and writing a routine in the update rule in order to load it. But I have some trouble in finding the tables involved in that.

Regards,

R.C.

Former Member
0 Kudos

Roberto,

your scenario is different from the original one descibed before !!!

However....put your 0COUNTRY in your ODS in data field section.

In update rules, create a routine for 0COUNTRY with:

TABLES /BI0/PCUSTOMER.

DATA VA_COUNTRY LIKE /BI0/PCUSTOMER-COUNTRY.

CLEAR VA_COUNTRY.

SELECT SINGLE * FROM /BI0/PCUSTOMER WHERE

CUSTOMER = COMM_STRUCTURE-CUSTOMER.

IF SY-SUBRC = 0.

VA_COUNTRY = /BI0/PCUSTOMER-COUNTRY.

ENDIF.

RESULT = VA_COUNTRY.

Hope it helps.

Bye,

Roberto

(Accenture you too ?!)

Answers (0)