cancel
Showing results for 
Search instead for 
Did you mean: 

BAdi's in Appraisal documnet

Former Member
0 Kudos

Hi,

I am trying to implement the BAdi HRHAP00_ADD_HEADER in the BSP application HAP_DOCUMENT.

These are the steps that I followed.

I copied the definition to my z definition which also include the class.

I created my own implementation with a reference to the above definition and finally activated the same.

However at runtime My Z badi is not being picked up.

Am I missing something? Do I have to maintain some thing else?

Please revert back

Thanks,

Devendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks Manasa,

I have implemented the first two steps. But I am still not sure about the third step. How do I assign Exit to my template. Do I need to delete the standard Entries form the views?

Regards,

Devendra

Former Member
0 Kudos

inorder to do the 3rd step,

1)delete any documents which are created under that template through phap_admin_pa tcode.

2)goto phap_catalog_pa,unrelease the document

3) gointo the template in the "LAYOUT" tab you have a field named "additional header data" give your enhancement name there

4)save it and release the template, then create a new document with that template and then you should be able to debug the badi too.

it should work now, if not try

3))goto tcode phap_catalog_pa, goto your template and under the "PROCESSING" tab, you see "further template behavior" button double click on that and make an entry of your badi there.

Message was edited by: manasa

Message was edited by: manasa

Answers (6)

Answers (6)

OttoGold
Active Contributor
0 Kudos

Hi, I had similar questions and very little experience with the topic.

I learnt the hard way and wrote a blog about it here:

Would be cool to know that it helps people and nobody has to reinvent the wheel again:))

Cheers Otto

Former Member
0 Kudos

Thanks Manasa for Ur inputs.

Former Member
0 Kudos

Hi Manasa

I thought that my query can be a next thread to the current one.Anyways I'll not repeat it.

I have gone through all the steps mentioned above.But still no success.

is it so that the Custom Value determination has to be assigned to Columns?If yes How?

Former Member
0 Kudos

this happens sometimes when the column you are attaching this badi is not compatible to the badi. you need to change the column type i.e, the 'VALUINPUT' type and the 'INPUT' type and try different combinations.

it should work. if it still doesnt work then kindly open a new topic.

regards,

manasa

Former Member
0 Kudos

We have a customer specific calculation rule for which I want to implement BADi.

I went to PHAP_CATALOG>GOTO>ENHANCEMENTS-->VALUE DETERMINATION

There I clicked create and gave Appraisal Document Enhancement name as ZTOTAL.

Then I create an implementation named ZVALUE_DET.

and Activated the same.

Then I assigned ZTOTAL to Value Determination cell in Part Appraiser row in the Column tab of a category group.

Now when I go to save the template it is giving me an error saying that"The BADi is not permitted for Column PAPP"

Can U please give some inputs regarding this.

Former Member
0 Kudos

Biswajit,

Please donot post issues in a closed topic. Please open a new topic as a question.

Did you do all the steps given in this topic?

regards,

manasa

Former Member
0 Kudos

Thanks Manasa,

I am able to Assign My Badi's to the template now.

Regards,

Devendra

Former Member
0 Kudos

we need to maintain the filtervalues in tables.

1) goto sm34 and vc_t77hap_basic expand the 'enhancement' and enter enhancement area as 'BA' and give the enhancement name there.

2)now goto the cluster, vc_t77hap_category and give the enhancement there too.

3)also make sure that the filter value is assigned to the template for which you are preparing the documents.

'BA' is for column_acess badi, so chose the rightone for your badi in the list given there.

Please assign points accordingly.

regards,

manasa

Message was edited by: manasa