cancel
Showing results for 
Search instead for 
Did you mean: 

Please let me where to write coding in the badi --HRECM00_CALCBASE

Former Member
0 Kudos

Dear freinds

i have badi HRECM00_CALCBASE.........i went in se18........

however where i have to coding for badi please let m eknow.

regards

syamala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi syamala,

you have to go to se19 and create an implementation which based on the

badi you want to use.

Regards

Bernd

Another way is to chose from the menu in se 18.

Message was edited by:

Bernd Köhn

Former Member
0 Kudos

Dear Bernd Köhn

i have got it till there.......now my requiremnt is i have to read from

p0008-bet01(basic pay) and default the value in

infotype 759 for the field BSSAL.

in the method

IF_EX_HRECM00_CALCBASE~GET_CALCULATION_BASE

iam not able write the code

i have tried writing like the below

Idata : it_pa0008 type standard table of P0008,

it_pa0759 type standard table of p0759.

data : wa_pa0008 type p0008.

select Single * from p0008 into wa_pa0008 where pernr = pernr .

BSSAL = p0008-bet01.

it is syaing P0008.......can be read....error in activiation only.

how to fetch from infotype 8 the basic pay(bet01)

and assign to BSSAL of infotype 759 ...

please let me know.

regards

syamla

Former Member
0 Kudos

Hi,

try

BSSAL = wa_pa0008-bet01.

Regards

Bernd

suresh_datti
Active Contributor
0 Kudos

Make the following change..

select Single * from pa0008 into wa_pa0008 where pernr = pernr .

BSSAL = wa_pa0008-bet01.

~Suresh

Former Member
0 Kudos

Dear Suresh and john

i have written same coding

but in pa30 when i checked for basic amount it is giving froom q0008-betrg.

so when i read from pa0008 i am not getting any value for pa0008-bet01..

it is giving as empty

i.e 0

how to read from q0008-bet01......

because when i check from PA30 and say create for infotype 0008 ii can

see basic amount as 180000...........and i checked f1 on that field

it is q0008-betrg

there by when i check in pa0008 table i see for the bet01 as empty ......what is shuld do.

regrds

syamala

Former Member
0 Kudos

Hi,

if your basic pay is realized with "indirect valuation" you couldn't get the information directly from pa0008. Tahn you have to read the value with tha wage typ in it0008 from table T510/T512.

Regards

Bernd

Message was edited by:

Bernd Köhn

suresh_datti
Active Contributor
0 Kudos

In that case you will are better off using a function/bapi call..You can pass the pernr to 'BAPI_BASICPAY_GETDETAIL' & get back the wagetypes in an itab.

~Suresh

Former Member
0 Kudos

Dear Brend,

i have one requirement as follows , my FO says he wants a table

having fields along with the heading, could you please let me know is there any chance i can do as follows :

empdetails hospitalization

empno begda endda self spouse children

my fo wants the empdetails as heading for empno , begda endda

and similarly he want self spouse chidlrend having a heading as hospitalization.

since the client has given requiremnet in excel sheet as above now he wants us to have in sm30 when he going to enter the details..

Please let me know is there any possiblity of doing ??

regards

syamla

Former Member
0 Kudos

Hi Syamla,

please open a new thread as described at

https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement

Thank You.

Regards

Bernd

Answers (2)

Answers (2)

Former Member
0 Kudos

Try to get basic pay from RT

hope this helps you

Former Member
0 Kudos

Hello in se18

in menu "Implementation" select "Create" (create implementation) fill mandatory fields & then double click on method it should allow you to write code

reward points if helpful