Abap and visual composer - portal

hi gurus,
i was tasked to develop a functionality for managers to see their employees personnel number on the portal. The dropdown should only show employees reporting to manager based on the reporting structure. I have developed the function module to get all employees based on the manager's profile and i have mapped the function module with the dropdown field, and the output is personnel number of the employees belonging to that specific manager. Now the issue is that the portal returns nothing on my dropdown field as my output can anyone help in this regard.
below is the code i have developed for the function module:
  select single pernr into p_pernr
    from pa0105
    where usrid  = sy-uname
    and   subty = '0001'
    and   endda ge sy-datum
    and   begda le sy-datum.
  select single plans into position
    from pa0001
    where pernr = p_pernr
    and   begda le sy-datum
    and   endda ge sy-datum.
  select sobid into corresponding fields of table itab_manager
    from  hrp1001
    where otype = 'S'
    and   objid =  position
    and   plvar = '01'
    and   rsign = 'B'
    and   relat = '002'
    and   istat = '1'
    and   begda le sy-datum
    and   endda ge sy-datum.
  loop at itab_manager.
    select single sobid into acting
      from hrp1001
      where  otype = 'S'
      and    objid = itab_manager-sobid
      and    plvar = '01'
      and    rsign = 'A'
      and    relat = '210'
      and    istat = '1'
      and    begda  le sy-datum
      and    endda  ge sy-datum.
    select single sobid into personnel_no
      from hrp1001
      where  otype = 'S'
      and    objid = itab_manager-sobid
      and    plvar = '01'
      and    rsign = 'A'
      and    relat = '008'
      and    istat = '1'
      and    begda  le sy-datum
      and    endda  ge sy-datum.
      itab_manager-pernr = personnel_no.
    select single sobid into act_position
      from hrp1001
      where  otype = 'S'
      and    objid = itab_manager-sobid
      and    plvar = '01'
      and    rsign = 'A'
      and    relat = 'Z02'
      and    istat = '1'
      and    begda  le sy-datum
      and    endda  ge sy-datum.
        modify itab_manager.
thanks in advance,
Thembass

Hi Sandra,
Thanks for that.  I wasn't sure if there'd be a proper SAP solution or not.
Gareth.

