on 09-26-2013 3:29 PM
Hi Team,
We have a requirement to build a payslip...when i am trying to import bapi_get_payslip in SEGW, and displayed the output,but the ui team really cannot understand how to do field mapping for the output..
please give me your inputs and suggestions. if any one build a payslip using service builder tool..
please pass on if there is any related link..
thanks,
Vijay
Hi Vijay,
Interesting requirement,
You can think about media entities in OData. Check the Gateway blog on how to access a Employee Photo from backend, http://scn.sap.com/community/netweaver-gateway/blog/2013/02/22/how-to-read-photo-from-sap-system-usi...
What does this BAPI return?You definitely need to do some coding for this and most probably you cannot use the BAPI rightaway for mapping.
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Krishna for a quick response...
I have seen that link before and tried but it does not works...
In the bapi if we pass employee no and sequence number as input we will get employee payslip as output..
When we tried to import that RFM in GetEntity, i am getting only the first line as output. as it is read..
even trying with PDF string..so that atleast UI team can covert to base64....but not sure how it works..
we cannot use this bapi right away(good point what you raised)...that means i need to rebuild entire code from smartform into RFM...right?
Thanks,
Vijay
So all you need is table 'PAYSLIP' ?
1. Create an Entity with 5 properties. (Manually, not from BAPI)
EMPLOYEENUMBER
SEQUENCENUMBER
PAYSLIPVARIANT
FORMAT_COL
TEXT_COL
Get Entity will always return one entity. You need to use Get_EntitySet.
2. Now go to mapping of Entityset (query) and map all these fields from BAPI. Generate. You should be done. This step is just like implementing a regular entityset.
Thanks
Krishna
HI,
How can we upload those file in MIME repository ?
My requirement is ==>
I have upload file in SAP-UI5, those file should upload in MIME repository (SAP-ECC)back end.
How can i do this?
I have referred below link (which is shown Gateway connection details).
Kindly help me on this...
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.