Skip to Content
0

Routines in SAP BW

Feb 23, 2017 at 11:02 AM

146

avatar image

Hi, Everyone ,

I am new in SAP BW and having Problem to understand Routines in Transformation.

I am loading Data from one DSO in Infocube but Infocube has one extra filed from DSO2.whereas DSO2 and DSO1 only one common Field say ZPNP. which Routine type is useful .. I tried with Field Routine but its is time expensive . Is it possible to combine it with Start Routine , when ja then how ?????

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Matthew Billingham
Feb 23, 2017 at 11:03 AM
0

Prepare the data you need in the start routine and then read it in the field routine. If you don't know how to do that, find an ABAPper. Or go on an ABAP course.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Matthew

thnx your reply and suggestion. I am not getting this also how can i prepare Data in Start routine... do i need to populate data temporary
in internal table and then reading again through Field routine . in this case must i access DB table of DSO2 to fill internal table am i right ??

thnx in advance

0
Arunan C Feb 24, 2017 at 01:14 PM
0

There is a 'Read from Datastore' option in field rule type details, which although elegant, I guess is not usable in your case. Read about this option to see if it fits your case.

You can use end routine in this case. Buffer only necessary data and necessary fields from DSO2 in an internal table. Update the field value in the result pack afterwards.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thnx Arunan , It is the right way first data buffring in start Routine than later on read in Field Routine . can u plz tell me how can i read in field Routine because i don't know too much about routines and in learning Phase. it would be appreciable when u write a example Code for me . thnx again.

0