Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP code to select a specific table field

ishamerock
Discoverer
0 Likes
744

Hi all,

I'm dealing with a transformation in SAP BW that gives me the controlling area field from the extractor, to upload it to the DSO. It is not possible to modify the extractor to insert the CO_AREA and I can't proceed with the direct assignment, so I am trying to write a routine.
Let's say that the CO_AREA is an information contained in the WBS_ELEMT which is present in my extractor.

How should I set up my ABAP to make the field available to my DSO? I would like to read the controlling area from there!

Please can someone help me?

2 REPLIES 2
Read only

DoanManhQuynh
Active Contributor
608

your question is not clear, you have controlling area in extractor and you asked how to make it available? maybe you could add some screenshot or ideal of what you facing and what you want...

Read only

RaymondGiuseppi
Active Contributor
0 Likes
608

First insure WBS are always loaded (0WBS_ELMNT_ATTR) before this Data Source,

In Transformation definition, drag 0WBS_ELEMNT to 0CO_AREA and use the rule type 'Read Master Data' (No Abap required)

But, you could also use Navigation Attribute 0WBS_ELMNT__0CO_AREA in the Info Provider.