"Save" Option pops up while Submitting

Hello Friends,
We have a functionality where there is a form(Adobe Interactive), and when the user clicks on the "Submit" button
the fields data in the pdf form should get attached as xml in the mail.
Now when I test it by clicking on the "Submit" button, a pop-up comes up asking me to save the pdf.
Once I save the pdf, there is no conversion of xml and attachment to the mail.
On the other hand, If I do not save the pdf and cancel the "save", it gets attached to the mail as xml.
I wonder why the "save" option pops up.
Is there a way where I can disable it ? And design the functionality wherein the "Submit" button directly
attaches the content to the mail in xml.
Please let me know guys.
Regards,
Sanjay

Thanks for your quick response yesterday!  After chatting with our official IT guy, He lined some things out for me.  We are using SQL 2005.  We discussed working up a program to add our data directly, which is an option.  It will take some learning on my part, and I am willing to do it. 
It would be optimal, in my mind, to use our web version in conjunction with Labview.  But the more experienced person might know better.
When I call up our webpage on the front panel, I am able to navigate it by clicking around just like a normal browser.  Using this method, the refresh issue I mentioned in my original post is not a problem.  It refreshes with no pop-up.  BUT I lose the capability to place my data into the fields.  I am assuming the reference at the property node before the data placement is incorrect. (pictured below)
Is there a way to physically navigate a webpage and then use Labview to find the reference of whatever page I am currently on in order to place my data?  This might be the route I need to go.