Similar Messages

  • How can I integrate Visual Composer applications with enterprise portal

    Hello All,
    I have a requirement to show BI reports built from webapplicaoins and Visual Composer to present on the Enterprise Portal 7.0
    Can anybody suggest me the procedure to do the same.
    Thanks

    Hi Agarwal
    When you create and deploy a VC application, the deployed iView/s are automatically created in the portal under the folder that you have specified (in VC Tools> Compiler options>portal deployment), or by default under Content Administration>Portal Content>Visual Composer folder.
    Check this for your BI, VC and Portal requirement:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1</a>
    You can then use these iViews with your role, page, etc.
    Manoj

  • Last Data Update in Visual Composer and Web App Designer

    Hello,
    We want to show the last data update in query result and we used 2
    differents ways to do it: throught Web Application Designer (SP 12) and
    Visual Composer (SP 10).
    In query result of Web Application Designer, the last data update came
    in GMT0 and in visual composer came ok (GMT - 3, that's our time zone).
    This value (ROLLUPTIME) is taken out of the RSMDATASTATE table and this is used in SAPLRSMDATASTATE program, that is called by Web App Designer.
    Why does the difference exist between: Web App Designer and Visual Composer for last data update?
    So, I need more information how the Visual Composer brings the correct value (in our time zone) and Web App Designer in GMT0.
    Best Regards,
    Pablo Moraes

    Hi Mario,
    Yes, i used the same user and the same query to access the information. But, how can i check the mapping from my VC user to the BI user?
    Regards,
    Pablo Moraes

  • Data Service System In Visual Composer  7.1

    Hello,Experts:
    Recently ,i am focusing on the mirgration function of SAP NetWeaver,and visual composer is among them .
    In netweaver 2004s enterpise portal ,i have done the system connection between Enterpise Portal and ECC and BW ,and the system alias can be accessed in visual composer .Both the bapi and infocube can be got by the system alias .The Visual Composer Application based on the backend data service is ok .
    However ,i have registry the ecc system in CE Portal and its version is SAP Composte Environment SP5 .I can check out the system registry is ok . However ,when i open the Visual Composer on the CE Portal ,i couldnt find the system alias that i have registried .It is blank .Plus,we havent install SLD on the CE Java Server ,and solution manager is put forward to take the place of sld .
    Can anybody help me out ? The problem has any relationship with the Enterpise Service Repository ?
    Thanks for your help in advance .
    Eleanor

    Hi Eleanor,
    first of all if you want to use SAP BW in Visual Composer for CE then you have to install Enhancement Package 1. SAP BW resp. queries, planning functions and so on is only supported with VC 7.11 (EhP1 for CE). I also recommend you to set up the SLD in your CE system resp. that it works as a "slave SLD" when you have an existing SLD in your landscape. There are wizards available in the NetWeaver Administrator.
    Go to http://<host>:<port>/nwa to login into NetWeaver Administrator.
    Navigate to Configuraton --> Scenario --> Configuration Wizard and choose the Initial setup of functional unit SLD.
    If you want to have access to BAPIs there are two ways to access the system. You can define a portal system object to access the ECC or you can define in NWA a RFC connection to access ECC.
    [Maintaining RFC Destinations|http://help.sap.com/saphelp_nwce10/helpdata/en/5a/97a066223e440b8ead3da027b17d9e/frameset.htm]
    [Wiki to setup RFC connection|https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc71/rfc+destination]
    Hope that helps,
    Best Regards,
    Marcel

  • Data Service System In Visual Composer

    Hello,Experts:
    Recently ,i am focusing on the mirgration function of SAP NetWeaver,and visual composer is among them .
    In netweaver 2004s enterpise portal ,i have done the system connection between Enterpise Portal and ECC and BW ,and the system alias can be accessed in visual composer .Both the bapi and infocube can be got by the system alias .The Visual Composer Application based on the backend data service is ok .
    However ,i  have registry the ecc system  in CE Portal and its version is  SAP Composte Environment SP5 .I can check out the system registry is ok . However ,when i open the Visual Composer on the CE Portal ,i couldnt find the system alias that i have registried .It is blank .Plus,we havent install SLD on the CE Java Server ,and solution manager is put forward to take the place of sld .
    Can anybody help me out ? The problem has any relationship with the Enterpise Service Repository ?
    Thanks for your help in advance .
    Eleanor

    Hi,Govindu
    I have read that message already .Thanks for ur help .
    However ,i find that there's no VC-Role in CE SP5,and the permission add-in didnt work .Besides ,when i deploy VC component on the EP 6.0 ,i can find these iviews or models at the directory of content administrator->visual composer ,while in the new version ,i havent find the configuration path on the Visual Composer Client,and when i deploy the VC Applications ,it is deployed in the path of webdynpro content management .
    and my question is still up in the air .

  • From Visual Composer to Developer Studio

    Masters I need some help here!
    I import into the developer studio a *.par file, made with visual composer, so I can modify it from the developer studio.
    The project don't compile because the "GmlDynController" class is missing, so as there's not import sentence in the *.java file, I searched (all over the PC where was install the portal and Visual Composer) for the *.jar or folder containing "GmlDynController" and nothing I found.
    I searched all over the sap's sites "GmlDynController" and nothing was display.
    I only know that is a class introduce by the visual composer and if it's use must be at somewhere.
    ¿Does anybody could tell me where is the GmlDynController?
    Thanks a lot for your time.

    Hi,
      Finding the classesfor the par files is a time consuming task. here are some means tools which will help you find them.
    Jar Class finder is a tool which will help you in this
    download info JAR Class Finder
    plugin installation: Using JAR Class Finder
    Regards,
    S.Divakar

  • Three questions about visual composer?

    Hi all,
    1. what is the relationship between "visual composer and "visual composer BI kit"? what else elements do we need to add on top of visual composer in order to make visual composer BI kit?
    2. If we only do visual composer, the only thing we can't accomplish is the BI query wizard in visual compuser menu, right?
    3. After creating backend SAP BW system connection via BI JAVA CONNECTOR, why do we still need to create backend SAP BW system connection via SAP BI CONNECTOR?
    I went through Scott Cairncross' PDF file "Know how network call SAP Visual Composer & BI kit" and have the three questions above.
    George

    ad 1) BI Kit is a kind of plugin to VC (like the plugins in Eclipse). Today VC and BI Kit are shipped together. Once you have VC, you also have the BI Kit.
    ad 2) BI Kit offers:
    - connectivity to JDBC, ODBO, XMLA, SAP Query and SAP BI directly
    - BI Integration Wizard (to create models in a wizard style)
    - MDX, SQL Editors
    ad 3) The "direct" BI connection uses RFC-calls to BI and offers you more features, like Variables, Queries, query-views, infoobjects, favourites, history, URL port, etc. You can also connect to a SAP BI system via the XMLA-connector. A relational connector (like it is done in the portal) would only give you access to masterdata (infoobjects), but not infocube data.
    Mario

  • Visual Composer 7.0 roadmap

    Hello experts,
    We have NetWeaver EP 7.0 installed with Visual Composer in our C&B and DEV environment. We haven't started developing with it yet.
    My questions to you is:
    What is the future of Visual Composer 7.0?
    My understanding is that SAP has put a lot of energy integrating Visual Composer into CE 7.1. This new version has significant changes compare to it's predecessor. Visual Composer for CE 7.1 seems to be the way to go if one needs to create applications based on existing data services. In short terms, both versions will coexist. Bbut in long terms...?
    Can anyone help me find the Visual Composer roadmap?
    Thanks a lot for your help,
    Nathalie

    Hi,
    This is a quote from the Visual Composer main page on SDN: (/people/jarrod.williams/blog/2009/09/14/whats-new-in-visual-composer)
    "_Visual Composer 7.0_
    In light of the progress made relating to parity between Visual Composer 7.0 and Visual Composer CE, our investment in Visual Composer 7.0 will be limited to maintenance after the release of enhancement package 2 for SAP NetWeaver 7.0. We are confident that with the provisions made for migration to Visual Composer 7.1 enhancement package 1 or Visual Composer 7.2 and the great feature set in Visual Composer for enhancement package 2 for SAP NetWeaver 7.0, our existing customers running Visual Composer 7.0 will enjoy the best of both worlds: the option to upgrade to Visual Composer 7.2 or to stay with the latest release of Visual Composer 7.0."
    I'll stress the last part, though VC on CE is a great version, staying with the latest release of Visual Composer 7.0 is also good, depending on your needs of course, for instance - the attractive Flash runtime which is currently exclisive for VC 7.0, the "Flash Components" feature that was entered on SP5 of 7.01 (and in 7.02) , which enables you to consume custom 3rd party flash components or Xcelsius controls inside Visual Composer,, which makes flash black-boxes easier to consume than in CE, .. etc..
    still - VC on CE of course has it's own advantages - the ability to consume clustered services, life-cycle management, it's intergration with the other CE components etc..
    and so if you'll find that VC 7.0 is not enough, you could always upgrade and migrate to the CE versions (7.1 or 7.2).
    bottom line - it's a win win situation.

  • How to add Visual Composer to CE 7.1 trial

    Hi,
    after having installed CE 7.1 (english, Windows OS) and assigning VisualComposerUser role to my admin, i tried to have a look at the visual composer http://hostName:50000/VC
    Problem is: only an empty page is displayed - grmph! After searching SDN i noticed, that Guided Procedures and Visual Composer (from my point of view the most interesting parts) are not included in download.
    Any idea on how to get these CE packages for preview?
    Thx a lot.
    ingo
    Edited by: Ingo Bischofs on Sep 16, 2008 2:46 PM

    Mmmh...without SVG Viewer it's hard to get it up and running :/
    sorry for bothering the community

  • Visual Composer 7.0 and LoadRunner VueGen

    Has anyone been able to make Visual Composer 7.0 work with Vuegen (v8.1 FP3)? Running on NW04s SPS10 J2EE and Portal. The model is rather simple it executes an ABAP BAPI and returns Exchange rate data. Works great in the browser with no issue.
    VueGen receives the data (seen in the playback), but then has a fatal issue, with message = Fatal Communications error, cannot retrieve the data. The https is definitely working Ethereal proves that. VueGen always works a little differently than the IE6 browser based on Ethereal (that's a mystery).
    Anyway, I am guessing that the Web-HTML and Web-SAP Protocols simply cannot handle the Flash bytecode that is streamed back to the Vuegen process. It must be trying to do something with it, and failing.
    Any ideas or success stories with Visual Composer 7 / Flash (not WebDynPro), and Vuegen would be greatly appreciated? And if you are about to try it , good luck.

    Hi Frank,
    From what I understand you are talking about recording Flex applications and not VC design time, right?
    If so, I do remember having some problem with VUGen. I think that what helped me was using the option of using the old recording engine. This can be set in VUGen-> Recording Options->Advances->Recording Engine.
    Also, I don't think you need the SAP-WEB, just use the Regular Web-HTTP.
    After you record should see web_custom_request going to "com.sap.visualcomposer.vcbroker". I would put some web_reg_find before these requests and supply some expected returned data to search for.
    Best Regards,
    Noam

  • How to activate SAP Visual Composer Reporting on ABAP Side

    Hello,
    How can we activate SAP Visual Composer Reporting on ABAP Side in ECC 6?
    It is not in BI or in Portal.
    And I have some problem to find documentation about it.
    Thank you a lot!
    Manu

    Hi Manish, Is not posible to migrate iviews, you need to do a new deploy in the new server.
    Regards.
    Ignacio.

  • Does Visual composer requires enterprise portal installation?

    Hi all,
    Does Visual composer requires enterprise portal installation?
    or can it be installed standalone and used standalone.
    Also does Visual composer reuires BI-JAVA stack,
    or can it run on BI-ABAP stack also
    Thanks all,
    Regards,
    Robert

    Hi ,
    Thx Markus,
    one more question...
    Is VC a stand alone application/package by itself that does not require EP or does it come with EP.
    Thanq.
    Regards,
    Robert.

  • How to use ENQUE and DEQUE BAPI in Visual Composer

    Hi All,
           We are planning to update employee Address through Portal for that one we did one BAPI which supports ADDRESS Change of an employye, through Visual Composer we developed the application and we integrated into SAP Portal but we are not able to update our records, then we found BAPI_EMPLOYEE_ENQUE and BAPI_EMPLOYEE_DEQUE, but we don't know how to use thease BAPI's in Visual Composer i mean how to make connection between out input form and thease BAPI''s and our custom BAPI's.
    If any one having this experience please let me know.
    Thanks in Advance.
    Thanks and Regards,
    Abhi.

    Hi,
      Nice to see your reply, we got this error in R/3 it self, when we are trying to excuting SAP Standard BAPI we are getting this error "Employee/applicant is not locked yet". I think this is bug from SAP itself, do you have any idea about this one? is there any settings we need to do in R/3 for resolving this one or else is there any data we need to maintaine for our Employee Records.
    Please resolve my issue.
    Thanks in Advance.
    Thanks and Regards,
    Abhi.

  • Problem during deploying  bw iview  from visual composer module on Portal.

    Hi all,
    we are working on Portal 6.0 sp 11 and  using  VC 6.0  sp 4  for developinrg R3 and Bw  iviews on  Visual composer. There is no problem in deploying the r3 iviews on the portal but in case of BW (3.0 and 3.5 ) iviews  while deploying it  to portal gives the following
    Error in executing a process for compilation, .\GUIMachine_Business_Packages\TESTRED_24360\com.autogen.guimachine_1104120045\src.core\Iviewred_ctl.java:46: cannot resolve symbol
    symbol : constructor BIOlapFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iviewred_ctl,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
    location: class com.sap.portal.guimachine.bikit.runtime.BIOlapFunction
    BIOlapFunction BIO1OZ = new BIOlapFunction ("BIO1OZ", this, profile.getProperty("System1"), "BIO_DEFAULT", "<Objects id=\"\" type=\"TEMPLATE_METADATA\"><Object id=\"0\" type=\"SCHEMA\" name=\"$INFOCUBE\"/><Object id=\"0\" type=\"CUBE\" name=\"$EMP_CUBE\"/><Object id=\"1\" type=\"MEASURE_DIMENSION\" name=\"Key Figures\" uniquename=\"[Measures]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_PARAMETER\"><Object id=\"CUBE\" type=\"TEMPLATE_PARAMETER\" text=\"$EMP_CUBE\" value=\"$EMP_CUBE\" techname=\"null\" uniquename=\"null\"/><Object id=\"MEASURES\" type=\"TEMPLATE_PARAMETER\" text=\"[Measures].[SALARY]\" value=\"[Measures].[SALARY]\" techname=\"null\" uniquename=\"null\"/></Objects><Objects id=\"\" type=\"TEMPLATE_FILTER\"/>",2,500,"KEY");
    ^
    1 error
    can any one help us .
    Thanking in advance.
    Rajendra Redekar

    We are having a similar issue.  We have been able to deploy non-BI content on our setup.  There seems to be a problem with the BI plugin piece.
    Sequence:
    1) Confirmation: PAR name may exceed OS limits.  To avoid errors PAR was automatically renamed to: com.autogen.guimachine_0509145218.par
    2)Error in executing a process for compilation, .\GUIMachine_Business_Packages\bw_query_wizard_model_53826\com.autogen.guimachine_0509145218\src.core\Iview_7k_ctl.java:46: cannot resolve symbol
    symbol  : constructor BIOlapFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iview_7k_ctl,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
    location: class com.sap.portal.guimachine.bikit.runtime.BIOlapFunction
    BIOlapFunction BIO94 = new BIOlapFunction ("BIO94",
    this, profile.getProperty("System1"), "RANKING_TOPN", "<Objects id=\"\" type=\"TEMPLATE_METADATA\"><Object id=\"0\" type=\"SCHEMA\" name=\"CO_C01\"/><Object id=\"0\" type=\"CUBE\" name=\"CO_C01/ZSEM_CO_C01_Q001\"/><Object id=\"1\" type=\"MEASURE_DIMENSION\" name=\"Key Figures\" uniquename=\"[Measures]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_PARAMETER\"><Object id=\"TOPENABLED\" type=\"TEMPLATE_PARAMETER\" text=\"true\" value=\"true\" techname=\"null\" uniquename=\"null\"/><Object id=\"TOPRANKTYPE\" type=\"TEMPLATE_PARAMETER\" text=\"Count\" value=\"Count\" techname=\"null\" uniquename=\"null\"/><Object id=\"TOPVALUE\" type=\"TEMPLATE_PARAMETER\" text=\"5\" value=\"5\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMENABLED\" type=\"TEMPLATE_PARAMETER\" text=\"false\" value=\"false\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMRANKTYPE\" type=\"TEMPLATE_PARAMETER\" text=\"Percent\" value=\"Percent\" techname=\"null\" uniquename=\"null\"/><Object id=\"BOTTOMVALUE\" type=\"TEMPLATE_PARAMETER\" text=\"5\" value=\"5\" techname=\"null\" uniquename=\"null\"/><Object id=\"MEASURE\" type=\"TEMPLATE_PARAMETER\" text=\"Tons Billed\" value=\"[Measures].[3VK0EY29VB8ZFHGIZ6JT89G4R]\" techname=\"3VK0EY29VB8ZFHGIZ6JT89G4R\" uniquename=\"[Measures].[3VK0EY29VB8ZFHGIZ6JT89G4R]\"/><Object id=\"DIMENSION\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight\" value=\"[0MATERIAL__SLSBASWT]\" techname=\"0MATERIAL__SLSBASWT\" uniquename=\"[0MATERIAL__SLSBASWT]\"/><Object id=\"HIERARCHY\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight\" value=\"[0MATERIAL__SLSBASWT]\" techname=\"0MATERIAL__SLSBASWT\" uniquename=\"[0MATERIAL__SLSBASWT]\"/><Object id=\"LEVEL\" type=\"TEMPLATE_PARAMETER\" text=\"Sales Basis Weight Level 01\" value=\"[0MATERIAL__SLSBASWT].[LEVEL01]\" techname=\"LEVEL01\" uniquename=\"[0MATERIAL__SLSBASWT].[LEVEL01]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_FILTER\"/>",2,500,"KEY");
    1 error
    It points specifically to "BIO94" in this line:
    BIOlapFunction BIO94 = new BIOlapFunction ("BIO94"...
    Any help is welcome.
    Message was edited by: Jeff Tawater

  • Portal Activity report through Visual Composer

    Hi all,
    We are implementing the activity report model in Visual Composer as described in the Wiki:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/aportalactivityreportusingVisualComposer
    We are able to find the required webservices and drag them onto the storyboard. But when we try to test the webservice Getcontentstat with correct input we receive an error:
    Portal request failed. (Could not execute webservice, consult your administrator).
    We guessed this was some sort of authentication error, so we defined a differerent user for the webservice in Visual Administrator and then we receive a different kind of error:
    Portal request failed (Fault returned from server: )
    Any suggestions are very welcome.
    Best regards,
    Jan Laros

    Hi J. Laros,
    I facing the same problem when i try execute this webservice from soapUi client.
    What did you did for to solve this problem?
    The message is:
    The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.ActivityReportWS or the service was not found.
    When i execute from VC, returns no messages.
    thanks,
    Douglas

Maybe you are looking for

  • How to stop a popup if the session has expired??

    Hi I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter. Now what we want is that if the session is not valid than the pop up shud not open. Currrently what is happe

  • Menu bar isn't translucent

    I like the translucent menu bar, but even when my desktop background is the closeup of earth, My menu bar is solid gray. Why? How do I fix that?

  • How do I backout the Lion OS to the previous build?

    I recently upgraded to the Lion OSx.  Unfortunately, one of the most critical applications (Canon EOS Utility) does not work with this version of the operating system.  Is there a relatively easy way to back-out the update and revert to the previous

  • Safari browser and EM

    I have EM working well using the Safari browser on my Powerbook. However, when I first used it it gave me a warning that EM is not optimized for Safari. What is the consequence of this? Is it just that EM doesn't know about Safari or is there a real

  • Can't re-install MS Office 07

    I had already installed MS Office 2007 on two laptops, one of my laptops had to be refreshed and MS ended up being removed from it.  Now it is telling me that I have reached the limit of PCs.  Any suggestions since Microsoft doesn't help people witho