cancel
Showing results for 
Search instead for 
Did you mean: 

How to output the data in EP portal

Former Member
0 Kudos

All experts:

I am working at EP portal, I want to show a message in EP portal if checked an error in one input-field. This input field will like with a BAPI so it can extract data from R/3 trans. table.

How to write a code in BAPI to do this?

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thinking about it, if the approval decision depends on the result of the payroll run, then you are right; you need to get the user to wait. What you can do is add a check inside the workflow template and if the period is closed, take the approval task again to the approver's inbox.

If the approval decision does not depend on the payroll run, then, from a business point of view, you should not prevent the approver from doing his/her job. You should take the result of the approval step and make the workflow wait until the payroll period is open again.

Regards,

Abdullah

Former Member
0 Kudos

Kevin,

If you are interested in writing code in BAPI then you should not do that, instead create new Z BAPI and put your logic there, Once done then talk to your web dynpro (JAVA or ABAP) developer so he/she can point to Z BAPI.

Cheers

imthiaz_ahmed
Active Contributor
0 Kudos

You don't need a BAPI, just a RFC enabled Func.Mod will do for you if you are using EP ABAP based.

Regards, IA

Former Member
0 Kudos

This case is like this:

Assume there is a Dialog workflow item in the Portal universtal worklist. An error message will be show when the default approver deal with this Dialog workflow( actualy it is a absence requst need the manager to approve) if the payroll period is locked. I want to control this : if I check out the payroll period is locked, anything can not update to The master data. So an error messeage is need to tell the approver: 'The period is locked, this WF can not approval right now, you should approval it later'

How to deal with this? Thanks in advance!

Former Member
0 Kudos

We use JAVA version of EP portal, and We use the standard page of Travel and Expense module, So I can not the standard page of it. I try to use the BADI (TRIP_WEB_CHECK) to do this? but it is not works? how to do this? is this BADI can not do this? How can I use Workflow to do this?

Thanks in advance

Former Member
0 Kudos

Could some body can help me, it is very ugrent for me. Thank you very mucn.

Former Member
0 Kudos

If I used this BADI, how to do the coding?

aditya_niyogi
Participant
0 Kudos

Hi Kevin,

Once you have implemented the BADI, you have to go to the method which you want to use. Each method has a particular functionality - for example, the method - IF_EX_TRIP_WEB_CHECK~USER_CHECK_LINE_OF_RECEIPTS - will check each reciept that is generated in a Travel Expense report.

To add a message onto the screen, all that is required is to append a single entry into the ERROR table in the above method, Sample code :

WA_ERROR-TYPE = 'E'.

WA_ERROR-ID = 'Z*'.

WA_ERROR-NUMBER = '000'.

APPEND WA_ERROR TO RETURN.

The above code will check the Z* message class for the 000 message and will display it in the web dynpro screen as an error message.

Hope this helps.

Thanks,

Aditya.