Skip to Content
avatar image
Former Member

BAPI Function to validate and persist Travel Expense Report

Hi,

i´m working on a new GUI-application for the travel expense application inside SAP Portal. I already developed the GUI and now im struggling with the backend - more precisley with the BAPI functions.

I am using JCO for accessing the SAP system and i already put a lot of time and work, to figure out the workflow in the backend of a travel expense validation and persist, but still i have no clue how the workflow inside looks like.

I used BAPI functions like BAPI_TRIP_CREATE_FROM_DATA, HRTRV_IF_MODIFY_TRIP or PTRA_WEB_EXPENSE_REPORT_SAVE/_CHECK, but i really don't know, if i´m using the right things nor if i´m on the right track.

Can you help me out with the workflow inside the SAP-system for creating a new travel expense, with validation of this without saving and generating a PDF of it. Of course it would be helpful, if you can provide me with another function for saving those datas after a successfull validation. Maybe you can provide some simple code-snippets too.

Thanks a lot!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers