Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

T & E - BAdi (TRIP_WEB_CHECK) - RECEIPTS internal table is not populated ?

Former Member
0 Kudos

I am using the method USER_CHECK _ RECEIPTS of the BAdi defn. (TRIP_WEB_CHECK) for validating the portal T&E .

The BAdi gets triggered when I am trying to delete a line item in the credit card payment for a particular trip, BUT the changing parameter RECEIPTS doesn't populate any values in the BAdi.

From this I couldn't get the line item values!

So kindly suggest how should I go further?

Also,

Is the above mentioned BAdi can be used only for dynpro (portal) OR it can also be used for PA05 tcode?

Thanks!

Developer

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos

>

> So kindly suggest how should I go further?

> Also,

> Is the above mentioned BAdI can be used only for dynpro (portal) OR it can also be used for PA05 tcode?

> Developer

Debug.. put an external breakpoint insde the USER_CHECK_RECEIPTS Method of your implementation & verify if your code actually delets an entry from the RECEIPTS table.

Also.. this BAdI gets triggered only from the WebDynpro..

~Suresh

0 Kudos

Thank you for the answer.

But the value is not getting deleted by my code anywhere.

I debugged and found that.

So what could be the solution?

Edited by: sap abap on Dec 5, 2008 7:17 AM

0 Kudos

Hi,

Try using the method - USER_CHECK_LINE_OF_RECEIPTS.

Also note the BADI TRIP_WEB_CHECK only works in the front end.

Thanks,

Aditya