In Visual Composer Can we Pass a whole Table to a Bapi

I have a Bapi which takes a table as input and stores the values in SAP-Database.
But in Visual Composer i am not able to do it.When i fetching the Bapi into Storyboard its not showing the Input field for passing the table.
Is it a limitation of Visual Composer? Or do i have to change my bapi in some manner so that i will be able to pass the whole table.
Regards,
Paresh.

Hi Paresh,
can try to copy the BAPI with another name. Then drag the BAPI again on the storyboard. Maybe now you have the Input Port.
The same problem sometimes occurs for RFC function moduls.
Best Regards,
Marcel

Similar Messages

  • Can Visual Composer talk to/connect to any database?..

    Hi ,
    My first question is if Visual Composer can talk to a database directly?
    I would like to know the all the databases which visual composer can connect to?
    Does it connect only to SAP Backend systems?
    Or can it connect to Any Database like SQL server etc.,?
    If so, how can visual composer be configured to any database?...
    Please help!
    Thanks,
    Vaishali.

    Hi Vaishali,
    It can talk to Any SAP Data base or Java or Oracle data base through portal.
    First you have to confihure all your backends in Your portal and Connect them to Your VC User through Usermapping.
    So all Backends will appear in VC There by you can use the for your application in your portal.
    If helpful award points
    Regards,
    Govindu

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

  • Data Source CE in Visual Composer

    Hello Experts,
    we are running on CE 7.2.
    I wanted to read BPM  task details into a custom application or generate a report of who has claimed the task,currently being processed by whom  and the history of this information relating to every task in uwl.
    I know that CE 7.3 offers BPM API's using which thiscan be accomplished.
    However I have also read that Visual Composer can provide this solution.
    I have the following queries:
    1)what data source should be selectedif i choose to go with vc
    jdbc BI template?  or BI....we do not have a Bw system in our landscape and our datasource is portal DB.
    2)Does that mean BI usage type will  have to be installed alongwith BI jdbc connector..
    3)what would be a more feasible solution ...upgrading  to 7.3 or installing the BI component. ( we need to perform only reporting activity as to with whom the task is currently pending  and ho had processed it in the past)

    Hello Jun,
    Thanks for the reply, however i still have some queries.
    1)I could not find the standard BPM datasource in the dropdown of select providers.
    I therefore selected BI Data sources even though we do not have a BW system .
    2)I  tried selecting  standard BPM tables to fetch the data.
    viz; BPM_MYTASKS_DS..I want to know if there is any standard table which stores information about who had and who is currently proceesing tasks , if yes can you please provide the name of table  or how can i make it available in visual composer's  "search for table" field while creating new model.
    3)we are also trying to upgrade to 7.3
    Now BPM & CE are on same instance.
    Can only BPM 7.2 be upgraded to BPM 7.3 instead of entire CE portal from 7.2 to 7.3?
    4)Also i read somewhere that it would be an entire upgrade to netweaver 7.3 and in usage type we will have to select the usage type of what we want to upgrade like CAF to 7.3, BPM to 7.3 and so and and so forth. Is this right?
    5)Can also you please let me know in which situation we should use visual composer and when BPM  api is suitable?
    Thanks
    Pooja M

  • How to use BEx or Visual Composer to visualize 3rd party tool data?

    Hello,
    could you give me ideas how to visualize non-SAP warehouse data with BEx or Visual Composer?
    I know that one option is virtual provider with connection to external DW. I do not want to load data into BW.
    Is there any other way? If yes, how it can be done?
    Thanks,
    ak

    3.3 Connectivity and Interoperability
    This section briefly describes:
    • The means of connecting Visual Composer Storyboard to the required back-end systems
    • The technology environments to which models composed in Storyboard can be deployed
    Connectivity with Back-End Systems
    Visual Composer provides tools that let you connect via the portal to back-end applications defined in the portal system landscape. This connection enables you to import into your model the relevant function modules on which you want to base your iViews. The imported function modules are referred to as data services.
    Normally, you can connect to any installation of a back-end application to import a data service, and then deploy the content to any portal that enables access to an instance of the same back-end application. However, if the customer installation of the back-end application includes customized function modules, you will need to import the data services in the customer environment, in order to retrieve the customized functions.
    Most connections to back-end systems are accomplished using the SAP and JDBC connectors deployed automatically as part of the connector framework installed with the portal. The SAP connector provides access to R/3 and BW systems, while the JDBC connector provides access to a wide range of databases, including Microsoft SQL, Oracle, DB2 and others.
    BI connectors, installed separately in the portal, can be used to access a range of different data, including multidimensional cubes, relational tables and queries. Connectivity is based on defining a system in the portal landscape. You may define systems for the following connections:
    • BI XMLA
    • BI ODBO
    • BI JDBC
    • BI SAP Query
    In addition, you can configure the BW system, installed automatically with the SAP connector, for accessing predefined queries.
    The following table describes the systems from which Visual Composer can import data, and the connectors that are required. The “Connector” (second column) indicates the name of the connector used to install the system in the portal.

  • Wat is visual composer?

    hi
    i m new to visual composer can any one give me a gist of it? Thanks.
    [email protected]
    regards
    vln

    Hi,
    Visual composer is a visual modeling tool where u can create applications raplidly without writing any code.Evrything can be done by dragging and dropping appropriate objects and asscoiating them.
    The code will be generated by the visual composer itself.
    Visual composer is mainly targeted on business experts who know what the applications should do, but have little idea about coding.
    One important thing to note is that visual composer still cant be used to develop a full blown comprehensive application.In this stage it can be used for prototyping and for small applications..
    And in some areas we have to still rely on coding..
    Regards
    Bharathwaj

  • Can I pass a table using field-symbols to a PERFORM

    Can I pass an internal table using a field-symbol via a PERFORM that is stored in another program.
    For example, I want to pass lt_data using a field-symbol.  If I can do this, please tell me how to define a field-symbol for a table and how I setup the parameters on the FORM.
       perform TEST_FIELD_SYMBOLS in program zadd_data
                      changing lt_data[]
                       if found.
    Thanks.
    Regards,
    Ryan

    Since in ABAP all FORM-paramters are passe call-by reference, it makes imho no difference if u pass a table directly or via a fieldsymbol.
    U can pass a REF TO DATA to a form and then assign it to an FS like shown in the following example.
    TYPES: BEGIN OF s_data,
             data TYPE c,
           END OF s_data,
           s_tab TYPE STANDARD TABLE OF s_data.
    TYPES: r_tab TYPE REF TO data.
    START-OF-SELECTION.
      DATA: t_foo TYPE s_tab.
      DATA: ref_foo TYPE r_tab.
      GET REFERENCE OF t_foo INTO ref_foo.
      PERFORM my_form_fs USING ref_foo.
    FORM my_form_fs USING u_ref TYPE r_tab.
      FIELD-SYMBOLS: <fs> TYPE s_tab.
      DATA: w_tab TYPE s_data.
      ASSIGN u_ref->* TO <fs>.
      w_tab-data = 'X'.
      APPEND w_tab TO <fs>.
    ENDFORM.
    This also works for external performs....
    Best regards,
        Sebastian
    Message was edited by:
            Sebastian Rötzel

  • How to pass the internal table defined in program to ALV

    Hi Friends,
    I have a doubt regaring the ALV's,
    How can we pass the internal table defined in the program to ALV by not filling the attribute (I_STRUCTURE_NAME) in the REUSE_ALV_LIST_DISPLAY.
    I have tried many ways but unable to pass the structure of the internal table. I am getting the error message "Field Catalog Not Specified......" and its terminating and when i am giving the I_STRUCTURE_NAME = 'INTERNAL-TABLE-NAME' then its displaying a blank screen with all the tool-bars and icons...(No output of internal table data is seen on the screen) .
    and when i am passing the DDIC table or structure ( for eg. LFA1) to I_STRUCTURE_NAME then its displaying with any error.
    Plaese help in resolving this problem....
    Regards
    Pradeep Goli

    Hi,
    Check this thread which gives example of ALV. This will give you an idea.
    Interactive ALV
    ashish

  • Passing an Internal table to the Smartform

    Hi Experts,
    I have build an internal table in the driver program with some (20 fields) now I need to pass the same internal table to Smartform as importing parameter or Tables Parameter so that I can use the table data for my further processing.
    I have searched the forums and its look like I can't pass an Internal table to the smartform unless and until it is defined in the DDIC with the table types.
    FYI...
    I can't create the DDIC table type as it needs lot of approvals to get it created.
    Please help me on how to proceed further.
    Thanks in advance.
    Regards,
    Srinivas

    I can't create the DDIC table type as it needs lot of approvals to get it created.
    It's a shame you need approval for this.
    Anyway can you overcome this with field symbols:
    - type parameter in Smartform FM with TYPE STANDARD TABLE (or INDEX/SORTED/HASHED - depending which one you use)
    - pass your locally typed table
    - in SF create the same data type
    - declare field symbol with this type
    - assign the table from the parameter to this field symbol - this way you can work with the table via field symbol as it would be of the table type
    "in SF
      TYPES: tt_my_type TYPE TABLE OF my_type..
      FIELD-SYMBOLS <tab> TYPE tt_my_type .
      "itab is parameter table
      ASSIGN itab TO <tab>.
      "now you can even address its components
       <wa_tab>-field1 = ...
    Although FM parameters in general should be typed with DDIC types only, this way you can cheat the system a little bit;)
    Regards
    Marcin

  • Passing an Internal Table as parameter to a method

    Hi,
       Can we pass an internal table as a parameter to a method.if so how can we do that?i am new to abap objects..

    Hi Matt,
            Here is the code that i am trying to execute.I am extracting the data in the method "Extract" and passing it to the method "Display" to produce a report output.When i execute this it is giving me an error saying that t_mara is not an internal table since i just refered it with x_mara in the class definition.So how can i modify this code to pass t_mara as an internal table from the method "Extract".Please help me.
    *& Report  ZOBJ_PRAC                                      *
    REPORT  zobj_prac                                                   .
          CLASS example DEFINITION
    CLASS example DEFINITION.
      PUBLIC SECTION.
            TYPES : BEGIN OF x_mara,
                  matnr TYPE matnr,
                  ersda TYPE ersda,
               END OF x_mara.
        METHODS : extract EXPORTING t_mara TYPE x_mara,
                          display IMPORTING it_mara TYPE x_mara.
    ENDCLASS.                    "example DEFINITION
    "example IMPLEMENTATION
          CLASS example IMPLEMENTATION
    CLASS example IMPLEMENTATION.
      METHOD extract.
        DATA :lt_mara TYPE STANDARD TABLE OF x_mara INITIAL SIZE 0,
                  lw_mara TYPE x_mara.
        SELECT matnr ersda FROM mara INTO TABLE lt_mara UP TO 10 ROWS.
        t_mara[]  =  lt_mara[].
      ENDMETHOD.                    "extract
      METHOD display.
        DATA :lt_mara TYPE STANDARD TABLE OF x_mara INITIAL SIZE 0,
              lw_mara TYPE x_mara.
        lt_mara[]  =  it_mara[].
        LOOP AT lt_mara INTO lw_mara.
          WRITE:/ lw_mara-matnr,
                20 lw_mara-ersda.
        ENDLOOP.
      ENDCLASS.                    "example IMPLEMENTATION
    START-OF-SELECTION.
      DATA :  b1 TYPE REF TO example.
    CREATE OBJECT b1 TYPE example.
      TYPES : BEGIN OF x_mara,
                  matnr TYPE matnr,
                  ersda TYPE ersda,
               END OF x_mara.
    data : t_mara type standard table of x_mara initial size 0,
           it_mara type standard table of  x_mara initial size 0.
      call method b1->extract
        importing
         t_mara = t_mara.
         it_mara[]  =  t_mara[].
      call method b1->display
        exporting
         it_mara = it_mara.
    Edited by: Sai Chaitanya on Dec 2, 2008 5:30 AM

  • Passing output of one iView as input to another iView using Visual Composer

    Hi
    I need urgent help. Is it possible to pass data from one iView to another using the Visual Composer tool. If it is how? Does anyone have an example or know where I can find one.
    Here is my example:
    I have created one Page with two iViews on the page. In the first iView i have a Bapi that accepts an ID number of a business partner as input and returns details like Name, Surname , title etc as well as the SAP Business Partner Number. The second Iview uses a Bapi that returns the Address details of the business partner.My problem is that I need to use the Business Partner Number from the first iView as the input into the second iView. Is this possible using Visual Composer? There will be a series of additional all bringing back different details of the same Business Partner and will need to use the same Business Partner Number.
    Please advise me if this is possible using VC or if not suggest an alternative way of doing it.
    Thanks in advance for the help. 
    Regards
    Yusuf Gangat

    Yes you can do this.
    You can use ports (Signals) for this.
    In order to explaing this, I will call the 1st iView - the source iView and the 2nd one - the target iView.
    1. In the source iView create an "Out Port" from the form or table where you have the details you want passed. Name it anyway you want (in the Properties task pane).
    2. In the target iView create an "Input Port" and connect it to the input of the BAPI you want run.
    3. Make sure that both ports have exactly the same name (it's case sensitive). and the same fields.
    4. Deploy the 2 iViews to the portal, put them in the same page.
    Data should be transferred now between the iViews.
    Lior

  • Can not see "Compose" option in the visual Composer

    Hi all
    I am new to Visual Composer. I have created a model. But I am unable to add a page because I can not see the "Compose" option.
    Can somebody pls tell me the reason.
    Its urgent!
    Thanks a lot.
    Karan

    Hi Marcel
    Thanks a lot for your reply.
    I am accessing the VC through the web.
    http://tcs050965.abc.xyz.com/VCServer/
    VC 6.0,  MSXML Parser 4.0 SP2
    and SVGViewer is not installed.
    Now pls Suggest.

  • Can we use custom RFC in creating models in Visual composer??

    Dear Experts,
    Can we use custom RFC in creating models in Visual composer??
    If yes, kindly provide some documents or links which would guide me how to achieve it.
    Warm Regards
    Upendra Agrawal

    Hi,
    Yes,you can do it.
    Configure the rfc and use like others Standard BAPI procedure.
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/connectivity]
    Regards,
    Govindu

  • Can we call a BAPI iteratively in Visual Composer

    Hello All,
    I have a Web Service that returns a table of Sold-Tos. I want to call the BAPI iteratively for each Sold-To in Visual Composer, get the cumilative result and display it in a table.
    Please advise.

    Hi Subba,
    I don't think you can do that.
    What you can do is to adapt your service or create a new one that will do that for you (will get the table and make the needed calculation).

  • Hi. Friends. Unable to Pass Parameters in Visual Composer

    Hi.  
                 Currently we are working with Visual Composer. Our
    scenario is like we have developed 3 Iviews in one page. we
    could be able to get result also.
                        But our scenario is like whatever the values we
    give in First Iview, those same values we should also get in
    second and third Iview.
                      For Example we have plant and vendor, If we give
    or submit some values in First application, those values
    should also come as in second Iview.
                     we are getting result for First Iview and second and even third also If you run Individually. But whatever the values we give in First Iview, those are not taking in second Iview as default values.
                      What we have tried is 1) we have considered URL(Hyper Link Option)
                                                       2) Data Store
                                                        Kumar. B.

    Hi Omer,
                   Thanks for the immediate feedback and also for the solution.We have got the result with the following way by giving the single values to fields in URL.ex plant - 8302 and material_type=z001.
    In the same way we have tried the same by following the document "Drilldowns in VCModels" 17th page "DRILLDOWN TECHNIQUE#5: Chart or Table > any parameterized URL " i.e https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0127853-23a2-2910-30ad-c1873643c504
    for our requirement.
    As you know our requirement was to pass the parameters of first iview.So in the first iview we have used in a button hyperlink action in which we have given the second models URL prefixed the following parameter string .
    &_paramsXmlStr_=<Params><Row Material_type="#ID[ACA8HN]@Material_type" Plant="#ID[ACA8HN]@Plant"></Row></Params>
    If i give this above one in 1st iview,it is not  getting compiled.So we have encoded to
    &_paramsXmlStr_=%3CParams%3E%3CRow%20Material_type%3D%22&#ID[ACA8HN]@Material_type&%22%20Plant%3D%22&#ID[ACA8HN]@Plant&%22%3E%3C/Row%3E%3C/Params%3E
    even without "&" in params for the values in above string.Even then its not bringing the values what we have given in first iview.
    Could you please let us know where we are going wrong.

Maybe you are looking for