cancel
Showing results for 
Search instead for 
Did you mean: 

ESS Leave Custom fields, how to update them using BADIs

Former Member
0 Kudos

Hi There,

We are trying to use custom fields provided in ESS leave application, and we want to update them using BADI. As these information is not available on the screen while requesting leave request.

I did look at PT_ABS_REQ BADI and seems i can use Post_Vio_BLOP .. but its unable to update table PTREQ_ATTABSDATA .

Can you please suggest what can be best approach here.

Thanks a lot.

Rgds,

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

This would require you to create new structure of the fields to be added to the leave request tables starting from PTREQ*

Former Member
0 Kudos

Hi Siddharth,

Thanks for your reply... As you suggested these fields and BADI method can let me define characteristics of custom field, but i am looking for placeholder where i can change values of these fields. Unfortunately these fields are not available as input to users, hence they have to manipulated while updates.

Rgds

Answers (3)

Answers (3)

suresh_datti
Active Contributor
0 Kudos

>

> I did look at PT_ABS_REQ BADI and seems i can use Post_Vio_BLOP .. but its unable to update table PTREQ_ATTABSDATA .

Did you look at using the Implict Enhancement Options available at the beginning & end of the POST_VIA_BLOP Method? Or even better, enhance the Class CL_PT_ARQ_REQ_EXIT & replace the IF_EX_PT_ABS_REQ~POST_VIA_BLOP Method with an Overwrite Exit?

~Suresh

Former Member
0 Kudos

Raised OSS sometime back and SAP confirmed there is no exit available for customer field update. requested for a Development request

Thanks a lot for your reply.

Cheers,

Sudhir

Former Member
0 Kudos

Finally had to club quota values in *REQ BADI and it worked.. though not very satisfactory though workable.

Cheers,

Sudhir

former_member820808
Discoverer

how to update PTREQ_ATTABSDATA table for sick leave thorough ess portal and which method have to use in badi.could u help me regarding this../

Former Member
0 Kudos

I saw your posted comment. I recommend raising your question again as a new question and follow our rules of engagement: https://community.sap.com/resources/rules-of-engagement. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes unfortunately that needs to be done

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

there are some standard fields which can be added PT_FIELD_SEL-FIELD_SELECTION, check additional fields

customisation