Guide on how to use a self programmed BAPI in Visual Composer

Hi all,
I am absolutely new to modelling with the Visual Composer, so probably this is a fairly easy question for most of you, but it's driving ME nuts.
I have a BAPI in my ERP6 system. This BAPI was programmed by some other guy (not working here anymore) and it is used to output some time management data for a user. It expects a personnel number as input and is then supposed to return the amount of time an employee worked that day.
Now what I need/want to do is this:
a user logs on to the portal with his user-id and I want to create an iView on the first page that displays his/her remaining time of work for that day.
All I have is the user-id, from which I need to query the personnel number from infotype105 and then use this number as input for the BAPI - And I want to do this with the Visual Composer!
Can someone point me to some good documentation how to get started with using a BAPI in Visual Composer?
I have a sesond problem right now, that has something to do with necessary rights for system connection or system alias - not sure:
Right now, I can't see any BAPI in my backend-system, because I seem to be mssing the necessary rights to use the system connection I created - although group everyone has read access to the connection an I setup SSO between portal and ERP system.
So maybe solme of you gurus might be able to point me to some good documentation on these topics, as I'm kinda stuck here
Greetings,
   Christian

Hi,
Yes its very much necessary to do the user mapping untill unless if you did not do the single sign on Trust .
It is necessary to get the data from the Back end i.e your Ssytem.
Steps :
Go to Useradministartion->find your VC user (using which user you are logging to the VC)->CLICK ON MODIFY->Select usermapping Tab->select the System alias ->give the credentials of the System (i.e Back end) then Save.
After that Check the Connection Test for the Syetm you connected .
Steps:
System Administartion->Syste configuration->Visual Composer-> fRight Click on your Backend Sytem->select Connection test->do the connecton test .
if the results are failed means the usermapping is wrong.
Regards,
Govindu

