cancel
Showing results for 
Search instead for 
Did you mean: 

Standard hierarchy extractors enhancement

amine_lamkaissi
Active Contributor
0 Kudos

Hi experts,

Does anyone enhanced a standard hierarchy datasource?

If yes, what are the stemps to follow? Is there any example available?

I have seen that we need to add the fields to the oltp structure, and then fill the EXIT_SAPLRSAP_004, but there are no examples available.

Thanks.

Amine

Accepted Solutions (0)

Answers (1)

Answers (1)

sander_vanwilligen
Active Contributor
0 Kudos

Hi Amine,

Please explain in detail what you are trying to achieve. Which fields do you have to add? A real-life example will help giving an appropriate advice.

Best regards,

Sander

amine_lamkaissi
Active Contributor
0 Kudos

Hi Sander,

Thanks for your answer.

Well i what i want to do is very long , but if you give me only one example that would be perfect.

I would like to enhance the datasource 0BPARTNER_HIER. By addling all the missing fields from tables:


BUT_HIER_BW

BUT_HIER_NODE

BUT_HIER_NODE_BP

BUT_HIER_NODE_D

BUT_HIER_STRUCT

BUT_HIER_TREE

BUT_HIER_TREE_D

BUT_HIER_TYPE

Thanks.

Amine

PS : The functionning of this extractor is not clear, i can't find any available documentation about it.

sander_vanwilligen
Active Contributor
0 Kudos

Hi Amine,

I suggest to implement BAdI RSU5_SAPI_BADI. Please refer to Interface method IF_EX_RSU5_SAPI_BADI~HIER_TRANSFORM for the various parameters. The Changing parameters correspond to the various segments and the intervals.

There is also an example implementation CL_EX_RSU5_SAPI_BADI.

You have to decide if it is easier to enhance the DataSource or create a new generic DataSource based on a Function Module. For the last approach, please refer to document for an example.

Best regards,

Sander

amine_lamkaissi
Active Contributor
0 Kudos

Hi Sander,

Can you tell me please where i can find the example of implementation CL_EX_RSU5_SAPI_BADI. that you are talking about?

Thank you.

Amine

sander_vanwilligen
Active Contributor
0 Kudos

Hi Amine,

I refer to the Example Implementing Class CL_EX_RSU5_SAPI_BADI which is displayed when you create a new implementation of BAdI RSU5_SAPI_BADI (t/code SE19).

You can display the Class with t/code SE24.

Best regards,

Sander