Change input attribute for CL_PT_REQ_WF_ATTRIBS

Hi,
I would like to change the input attribute value from class CL_PT_REQ_WF_ATTRIBS in BADI PT_GEN_REQ~START_WF for multilevel leave approval.
May I know how to do this ?
Regards,
Eric

Resolved myself

Similar Messages

  • Struts - Firfefox messages: No input attribute for mapping path /editNxtMod

    Hi!
    I'd like to create an admin application which is based upon a simple database table. The list shows already, but the detail of selected record doesn't. When I click to a record, the Firefox writes "No input attribute for mapping path /editNxtModuls". What does it mean? Maybe bad configuration files?
    Please help me!
    Thank Yoy!
    Here my code:
    <struts-config>
         <data-sources />
         <form-beans>
              <form-bean name="NxtModulsForm" type="forms.NxtModulsForm" />
         </form-beans>
         <global-exceptions />
         <global-forwards>
              <forward name="error" path="/error.jsp" />
         </global-forwards>
         <action-mappings>
              <action input="/index.jsp" path="/listNxtModuls"
                   type="actions.ListNxtModulsAction">
                   <forward name="list" path="/NxtModuls/list.jsp" />
              </action>
              <action name="NxtModulsForm"
                   path="/editNxtModuls" scope="request"
                   type="actions.EditNxtModulsAction" validate="true">
                   <forward name="edit" path="/NxtModuls/edit.jsp" />
              </action>
              <action path="/saveNxtModuls"
                   type="actions.SaveNxtModulsAction" />
              <action input="/NxtModuls/edit.jsp" name="NxtModulsForm"
                   path="/processNxtModuls">
                   <forward name="save" path="/saveNxtModuls.do" />
                   <forward name="cancel" path="/cancelNxtModuls.do" />
              </action>
              <action path="/cancelNxtModuls"
                   type="actions.CancelNxtModulsAction" />
         </action-mappings>
         <controller />
         <message-resources parameter="resources.application" />
    </struts-config>
    *****************list.jsp*************
    <td>                         <a href="editNxtModuls.do?modul_id=<bean:write name="nxtmoduls" property="modul_id"/>">
    <bean:write name="nxtmoduls" property="modul_id"/>
    <a/>
    </td>
    *****************edit.jsp*************
    <html>
         <h2>Edit</h2>
         <html:errors/>
         <body>
              <html:form action="processNxtModuls.do">
                   <table border="1">
                        <tr>
                             <td>Modul name: </td>
                             <td><html:text property="modul_name" size="20" maxlength="20" /></td>
                        </tr>
                        <tr>
                             <td>Synonym name: </td>
                             <td><html:text property="synonym_name" size="20" maxlength="20" /></td>
                        </tr>
                   </table>
                   <html:submit value="Save" onclick="go('saveNxtModuls')"/>
                   <html:submit value="Cancel" onclick="go('cancelNxtModuls')"/>
              </html:form>
         </body>
    </html>
    *********************action******************
    public class EditNxtModulsAction extends CommonAction {
         public EditNxtModulsAction() {
         @Override
         public ActionForward commonExecute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response) throws Exception {
              NxtModulsForm myForm = (NxtModulsForm)form;
              try {
                   if (request.getParameter("modul_id") == null) {
                        throw new OwnException("The modul_id parameter was not returned!");
                   Long ModulId;
                   try {
                        ModulId = new Long(request.getParameter("modul_id"));
                   catch(Exception e) {
                        throw new OwnException("The modul_id parameter is not a number!");
                   NxtModulsBean OneRecord = new NxtModulsBean();
                   OneRecord = myManager.getRecord(ModulId);
                   myForm.setModul_name(OneRecord.getModul_name());
                   myForm.setSynonym_name(OneRecord.getSynonym_name());
              catch(OwnException e) {
                   System.out.println(e);
                   myErrors.add("label",new ActionError("error.get_record_failed"));
                   saveErrors(request, myErrors);
                   mapping.findForward("error");
              return mapping.findForward("edit");
    }

    The config file looks ok to me.
    The Action looks like you aren't taking full advantage of Struts.
    You shouldn't have to call request.getParameter() - you should define an action form which picks up the parameters, and does the validations/conversions for you.
    Maybe try this:
    <html:link action="/editNxtModuls" paramId="modul_id" paramName="nxtmoduls" paramProperty="modul_id" /><bean:write name="nxtmoduls" property="modul_id"/>
    </html:link>Edit: Reads error message
    No input attribute for mapping path /editNxtModuls
    This means that the form validation for this action failed, and it is attempting to return control to the sending page so that you can fix the error.
    Check the forms.NxtModulsForm validate() method to see if validation would pass/fail.
    The fix would be to put an "input" attribute into the action
    <action name="NxtModulsForm"
    path="/editNxtModuls"
    scope="request"
    type="actions.EditNxtModulsAction"
    validate="true"
    input = "list.jsp">
    <forward name="edit" path="/NxtModuls/edit.jsp" />
    </action>
    Cheers,
    evnafets

  • Changing phisycal attribute for a sub partition

    Hi
    oracle version : 10.2.0.4 on Solaris
    I have a table with subpartitions and I need to reduce the initial extent of the subpartition without dropping and recreating .
    I can do that on a table level and on a partition level using :
    alter table xxx move storage (initial 65k);
    alter table XXX move partition YYY storage (initial 65k);
    But I cannot do a similar thing for subpartition
    alter table xxx move subpartition yyy storage (initial 65k);
    ORA-14160: this physical attribute may not be specified for a table subpartition
    Any way to accpmplish this without dropping and recreating the table ?
    This is needed as part of a huge data structure copy .
    I get the structure from a production DB and I am importing them ( using datapump ) to development.
    I need to "shrink" the tables because the initial extents defined are big and there are so many of them that the copied schema, thoufght empty of data is taking many GB of space.
    I managed to "shrink " everything , only subpartitioned tables are still occupying a lot of space
    Any advise ?
    Thanks
    Orna

    Some more info :
    I am using LMT in both production and test
    but when I export and import ( datapump ) - the initial extents are not 'adjusting' themselves to the new tablespace in test.
    So the original tablespace in production have a 100MG initial and next extent and the target tablespace to which I remap during the import has 65k initial/next extent - but nevertheless - the tables are getting created with the old extent sizes of 100MG.
    The only way I found to fix this is to actually run alter table commands on the empty tables after import, and that works fine for everything other then subpartitions.
    thanks
    Orna

  • Is it possibly to change file attributes for files in the Program Files directory?

    Hi,
    I wonder if it is possible to change file time atributes for a file that is in the same folder as the exe file inside the Program File folder. I have the following code that gives System Error Code 5.
    SHGetFolderPath(0, CSIDL_PROGRAM_FILES, 0, SHGFP_TYPE_CURRENT, programpath);
    PathAppend (programpath, TEXT("Testprogram/gnsh.dat"));
    hFile = CreateFile(programpath, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
    If this had worked, I would for instance have done like this
    GetSystemTime(&st); SystemTimeToFileTime(&st, &ft);
    timeresult = SetFileTime(hFile2, NULL, NULL, &ft);
    I am programming in C with WIndows Api.
    Thanks in advance for answer.
    Best regards

    Hi Vahmat,
    System error code 5 :
    ERROR_ACCESS_DENIED
    5 (0x5)
    Access is denied.
    I have tested your code on my side, it will get a error code 5 if you have no permission to access a file. Please try to run VS as a administrator and rebuild your project, after this , you code works well on my side.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 2.6.32 - Changed input device for IBM Trackpoint?

    heya,
    I have a Lenovo X200 Tablet PC.
    Previously, I had vertical trackpoint scrolling enabled, as per the instructions here:
    http://www.thinkwiki.org/wiki/How_to_co … ev_and_HAL
    Anyhow, I upgraded to the 2.6.32 kernel, and noticed that vertical trackpoint scrolling wasn't working.
    I did a "lshal", and it seems like the device name changed from "TPPS/2 IBM TrackPoint", to "PS/2 Generic Mouse", for some reason (mentioned briefly in that wiki). I was just wondering, is there a reason that the device changed from 2.6.31 to 2.6.32? Any other side-effects of this change?
    Cheers,
    Victor

    heya,
    damjan: Yes, the rmmod/modprobe trick does work. However, are you suggesting that Arch should add this to it's suspend/resume scripts?
    Or that user's do this? Because if it's the latter, that's quite clearly ridiculous. You can't expect users to do something like that - and it's little caveats like this that are going to forever stymy Linux's growth in the desktop arena.
    I'm not sure, but from the kernel report, it does appear to be bug, and something they'll fix, as opposed to something the user has to do.
    Cheers,
    Victor

  • Master data maintenance and attributes for GTIN/EAN

    A review of the SAP documentation indicates that  "You can use the consistency report to change the attributes (for example, quantity, length, height, and so on) of certain materials". The "and so on" seems to imply that the attributes can be user defined. If this correct, where is this data kept? Or do the attributes only include the fields from the Basic data 1 Dimensions/EAN data and Plant Data storage General data?
    I would expect we can use LSWM to mass update the GTIN for our existing material numbers. However, for new material master creation is there a function module that would be able to pull the next available GTIN number from the internal number range? Please note that we use LSWM to create all our material numbers. We would like to have the LSWM insert the next available GTIN number.
    Thank you for your response
    Brian

    Hi
    I had tried all sorts - attribute change run and manually activating the master data.  Still doesnt work.
    Anthony

  • Reg: CRM Marketing attributes for CRM 7.0

    Hi Gurus,
    We are using function module CRM_MKTBP_CHANGE_BP to change marketing attributes for a business partner in which the marketing attributes are coming from another interface.
    We get the marketing attributes created all the time, but the problem is when theres is a change in marketing attributes, these changes are also reflected, but the changed by and time stamp is not changed, though we pass it explicitly via the internal table IT_IMP_SELTAB when passing the fields CHANGED_AT and CHANGED_BY.
    Requesting if anyone knows another FM or BAPI or OSS noted available for this as this particular FM is not released yet too.

    Hi ,
    Check that the Flag Run in the table CRM_MKTBP_CHECK for function module CRM_MKTBP_UPDATE_AUSP_EX_DB is set to X. This is for recording the history for any changes in the attributes. If not then set this flag to X. After that just change the value of one of the attributes and check the 'CHANGED AT' and 'CHANGED BY' fields for that attibute.
    Hope this helps.
    Regards,
    Gervase

  • Input Controls - is it possible to change the font for a combo box

    I have an input Control combo box that is a mixture of english/chinese characters. In Webi I can view the chinese characters correctly if I change the font to MingLIU. Is it possible to change the font for an input control OR to set a default font?

    I am a first-time user of the photo book application in iPhoto.
    I also was a first-time user, so I started using it. Exploring the possibilities, learning my way around.
    Thanks, in advance, for any suggestions someone might have.
    Click the ? icon
    Oops. Sorry, but you're in the wrong forum : iLife > iPhoto

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • How does attribute change run works for Aggregates and Master data?

    Hi
    Can anybody xplain how does the attribute change run works for Master data ?
    For e.g.
    There is 0spelling and it has master data
    On Day 1 there are 10 records
    day 2 it has 12 records
    so with attribute change run this 2 new records will get added....
    The values for this  12 records will added seperately in Data load
    Is this how it workss
    So how about Aggregates which has Master data.????

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • BAPI for to change two attributes of a bupa

    Hi!
    Someone knows the best BAPI for to change this attributes of a business partner?
    The SEND MEDIUM and Supplier Purchasing Data, where have the field of PO CURRENCY.
    I'v try to use some bapis, but no sucess.
    Tnx!

    Hi
    Seems like a bug in the system.
    <u>Please go through the SAP OSS Notes as well.</u>
    Note 667327 - BBPGETVD/BBPUPDVD: Transmission medium fax not transferred
    Note 790546 - ROS: Supplier currency is not updated
    Note 885458 - SRM partner maintenance: 'Add to invoicing party' is missing
    Note 799072 ROS: Releasing a supplier fails
    Note 916702 - ROS: Using the supplier directory to create a supplier
    Note 918510 Time dependency of the business partner as of SRM_SERVER 550
    Do let me know.
    Regards
    - Atul

  • How to change the text for the tabs of a tabstrip control dynamically

    Hi Guys,
        I am having two screens in a transaction.
    1. 1st screen has material number as an input and submit push button
    2. 2nd screen has two tabs in a tabstrip control.
        I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
    Thanks in advance
    James.

    Hi,
    If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
    For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
    Hope it helps

  • How to change the color for HTML words in JEditorPane?

    Hi Sir,
    In the JTextPane , we could change the word's color by using:
    Style style = doc.addStyle("test",null);
    StyleConstants.setForeground(style, Color.red);
    doc.setCharacterAttributes(10,20,syle,true);
    we can change the text into red color,which range is from 10 to 30.
    But how to change the color for HTML words in JEditorPane?

    Hi,
    you can use an AttributeSet to apply the foreground color. Let's say, doc is a HTMLDocument, then SimpleAttributeSet set = new SimpleAttributeSet();
    doc.getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D"); would apply a color to a given AttributeSet. The AttributeSet with your color then can be applied to a selected range of text in a JEditorPane by   /**
       * set the attributes for a given editor. If a range of
       * text is selected, the attributes are applied to the selection.
       * If nothing is selected, the input attributes of the given
       * editor are set thus applying the given attributes to future
       * inputs.
       * @param editor  the editor pane to apply the attributes to
       * @param a  the set of attributes to apply
      public void applyAttributes(JEditorPane editor, AttributeSet a) {
        ((HTMLDocument) editor.getDocument()).getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D");
        editor.requestFocus();
        int start = editor.getSelectionStart();
        int end = editor.getSelectionEnd();
        if(end != start) {
          doc.setCharacterAttributes(start, end - start, a, false);
        else {
          MutableAttributeSet inputAttributes =
            ((SHTMLEditorKit) editor.getEditorKit()).getInputAttributes();
          inputAttributes.addAttributes(a);
      } Ulrich

  • How to change the  attribute of screen field to drop down list dynamically

    Hi All,
      Col X                   Col Y
      A                        input field
      B                       drop down list
    This is a tabular disply where the Screen field attribute for Col y  is NO DROP DOWN BOX.
    My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
      COL X  dynamically.

    Dear Ajay,
    Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
    So depending on the 1st Column(Test no)  value ,i have to change the 3rd Column(Low.norm.result)
    property either to DROP Down or not.
    So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not  suitable for my case.
    Any solution available?

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

Maybe you are looking for

  • Why can't I find App Store or iTunes on my iPad Air anymore?

    I got this iPad Air as a late Christmas present this past Christmas. Up until this point, it's worked very well, but now nothing to do with the App Store can be found. Siri cannot see any app named AppStore or iTunes, the search cannot find anything

  • General Sales Register

    Hi Friends, Can anyone provide the Tables and fields for general sales register. this report we would like to take from billing document.This regiseter is for material items, not for service items. It would be more helpful for me if u can provide inf

  • Error message 'hold down the power button'

    Hi there, i was just sat with my macbook pro on my lap, surfing the web, when all of a sudden a grey filter filled the screen with a message telling me to 'hold the power button and turn it on again'. But whats unsual is my sister got the same messag

  • Subscriber keeps reporting Work order IN completed.

    We have a Zenworks 6.5sp1a site with 1 distributer and 15 subscribers on remote site's. One subscriber keeps reporting Work order IN completed / Receiving distribution...... / Received magic data length = 8 . This results in a very large TED.log, som

  • [svn] 1520: Bugs: BLZ-126

    Revision: 1520 Author: [email protected] Date: 2008-05-02 04:47:44 -0700 (Fri, 02 May 2008) Log Message: Bugs: BLZ-126 QA: Yes Doc: No Update secure channel definitions in the samples app to have add-no-cache-headers set to false. This will let the c