Skip to Content

Adding the SAP Hidden Field in the Extractor with help of Sample ABAP Code (Cannot be done through RSA6 or RSO2

1 .I have taken an e.g. of an extractor name as 0FILA_002 in which I have to add the Field name as BP_USAGE (Billing Plan). I am not able to see the field in the Extractor as shown below

Img1.jpg

2.The Field is present in the Extract Structure as shown in below screen shot but not visible in RSO2 or RSA6.

Img2.jpg

3.  So we can go to ROOSFIELD table and check the Field for Information

Img3.jpg

4.Here in below screen shot the value is ‘A’ for field SELECTION means it is SAP BW Hidden so we can update the field with ‘SPACE’ or ‘P’ with help of ABAP Code so that it can get reflected in RSO2 or RSA6.

Img4.jpg

5.Below is a sample code which we can create in SE38 as Executable program to update the SELECTION field as ‘SAPCE’ or ‘P’ by replacing ‘A’.

Img5.jpg

6.After activating the code we can press F8 to execute it and the following screen will occurred. Please fill the required entries in  CHANGE_P which is SELECTION Field which we have to update as ‘SPACE’ or’ P ‘as shown in F4 help.

Img6.jpg

7.Click the Watch or press F8 then it will display the ‘Successfully Updated ‘message as shown below. Here we have Set CHANGE_P(SELECTION) to ‘P’ .

Img7.jpg

8.Now we can see the required field name ‘BP_USAGE’ has been visible in RSO2 or RSA6 as shown below.

Img8.jpg

9.Below screen shows that in ROOSFIELD the value of SELECTION Field of BP_USAGE has updated to ‘P’ from ‘A’ through ABAP code.

Img9.jpg

Conclusion : So we can add the SAP BW Fields which are Hidden through ABAP Code as per the procedure for any datasource and then we can just replicate the data source in BW then the respected field will get avaiable in the particular extractor in BW side.

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Mohan Kotwal

    How do you populate this field? As per SAP if any field is not visible in RSA6 and available in extract structure then there is no code written by SAP to populate such field and that is the reason it’s not visible. By making it visible may not serve the purpose completely..

    (0) 
  2. Byron Clairoux

    How would you transport a change like that to your other environments (QA, prod, etc)? Would you have to run the program and change the ROOSFIELD table entry?

    (0) 
  3. Yoann Arrouet

    In the Select Single, as your parameter “change_p” is the value you want the field to take, it should not be part of the select single, because the field “SELECTION” has not that value yet, no? (In your example the initial value is `A` and you turn it to `P` ).

    But I might be wrong…

    (0) 

Leave a Reply