How to control prsence of fields in saveas method.urgent please

I Created a template form with some buttons ,textfields and dropdown fields. i kept saveas button if user clicks and saves the file as another name . i want to remove apprence of buttons and drop down buttons etcc.. i tried
dataroot.Transmittal_pdf.Button1::click - (JavaScript, client); save as button click
dataroot.Transmittal_pdf.Button1.presence="invisible";
dataroot.Transmittal_pdf.ResetButton1.presence="invisible";
dataroot.Transmittal_pdf.PrintButton1.presence="invisible";
dataroot.Transmittal_pdf.Project_Type.presence="invisible";
dataroot.Transmittal_pdf.Contract_Type.presence="invisible";
app.execMenuItem("SaveAs");
this one buttons are invisible in template  not in saved copy
dataroot.Transmittal_pdf.Button1::click - (JavaScript, client); save as button click
dataroot.Transmittal_pdf.Button1.presence="hidden";
dataroot.Transmittal_pdf.ResetButton1.presence="hidden";
dataroot.Transmittal_pdf.PrintButton1.presence="hidden";
dataroot.Transmittal_pdf.Project_Type.presence="hidden";
dataroot.Transmittal_pdf.Contract_Type.presence="hidden";
app.execMenuItem("SaveAs");
with regards
prasad

Malcolm
it is worked for me for buttonms . but drop down arrow button still remained. please advice
with regards
prasad

