How to build a login program by using CGI for built-in webserver of fieldpoint

hi ,
I want to build a login program by using CGI . And implement in the built-in webserver of feildpoint.Can any one help me to give ideas ? THANKS

Hi Barry,
To set up configuration access to a VI panel image, you will need to set up a global access configuration file (*.cfg). There are numerous CGI shipping examples that are included with the Internet Toolkit. To access these examples, first start your G web server. Then, in a web browser, type in http://localhost (if you are not using port 80, you’ll need to type in a colon followed by the port number in the URL).
The localhost url above should direct you to the default homepage for the G web server. Make sure the title is “G Web Server” and not “LabVIEW Web Server.” From the G web server page, you’ll see a button to “View CGI Examples” and from there, you’ll see a category titled Access Control. Just so you know, the hard-coded path to this page on your computer is: C:\Program Files\National Instruments\LabVIEW 7.1\www\examples\access.htm. There are then examples on setting up access control for panel images as well as directories. The sample configuration file is: C:\Program Files\National Instruments\LabVIEW 7.1\internet\http\conf\access.cfg
Hope this helps. Best of luck!

Similar Messages

  • How to find the logins,program name and databases for a session id?

    I used the following the following query.
    select pr.spid ,pr.dbid,pr.program_name,pr.loginame,ss.session_id,ss.host_name,ss.login_time,db.name from master.dbo.sysprocesses pr,sys.dm_exec_sessions ss,sys.databases db
    where pr.spid = ss.session_id and pr.dbid = db.database_id
    order by ss.login_time desc
    Is spid in master.dbo.sysprocesses the same as session_id in sys.dm_exec_sessions and dbid in master.dbo.sysprocesses the same as database_id in sys.databases?
    My intention is to get the active sessions with the program name,login Name and database name corresponding to the session?

    1)Why you included the clause session_id > 50?
    Sessions with session_id <= 50 are system processes.
    2)Is there any problem with the query I used?
    You query was better than Latheesh's. To wit, his query will only show the database for sessions who are actually running something.
    On SQL 2005 and SQL 2008, this is the best solution:
    SELECT  des.session_id, des.[status], des.login_name,
            d.name AS database_name, des.program_name
    FROM    sys.dm_exec_sessions des
    JOIN    sys.sysprocesses p ON des.session_id = p.spid
    LEFT JOIN sys.databases d ON p.dbid = d.database_id
    WHERE   des.session_id > 50
      AND   p.ecid =0
    ORDER BY des.session_id;
    The condition p.ecid = 0 is needed to weed out extra rows when there are parallism in force.
    On SQL 2012, you don't need sysprocesses, but this works:
    SELECT  des.session_id, des.[status], des.login_name,
            d.name AS database_name, des.program_name
    FROM    sys.dm_exec_sessions des
    LEFT JOIN sys.databases d ON des.database_id = d.database_id
    WHERE   des.session_id > 50
    ORDER BY des.session_id;
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How can i find out how many users can login as sysdba using password file

    can any one please tell me how can i find out how many users can login as sysdba using password file
    please reply
    asif

    SYS@db102 SQL> select * from v$pwfile_users;
    USERNAME                       SYSDB SYSOP
    SYS                            TRUE  TRUE
    SYS@db102 SQL>                                  

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • How to improve the load performance while using Datasources for the Invoice

    HI All,
    How to improve the  load performance while using Datasources for the Invoice . Actually my invoice load (Appx. 0.4 M records) is taking very long time nearly ~16 to 18 hrs  to update data from R/3 to 0ASA_DS01.
    If I load through flat file it will load with in ~20 Min for the same amount of data.
    Please suggest how to improve load performance.
    PS: I have done the Inpo package settings as per the OSS note.
    Regads
    Srininivasarao.Namburi.

    Hi Srinivas,
    Please refer to my blog posting [/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction|/people/divyesh.jain/blog/2010/07/20/package-size-in-spend-performance-management-extraction] which gives the details about the package size setting for extractors. I am sure that will be helpful in your case.
    Thanks,
    Divyesh
    Edited by: Divyesh Jain on Jul 20, 2010 8:47 PM

  • How to build and publish a webservice using Bex query?

    Hi Experts,
        Can anyone tell me how can i step by step to build and publish a webservice using Bex query,
    so another application can call this webservice.
    thanks.

    There i already a web service called query_view_data for the same available as delivered by SAP...

  • How can I install a program on several computers for my students to use?

    I will be teaching a photography summer camp for about 16 kids. I am eligible to purchase the teacher/student edition of Lightroom 5. How many programs do I have to buy to install the program on at least 6-7 computers for the kids to use and myself?  Is this even possible? Or is there another version for commercial use that I need to buy?

    Willdrea wrote:
    Ok. I just finished speaking to Adobe and the only way to go that will be the least expensive is to either download the trial versions as you suggested or purchase several programs. Downloading the trial will work just fine but next year, I will run into this problem again.  Purchasing at least 3 programs and have the kids work in groups and rotate could work and we'd have the programs to use from year to year.  The Creative Cloud for Teams is best and ideal but we'll have unneccesary products and it is way too expensive to purchase a yearly subscription for a 2 week summer camp.
    So...I've got a decision to make here.
    Each "dot" update of LR can be trialed without regard for previous trials having been installed. In other words, a person could do a free month of 5.0, then a month of 5.1, another month of 5.2, and so on. In another year it will be very likely 6.x that is being offered, but even if that upgrade is delayed, surely the current 5.7.1 will have been updated.

  • How to know the tcodes/programs that uses a user exit

    Hi, anybody knows given the user exit (function module) how will i know the tcodes/programs that uses it? the where used list doesn't return any.

    Hi,
      You will find the enhancement for the exit EXIT_SAPLCOZF_001 ,go to se11>enetr MODSAP Table name in Memeber postion you can enter your function module name EXIT_SAPLCOZF_001>now you will get the enhancement COZF0001 (trx SMOD)
    yOU will find whre the exit is called from the t.code Try this method:
    All exits have the program name as part of their own name, for eg, EXIT_SAPLCOZF_001. In this, SAPLCOZF is the program that the exit is called in, you can use this program name and search for transaction codes related to the program (in SE93).
    The only hitch in the above method is when the program name is a function group program name (SAPL*), in which case you will have to drill down into the function group to find the corresponding tcode.
    Or
    Go to SMOD transaction.
    Enter the Enhancement Name in SMOD.
    Open in Display mode.
    Now get the package name from the window.
    Now go to transaction SE80.
    Choose package from the listbox
    and enter the package name.
    Now it will display the list of Transactions associated with the project.
    Regards
    Kiran Sure

  • How to create different login form pages using Extranetlook

    Hi,
    I would like to have different login pages in order to let users access to different sites created with Site Studio. The Extranetlook component comes with a default one, login_page.htm but if I change this file, then this login page is used for all users in the whole Content Server. Our requirement is to have different login pages, one per each site, and let the default one to let users access just the Content Server, not the sites.
    We created a custom login form page copying the login_page.htm file and then modified the redirecturl input field (<input value="/oursite/" type="hidden" name="redirecturl" />). This only works when the login is successful. When the login is incorrect the user is redirected to the default login_page.htm. In that case, we would like to redirect the user to custom login form instead of the default one.
    In fact, I'm afraid I don't understand well the relation between the login_page.htm within the component, the login_page.htm file that resides in <ucm-installation>/data/users and the extranetlook.idoc file.
    Thanks in advance.

    While not resolving issue with multisite login page, i can tell the relationship among component login_page, data user login_page and ExtranetLook.idoc.
    So according to component readme.txt ExtranetLook.idoc is used to construct user data login_page (i've checked it). So any customizations made to its dynamic html sections are reflected into that file - and it is the which being showed in browser. The component one is used as initial one.

  • How to insert more than 12 items using BDC for MB1C

    Hi,
    When we use LSMW for data transfer of MB1C transaction, more than 12 items can be  inserted in a document.
    But using BDC only 12 and below is possible, if the flat file system has more that 12 item, then the document is not created.
    How to insert more than 12 item in a document.
    Regards

    Hi Gow,
    I have uploaded the MB1C through a BDC and it is working fine for n no of items.
    Here is the code. May be this will be of your help.
    *& Report  ZMB1C
    report ZMB1C
           no standard page heading line-size 255.
    type-pools : slis.
    tables : t100.
    data: begin of record,
            MATNR(018),
            ERFMG(017),
            EXBWR(016),
          end of record.
    data : itab like table of record with header line.
    data : w_bdcdata type bdcdata.
    data : t_bdcdata type standard table of bdcdata initial size 1.
    data : messtab type standard table of bdcmsgcoll with header line.
    data : mstring(300).
    data : vf_index type i,
           no_lines type i,
           count type i value 0.
    data : v_bldat(20),
           v_budat(20).
    *Excel Sheet Data Upload Details
    data : vf_start_col type i value '1',      "start column
           vf_start_row type i value '2',      "start row
           vf_end_col   type i value '100',    "maximum column
           vf_end_row   type i value '10000'.  "maximum row
    */ Internal Table For Excel Data
    data : it_excel type  kcde_cells occurs 0 with header line.
    */ Field symbol
    field-symbols : <fs>.
    data : begin of it_messtab occurs 0,
           plant(10) type c,
           status(10) type c,
           message(90) type c,
           end of it_messtab.
    *Data for ALV display
    data : wa_fcat type slis_fieldcat_alv,
           colcnt type i.
    data : it_fieldcat type slis_t_fieldcat_alv,
           i_events type slis_t_event.
    data : l_title type sychar70.
    data : l_repid like sy-repid.
    * Selction Screen
    selection-screen begin of block b1 with frame title text-000.
    parameters : p_file like ibipparms-path obligatory,
                 p_mode like ctu_params-dismode default 'A'.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-001.
    parameters : p_bldat like MKPF-BLDAT obligatory,
                 p_budat like MKPF-BUDAT obligatory,
                 p_bwart like RM07M-BWARTWA obligatory,
                 p_werks like RM07M-WERKS obligatory,
                 p_lgort like RM07M-LGORT obligatory.
    selection-screen end of block b2.
    * At Selction Screen
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = ''
        IMPORTING
          file_name     = p_file.
    *Start of Selection Event
    start-of-selection.
      call function 'KCD_EXCEL_OLE_TO_INT_CONVERT'
        EXPORTING
          filename                = p_file
          i_begin_col             = vf_start_col
          i_begin_row             = vf_start_row
          i_end_col               = vf_end_col
          i_end_row               = vf_end_row
        TABLES
          intern                  = it_excel
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          others                  = 3.
      if sy-subrc <> 0.
    * MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      if it_excel[] is initial.
        MESSAGE I000(ZCL_TCSABAP).
      else.
        sort it_excel by row col.
        loop at it_excel.
          move : it_excel-col to vf_index.
          assign component vf_index of structure itab to <fs>.
          move : it_excel-value to <fs>.
          at end of row.
            append itab.
            clear itab.
          endat.
        endloop.
      endif.
      if not itab[] is initial.
        DESCRIBE TABLE itab LINES no_lines.
        clear messtab.
        refresh messtab.
        CONCATENATE p_bldat+6(2) '.' p_bldat+4(2) '.' p_bldat(4) into v_bldat.
        CONCATENATE p_budat+6(2) '.' p_budat+4(2) '.' p_budat(4) into v_budat.
        perform map_rec.
        call transaction 'MB1C' using t_bdcdata mode p_mode update 'A'
        messages into messtab .
        clear t_bdcdata.
        refresh t_bdcdata.
        loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
          select single * from t100 where sprsl = messtab-msgspra
                                    and   arbgb = messtab-msgid
                                    and   msgnr = messtab-msgnr.
          if sy-subrc = 0.
            mstring = t100-text.
            if mstring cs '&1'.
              replace '&1' with messtab-msgv1 into mstring.
              replace '&2' with messtab-msgv2 into mstring.
              replace '&3' with messtab-msgv3 into mstring.
              replace '&4' with messtab-msgv4 into mstring.
            else.
              replace '&' with messtab-msgv1 into mstring.
              replace '&' with messtab-msgv2 into mstring.
              replace '&' with messtab-msgv3 into mstring.
              replace '&' with messtab-msgv4 into mstring.
            endif.
            condense mstring.
            it_messtab-message = mstring(300).
            it_messtab-plant = p_werks.
            if messtab-msgtyp = 'E'.
              it_messtab-status = 'Error'.
            else.
              it_messtab-status = 'Success'.
            endif.
            append it_messtab.
            clear it_messtab.
          endif.
        endloop. "messtab
        if not it_messtab[] is initial.
          perform buildcatalog.
          perform display.
        endif.
      endif.
    *&      Form  Map_Rec
    *       text
    form  map_rec.
      perform bdc_dynpro      using 'SAPMM07M' '0400'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RM07M-WVERS3'.
      perform bdc_field       using 'BDC_OKCODE'
                                    'NPE'.
      perform bdc_field       using 'MKPF-BLDAT'
                                    v_bldat.
      perform bdc_field       using 'MKPF-BUDAT'
                                    v_budat.
      perform bdc_field       using 'RM07M-BWARTWA'
                                    p_bwart.
      perform bdc_field       using 'RM07M-WERKS'
                                    p_werks.
      perform bdc_field       using 'RM07M-LGORT'
                                    p_lgort.
      perform bdc_field       using 'XFULL'
      perform bdc_field       using 'RM07M-XNAPR'
                                    'X'.
      perform bdc_field       using 'RM07M-WVERS2'
      perform bdc_field       using 'RM07M-WVERS3'
                                    'X'.
      loop at itab.
        count = count + 1.
        perform bdc_dynpro      using 'SAPMM07M' '0410'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'MSEG-EXBWR'.
        if count <> no_lines.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=NPE'.
        elseif count = no_lines.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=BU'.
        endif.
        perform bdc_field       using 'MSEG-MATNR'
                                      itab-MATNR.
        perform bdc_field       using 'MSEG-ERFMG'
                                      itab-ERFMG.
        perform bdc_field       using 'MSEG-EXBWR'
                                      itab-EXBWR.
      endloop. "itab
    endform. "Map_Rec
    **      Form  BDC_DYNPRO
    form bdc_dynpro using program dynpro.
      clear w_bdcdata.
      w_bdcdata-program  = program.
      w_bdcdata-dynpro   = dynpro.
      w_bdcdata-dynbegin = 'X'.
      append w_bdcdata to t_bdcdata.
    endform.                    "bdc_dynpro
    **      Form  BDC_FIELD
    form bdc_field using fnam fval.
      if fval <> space.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      else.
        clear w_bdcdata.
        w_bdcdata-fnam = fnam.
        w_bdcdata-fval = fval.
        append w_bdcdata to t_bdcdata.
      endif.
    endform.                    "bdc_field
    *       FORM buildcatalog                                             *
    form buildcatalog.
      clear wa_fcat.
      clear it_fieldcat.
      colcnt = colcnt + 1.
      wa_fcat-col_pos      = colcnt.
      wa_fcat-fieldname    = 'PLANT'.
      wa_fcat-tabname      = it_messtab.
      wa_fcat-seltext_l    = 'PLANT'.
      wa_fcat-key          = 'X'.
      wa_fcat-outputlen  = '10'.
      append wa_fcat to it_fieldcat.
      clear wa_fcat.
      colcnt = colcnt + 1.
      wa_fcat-col_pos      = colcnt.
      wa_fcat-fieldname    = 'STATUS'.
      wa_fcat-tabname      = it_messtab.
      wa_fcat-seltext_l    = 'STATUS'.
      wa_fcat-outputlen  = '10'.
      append wa_fcat to it_fieldcat.
      clear wa_fcat.
      colcnt = colcnt + 1.
      wa_fcat-col_pos      = colcnt.
      wa_fcat-fieldname    = 'MESSAGE'.
      wa_fcat-tabname      = it_messtab.
      wa_fcat-seltext_l    = 'Message'.
      wa_fcat-outputlen  = '90'.
      append wa_fcat to it_fieldcat.
    endform.                    "buildcatalog
    *       FORM display                                                  *
    form display.
      l_title = text-002.
      l_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = l_repid
          i_grid_title       = l_title
          it_fieldcat        = it_fieldcat
          it_events          = i_events[]
        TABLES
          t_outtab           = it_messtab
        EXCEPTIONS
          program_error      = 1
          others             = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    "display
    Regards,
    Amit

  • How to simulate a DAQ device and use it for testing applicatio​ns without hardware??​?

                            how do i simulate a DAQ device
    in MAX and use it for testing applications without  hardware???
    If my application requires inputs
    from external hardware to proceed how can I simulate a DAQ device in LabVEIW?
    i need to simulate several Digital inputs and Outputs to test the software. currently i dont have the hardware and DAQ device here. 
    please reply with your valuable suggestions. 
    many thanks in advance
    RENN 
    Kudos always welcome for helpful posts
    Solved!
    Go to Solution.

    Hi,
          There is no option to simulate traditional device.You need hardware for that so i would suggest to simulate a PXI device which has similar configuration to PCI-6014 and to do a small modification to your application..

  • How to find custom Tcodes,programs and enhancement.. for a specific country

    hi...
    Is there any way in ABAP to find the Custom Tcodes, programs and enhancements only for specific country in our present system.

    Hi Srujan,
    Use the table name TSTC to find the custom program and t-code.
    To find the custom enhancement use t-code : CMOD.
    Regards
    Dev

  • How to tell what other program is using webcam?

    Hello,
    My in-laws sometimes (maybe 20% of the time) get a message that says that the webcam is already in use by another program when they try to video chat with us. The message is in Danish and says something like "Webcamaret bruges af et andet program". They haven't started any other program. iChat shows a green camera icon on both their buddy list and on our remote system's buddy list.
    Restarting or stopping iChat and disconnecting/reconnecting their webcam always seems to fix the problem, but I'd like to understand how to fix once and for all. Restarting is time consuming and rather disruptive for them and reseating the webcam is difficult for them physically to do.
    They have a Mac Mini Intel 1.66 Core Duo. I recently switched out their firewire-based iSight with a USB-based Logitech Quickcam Vision Pro for Mac. They had the same problem with both, but they don't have the iSight any longer to try it again.
    They are half-way across the world, and not tech-savvy, so resetting the PMU won't be possible.
    I've looked through their Console logs, but don't even see any error message when it occurs.
    Thanks in advance for any suggestions.
    David

    Hi,
    Have them check in System Preferences > Accounts > (The Logged in account) > Login Items.
    This is a list of the apps and utilities that start up when the Mac does.
    (iTunes Helper is a common one that most people have).
    This is one common cause of another app having access the the camera.
    Look for iMovie, Photo Booth, Any System or iChat Add-On relating to Camera and camera tweaks, Any Software for the Logitech (It should not need to be started up at computer Launch)
    Comic Book if bundled with their Mac.
    Also check this list EZ Jim's Work
    I would also get them to Check the System Profiler and then use the reveal Triangles to see Hardware > USB
    If you have another way to login in to their computer other than iChat Screen Sharing then you could run this in Terminal
    /Applications/iChat.app/Contents/MacOS/iChat -errorLogLevel 7
    With iChat Shut down:-
    Copy and Paste the Bold Text into Terminal and then hit the Enter key.
    This will start iChat and Create Log in Terminal.
    When the Buddy List has finished Loading Quit iChat in the Normal Way.
    Copy the whole Log up to that point and paste it into TextEdit and send it to your self.
    If you read through it, it should list two Cameras:-
    1) the External (Or any Internal iSight for other reading this)
    2) A software one ready for iChat Screen Sharing.
    If the Regular one lists a Count less than 0 (zero) then iChat is having a job reading the Hardware state.
    If this is the case then you could try deleting com.apple.iChat.plist from their Home Folder/Library/Preferences (Just drag it to the Trash)
    iChat will need to be restarted where it will rewrite that .plist after checking the System again.
    NOTE:-
    This does lose all the other settings they have changed from Defaults in the iChat Preferences except the Accounts pane. (Saved Transcripts, Font choices, IM colours etc)
    Are they using their Web Browser to Chat on Flash Based or the Google Mail Web Chat page ?
    If that Tab or Window is still open (if they are still in a "Room") the camera will be "held" by the web Browser.
    If they do use this method and it is Flash check they have not ticked the "Remember" button to Allow access each time they use that Chat site (I am not sure if the Google Chat Plug-in has a similar "Allow" Pop Up).
    FaceTime for the Mac (The Beta) can in fact use the camera at the same time as iChat. It does not seem to matter which application is launched first.
    Resetting the SMC on the Mac Mini is not invasive
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Press and hold the power button for 5 seconds.
    4. Release the power button.
    5. Attach the computers power cable.
    6. Press the power button to turn on the computer.
    See the third Expandable link in this Article (Near the bottom)
    In most cases it can be just that the System has flagged somewhere that it thinks the camera is in use when in fact nothing is.
    A PRAM reset may sort it but the SMC reset is more certain.
    A PRAM reset.
    Shut down the computer.
    Restart it holding down Apple/CMD (or ⌘)+ALT PR Keys until you have heard three Start Up Bongs.
    Hope this helps.
    8:40 PM Wednesday; January 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • How can I inform which program to use to open a Docx when it doesn't show in my dropdown list in attachments?

    When I attempt to open a Docx type file Thunderbird is attempting to open the document with an old version of Office (2003). I have upgraded to (2013). I have followed the suggestions of going to Tools, Options and Attachments to assign which program should be used to open which type of item. Microsoft isn't even in the list at all. How do I fix this?

    In Tools > Options > Attachments > incoming tab
    delete the action for docx documents - located in the Action drop down selection.
    It will remove it from the list.
    * Then select email with docx attachment.
    * Right click on attachment and select 'Open'
    It will ask what to do
    * Select 'Open With'
    If TB does not select as default: MicroSoft Office Word
    * click on drop down and select 'Other'
    If MicroSoft Office Word is still not available:
    * click on 'Browse' to locate the WINWORD.EXE file
    If running Windows OS 32bit then it will be in this location :
    * C:\Program Files\Microsoft Office\Office15\WINWORD.EXE
    If running Windows OS 64bit then it will be in this location :
    * C:\Program Files(86)\Microsoft Office\Office15\WINWORD.EXE
    * Then click on click on 'Open'
    * select: 'Do this automatically for files like this from now on' click on OK"

  • How to execute the first program without using SUBMIT and RETURN

    Hi Experts,
    My requirement is , I need to select thet value from VA02 at runtime and need to pass that value to VF01 transaction and press save then it creates proforma document.The created document we can see in VA02 by clicking on document flow.
    My program is processed through OUTPUT TYPE.
    To get this functionality i written coding like this.
    1) i am selecting the value at runtime from VA02  using FORM ROUTINE.Now iam passing this selected value to VF01 for
    genarate proforma document using BDC.Here the problem is,first time when i am selecting the value form VA02 at runtime it is in open status,now my BDC code need to update the value in VA02 only.so locking problem occurres  the document is not getting updated.
    To overcome this problem i have done changes like this......
    2) i splited my program into two parts, that  is into two programs.
    a) In first program i am only selecting the value form VA02 at runtime using FORM ROUTINE and in this program i have written SUBMIT statement to call another program there my BDC  code will create documet and update in VA02,upto here everything is doing fine,
         But here again the problem is when i process OUTPUT type my program is triggering and giving correct result but the status is not changing form YELLOW to GREEN.Why means when SUBMIT statement trigger, control is going to second program and creating a new document,but not coming to first program so the status is not changing as the first prohram is still processing. .If i write RETURN along with SUBMIT the VA02 is in open STATUS only, till control comes to first program.so it will not uodate document in VA02.
    If i execute all line in my program status will automatically change from YELLOW to GREEN how to acheive this
    please suggest me the solution.

    I would do 2 things:
    1) be sure to do a COMMIT WORK AND WAIT
    2) refresh your display in calling program
    the point 2) can be done by submitting the program again (or the transaction) with the same parameters

Maybe you are looking for

  • How do I call browser Save As dialog box before downloading pdf files?

    How do I call browser Save As dialog box before downloading pdf files? Here's my favorite scenario: 1. User clicks button 2. Save As dialog displays 3. User chooses location 4. A set of PDF files download to that location OR a single zip file downloa

  • Using diagnostic mode on 27 inch iMac

    I was trying to get my 27 inch core i7 iMac to boot into diagnostic mode this morning by holding down the 'D' key during bootup. It just wouldn't work and kept booting up normally. Then it occurred to me that maybe this is due to the fact that this i

  • Duplicates in my music library

    I have a playlist for my songs in the I-Phone 4. My problem is that i have duplicates of the songs. But my playlist and i-tunes are syncing, just that when i browse the songs through the phone's library i have 3 copies of each songs. When i checked t

  • How to track planning book keyfigure changes?

    Hi, If theere are any changes in the planning book keyfigure how do we track who has made it ? How do we see at keyfigure level data change and user who  chnaged? thanks, shan P.S:rewards guranteed

  • Application Server 8.2 EE

    Hi all, can anyone point me where can i download Application server 8.2 Enterprise Edition? Thanks, Scotty