Online SAP ABAP tutor

hace 3 semanas


Barcelona, Barcelona, España TeacherOn A tiempo completo

Hi there, first of all sorry if this is not the place to post this, it is my first time and i am not sure about that.

I have a problem. I am developing my first api rest with sap abap in eclipse. I have defined the tables, views, metadata, behaviors and service. My api does nothing but have employees, departments and projects. Each employee can belong to a single department, but each department can have 0 or N employees. At the same time each department has 0 or n projects and each project only belongs to one department.


The problem I have is that if an employee has two projects I get two entries for that employee, one with one project and one with another, but each entry repeats all the employee's information.

I would like to be able to see only the employees and once I click on an employee, to show me only all the projects that employee has, without duplicating again all the information of the employee.

Can this be done without having to create a fiori app? That is, just working with the views and metadata? Thank you very much for your help.

This is my view, my projection and my metadata:

@AbapCatalog

sqlViewName:
'ZDVIEW_EMPLOYEE'

@AbapCatalog

compilercompareFilter:
true

@AbapCatalog

preserveKey:
true

@AccessControl

authorizationCheck:
#CHECK

'Employee and Projects View'

define root view Z_I_EMPLOYEE

as select from zempleados_tabla as emp

left outer join zdepart_table as Department on emp.emplo_department = Department.dept_number

association [0..*] to zproj_table as _Projects on Department.dept_number = _Projects.dept_numb

{

key emp.emplo_number,

key emp.emplo_department,

emp.emplo_name,

,

,

emp.start_date,

emp.end_date,

Department.dept_name,

Department.location,

Department.dept_number,

_Projects.project_id

}

'projection view'

@AccessControl

authorizationCheck:
#CHECK

@Metadata

allowExtensions:
true

@OData

publish:
true

define root view entity z_c_employee as projection on Z_I_EMPLOYEE

{

key emplo_number,

key emplo_department,

emplo_name,

status,

email,

start_date,

end_date,

dept_name,

location,

dept_number,

project_id

}

#CORE

@UI:
{

headerInfo:
{

typeName:
'Employee',

typeNamePlural:
'Employees',

title:
{

type:
#STANDARD,

label:
'Employees'

}

}

}

annotate view z_c_employee with

{

[

{id:
'idGeneralInformation', type:
#COLLECTION, label:
'Employee Information', position: 10},

{id:
'idIdentification', type:
#IDENTIFICATION_REFERENCE, label:
'General Employee Information', parentId: 'idGeneralInformation', position: 10}

]

true

emplo_number;

@UI

selectionField:
[{ position: 10 }]

@UI

lineItem:
[{ position: 20, label:
'Employee Name' }]

@UI

identification:
[{ position: 30, label:
'Name' }]

@Consumption

valueHelpDefinition:
[{ entity:
{ element : 'EmploName', name: 'Z_HELP_SEARCH_EMP' } }]

emplo_name;

@UI

selectionField:
[{ position: 20 }]

@UI

lineItem:
[{ position: 30, label:
'Department' }]

@UI

identification:
[{ position: 40, label:
'Department' }]

@Consumption

valueHelpDefinition:
[{ entity:
{ element : 'EmploDepartment', name: 'Z_HELP_SEARCH_EMP' } }]

emplo_department;

@UI

selectionField:
[{ position: 50 }]

@UI

lineItem:
[{ position: 40, label:
'Status' }]

@UI

identification:
[{ position: 50, label:
'Status' }]

status;

@UI

selectionField:
[{ position: 60 }]

@UI

lineItem:
[{ position: 50, label:
'Email' }]

@UI

identification:
[{ position: 60, label:
'Email' }]

email;

@UI

lineItem:
[{ position: 60, label:
'Start Date' }]

@UI

identification:
[{ position: 70, label:
'Start Date' }]

start_date;

@UI

lineItem:
[{ position: 70, label:
'End Date' }]

@UI

identification:
[{ position: 80, label:
'End Date' }]

end_date;

@UI

lineItem:
[{ position: 80, label:
'Department Name' }]

@UI

identification:
[{ position: 90, label:
'Department Name' }]

dept_name;

@UI

lineItem:
[{ position: 100, label:
'Projects' }]

// Ocultar en vistas generales

@UI

identification:
[{ position: 100, label:
'Projects' }] // Mostrar en la página de detalles

project_id;

}

