Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Script logic Look up In same model

$
0
0

Hi Guys,

 

I have requirement to read data from at Higher level (Costcenter,JOb,IO level) which is entered by planners and assign it to detail level (Costcenter,Job,Position,IO level) transaction data.

Position is property of JOb but i don't want read all the positions from JOb and i want assign the JOb level planned IO percentages to Postions which is already planned (transaction data). Can i use the LOOK up to read data from JOb level and assign it to Position level. Can anyone share the some pseudo code for using Look up to read data from one set of data and assign it to another set of data.

 

 

Scope of data at JOB level:

*XDIM_MEMBERSET  DATATAG= DT_PEXP_TMAL

*XDIM_MEMBERSET  HRACCT= ALLOC_PCT

*XDIM_MEMBERSET  EMPLOYEE= No_EMPLOYEE

*XDIM_MEMBERSET  HRPOSITION= NO_HRPOSITION

*XDIM_MEMBERSET  COSTCENTER= %COSTCENTER_SET%

*XDIM_MEMBERSET  JOB= %JOB_SET%

*XDIM_MEMBERSET SKF=NO_SKF


There could be one more IO (Internal Order) Percentages planned at JOB level.

Data is something like this.


Datatag     HRAcct   Employee  HRPosition       Costcenter        JOb          SKF            IO   Measure(KF)

Dt1          acct1         No_EMP    NO_Positon           CC1             Job1  No_SKF         IO1      60%

                                                                                                                                IO2     40%



Scope of data Position level (transcation data which is already planned)

*XDIM_MEMBERSET  DATATAG= DT_PEXP_TMAL

*XDIM_MEMBERSET  HRACCT= ALLOC_PCT

*XDIM_MEMBERSET  EMPLOYEE= No_EMPLOYEE

*XDIM_MEMBERSET  COSTCENTER= %COSTCENTER_SET%

*XDIM_MEMBERSET  JOB= %JOB_SET%

*XDIM_MEMBERSET SKF=NO_SKF


Existing Data at Position level in the system


Datatag     HRAcct   Employee  HRPosition       Costcenter        JOb          SKF            IO   Measure(KF)

Dt1          acct1         No_EMP    POS1           CC1               Job1        SKF1                IO3      50%

                                                                                                                                  IO4     50%

 

 

So i want to read data from JOb level assign it to Positon level data

My output should be like this

 

Datatag     HRAcct   Employee  HRPosition       Costcenter        JOb          SKF            IO   Measure(KF)

Dt1          acct1         No_EMP    POS1           CC1               Job1        SKF1                IO1      60%

                                                                                                                                  IO2     40%

 

Can anyone share you ideas on this how to read data from JOb level and assign it to Posiiton level using Look up or something.

Thanks in advance.

 

 

Thanks

Best regards

SG


Viewing all articles
Browse latest Browse all 5414

Trending Articles