How to pass the data from web dynpro to workflow.

hi gurus,
how to pass the data from web dynpro to workflow.
Regards
vijay

Hi
you can use function module
data   ls_input_container  TYPE swr_cont.
data   lt_input_container  TYPE TABLE OF  swr_cont.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    EXPORTING
      task            = ptask
    IMPORTING
      return_code     = lv_return_code
      new_status      = lv_new_status
    TABLES
      input_container = pinput_container
      message_lines   = lt_message_lines
      message_struct  = lt_message_struct.
where you pass the data in imnternal table "pinput_container" as
  ls_input_container-element = 'KUNNR'.
  ls_input_container-value = ls_skna1-kunnr ."wd_this->lv_kunnr.
  APPEND ls_input_container TO lt_input_container .
  ls_input_container-element = 'CLUSER'.
  ls_input_container-value = lv_cluser.
  APPEND ls_input_container TO lt_input_container .
  ls_input_container-element = 'BUKRS'.
  ls_input_container-value = lv_bukrs. " youe value as per requirement.
  APPEND ls_input_container TO lt_input_container .
  ls_input_container-element = 'VKORG'.
  ls_input_container-value = ls_sknvv-vkorg. " youe value as per requirement
  APPEND ls_input_container TO lt_input_container .
  ls_input_container-element = 'VTWEG'.
  ls_input_container-value = ls_sknvv-vtweg. "youe value as per requirement.
  APPEND ls_input_container TO lt_input_container .
  ls_input_container-element = 'SPART'.
  ls_input_container-value = ls_sknvv-spart. "youe value as per requirement.
  APPEND ls_input_container TO lt_input_container .
*Also Forgot to mention where ptask is your workflow ID *
Regards,
Arvind
Edited by: Arvind Patel on May 14, 2010 7:38 AM

Similar Messages

  • Regarding how to pass the data from web dynpro to workflow

    hi gurus,
    how to pass the data from web dynpro to workflow.
    Regards
    vijay

    Check this [thread|SAP_WAPI_START_WORKFLOW;

  • How to pass the data from wa_itab to  fieldcatlog?

    how to pass the data from wa_itab to  fieldcatlog?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • Pass the data from a form in workflow to z table

    Hi all,
    How can I pass the data from a form in workflow to z table?

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How to pass the data from a pop up window to the parent window

    Hi All,
    I have a jsp page which contains a add button, while clicking it a popup will come out(which is a another jsp page). There are some input fieldsand a submit button. Now how could I send the data from the pop up to the parent winow. Also I have to check that if the pop up is open and I click add button then another pop up must not open.
    Plz reply its urgent
    Thanks and Regards
    Rajib Sharma

    Thanks for the reply
    But it not worked
    I have a jsp page and the popup is also a jsp page the data that is passed from the popup window to the parent must be send to the server from the parent window to get a data from the data base as search result. Its of no use to get it as js data
    Thanks and regards
    Rajib Sharma

  • How to pass the data from BW to R/3

    HI everybody,
    I am having one /BIC/OHZSDS_QCAL in the BW which is created by the BW consultant, this /BIC/OHZSDS_QCAL consist of data in it now i have to call this R/3 and create a report to display. i am not getting any idea how to call this /BIC/OHZSDS_QCAL in the abap and write the code and display the output in R/3. and they are saying to create an RFC here for this, but how to create an RFC and call the data what code i have to write in the RFC function module so that i can get the data in the internal table of R/3 and write my report
    Can anyone help out in this.....
    Thanks in Advance

    Hi,
    There are multiple options you can use
    1. Open Hub
    2. APD
    3. Flat file
    There are multiple interfaces available in SAP BW for transferring data from SAP BW .
    You can place the file in certain folder and access them or yiu can move the data to particular table as well.
    You can place the file in AL11 using ABAP program as well.From their you can read in ECC through ABAP program or from table placed in ECC directly.
    Thanks and regards
    Kiran

  • How to Pass the data from the class to the BSP application(ie. .html page)

    hi
    i had created one .html page. This page is getting opened after clicking on one of the buttton of the toolbar(say Bank Data).
    Now the problem is , to show the data of the bank which user had entered in the PCUI application on the .html page.
    Please help me to solve the problem

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How can pass the data from Command line  to  Applet?

    Hi,
    I am writing a chat application by using sockets. For that purpose I need to pass the parameter data from command line to Applets. Is there any method to receive command line args data in Applets? If so please tell me.

    Passing command line arguments to an applet is not possible, but for the same you can try using param tags, within your applet tag.
    For eg:
    <applet.......>
    <param name="xyz" value="abcdef">
    </applet>
    Within the applet's any method like init call <getParameter("xyz");>
    will return u the value.
    [email protected]

  • How to get the data from Pooled Table T157E.

    Hi Experts,
    How to get the data from Pooled Table T157E.
    Any help.
    Thanks in Advance,
    Ur's Harsha.

    create some internal table similar to T157E and pass all data as per SPRAS.
    After that use internal table in your program as per the requirement.
    Regds,
    Anil

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • How to load the data from .csv file to oracle table???

    Hi,
    I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
    Thanks in advance

    981145 wrote:
    Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
    the command is
    sqlldrType it and see if you have it installed.
    Have a look also at the FAQ link posted by Marwin.
    There are plenty of examples also on the web.
    Regards.
    Al

  • How to transfer the data from R/3  to APO

    Hi Gurus,
    How  to transfer the data from R/3  to APO.
    I do have 4    Ztables  in R/3  can I pass this Ztables data to APO when sales order is created in APO  .
    Thanks & Regard,
    Mohammed Ali.

    Welcome to SDN.
    refer this link
    creating integration model
    Give ur mail id i will send the document which i have.
    With regards.
    Maya.

  • How to take the data from excel list to sap r/3(with time interval)

    hi experts,
       how to transfer the data from a third party system(if it is in format of excel) to sap r/3.with that in a particular time interval,it will delete the data from excel sheet.

    Hi
    use the Fm
    'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = p_path
                i_begin_col             = '1'
                i_begin_row             = '2'
                i_end_col               = '2'
                i_end_row               = '500'
          giving the starting row and column and passing the ending row and column name
    Reward points if useful........
    Regards,
    Nitin Sachdeva

Maybe you are looking for

  • Urgent Help : forget nokia messeging username and ...

    Hi, I forget my nokia messeging username and password, when i tried to setup email accounts in mobile it ask me for username and pwd of nokia messeging. Can you please let me know how to reset or get those information. I am using nokia e63 Please hel

  • Unable to open movies in certain sites using Firefox 4, no problem with former versions

    As a almost daily visitor of the site Bigfun.be I got a crash every time I wanted to open a movie, since I started using Firefox 4. After some automatic updates, the crashes disappeared. But it's still unable to open movie files. There is a message w

  • Opening new tabwith web link

    every time i open a new tab firefox open this url https://www.yahoo.com/?fr=vmn&type=vmn__webcompa__1_0__ya__hp_WCYID10099_swoc_campaign_150403__yaff cokies cleared,histry deleted.but opening this url cant remove

  • How to determine T440s Synaptics Trackpad Firmware version

    How do I determine the current firmware version of my touchpad?  The readme file for the firmware update does not say how to determine what version is already installed.  http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/grgy03ww.txt .NET Softwa

  • Itunes won't recognise password

    I'm trying to de-authorize an older computer but itunes won't recognise my password... I know I'm using the correct one because 1 - i just re-set it and 2 I'm using it right now on my laptop to log in and post this question... The computer I'm trying