Similar Messages

  • 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.

  • How to use standard report program [RPR_ABAP_SOURCE_SCAN]

    hi all,
    how to use RPR_ABAP_SOURCE_SCAN report program for checking my program. when i run it its asking me the report name and i gav it but, its showing me the error message as  'ENTER SEARCH STRING' .
    SO I NEED TO KNOW WHERE I DID WRONG.
    thanks in advance,
    suresh babu aluri.

    hi suresh,
    i hav tried that, its working
    enter like this,
    <b>program name : zpy_text</b>
    under search criteria.
    <b>Find string : select</b> 
    "******enter any string that is in that program, usually select will be there, then execute.
    With Regards,
    S.Barani

  • I am a professional photographer of many years standing and at the moment I have a student for 12 months, who I am teaching how to use various Adobe programs, but to introduce her to video editing, I have purchased Adobe Premier Elements 13 which is less

    I am a professional photographer of many years standing and at the moment I have a student for 12 months, who I am teaching how to use various Adobe programs, but to introduce her to video editing, I have purchased Adobe Premier Elements 13 which is less complicated than the Premier Pro that I use. The program works perfectly, except for one thing.... when adding a title to the short video sequence we are working with, if I use a particular font (Metallophile Sp8) which I obtained from my Adobe Typekit, it crashes the program,.... all other fonts work perfectly....can anybody help me please?

    clivephoto
    What computer operating system is your Premiere Elements 13 running on? And what video card/graphics card does this computer use?
    From your description, can I assume that this Mettallophile Sp8 font is being recognized by Premiere Elements 13 to the extent
    that it can be seen and remains seen in Titler's list of font choices - even after the crashes?
    If you opened a new project, imported nothing, and created a text title in the Titler with this Mettallophile Sp8 font, does the program crash?
    Please review the following which discuss fonts and Premiere Elements and determine if anything in it helps.
    Fonts & Crashes with Titler
    Let us start here and then decide what next.
    ATR

  • A Guide on How to Use the Terminal?

    hey all, i've been looking for a guide on how to use the command prompt in Lion and haven't  been able to find anything. i'm brand new to the OS X and would appreciate any help. i'd like to learn the different commands first instead of the GUI.
    by the way, are there any guides on what to do in the first stage of setting up OS X on a mac mini?
    thanks

    I'd start here: Terminal 101.  Reading books on UNIX would be helpful too.

  • HT200246 I JUST PURCHASED MOTION 5 AND HAVE NEVER USED IT OR ITS PREDECESSORS BEFORE.  HOW CAN I GET A LESSON GUIDE FOR HOW TO USE THIS SOFTWARE?

    I JUST PURCHASED MOTION 5 AND HAVE NEVER USED IT OR ITS PREDECESSORS BEFORE.  HOW CAN I GET A LESSON GUIDE FOR HOW TO USE THIS SOFTWARE?

    There are a number of resources.  You might want to start with:
    The User Manual:
    http://help.apple.com/motion/mac/5.0/en/motion/usermanual/
    This Thread:
    https://discussions.apple.com/message/22833760#22833760
    or just do a google search, that should bring up plenty of tutorials from around the web.
    Cheers!

  • How to use a self-signed certificate

    Hello,
    I am having some troubles understanding how to use a self-signed certificate. I have created one using Keychain Access -> Create Certificate but it never asked me for the private key and it never told me where the certificate is stored. How am I supposed to use it?
    Typically I would like to do two things:
    1) use the certificate to for example sign an email or other document so that the recipient can verify that it was really me. I understand the concept that they have to have my public key and use it to somehow decrypt something that I have encrypted with my private key. But where is my private key? As mentioned, the certificate creation process never at any point asked me to provide a private key.  An example using this process to sign an email would be really appreciated.
    2) I want to be able to decrypt a message that someone sends to me after encrypting it with my public key. Again, I need my private key, where is it? I was never asked to choose one!
    Please note that i am familiar with the whole process using openSSL ssh via command line, I just need to understand how to achieve the same thing using the certificate creation procedure provided via Keychain Access.
    In short, now thta I have created my certificate, how do I use it? Examples for dummies would be really appreciated
    Thanks  in advance
    /Andrea

    Can you import the CA cert under “Your Certificates.”, delete the CA cert, switched to “Authorities”, re-imported the CA cert, and restarted Firefox.

  • How to use another java program to stop this running prpgram???

    Dear Sir:
    I have following code and I run it success,
    import java.util.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.*;
    public class CertainAndRepeatTime{
      public static void main(String[] args) throws IOException{
        int delay = 1;
        Timer timer = new Timer();
        ActionListener actionListener = new ActionListener() {
            public void actionPerformed(ActionEvent actionEvent) {
              System.out.println("Hello World Timer");
        System.out.println("What do you want (Certain time or Repeat time)?");
        System.out.print("Please enter \'C\' or \'R\' for that: ");
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String ans = in.readLine();
        System.out.print("Please enter  ans=" + ans  + " IsTrue=  " + (ans.equals("R") || ans.equals("r")) +"\n");
        if (ans.equals("C") || ans.equals("c")){
          //System.out.println("This line is printed only once start...");
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed only once.");
          },delay,1);
        else if(ans.equals("r") || ans.equals("R")){
            timer.scheduleAtFixedRate(new TimerTask(){
              public void run(){
                System.out.println("This line is printed repeatedly.");
            },delay, 1000);
          while(true){
               //System.out.println("Charles print This line is printed repeatedly.");          
          } //This will make your main thread hang.
        else{
          System.out.println("Invalid Entry.");
          System.exit(0);
        System.exit(0);
    }But I hope to use another java program to stop it when it is running instead of pressing CRTL + C to stop it.
    How to do it??
    Any example??
    Thanks a lot!!

    Sorry, I think i did not express cearly. It is my fault.
    I re-write my requirements again:
    I have
    Class AAA1.java,
    Class AAA2.java,
    Class AAA3.java,
    Class AAA20.java...
    etc
    they all look like the program I posted first time,, once executed, they will run for ever, and they will be stopped until I press CRTL + C;
    Now I hope to use another java class StopProgram.java to stop them 1 by 1 or at once instead of pressing CRTL + C;
    In this case, how to code this StopProgram.java ??
    Thanks

  • What is access sequence tables and how to use them in program?

    hi all, I know a little about SD and access sequence tables, but I get a requriment like this:
    condition type is a paramater
    The condition types allowed in this report are: Note: A list of pre-defined condition types with their corresponding access sequence tables will be defined.
    How can I make it? How can I use it in program to get the price?

    Hi,
    An access sequence is a search strategy with the aid of which the SAP
    System searches for valid condition records of a certain condition type.
    For example, you can stipulate for a price that the SAP System first
    searches for a price for a specific plant, and then for a generally
    applicable price.
    For condition types for which you wish to maintain conditions with their
    own validity period, you must assign an access sequence. With this, you
    define which fields the SAP System checks in searching for a valid
    condition record.
    e.g. When you create condition record (e.g. Purchasing condition record) you enter condition type, system asks you the key combination to enter the entries. These key combinations are nothing but the access sequence. On the basis of combination of condition table it will search record. e.g. when u maintain condition record with acc seq Material/plant combination, it will transfer the same record in PO when u enter same material and plant in the PO.
    Example:
    An access sequence has been assigned to condition type PB00 so that
    prices can be maintained in purchasing info records and contracts.
    No access sequence has been assigned to condition type RC00 because it
    does not have a validity period of its own. In the standard system, it is
    always maintained simultaneously with the price and is valid for the
    period of the price.
    For more help
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm
    Regards,
    Raj.

  • Any guides on how to use UIScrollView?

    Hi,
    having difficulty implementing UIScrollView.
    I have UIViewController which has UIView on it. I have changed UIView class inside IB to UIScrollView, but have no idea how to make it to scroll vertically?
    At the moment its static and doesn't scroll at all.
    On my UIScrollView I have label, image and textview and text view length is unknown as it is loaded from database.
    What I want to achieve is that if textview doesn't fit on current view I want to be able scroll up and down. Do I need to have another UIView inside UIScrollView and place all my components on UIView instead of UIScrollView? Do I need to resize UIScrollView myself to be big enough for my components to fit?
    Any help is really appreciated.

    Don't know about tutorials for smart mailboxes, but I would suggest playing around with them as they are fairly self explanatory, as in you can filter either messages or to dos according to the rules you can see and choose. You can also create a smart folder that will filter messages from other smart folders, and so on and so forth.
    If you mean inbox, sent... for "standard" mailbox, you are correct. You cannot add a "sub mailbox" to these, you can only add a "sub mailbox" - mailbox within a mailbox - to a mailbox you create on your mac or if you have an IMAP account, under that IMAP mailbox/folder structure.
    As for best practice, again it will be up to you depending on how you use Mail and what type of messages you get, how many you get, and what you want to achieve. Some users filter their incoming mail to smart mailboxes directly and view in smart mailboxes, others create rules to move their email or set up automatic actions - see mail>preferences>rules to create rules - and view the mailboxes the incoming mail was moved to others just work straight from their inbox and drag and drop manually, and nothing stops you from using a combination of the above depending on the type of emails you receive and what you want to do with them.
    hope this helps

  • How to use a Matlab Program within Labview

    Hi
    I saw in this forum that many users are using some matlab program
    executed in Labview program. I have actually Labview 7.1 and would like
    to use some of my matlab program in Labview. Is there an easy way to do
    it ?
    Thanks
    Thomas

    The MATLAB Script function is kinda buried in the function palette, and
    can be found under Functions >> Analyze >> Mathematics
    >> Formula.  Unfortunately this feature is not available in
    the LabVIEW Base package.  Hope this helps!
    Andy F.
    National Instruments

  • How to use the feature of ajax in visual web jsf

    Hello,everyone!
    I want to use the feature of ajax in visual web jsf,but the program encountered a error. I want refresh the dropdownlist once the javascript captured the refresh message,they both behaved asynchronously. However, the textField1 rendered with a blank box,while the dropDown1 had no change. The code as follows:
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{Page1.page1}" id="page1">
    <webuijsf:html binding="#{Page1.html1}" id="html1">
    <webuijsf:head binding="#{Page1.head1}" id="head1">
    <webuijsf:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    <webuijsf:script>
    var processEvents = {                                                
    update: function(props) {
    var combo=document.getElementById("form1:dropDown1");
    combo.refresh();
    // Subscribe to refresh event.
    function refreshme(){
    var dom=document.getElementById("form1:textField1");
    dom.refresh();
    dojo.subscribe(webui.suntheme.widget.textField.event.refresh.endTopic, processEvents, "update");
    </webuijsf:script>
    </webuijsf:head>
    <webuijsf:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{Page1.form1}" id="form1">
    <webuijsf:textField binding="#{Page1.textField1}" id="textField1" onBlur="refreshme();"
    style="position: absolute; left: 168px; top: 144px" valueChangeListenerExpression="#{Page1.textField1_processValueChange}"/>
    <webuijsf:textField binding="#{Page1.textField2}" id="textField2" style="left: 168px; top: 96px; position: absolute"/>
    <webuijsf:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}" style="position: absolute; left: 192px; top: 216px"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    /**********************************java******************************************/
    the function textField1_processValueChange didn't been invoked
    public void textField1_processValueChange(ValueChangeEvent event) {
    DropDown dd=getDropDown1();
    Option op1=new Option();
    String addText=(String)getTextField1().getText();
    op1.setLabel(addText);
    op1.setTooltip("tooptip");
    op1.setValue(addText);
    ArrayList <Option> l=null;
    Iterator <Option> i = dd.getListItems();
    while(i.hasNext()){
    l.add(i.next());
    l.add(op1);
    dd.setItems(l);
    thanks In advance all of your replies.

    Hi there,
    Take a look at this, will help you
    http://developers.sun.com/jscreator/learning/tutorials/2/textcompletion.html
    Thanks
    K

  • How to use Extension parameter in BAPI

    Hi,
    Can anyone provide any clue about how to use the EXTENSION paramenters in BAPI? Thanks.
    Regards,
    Chris

    Hi,
    just check this thread you can get some idea how to use extension in BAPI.
    BAPI_ACC_DOCUMENT_POST  (EXTENSION)
    Regards
    Vijay

  • How to use Extensionin, Extensionout FOR BAPI ENHANCEMENT

    Hi,
    I need to do the enhancemen for BAPI. I don't know how to do it.
    if there is any good procedure plz give me.
    Thanks in Advance,
    NV

    Hi ,
    In the EXTENSIONIN param Structure should be BAPI_TE_XXXXX(Which has the custom fields) .
    If you don't know one in se11 search with BAPI_TE_* , I am sure you will one which has ur fields.
    And then in Value part1 should have your data.
    For Ex. you want to send company code , asset no.
    first4 will be your comp code , Next 12 will ur Asset no .
    Please revert back if more help required.
    Also Check for similar work
    [Thread|Re: How to use BAPI]
    Rhea.

  • How to call a BAPI from Visual Composer

    hi,
       I am new to Visual composer. can some body give me step by step information of calling a bapi or RFC from VC.
    Thanks in advance,
    Gopi

    Hi Gopi,
    Steps involed for calling RFC/BAPI from VC
    1. Choose Model->Select Data Services.
    (Alternatively, click the Data button in the task panel toolbar.)
    2. In the Portal field at the right end of the main toolbar, enter the URL of the portal from
    which you can access the back-end system used by the iView.
    For example, you could enter: http://<yourportal>:50000/..
    3. Click the traffic light icon to the right of the Portal field. The portal Welcome screen
    appears.
    4. Log on to the portal as a user that exists in the connected back-end system, or which is
    mapped to a user of that system. Click OK.
    Once a connection to the portal is established, a list of system aliases defined in the
    portal system landscape appears in the System drop-down
    list.
    From the System drop-down list, choose the SAP system that contains the function module.
    6. Under Search SAP System, click the Search tab and in the Name field, enter the search string: <RFC/BAPI name>. Then click Search (at the bottom).
    5. A list of function modules matching the search string is displayed.
    7. Drag the function module/bapi from the Data task panel into the
    workspace: The data service is added to your model.
    8. Periodically save your work. To do so, choose File->Save Model.
    Finally test the iview in VC.
    In the workspace, drag your mouse from the Input port of the data service, <inputform> and dragn your mouse from the outut port from the data service <tabelview and etc..>
    or
    Go through the this documentation...
    http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
    Thanks,
    Suriya.

Maybe you are looking for

  • Partial wakelock in Adobe Air for Android

    I'm developing Adobe Air (for Android) application which is intended to be constantly on. App has event based operations. However, when phone enters to sleep mode app is able to perform only one or few events in a second which is not good enough. AIR

  • Can I separate the pages of one PDF file into separate files

    Is there a quick way to separate the pages of a PDF? For example, I want to take a 10 page PDF, separate the pages and save them as 10 separate files. I know I can go through and extract each page, but I need to do this with multiple documents that c

  • With 12.0.1.71 how do i play a cd i just burnt

    In Itunes, since my latest upgrade I cannot find the icon to play a cd that I insert in my computer.  Where the heck is it ?  I feel stupid looking around and I cannot find it... please help !

  • Result in attributes

    Hello, I just installed the Oracle 9iAS v. 1.0.2.2.0 and the newest (beta) XDK. Now some of my XSQL-pages don't work anymore. I have the problem isolated to queries like (SELECT COUNT(*) FROM test) AS "@total" I get an oracle.xml.sql.OracleXMLSQLExce

  • Unicode upgrade of ABAP code question.

    Hi gurus...... I am involved in upgradation tool... when we are upgrading ec4 to ec6 some pgms are unicode compatable and we will get errors according to unicode format so when we get those errors can we replace those stmts by our code for eg. data f