Similar Messages

  • Avoiding save option POP upin a interactive planning screen

    Hi,
    I have a requirement to avoid the Pop up menu which asks to save changes, when i close the interactive planning table. This save option comes up even though i havent changed any data. So i need to switch off this pop up, if i am not really doing nay changes in the planning table. I just view the data.
    regards
    Karthik

    Hi,
              If you are just viewing, why don't you set the parameter /SAPAPO/SDP94_D_MODE to X in user own data or SU01 - parameters tab. It puts you in display mode by default and when you go to edit mode, it works as usual.
    Checking whether there are any changes and then giving the popup may put extra load on the system...but you can try with BADI /SAPAPO/SDP_INTERACT, method SAFETY_POPUP_EXCLUDE...
    I haven't tried this though.

  • Would like to allow PDF files to open straightway in the browser rather asking for open save option. pls help

    I m running a website on intranet. while accessing pdf file more than 8 MB in size. A window having Openwith, Save option pops up. i would like firefox to open PDF files of any size strightway in the browser without pop ups. Please help
    Thanks in anticipation

    kearly - thanks a million for posting both the question & the reply! I just unchecked that little box by accident, & couldn't figure out for the life of me how to fix it. Thanks again!!

  • APP-FND-00314: Invalid printer while submitting report

    Hi All,
    We are getting an error while submitting a report.
    APP-FND-00314: Invalid print (no print) and print style (PERHDCNT) combination.
    We have not setup any printer why i am getting printer error.
    Apps version: 12.1.1
    Os : solaris
    Could you please help me on this.
    Thanks and Regards

    Hi Hussein,
    its there but i wasnt knowing the clear the printer profile options.
    USER_REQUEST_SET_NAME USER_STAGE_NAME USER_CONCURRENT_PROGRAM_NAME
    Greek Payables Supplier Turnover Report Set IGW: PHS 2590 Page B (20) Greek Payables Supplier Turnover Data Extract
    Greek Payables Supplier Turnover Report Set Greek Supplier Turnover Data Extract (10) Greek Payables Supplier Turnover Data Extract
    Greek Payables Supplier Turnover Report Set Manufacturing Lead Time GUI Greek Payables Supplier Turnover Data Extract
    Greek Receivables Customer Turnover Report Set IGW: PHS 2590 Page E (50) Greek Receivables Customer Turnover Data Extract
    Greek Receivables Customer Turnover Report Set Greek Customer Turnover Data Extract (10) Greek Receivables Customer Turnover Data Extract
    Greek Receivables Customer Turnover Report Set BOM Structure Report for Lead Times GUI Greek Receivables Customer Turnover Data Extract
    6 rows selected.
    I am able to find the concurrent associated with printer using the above command.
    As per the metalink the step is 4. Drill down to the stage and programs name, remove and/or replace the target printer and save the record
    however i dont know how to remove it.
    This is the problem that i dont know how to remove it
    Please help
    Thanks and Regards,

  • Printing BI Publisher report from OAF Page WITHOUT Preview or Save Option

    I have a requirement to print a BI Publisher Report on the invoke of a Button from a OAF Page. I have followed the method suggested in the below link to integrate OAF and BI Publisher.-
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    In this scenario, I already developed Data Definition (XML) and Template (RTF) for the report and a self service page with 'Generate PDF' button. When the button is clicked the template is getting filled with the data from the database and displaying the PDF output. A dialog box with 'Open/Save/Cancel' appears before the PDF document is shown.
    But my requirement is to avoid this dialog box and Save option so when the button is clicked the document has to be directly sent to the printer.
    Is there anyway to achieve this? Please help as this is very urgent..
    Thanks,
    Naren

    Naveen,
    You need to read the documentation here:
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/xmlpdocs-084437.html
    All of the information you need is in these:
    Administration and Developer's Guide
    Report Designer's Guide
    JavaDocs
    With the BI publisher (XML publisher) Java APIs, you can call a data template with parameters and get the XML from that.
    For an example that should be very close to what you need to do, see the comments section of this page:
    http://apps2fusion.com/at/ps/294-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page-part-2
    Find the comment titled: "Alternative: BlobDomain from data template"
    The great thing about using a Data Template is that, while you are NOT concurrent program dependent, you can still set up a concurrent program to run it for other purposes if you wish. Data Templates offer a lot more flexibility.
    Kurz

  • SAP GRC10 - Error while submitting Access Request

    Hello All,
    <<Removed>>
    While submitting the request ...getting below mentioned error on the page
    Error while processing your query
    What has happened?
    The URL call http://<<removed>>/sap/bc/webdynpro/SAP/GRAC_GAF_ACC_REQ_WITH_REQ_REF was terminated because of an error.
    Note
    The following error text was processed in system GD1 : Conversion of type h to type N not supported.
    The error occurred on the application server blrkec220748d_GD1_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_DUE_DATE of program CL_GRAC_ACCESS_REQUEST_UTIL===CP
    Method: GET_DUE_DATE of program CL_GRAC_MODEL_ACCESS_REQUEST==CP
    Method: IF_GRFN_API_MODEL~SAVE of program CL_GRAC_MODEL_ACCESS_REQUEST==CP
    Method: SAVE of program CL_GRFN_API_SESSION===========CP
    Method: CREATE of program /1BCWDY/Z3TZZFT9CG8486P2AANU==CP
    Method: IF_COMPONENTCONTROLLER~CREATE of program /1BCWDY/Z3TZZFT9CG8486P2AANU==CP
    Method: PROCESS_EVENT of program /1BCWDY/Z3TZZFT9CG8486P2AANU==CP
    Method: IWCI_IF_FPM_UI_BUILDING_BLOCK~PROCESS_EVENT of program /1BCWDY/Z3TZZFT9CG8486P2AANU==CP
    Method: CALL_UIBB_PROCESS_EVENT of program CL_FPM========================CP
    Method: PROCESS_EVENT of program CL_FPM========================CP
    What can I do?
    If the termination type is RABAX_STATE, you will find more information on the cause of termination in system GD1 in transaction ST22.
    If the termination type is ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server blrkec220748d_GD1_00 in transaction SM21.
    If the termination type is ERROR_MESSAGE_STATE, you cansearch for further information in the trace file for the work process 1 in transaction ST11 on the application server. <<Removed>>
    . You may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system adminmistrator.
    Error Code: ICF-IE-http -c: 400 -u: 163554 -l: E -s: GD1 -i: blrkec220748d_GD1_00 -w: 1 -d: 20111005 -t: 195025 -v: RABAX_STATE -e: OBJECTS_MOVE_NOT_SUPPORTED -X: 1078D28404571EE0BBEBA3BBD9492C36_1078D28404571EE0BBEBA40E1A426C36_1 -x: 1D5DEFE0CADEF14FAC361078D2840457
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================
    Please find below error Log from SLG1
    Config Error,Function Module is not maintained for Plug-in
    Thanks,
    Jagat
    Edited by: Matt on Jan 25, 2012 3:24 PM

    Hello Aman,
    Please find Below Dump Details downloaded from ST22
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_MOVE_NOT_SUPPORTED
    ABAP Program           CL_GRAC_ACCESS_REQUEST_UTIL===CP
    Application Component  GRC-AC
    Date and Time          07.10.2011 10:47:56
         Short text
              Conversion of type "h" to type "N" not supported.
         What happened?
              Error in the ABAP Application Program
              The current ABAP program "CL_GRAC_ACCESS_REQUEST_UTIL===CP" had to be
               terminated because it has
              come across a statement that unfortunately cannot be executed.
         Error analysis
              You attempted to move one data object to another.
              This is not possible here because the conversion of a data object
              of type "h" to type "N" is not supported.
         Trigger Location of Runtime Error
             Program     CL_GRAC_ACCESS_REQUEST_UTIL===CP
             Include     CL_GRAC_ACCESS_REQUEST_UTIL===CM018
             Row     59
             Module type     (METHOD)
             Module Name     GET_DUE_DATE
         Source Code Extract
         Line     SourceCde
            29     
            30     *-get function id from application & process id
            31         CALL METHOD cl_grac_access_request_util=>get_appl_mapping_data
            32           EXPORTING
            33             iv_application_id   = lv_application_id
            34             iv_process_type     = iv_process_id
            35           IMPORTING
            36             et_application_data = lt_application_data.
            37     
            38     *only 1 record would exist in appl data table for appl id & process id
            39         READ TABLE lt_application_data INTO ls_application_data
            40                                        INDEX 1.
            41         lv_fdt_uuid = ls_application_data-functionid.
            42     *--
            43       IF  it_brftab   IS NOT INITIAL
            44       AND lv_fdt_uuid IS NOT INITIAL.
            45     
            46     *-execute brf+ rule
            47         TRY.
            48             CALL METHOD cl_grfn_ac_brfp=>execute_brf_rule
            49               EXPORTING
            50                 iv_func_uuid = lv_fdt_uuid
            51                 it_data      = it_brftab
            52               IMPORTING
            53                 et_data      = lr_result.
            54           CATCH cx_grfn_exception .
            55         ENDTRY.
            56     
            57         IF lr_result IS BOUND.
            58           ASSIGN lr_result->* TO <lr_result>.
         >>>>>           lv_sla_id = <lr_result>.
            60         ENDIF.
            61     
            62         READ TABLE lt_sla INTO ls_sla
            63                           WITH KEY sla_id = lv_sla_id.
            64         IF sy-subrc EQ 0.
            65           ev_sla_id   = ls_sla-sla_id. "sla id
            66     
            67     *calculate due date
            68           CALL FUNCTION 'END_TIME_DETERMINE'
            69             EXPORTING
            70               duration                   = ls_sla-sla_days
            71               unit                       = '10'
            72             IMPORTING
            73               end_date                   = ev_due_date " due date
            74             CHANGING
            75               start_date                 = sy-datum
            76               start_time                 = sy-uzeit
            77             EXCEPTIONS
            78               factory_calendar_not_found = 1
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
            26 METHOD       CL_GRAC_ACCESS_REQUEST_UTIL===CP    CL_GRAC_ACCESS_REQUEST_UTIL===CM018    59
               CL_GRAC_ACCESS_REQUEST_UTIL=>GET_DUE_DATE
            25 METHOD       CL_GRAC_MODEL_ACCESS_REQUEST==CP    CL_GRAC_MODEL_ACCESS_REQUEST==CM00Y    47
               CL_GRAC_MODEL_ACCESS_REQUEST=>GET_DUE_DATE
            24 METHOD       CL_GRAC_MODEL_ACCESS_REQUEST==CP    CL_GRAC_MODEL_ACCESS_REQUEST==CM004   420
               CL_GRAC_MODEL_ACCESS_REQUEST=>IF_GRFN_API_MODEL~SAVE
            23 METHOD       CL_GRFN_API_SESSION===========CP    CL_GRFN_API_SESSION===========CM004    11
               CL_GRFN_API_SESSION=>SAVE
            22 METHOD       /1BCWDY/Z3TZZFT9CG8486P2AANU==CP    /1BCWDY/B_Z3TZZFT9CG8486P2AAU5       3404
               CL_COMPONENTCONTROLLER_CTR=>CREATE
               Web Dynpro Component          GRAC_UIBB_ACCESS_REQUEST
               Controller                    COMPONENTCONTROLa
            21 METHOD       /1BCWDY/Z3TZZFT9CG8486P2AANU==CP    /1BCWDY/B_Z3TZZFT9CG8486P2AAU5        159
               CLF_COMPONENTCONTROLLER_CTR=>IF_COMPONENTCONTROLLER~CREATE
               Web Dynpro Component          GRAC_UIBB_ACCESS_REQUEST
               Controller                    COMPONENTCONTROLLER
            20 METHOD       /1BCWDY/Z3TZZFT9CG8486P2AANU==CP    /1BCWDY/B_Z3TZZFT9CG8486P2AAU5       7374
               CL_COMPONENTCONTROLLER_CTR=>PROCESS_EVENT
               Web Dynpro Component          GRAC_UIBB_ACCESS_REQUEST
               Controller                    COMPONENTCONTROLLER
            19 METHOD       /1BCWDY/Z3TZZFT9CG8486P2AANU==CP    /1BCWDY/B_Z3TZZFT9CG8486P2AAU5        534
               CLF_COMPONENTCONTROLLER_CTR=>IWCI_IF_FPM_UI_BUILDING_BLOCK~PROCESS_EVENT
               Web Dynpro Component          GRAC_UIBB_ACCESS_REQUEST
               Controller                    COMPONENTCONTROLLER
            18 METHOD       CL_FPM========================CP    CL_FPM========================CM00G    46
               CL_FPM=>CALL_UIBB_PROCESS_EVENT
            17 METHOD       CL_FPM========================CP    CL_FPM========================CM005    46
               CL_FPM=>PROCESS_EVENT
            16 METHOD       CL_FPM========================CP    CL_FPM========================CM00C    34
               CL_FPM=>RUN_EVENT_LOOP
            15 METHOD       CL_FPM========================CP    CL_FPM========================CM00O     8
               CL_FPM=>RAISE_EVENTS
            14 METHOD       /1BCWDY/Z3TZZFT9CG847SKLEJYU==CP    /1BCWDY/B_Z3TZZFT9CG847SKLEK56       2997
               CL_CNR_VIEW_CTR=>ONACTIONBUTTON_PRESSED
               Web Dynpro Component          FPM_GAF_COMPONENT
               Controller                    CNR_VIEW
            13 METHOD       /1BCWDY/Z3TZZFT9CG847SKLEJYU==CP    /1BCWDY/B_Z3TZZFT9CG847SKLEK56        382
               CLF_CNR_VIEW_CTR=>IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER
               Web Dynpro Component          FPM_GAF_COMPONENT
               Controller                    CNR_VIEW
            12 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM006     6
               CL_WDR_DELEGATING_VIEW=>INVOKE_EVENTHANDLER
            11 METHOD       CL_WDR_ACTION=================CP    CL_WDR_ACTION=================CM00A    38
               CL_WDR_ACTION=>IF_WDR_ACTION~FIRE
            10 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM00U    95
               CL_WDR_WINDOW_PHASE_MODEL=>DO_HANDLE_ACTION_EVENTS
             9 METHOD       CL_WDR_WINDOW_PHASE_MODEL=====CP    CL_WDR_WINDOW_PHASE_MODEL=====CM002    82
               CL_WDR_WINDOW_PHASE_MODEL=>PROCESS_REQUEST
             8 METHOD       CL_WDR_WINDOW=================CP    CL_WDR_WINDOW=================CM00V    12
               CL_WDR_WINDOW=>PROCESS_REQUEST
             7 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I    76
               CL_WDR_MAIN_TASK=>EXECUTE
             6 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00U     6
               CL_WDR_MAIN_TASK=>IF_WDR_RUNTIME~EXECUTE
             5 METHOD       CL_WDR_CLIENT_ABSTRACT_HTTP===CP    CL_WDR_CLIENT_ABSTRACT_HTTP===CM01C   100
               CL_WDR_CLIENT_ABSTRACT_HTTP=>HANDLE_REQUEST
             4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    95
               CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST
             3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM01B   388
               CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY
             2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                     1155
               HTTP_DISPATCH_REQUEST
             1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13
               %_HTTP_START
    Thanks,
    Jagat

  • When clicking on link in Outlook save as pop up box appears before Firefox opens

    When clicking on link in Outlook save as pop up window pops up before Firefox opens. If browser if open it doesn't happen, if closed it does.

    I have same problem and found article below that worked but then i ended up having to do system restore because outlook stopped sending emails after i synced new iPhone while at Apple store that caused problem!!!
    http://answers.yahoo.com/question/index?qid=20080512192747AAHDZtL

  • Decision Pop up while starting actual cost process

    Hi,
    Can anyone help me on this?
    I am getting a Decision Pop up while starting actual cost process.
    Prior Inventory period has not been closed. Cannot proceed.
    By clicking on continue, the accept button became available and I launched the process.
    However, we are uncomfortable with that situation since it looks like that February period is closed for all inventory accounting periods under that LE. It is also the first time that we are getting that pop up decision screen since we are testing under R12. We want to understand the reason for that.
    Note: it is the first time that we were trying to close a period before fully completing it (closing Feb period on Feb 29).
    NOTE: This is in UAT. This does not occur in any other instance (Dev, PPB, CRP).
    We normally did not perform final cost update and the calendar assignments org periods will be always open.
    Let me know if you need any more details.
    Thanks & Regards,
    Kannan Jay

    Thanks for your quick response yesterday!  After chatting with our official IT guy, He lined some things out for me.  We are using SQL 2005.  We discussed working up a program to add our data directly, which is an option.  It will take some learning on my part, and I am willing to do it. 
    It would be optimal, in my mind, to use our web version in conjunction with Labview.  But the more experienced person might know better.
    When I call up our webpage on the front panel, I am able to navigate it by clicking around just like a normal browser.  Using this method, the refresh issue I mentioned in my original post is not a problem.  It refreshes with no pop-up.  BUT I lose the capability to place my data into the fields.  I am assuming the reference at the property node before the data placement is incorrect. (pictured below)
    Is there a way to physically navigate a webpage and then use Labview to find the reference of whatever page I am currently on in order to place my data?  This might be the route I need to go.

  • Run screen saver on main screen while still working on external?

    Is it possible to run a screen saver on my laptop while working on my 23" LCD diaplay? Is there an app I could down load and run a screen saver inside a document window on my Mac..I use the external display and only once in a long time go back to my laptop display for email etc. Thanks.

    You can do this: in the DESKTOP system preferences you can have different settings for your external and laptop display. Simply choose the "change picture" option, and designate the frequency of change. You can have the picture change as often as once every minute.

  • WAD stops responding to SAVE options

    Hi there
    I am new to using WAD in 2004s, and have noticed that after a while working on a template (say 90 minutes), the SAVE option(s) stop responding.
    I can make changes to the template, press the SAVE button, wait for the cursor to change to show the process has finished, but when I reload the template in my browser, the changes aren't reflected.
    I have paid closer attention to the status messages, and when the save option works correctly, I get a message saying that Save was succesful (or words to similar effect).
    However, once it starts its "non-responsive" phase, all I get is the hourglass cursor then it changes back without the status message. The rest of the WAD seems to function fine, so I can open another template, and save that template, but trying to save the original template just doesn't seem to be an option.
    This morning I then got a JIT Debugging error from .Net??
    Does WAD run on .NET, and if so what version of .Net should I be running?
    Cheers,
    Andrew

    Hi,
    Whenever you make changes to Webtemplate, save immediately.  don't wait 90 min.... The connection between backend and WAD will be closed.
    The BI 2004s frontend requires Microsoft.NET Framework 1.1 in it's 
    newest version, which means that all service packs and hotfixes for
    Microsoft .NET Framework 1.1 have to be applied.                   
    Check these following notes, if you doubt.
    877774  Pre-requisite for BI 7.0 Frontend
    930350    Termination in Web Application Designer when you Drag & Drop 
    918394    BI Frontend installation check tool                          
    893348    Hardware and Software requirement for NW2004s                
    889314    Using the BI Add-On for SAP NW 2004s                         
    879786    NW04s BI Add-On Front-end Support Package 01                 
    if it is useful assign points.
    Regards,
    Senthil Kumar.P

  • Editable ALV with SAVE option

    Hi experts,
    Could you plz provede me an example for an EDITABLE ALV with the SAVE option. i.e. i could edit the ALV output and after the changes i should save the changes i made by clicking SAVE button.
    Thanks in advance
    Regards,
    Ram

    hi,
    check the sample code
    REPORT ZLAXMI_REPORT6 NO STANDARD PAGE HEADING
    MESSAGE-ID ZZ
    LINE-SIZE 132
    LINE-COUNT 65 .
    TABLES: MARA.
    TYPE-POOLS: SLIS.
    TYPES: BEGIN OF T_MARA,
    MATNR TYPE MARA-MATNR, "Material Number
    ERSDA TYPE MARA-ERSDA, "Creation date
    BRGEW TYPE MARA-BRGEW, "Gross weight
    NTGEW TYPE MARA-NTGEW, "Net weight
    MTART TYPE MARA-MTART, "Material type
    MBRSH TYPE MARA-MBRSH, "Industry Sector
    REC_SEL TYPE C , "checkbox
    END OF T_MARA.
    V A R I A B L E S
    DATA: V_REPID LIKE SY-REPID,
    V_FLAG(1) TYPE C.
    CONSTANTS :
    C_X(1) TYPE C VALUE 'X',
    C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS',
    C_FC_DELETE(6) TYPE C VALUE 'DELETE',
    C_FC_MODIFY(6) TYPE C VALUE 'MODIFY',
    C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
    C_USER_COMMAND_MODIFY TYPE SLIS_FORMNAME
    VALUE 'F_USER_COMMAND_MODIFY',
    C_ICON_DELETE TYPE ICON-NAME VALUE 'ICON_DELETE', " Icon,Delete'
    C_ICON_CANCEL TYPE ICON-NAME VALUE 'ICON_CANCEL', " Icon,Cancel'
    C_FC_SAVE(4) TYPE C VALUE 'SAVE'.
    *internal table declarations.
    DATA: IT_MARA TYPE STANDARD TABLE OF T_MARA WITH HEADER LINE,
    IT_MODIFY TYPE STANDARD TABLE OF T_MARA WITH HEADER LINE,
    IT_TEMP TYPE STANDARD TABLE OF MARA WITH HEADER LINE,
    *-ALV Internal Tables.
    *--Field Catalog
    IT_FIELDCAT TYPE STANDARD TABLE OF
    SLIS_FIELDCAT_ALV WITH HEADER LINE,
    *--Layout
    WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
    *--Sort
    IT_SORT TYPE SLIS_T_SORTINFO_ALV,
    WA_SORT TYPE SLIS_SORTINFO_ALV ,
    **-Structure for excluding function codes
    WA_EXTAB TYPE SLIS_EXTAB,
    **-To hold function codes to be excluded in ALV toolbar
    IT_EXTAB TYPE SLIS_T_EXTAB.
    *selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR,
    S_ERSDA FOR MARA-ERSDA.
    SELECTION-SCREEN: END OF BLOCK B1.
    *--Radio buttons to select either Display/Delete/Modify
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME
    TITLE TEXT-002.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) TEXT-003.
    PARAMETERS: P_DISP RADIOBUTTON GROUP RAD1 DEFAULT 'X'.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) TEXT-005.
    PARAMETERS: P_UPD RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20) TEXT-004.
    PARAMETERS: P_DEL RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2 .
    AT SELECTION-SCREEN.
    PERFORM VALIDATE_SCREEN.
    *start of selection
    START-OF-SELECTION.
    *clear the internal tables to be used.
    CLEAR: IT_MARA,IT_MARA[],
    V_FLAG.
    *get the data
    PERFORM GET_DATA.
    *end of selection
    END-OF-SELECTION.
    IF IT_MARA[] IS INITIAL.
    MESSAGE I000 WITH
    'No Records found for the given Selection Criteria'(012).
    ELSE.
    *do alv process
    V_REPID = SY-REPID.
    *--Sort the Output Fields
    PERFORM SORT_FIELDS.
    *--Build Field catalog for the Output fields
    PERFORM BUILD_FIELDCAT.
    *--Set the Layout for ALV
    PERFORM SET_LAYOUT.
    IF P_DISP = C_X.
    *--Exclude any Buttons on the Appn tool bar
    perform change_default_pf_status.
    MOVE C_FC_DELETE TO WA_EXTAB-FCODE. " DELETE button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    MOVE C_FC_MODIFY TO WA_EXTAB-FCODE. " MODIFY button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    ELSEIF P_UPD = C_X.
    *--Exclude DELETE Button on the appn tool bar
    MOVE C_FC_DELETE TO WA_EXTAB-FCODE. " DELETE button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    ELSEIF P_DEL = C_X.
    *--Exclude MODIFY button on appn tool bar
    MOVE C_FC_MODIFY TO WA_EXTAB-FCODE. " MODIFY button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    ENDIF.
    *--Exclude SAVE button for all options
    MOVE 'SAVE' TO WA_EXTAB-FCODE. " SAVE button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    *--Display ALV output
    PERFORM LIST_DISPLAY TABLES IT_MARA
    USING C_USER_COMMAND.
    ENDIF.
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    FORM GET_DATA .
    SELECT MATNR
    ERSDA
    BRGEW
    NTGEW
    MTART
    MBRSH
    FROM MARA
    INTO TABLE IT_MARA
    WHERE MATNR IN S_MATNR
    AND ERSDA IN S_ERSDA.
    IF SY-SUBRC <> 0.
    *no records selected leave processing
    STOP.
    ENDIF.
    SORT IT_MARA.
    ENDFORM. " get_data
    *& Form sort_fields
    text
    --> p1 text
    <-- p2 text
    FORM SORT_FIELDS .
    CLEAR WA_SORT.
    WA_SORT-FIELDNAME = 'MATNR'.
    WA_SORT-SPOS = '1'.
    WA_SORT-UP = 'X'.
    APPEND WA_SORT TO IT_SORT.
    CLEAR WA_SORT.
    WA_SORT-FIELDNAME = 'ERSDA'.
    WA_SORT-SPOS = '2'.
    WA_SORT-UP = 'X'.
    APPEND WA_SORT TO IT_SORT.
    ENDFORM. " sort_fields
    *& Form build_fieldcat
    text
    --> p1 text
    <-- p2 text
    FORM BUILD_FIELDCAT .
    IT_FIELDCAT-COL_POS = '1'.
    IT_FIELDCAT-FIELDNAME = 'MATNR'.
    IT_FIELDCAT-KEY = 'X'.
    IT_FIELDCAT-OUTPUTLEN = '15'.
    IT_FIELDCAT-SELTEXT_L = 'Material number'(022).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-COL_POS = '2'.
    IT_FIELDCAT-FIELDNAME = 'ERSDA'.
    IT_FIELDCAT-KEY = 'X'.
    IT_FIELDCAT-OUTPUTLEN = '10'.
    IT_FIELDCAT-SELTEXT_L = 'Created on'(023).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-COL_POS = '3'.
    IT_FIELDCAT-FIELDNAME = 'BRGEW'.
    IT_FIELDCAT-OUTPUTLEN = '10'.
    IT_FIELDCAT-SELTEXT_L = 'GROSS WEIGHT'(024).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-COL_POS = '4'.
    IT_FIELDCAT-FIELDNAME = 'NTGEW'.
    IT_FIELDCAT-OUTPUTLEN = '15'.
    IT_FIELDCAT-SELTEXT_L = 'NET WEIGHT'(025).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-COL_POS = '5'.
    IT_FIELDCAT-FIELDNAME = 'MTART'.
    IT_FIELDCAT-OUTPUTLEN = '3'.
    IT_FIELDCAT-SELTEXT_L = 'Material type'(026).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-COL_POS = '6'.
    IT_FIELDCAT-FIELDNAME = 'MBRSH'.
    IT_FIELDCAT-OUTPUTLEN = '25'.
    IT_FIELDCAT-SELTEXT_L = 'Industry sector'(027).
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    IT_FIELDCAT-FIELDNAME = 'REC_SEL'.
    IT_FIELDCAT-NO_OUT = C_X.
    APPEND IT_FIELDCAT.
    CLEAR IT_FIELDCAT.
    ENDFORM. " build_fieldcat
    *& Form list_display
    text
    -->P_IT_MARA text
    -->P_C_USER_COMMAND text
    FORM LIST_DISPLAY TABLES P_IT_MARA
    USING P_USER_COMMAND TYPE SLIS_FORMNAME.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = V_REPID
    I_CALLBACK_PF_STATUS_SET = C_PF_STATUS
    I_CALLBACK_USER_COMMAND = P_USER_COMMAND
    IS_LAYOUT = WA_LAYOUT
    IT_FIELDCAT = IT_FIELDCAT[]
    IT_EXCLUDING = IT_EXTAB[]
    IT_SORT = IT_SORT[]
    TABLES
    T_OUTTAB = P_IT_MARA
    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. " list_display
    *& Form F_SET_PF_STATUS
    Set PF_STATUS STANDARD modifying the standard toolbar
    by excluding some buttons
    -->P_IT_EXTAB -- TABLE OF EXCLUDING FUNCTIONS
    FORM F_SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
    CLEAR : WA_EXTAB,
    IT_EXTAB.
    *--Set the Modified PF status for the ALV.
    SET PF-STATUS 'ALV_STATUS_01' EXCLUDING RT_EXTAB.
    ENDFORM. " SET_PF_STATUS
    *& Form f_user_command
    Handle user action on ALV toolbar
    FORM F_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    RS_SELFIELD-REFRESH = C_X.
    IF R_UCOMM = C_FC_DELETE.
    *--User Selected DELETE button.
    PERFORM DELETE_SELECTED_RECORDS.
    ELSEIF R_UCOMM = C_FC_MODIFY.
    *--If user selects MODIFY button.
    PERFORM CHANGE_RECORDS.
    ENDIF.
    ENDFORM. "F_USER_COMMAND
    *& Form POP_UP_CONFIRMATION
    text
    <--P_ANSWER text
    FORM POP_UP_CONFIRMATION
    CHANGING P_ANSWER TYPE C.
    DATA:
    L_TITLE(14) TYPE C, " Title of pop-up
    L_TXT_QUESTION(52) TYPE C, " Text displayed in pop-up
    L_DISP_CANCEL TYPE C, " Display 'Cancel' button?
    L_BTN1 TYPE ICON-NAME, " Icon on button 1
    L_BTN2 TYPE ICON-NAME. " Icon on button 2
    L_TITLE = 'Delete'(017). " delete
    L_TXT_QUESTION = 'Are you sure to delete?'(018).
    L_BTN1 = C_ICON_DELETE.
    L_BTN2 = C_ICON_CANCEL.
    **-Display pop-up asking user for confirmation
    CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
    TITLEBAR = L_TITLE
    TEXT_QUESTION = L_TXT_QUESTION
    TEXT_BUTTON_1 = 'Yes'
    ICON_BUTTON_1 = L_BTN1
    TEXT_BUTTON_2 = 'No'
    ICON_BUTTON_2 = L_BTN2
    DEFAULT_BUTTON = '2'
    DISPLAY_CANCEL_BUTTON = 'X'
    IMPORTING
    ANSWER = P_ANSWER
    EXCEPTIONS
    TEXT_NOT_FOUND = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE E000 WITH 'Error executing function module:'(019)
    'POPUP_TO_CONFIRM'.
    ENDIF.
    ENDFORM. "pop_up_confirmation
    *& Form set_layout
    text
    --> p1 text
    <-- p2 text
    FORM SET_LAYOUT .
    IF P_DEL = C_X OR P_UPD = C_X.
    *--Allow Input only if user choose 'UPDATE'/ 'DELETE' radio buttons
    WA_LAYOUT-BOX_FIELDNAME = 'REC_SEL'.
    WA_LAYOUT-BOX_TABNAME = 'IT_MARA'.
    ENDIF.
    *--Display Header based on the user selection
    IF P_DISP = C_X.
    WA_LAYOUT-WINDOW_TITLEBAR =
    'Display '(036).
    ELSEIF P_DEL = C_X.
    WA_LAYOUT-WINDOW_TITLEBAR =
    'Delete '(037).
    ELSEIF P_UPD = C_X.
    WA_LAYOUT-WINDOW_TITLEBAR =
    'Change '(038).
    ENDIF.
    ENDFORM. " set_layout
    *& Form change_default_pf_status
    text
    --> p1 text
    <-- p2 text
    FORM CHANGE_DEFAULT_PF_STATUS .
    MOVE C_FC_DELETE TO WA_EXTAB-FCODE. " DELETE button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    MOVE C_FC_MODIFY TO WA_EXTAB-FCODE. " MODIFY button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    ENDFORM. " change_default_pf_status
    *& Form f_user_command
    Handle user action on ALV toolbar
    FORM F_USER_COMMAND_MODIFY USING R_UCOMM LIKE SY-UCOMM "#EC *
    RS_SELFIELD TYPE SLIS_SELFIELD.
    DATA : L_ANSWER TYPE C. "#EC *
    IF R_UCOMM = C_FC_SAVE.
    *user selected save button
    READ TABLE IT_MODIFY WITH KEY REC_SEL = 'X'.
    *check if user selected atleast one line.
    IF SY-SUBRC <> 0.
    MESSAGE I000 WITH 'No record(s) Selected to Modify'(016).
    EXIT.
    ENDIF.
    LOOP AT IT_MODIFY WHERE REC_SEL = 'X'.
    *--Check the entered values are valid or not.
    IF NOT ( it_modify-status = 'A' OR
    it_modify-status = 'C' OR
    it_modify-status = 'E' ).
    *--User Entered invalid value for STATUS field,so Display Error Msg
    CLEAR R_UCOMM.
    MESSAGE e000 WITH 'Invalid value '''(031)
    '' for Status in the Record # '(032)
    sy-tabix.
    ENDIF.
    ENDLOOP.
    CLEAR: IT_TEMP,
    IT_TEMP[].
    LOOP AT IT_MODIFY WHERE REC_SEL = 'X'.
    MOVE-CORRESPONDING IT_MODIFY TO IT_TEMP.
    APPEND IT_TEMP.
    CLEAR IT_TEMP.
    ENDLOOP.
    *--start new code
    DATA : IT_TEMP2 LIKE STANDARD TABLE OF MARA WITH HEADER LINE.
    SELECT * FROM MARA
    INTO TABLE IT_TEMP2
    FOR ALL ENTRIES IN IT_TEMP
    WHERE MATNR = IT_TEMP-MATNR.
    IF SY-SUBRC = 0.
    LOOP AT IT_MODIFY WHERE REC_SEL = 'X'.
    READ TABLE IT_TEMP2 WITH KEY MATNR = IT_MODIFY-MATNR.
    IF SY-SUBRC = 0.
    IT_TEMP2-NTGEW = IT_MODIFY-NTGEW.
    IT_TEMP2-BRGEW = IT_MODIFY-BRGEW.
    MODIFY IT_TEMP2 INDEX SY-TABIX.
    ENDIF.
    ENDLOOP.
    ENDIF.
    *modify mara table with the changed values
    MODIFY MARA FROM TABLE IT_TEMP2 .
    *--end new code
    IF SY-SUBRC = 0.
    COMMIT WORK AND WAIT.
    *--Display message with Success in Updating database
    MESSAGE I000 WITH SY-DBCNT
    ' Record(s) has been Updated'(020).
    CLEAR :
    IT_MARA,
    IT_MARA[].
    *get-data again from database.
    PERFORM GET_DATA.
    RS_SELFIELD-REFRESH = C_X.
    ELSE.
    *--Error occurred
    MESSAGE I000 WITH 'Error occured in Modifying the database'(021).
    ENDIF.
    ENDIF.
    ENDFORM. "f_user_command_modify
    *& Form validate_screen
    text
    --> p1 text
    <-- p2 text
    FORM VALIDATE_SCREEN .
    DATA : LV_MATNR LIKE MARA-MATNR.
    *--validate product
    IF NOT S_MATNR[] IS INITIAL.
    SELECT MATNR
    INTO MARA-MATNR
    FROM MARA
    WHERE MATNR IN S_MATNR.
    ENDSELECT.
    IF SY-SUBRC <> 0.
    *--Error
    MESSAGE E000 WITH 'Invalid Material'(034).
    ENDIF.
    ENDIF.
    ENDFORM. " validate_screen
    *& Form delete_records
    text
    --> p1 text
    <-- p2 text
    FORM DELETE_RECORDS .
    LOOP AT IT_MARA.
    MOVE-CORRESPONDING IT_MARA TO IT_TEMP.
    APPEND IT_TEMP.
    CLEAR IT_TEMP.
    ENDLOOP.
    DELETE MARA FROM TABLE IT_TEMP.
    IF SY-SUBRC = 0.
    *--Successfully selected records Deleted.
    COMMIT WORK AND WAIT.
    *--Display Success Message to the user
    MESSAGE I000 WITH SY-DBCNT
    ' Record(s) deleted Successfully'(010).
    ELSE.
    *--Error occured in deletion
    MESSAGE I000 WITH 'Error occured in Deleting the Record(s)'(011).
    ENDIF.
    CLEAR: IT_MARA,
    IT_MARA[],
    IT_TEMP,
    IT_TEMP[].
    V_FLAG = C_X.
    STOP.
    ENDFORM. " delete_records
    *& Form delete_selected_records
    text
    --> p1 text
    <-- p2 text
    FORM DELETE_SELECTED_RECORDS .
    DATA : L_ANSWER(1) TYPE C.
    READ TABLE IT_MARA WITH KEY REC_SEL = C_X.
    IF SY-SUBRC <> 0.
    MESSAGE I000 WITH 'No record(s) Selected to Delete'(013).
    EXIT.
    ELSE.
    *--Ask for delete confirmation
    PERFORM POP_UP_CONFIRMATION
    CHANGING L_ANSWER.
    IF L_ANSWER = '1'. " 'Yes'
    CLEAR: IT_TEMP,
    IT_TEMP[].
    LOOP AT IT_MARA WHERE REC_SEL = 'X'.
    MOVE-CORRESPONDING IT_MARA TO IT_TEMP.
    APPEND IT_TEMP.
    CLEAR IT_TEMP.
    ENDLOOP.
    DELETE MARA FROM TABLE IT_TEMP.
    IF SY-SUBRC = 0.
    *--Successfully selected records Deleted.
    COMMIT WORK AND WAIT.
    *--Display completed work information to the user
    MESSAGE I000 WITH SY-DBCNT
    ' Record(s) deleted Successfully'(014).
    *--Clear the Internal tables
    CLEAR: IT_MARA,
    IT_MARA[].
    *--Reselects entries from Database again & display in ALV
    PERFORM GET_DATA.
    ELSE.
    *--Error occured
    MESSAGE I000 WITH
    'Error occured in Deleting the Record(s)'(015).
    ENDIF.
    ENDIF.
    ENDIF.
    ENDFORM. " delete_selected_records
    *& Form change_records
    text
    --> p1 text
    <-- p2 text
    FORM CHANGE_RECORDS .
    READ TABLE IT_MARA WITH KEY REC_SEL = 'X'.
    *--check user selected at least 1 record to MODIFY or not
    IF SY-SUBRC <> 0.
    MESSAGE I000 WITH 'No record(s) Selected to Modify'(016).
    EXIT.
    ELSE.
    CLEAR : IT_MODIFY,
    IT_MODIFY[].
    LOOP AT IT_MARA WHERE REC_SEL = 'X'.
    IT_MODIFY = IT_MARA.
    APPEND IT_MODIFY.
    CLEAR IT_MODIFY.
    ENDLOOP.
    *--Change PF status for this new ALV list.
    PERFORM CHANGE_PF_STATUS_AGAIN.
    *--Change Field Catalog to make INPUT enabled.
    READ TABLE IT_FIELDCAT WITH KEY FIELDNAME = 'NTGEW'.
    IT_FIELDCAT-INPUT = C_X.
    MODIFY IT_FIELDCAT INDEX SY-TABIX.
    *--Call ALV LIST DISPLAY with this new values.
    PERFORM LIST_DISPLAY TABLES IT_MODIFY
    USING C_USER_COMMAND_MODIFY.
    ENDIF.
    ENDFORM. " change_records
    *& Form change_pf_status_again
    text
    --> p1 text
    <-- p2 text
    FORM CHANGE_PF_STATUS_AGAIN .
    MOVE C_FC_DELETE TO WA_EXTAB-FCODE. " DELETE button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    MOVE C_FC_MODIFY TO WA_EXTAB-FCODE. " MODIFY button on ALV
    APPEND WA_EXTAB TO IT_EXTAB.
    ENDFORM. " change_pf_status_again

  • Interface data contains errors while submitting the Bid by vendor

    Hi
    This is with regard to strategic sourcing. Purchaser carried out a sourcing with start date 05.03.2010 and end date as 10.03.2010. Now the vendor is trying to create his bid by selecting "Process Bid" option. Vendor is getting Bid invitation no, to create a Bid. Here while submitting he is getting the error as " End date has been reached. The submission deadline has passed", eventhough the end date is 10.03.2010. And getting a message "Interface data contains errors". So he is not able to submit the bid. For all the bid invitation vendor is getting this problem.
    How to resolve this?
    Thanks

    Hi Muthu
    Thanks for ur response. It was a no range problem which I found & rectified.
    Regds

  • CS6 png save options

    I've got a major script I use that performs .png saving every few seconds, but apparently there are some new compression options in CS6.  Is there a way for me to have the script use the "Smallest / Slow" compression option if CS6 is in use?  I currently use the script below for saving:
    function SavePNG(){
        permSaveFile = new File(permSaveFile);
        pngSaveOptions = new PNGSaveOptions();
        activeDocument.saveAs(permSaveFile, pngSaveOptions, true, Extension.LOWERCASE);
    How would I add the extra CS6 save option in while still being able to use the script with older versions as well?  The rest of the script works fine and it saves fine under CS6; the only reason I need to change this is, the output files are HUGE using it, as is, under CS6.  Thanks for any help!
    dgolberg

    I'm doing something wrong.
    I'm not getting any PNG compression in CS6 with this:
    function SavePNG(saveFile){
    pngSaveOptions = new  PNGSaveOptions()
    pngSaveOptions.compression=9  // (level of compression 0 .. 9       0 - without compression)
    pngSaveOptions.interlaced=false
    activeDocument.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);

  • I am unable to save my multiple tabs while closing Firefox

    I am unable to save my multiple tabs while closing Firefox. I even tried re-installing and re-launching the firefox in safe mode using the following command "firefox -safe-mode", but even that did not help.
    I tried looking for any option in the tools, but did not find any.
    Please help.

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Jdeveloper doesn't show inspect pop up while look and feel is windows

    Jdeveloper doesn't show inspect pop up while look and feel is windows

    Thanks for looking at the issue Frank. Here are the points:
    1. I debugging a java application using Jdeveloper 11g IDE
    2. I had modified the IDE look and feel to windows.
    3. The debugger stopped at a breakpoint and i tried to inspect the value of an expression.
    3.1. Select that expression using mouse.
    3.2. Right click on the expression
    3.3. click on the inspect option.
    4. I was expecting a pop-up window to appear. But it didn't come.
    5. Later i changed look and feel of IDE to Oracle/fusion(blue) which is the default.
    6. Repeated step 3.
    7. Got a pop up window and was able to inspect the value.
    Hope this info helps.
    -Sandeep.
    Edited by: Sandeep.Sundaram on Oct 17, 2008 2:13 PM

Maybe you are looking for