Similar Messages

  • How to define & read Standard Text in SAPScript? Urgent Please

    Hi Experts,
    How to define & read Standard Text in SAPScript? Urgent Please..
    Thanks in advance
    good answer will points gud marks.
    sekhar

    Hi
    U can't define a standard text in a SAPScript, you call call it only by statament INCLUDE
    /: INCLUDE <ST TEXT NAME> OBJECT TEXT ID ST LANGUAGE <LANGUAGE>
    U can define it by trx SO10.
    If you need to know the text without to print it, you need to use a routine where u can use the fm READ_TEXT in order to find out the text.
    Max
    Message was edited by:
            max bianchi

  • How to control Payment Block field at line item level

    Hi Experts,
    Could anyone please let me know how to control payment block and payment method fields at line item level.
    I have checked field status at posting key (OB41) and GL (OB14) level but didn’t get any parameter to control these fields.
    I need your expert guidance.
    Regards,
    Mohammed Kalim

    Hi Mohammed,
    Please go to OB24/
    Select * (for all co.codes) default field status.Or Create new entry and input your co.code, Save it. Come back to co.code.
    Go to payment transaction
    Payment block and payment method display can be controlled from here for vendor master data
    Thanks and good luck.
    Regards,
    Sam

  • How to control the output fields in ALV

    Hi Pals,
    I have a Z program which outputs around 400 characters length. It is working fine when we run in foreground(online).. But i have the problem with the length of the output of the report when i run in BACKGROUND mode. That is, only 255 characters are being displayed.
    So, i have decided to supress some of the unwanted output fields being diplayed, so that the total output length becomes 255 characters.
    How can i handle this situation in the ALV's?
    Someone please send me some sample code.
    Thanks in advance,
    Ram.

    Hi
       Better create the Layout Variants with the desired columns.
    ALV is providing that functionality.
    Use
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = alv_variant
          i_save     = 'A'
        IMPORTING
          es_variant = alv_variant
        EXCEPTIONS
          not_found  = 2.
    Regards,
    Kumar

  • How to change schedule line fields when save sales documents in va01/va02

    Hi, every Experts,
    I want to change schedule line when save the sales documents in va01 or va02, such as change delivery block or schedule line category.
    of course, can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE, but I do not know to use this user exit, I am newer about ABAP.
    Please help me , thanks.
    best regards
    Passion Wu

    Hi,
    For changeing schedule line: select line item, GOTO --> item --> schedule lines --> enter the confirmed qty.
    USEREXIT_SAVE_DOCUMENT_PREPARE program is MV45AFZZ
    For your reference
    USEREXIT_SAVE_DOCUMENT_PREPARE - Can I use in button, but skip
    regards,
    Mohanprabu C

  • Job, Supervisor field and Table details - Urgent please

    Need to document fuctional/technical specs to extract <b>Job</b> and <b>Supervisor</b> field details in OM. I am trying to understand what is the Table and field for these Objects / data elements ?
    <b>Is it T513-STELL for job or is it HRP1000?
    What about Supervisor -- what is the Table and field where employee's Supervisor data is stored? .</b>
    Really appreciate any input.

    T513 is not always in sync with HRP1000. For Jobs, I would prefer to look up the Table HRP1000 with OTYPE = 'C'.
    Regarding, the other part of your question, the supervisor details are actually on the PA side.. you can use the function call RH_GET_LEADER.
    ~Suresh

  • How to create TAX CODE in Spro...urgent please...

    Hi sap guru's
           While doing MIRO/MIR7/MIRA(logistics invoice verification). my cleint is using different tax code. i want to creat new TAX code for my cleint..
         can anybody tell me how to create TAX code in SPRO.
    Thanks

    Hi Sakti,
    Transaction code to create Tax code is FTXP.
    Path is
    IMG--> Logistic General --> Tax on good movements --> India --> Basic Settings --> Determination of Excise Duty --> Condition Based Excise Determination --> Define Tax code for Purchasing Department
    After creating tax code dont forget to assign with your counrty code for that path is
    IMG--> Logistic General --> Tax on good movements --> India --> Basic Settings --> Determination of Excise Duty --> Condition Based Excise Determination --> Assign tax code to company code
    Hope your query is solved
    Regards
    Vivek
    -- Reward for the Effort !!

  • How to change link strings on multiple page PDFs - urgent please

    I have several muly page PDF pages, and on each PDF page there are 20-50 different web links.
    Each of the links are done as Open a Weblink, but on each one I did them like below.
    javascript:void(window.open('http://www.website.com/link1'))
    javascript:void(window.open('http://www.website.com/link2'))
    javascript:void(window.open('http://www.xyz.com/link3'))
    etc.
    I would like to be able to remove the beginning and ending on each link, for either one or multiple PDFs using some type of automated process, instead of clicking on each one, one at a time.
    I NEED TO REMOVE THIS FROM THE BEGINNING javascript:void(window.open('
    ADOBE shows it as javascript:void\(window.open\('
    REMOVE THIS FROM THE ENDING '))
    ADOBE shows it as '\)\)
    I tried this using notepad and an editor, but doing so resulted in an error when reopening the PDF
    an unrecognized token was found '0.35w' was found
    Does Acrobat Pro 9 do this? or??
    Thank you

    Hi,
    Try to change the Text Property of that Link through personalization.
    Through Personalize page link which is on top of the page Left Side-
    Click on Pencil icon which is in front of that item and change the property to whatever text so want to see like=> "click here to go back"
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to convert the DMS Pdf file into XSTRING - Urgent Please......

    Experts,
    I want to download a pdf file stored in a DMS Server into Desktop using webdynpro for abap.
    First i want to convert the PDF file into XSTRING, so that i can use file download UI Element in Webdynpro to download the document...
    Im searching for any function modules for past two days, i cant able to find it.. I dont even have any idea to proceed.
    I tried using CV120_START_APPLICATION in webdynpro,but it results in vain...
    I object submission date is nearing, please help me brothers and sisters...
    Thanks,
    James...

    Hi James,
    please see the thread
    Very Urgent Convert DMS  document to XSTRING/ download
    which deals with exactly the same issue. Maybe we can close one thread and handle this within the second one.
    Best regards,
    Christoph

  • How to add an input field in the web UI of CRM 2007

    Hi everybody.
    I want add an Input field in the Web UI Screen. How it is possible.
    I want get the information with detailed descriptions if possible with screen shorts.
    What type of methods it will be generated and what are the code we entered in those methods.
    Take according to any example. But with detailed description.
    I am new for the CRM 2007. So, please give the screen shorts with proper data.
    Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
    So, Can anybody please send a proper information according to this.
    Here another one How to Add our own table (Ztable) field in the Web UI Screen.
    How to add the same field in the BOL.
    Please expalin about those concepts with full of screen shorts messages.
    Thank You.
    Regards,
    Krishna.

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • How do i map one field to another in control file via SQL Loader

    Can someone please reply back to this question
    Hi,
    I have a flat file (student.dat delimiter %~| ) using control file (student.ctl) through sql loader. Here are the details.
    student.dat
    student_id, student_firstname, gender, student_lastName, student_newId
    101%~|abc%~|F %~|xyz%~|110%~|
    Corresponding table
    Student (
    Student_ID,
    Student_FN,
    Gender,
    Student_LN
    Question:
    How do i map student_newId field to student_id field in STUDENT DB table so that new id should be inserted in student_id column. How do i specify the mapping in control file. I dont want to create a new column in student table. Please let me know the best way to do this.
    Can someone please reply back to this question.
    My approach:
    In control file i will sepecify the below, Is this a best approach?. Do we have any othe way?
    STUDENT_ID *(:STUDENT_NEWID)*,
    STUDENT_FN,
    GENDER,
    STUDENT_LNAME,
    STUDENT_NEWID BOUNDFILLER
    Thanks
    Sunil
    Edited by: 993112 on Mar 13, 2013 12:28 AM
    Edited by: 993112 on Mar 13, 2013 12:30 AM
    Edited by: 993112 on Mar 13, 2013 12:31 AM
    Edited by: 993112 on Mar 18, 2013 2:52 AM

    OK, ok...
    Here is the sample data:
    101%~|abc%~|F %~|xyz%~|110%~|
    102%~|def%~|M %~|pqr%~|120%~|
    103%~|ghi%~|M %~|stu%~|130%~|
    104%~|jkl%~|F %~|vwx%~|140%~|
    105%~|mno%~|F %~|yza%~|150%~|Here is the control file:
    LOAD DATA
    INFILE student.dat
    TRUNCATE INTO TABLE STUDENT
    FIELDS TERMINATED BY '%~|' TRAILING NULLCOLS
      student_old  FILLER
    , student_fn
    , gender
    , student_ln
    , student_id
    )And here is the execution:
    SQL> CREATE TABLE student
      2  (
      3    student_id   NUMBER
      4  , student_fn   VARCHAR2 (10)
      5  , gender       VARCHAR2 (2)
      6  , student_ln   VARCHAR2 (10)
      7  );
    Table created.
    SQL>
    SQL> !sqlldr / control=student.ctl
    SQL*Loader: Release 11.2.0.3.0 - Production on Tue Mar 19 14:37:31 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Commit point reached - logical record count 5
    SQL> select * from student;
    STUDENT_ID STUDENT_FN                     GENDER STUDENT_LN
           110 abc                            F      xyz
           120 def                            M      pqr
           130 ghi                            M      stu
           140 jkl                            F      vwx
           150 mno                            F      yza
    SQL>:p

  • How to control the number of fields in the Advanced mode in af:query

    Hi,
    How to control the number of fields in the Advanced mode in <af:query>?
    Say i have 20 fields in my table and i created a view criteria with 2 fields. It would work perfectly in Basic mode. But in the Advanced mode all other fields selection is possible on clicking the ADD Fields button. I did not want the client to make a search with all 20 fields. Only 10 fields are to be listed in the Advanced Mode even though there are 20 fields in my table.
    How do i control the list of fields in ADDFields button?
    Any ideas?
    KR

    You can uncheck the Querable property of the attributes which you need not show up in the Advanced Mode (but they will not show up in other modes too !) or programatically set the same as mentioned here -
    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.htmlAlso you can hide the AddFields button as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How can we make a field confirm control compulsory field

    how can we make a field 'confirm control' compulsory field while creating a vendor code
    this field is under tab default data material tab while creating vendor code in purchasing org .part of vendor

    Hello,
    This can be done using the configuration..
    Go to Logistics - General >Business Partner>Vendors>Control>Define Account Groups and Field Selection (Vendor)--> and select the vendor group for which you want this field to be mandatory.
    Press details --> in the block "field status", double click Purchasing Plant and again double click Plant level purchasing data, in the second page (down), you can see the confirmation control key, that you have to make as req entry.
    If you want the conf control key to be mandatory for all the vendors groups, then you can do this by purchasing organisation level..that config node is just below this settings.
    Regards,
    Sakthi

  • How to remove the mandatory field setting in output control

    Hi everybody,
    While printing a Payment Voucher through F-58 and FBZ5(reprint), there are two output devices, the first one is - printer for forms and second is - payment advice printer.
    In our case we have configured the cheque printing and payment voucher printing seperately. The cheque goes to first printer(kept mandatory field) and the payment voucher goes to second printer. One of our plant does not print the cheque from SAP, they only print the payment voucher because the cheque is manually prepared. How do I avoid the cheque printing. Is there any way out to print only the payment voucher through F-58 and FBZ5
    Please guide me how to tackle it or how to remove the mandatory field setting in the output control screen?
    Regards
    Paul

    Hi
    As of my understanding, there is no relation ship between the Sales Organization and this mandatory partner function.
    Here are few suggestions.
    1. Since Partner functions are defualted and made mandatory in the Partner Determination Procedure so you have to remove this Mandatory option for PE from the Partner Determination Procedure that is AG if using standard one.
    2. If you are using a single partner function than , Copy and create a New partner procedure and a new account group . Where in one you can default PE as mandatory and in another one you make a optional where it can be choosen manually while creating the customer.
    Follow the path to check for entries :
    SPRO > sales & distribution > Basic Function > Partner Determination > set up partner determination > select for customer master > select the partner procedure you are using AG as standard > then partner function in procedure > here maintian the check as required like, Mandatory or No check for Non Mandatory .
    Thanks
    RB

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

Maybe you are looking for

  • Copa derivation rule for customer group

    Hi All, I am currently facing an issue with Derivation rule and hope someone can help me on resolving  this.I have created a COPA derivation rule which has field as Source Field company code Plant Target field Distribution channel Condition customer

  • Adding individual tasklist to document set

    Hello! I'm looking in too the functionality of SharePoint 2013 for a company where i'm an intern. I wan't to know if the following is possible. We wan't to add a document set for each project. When we view this document set "project" i wan't to add a

  • Itab structure generated dynamically

    Hi there. I'd like to determine a structure of itab during program flow. For example DATA: BEGIN OF skladtab OCCURS 0,                lgort LIKE mard-lgort,            END OF skladtab. SELECT DISTINCT lgort FROM mard INTO skladtab-lgort. WHERE werks

  • Mini SIM Activation service is temporarily unavailable

    Anyone have any idea how long this will be down for? I've managed to finally get hold of the final 2 digits of the 14 digit SIM serial number of the nano SIM for my new upgrade to find out the activation service is temporarily unavaialble. Can this b

  • Aperture's "everything 24 hours from start" autosplit choice

    Aperture import has the option "Automatically split projects" on import. In Preferences->Import you have various options, including "One project per day". If you set to one project per day, it will label the projects e.g. May 18, 2013; May 19, 2013 a