Level:
Expert

Gender Preference:
None

Meeting options:
Available online - via skype etc.
  • Programador/a SAP ABAP

    hace 4 semanas


    Barcelona, Barcelona, España Page Group A tiempo completo

    Perfil buscado (Hombre/Mujer)Formarás parte del Departamento IT y reportando al Responsable IT, podemos destacar: Dar apoyo en la creación de desarrollos en SAP/ABAP y/o UI5. Realización de desarrollos y investigación de posibles incidencias de la herramienta. Resolución de incidencias dentro de la operativa. Colaborar en todos los aspectos del ciclo de...

  • sap abap

    hace 1 mes


    Barcelona, Barcelona, España Page Group A tiempo completo

    Perfil buscado (Hombre/Mujer) Integración con equipo SAP multidisciplinar técnico-funcional, para el análisis y desarrollo de soluciones con valor añadido. Trabajo en proyectos evolutivos ABAP. Mantenimiento y mejora del sistema. Soporte técnico. Oportunidad de desarrollo profesional dentro del equipo IT SAP colaborativo|Modalidad híbrida de...


  • Barcelona, Barcelona, España Almato Iberia A tiempo completo

    Acerca de AlmatoAlmato es una filial al 100% de DATAGROUP SE, que cotiza en bolsa. La empresa es uno de los principales proveedores de software y servicios para la digitalización inteligente de las empresas. Con el software de Almato, las empresas automatizan y movilizan sus procesos de negocio. Las aplicaciones incluyen la automatización de procesos...

  • Programador ABAP

    hace 1 mes


    Barcelona, Barcelona, España Michael Page A tiempo completo

    ¿Dónde vas a trabajar? Page Consulting Tech Solutions, es el área de PageGroup especializada en la realización de proyectos IT en clientes, ofreciendo una amplia variedad de soluciones tecnológicas a medida con la flexibilidad y agilidad requerida. ) ¿Qué harás en tu nuevo puesto? Definir y desarrollar estándares técnicos.Ayudar en las pruebas para...

  • sap is-u

    hace 3 semanas


    Barcelona, Barcelona, España Krell Consulting & Training A tiempo completo

    Detallo perfil requerido:6-8 años de experiencia en proyectos de implantación SAP IS-U (SAP S/4HANA) en el área de lecturas y EDM (no nos interesa especialista en otros temas de ISU como Billing, FICA).Conocimiento del negocio de comercialización de electricidad y gas en España.Se valorará conocimiento en sector de comercialización de electricidad y...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    need a macroeconomics helper whoo will help me on my quiz for tommorow i am a legit person that will pay once result was given any time wasters please stay away.Level: Bachelors/UndergraduateGender Preference: Only maleMeeting options:Available online - via skype etc.


  • Barcelona, Barcelona, España SAP A tiempo completo

    Bring out your bestSAP innovations help more than four hundred thousand customers worldwide work together more efficiently and use business insight more effectively. Originally known for leadership in enterprise resource planning (ERP) software, SAP has evolved to become a market leader in end-to-end business application software and related services for...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    GgLevel: Beginner Gender Preference: NoneMeeting options: Available online - via skype etc.


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    My name is Yordan.I love Bollywood music very much.I have been studying singing for three yearsLevel: BeginnerGender Preference: NoneMeeting options:Available online - via skype etc.


  • Barcelona, Barcelona, España Michael Page A tiempo completo

    Senior SAP FICO Consultant en Barcelona.Perfil buscado (Hombre/Mujer) Configure and design software solutions and implementation tools within SAP FI/CO Module to meet business requirements and specifications. Coordinate closely - and with a proactive approach- with the business areas the design of requirements and solutions. Management of projects from...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    i have application and we were told to make some changes in andorid studio like with that application we can log in in home page and add post and we nned to like delete that post, add comment or any functinality that might worth . will you be able to hwlp me with it?Level: IntermediateGender Preference: NoneMeeting options:Available online - via skype etc.At...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    i need someone to do my tax law 2 project very proffesionally and made by a student good payment after wokr make sure you dont waste my time.Level: Bachelors/UndergraduateGender Preference: Preferably maleMeeting options:Available online - via skype etc.


  • Barcelona, Barcelona, España ConsulSAP A tiempo completo

    ConsulSAP busca consultor SAP SD y/o MM sector Retail. A partir de 4 años de experiencia en SAP en los módulos de SD/Retail (experiencia como consultor trabajando en implementaciones y/o en proyectos de soporte). Experiencia/Conocimiento en mapeos de integraciones con EDI y servicios web (SOAP, JSON, ) Experiencia/Conocimiento de integraciones con...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    Hi there I have an exam in financial modelling on excel, is that something you can help with?Level: Masters/PostgraduateGender Preference: NoneMeeting options:Available online - via skype etc.

  • SAP Tech Lead

    hace 1 semana


    Barcelona, Barcelona, España Criteo A tiempo completo

    What You'll Do:Criteo internal IT is actively chasing for an ERP Technical Lead ready to build a state-of-the-art ERP platform to move from our existing SAP ECC to the target ERP leveraging new technologies.Within IIT, Core Finance Tribe mission statement stands in one ambition: digitalize our hand-operated core financial processes to improve Criteo's...


  • Barcelona, Barcelona, España TeacherOn A tiempo completo

    Hello I am new in teacher on and I need help in my final for operation supply chain management I need someone expert in this domain that can manage to do my exam in less then one hour 30 minutes. I dont want people to tell me i am an expert and that i GET. A BAD grade so please anyone that feels like not controlling this domain jsut do not send me a message...


  • Barcelona, Barcelona, España Adevinta A tiempo completo

    The RTR (Record to Report) & PTP (Purchase to Pay) Technical Lead (TL) is responsible for technology for the RTR and PTP domains. Acting as the Tech Expert for RTR and PTP, partnering with the RTR Product Owner to provide technical guidance and support in shaping the product strategy. The RTR & PTP TL manages technology teams and third parties to deliver...


  • Barcelona, Barcelona, España Mediapro A tiempo completo

    Grup Mediapro es la empresa que gestiona los servicios corporativos de Mediapro.MISIÓNGestión integral del ciclo de la nómina, desde el incio de la contratación hasta la extinción de la relación laboral.FUNCIONESConfección de nóminas y seguros sociales. Gestión de contrataciones. Pago de obligaciones tributarias. Atención al trabador en cuestiones...


  • Barcelona, Barcelona, España 1global jppi, s.l. A tiempo completo

    URGENTE : COORDINACIÓN DE PROYECTOSCoordinación de traducciones e interpretaciones Contacto con clientes y traductores Preparación de presupuestos Asignación de proyectos Pedidos/aceptaciones de traducción, interpretación y revisión para nuestros clientes y proveedores Entrega de traducciones Gestión de llamadas y correos electrónico NOTAS: • Las...


  • Barcelona, Barcelona, España MartiDerm A tiempo completo

    MartiDerm, tú eres la fórmulaMartiDerm es una empresa líder en dermo-cosmética, destacando por la creación de la categoría de las ampollas. MartiDerm ha tenido un fuerte crecimiento desde 1952 y actualmente estamos en pleno proceso de transformación. MartiDerm se diferencia por tener su propio equipo de I+D, lo que nos hace destacar en innovación....