Modify the value date

Hi
can anyone help me out... after document posting in f-02... when i try to change the value date ie in fb02.. its not allowing me to change the value date...
thanx in adv

Hi,
     May be if you change the Field Status put a value date is a required to optional thru transaction code OBC4 and same way you will do posting key field status also optional thru transaction code ob41.
REgards,
Satya

Similar Messages

  • T.code F110 Created a proposal, could I modify the value date?

    Hi All,
    I need to create a proposal with tha value date successive to posting date....
    In particular, i wonder if, before running the payment i can modify the "value date" of the scheduled proposal  by hand.
    Thanks...
    Gandalf

    Hi Umberto,
    My understanding of your requirement is like this: When you make a payment to a vendor, it will be credited in his bank account say 2 days after the payment is generated in your system. Say if you have generated a payment document on 24th March, it will be credited to the vendor account on 26 th march. and you want to maintain the value date as 26th march in your payment document.
    If this is the requirement, maintain value date in FBZP settings, under bank determination, for the payment method/hosue bank and HB ID combination. You have to mention number of days to value date.
    Please let me know if this is your requirement

  • FB70: How t o modify the value of BSEG-XREF before posting?

    Hi ABAP Gurus,
    Good day!
    I would like to know the correct way to modify the value of BSEG-XREF1 in FB70 (Prior to posting of document).
    Currently, I have tried using substitution. First, I copied RGGBS000 into ZRGGBS000 AND added form u300, which will modify BSEG-XREF1.  Second, I have added a step to an already existing substitution (COGS), which was set-up in transaction OBBH.  I have assigned u300 to BSEG-XREF1 (Refernce Key 1).
    The said step didn;t seem to work.  I was able to post a document and then I displayed the document.  Unfortuantely, BSEG-XREF1 hasn't been modified. So,  I tried debugging the form U300.  It doesn't stop inside that form, which means the logic that i put there was useless. By the way, the the formname that Im using can be found in two internal tables: (1) exits, and (2) etab.
    Kindly advise on what to do.   Thank you very much!
    <b>Best Regards.
    Brando</b>

    Check this sample code which i've used to substitute the field BSEG-ZUONR
    Also ensure that the callup point in <b>OBBH</b> is 2
    Don't forget to attach ur <b>ZRGGBS000</b> to the application area <b>GBLS</b> in the tcode <b>GCX2</b>
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U102'.
      exits-param = c_exit_param_field.
      exits-title = text-101.           " Ship-to-Party to Assignment field
      APPEND exits.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES
    FORM u102 USING zuonr TYPE bseg-zuonr.
      bseg-zuonr = <value>.
    ENDFORM.

  • Modify the value of a cell in an ALV. Rewarding points.

    Hello Gurus, i am modifying the value of a certain cell in the internal table that is displayed in the ALV using the data_changed event, but when i refresh the ALV the values shown are the old ones.
    Help.

    Hello Ioan
    Unfortunately you do not explain you scenario clearly enough. Therefore I must do some speculations.
    You have an editable ALV list. The user can change data but not field USNAMECH which might be the user who changed the data.
    A big question is how the CHECK_DATA_CHANGED event is raised. Perhaps you have registered the EDIT event (method REGISTER_EDIT_EVENT). Then the scenario would look like this:
    1. User changes data and pushes the ENTER button.
    2. Since the EDIT event is registered this triggers event CHECK_DATA_CHANGED.
    3. In event handler method ON_DATA_CHANGED you enrich the changed data with the name of the current user.
    4. And now you need to push this data back to your ABAP.
    If this is your scenario then just trigger PAI from within your event handler method ON_DATA_CHANGED:
    METHOD on_data_changed. "xxx
           modify itab index mod_cells-row_id from wa_itab transporting USNAMECH disponibilrag.
              "CALL METHOD grid->refresh_table_display.
      CALL METHOD cl_gui_cfw=>set_new_ok_code
        EXPORTING
          new_code = 'DUMMY'
    *    IMPORTING
    *       rc =
    ENDMETHOD.
    MODULE USER_COMMAND_nnnn PAI.
      CASE gd_okcode.
        WHEN 'BACK'  OR
                   'EXIT'     OR
                   'CANC'.
          set screen 0. leave screen.
        WHEN 'DUMMY'.
    "  Do nothing here or perhaps call method:
    " CALL METHOD grid->refresh_table_display
    " Yet should not be necessary.
        WHEN others.
        ENDCASE.
    ENDMODULE.
    Regards
      Uwe

  • Can I modify the value of an enviroment entry for an EJB without having to re-deploy.

    I wish to modify the value of an envrioment entry for an EJB. The entry already exists and has been created using
    <env-entry>
    <env-entry-name>myFlag</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>true</env-entry-value>
    </env-entry>
    I can access the value using code similar to the following:-
    InitialContext initialContext = new InitialContext();
    String value = (String) initialContext.lookup("myFlag");
    However if I try the following:-
    InitialContext initialContext = new InitialContext();
    initialContext.rebind("myFlag", "false");
    I get an OperationNotSupportedException thrown.
    Do I need to use LDAP directly (rather than through JNDI) to modify this value or is there another / better way? If I do need to use LDAP directly what would the code look like ?

    Hi,
    As per J2EE specification:
    Naming environment entries allow customization of a component during deployment or assembly without the need to access or change the component?s source code. The container implements the naming environment, and provides it to the component instance through a JNDI naming context.
    The Deployer can modify values of environment entries that have been previously set by the Application Component Provider and/or Application Assembler.
    Generally only those variables/properties are set in environment entries which are likely to be different on various Application server configurations/installations, so it is not required/advisable to change these entries programmatically. Any way iAS-6.0/6.5 doesn't support changing environment entries programmatically, it binds all the JNDI names during Server startup after reading it from the registry.
    For your purpose you can use a boolean variable in your code to set your flag, and may be put it into session.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • Modify the Due Date in a GP Process

    Hello everybody,
    I need to modify the Due Date on a given Process. All I have is the Process ID, that i get from a Parameter in my function... I got some code form several pages in the SAP Library, but i get an error in the line:
              IGPProcessInstance procesInst = rtm.getProcessInstance(proc, userContext);
    In this line a GPEngineException is raised, Any help will be greatly appreciated!!!
    This is the Code I have:
         IUser user = null;
         IGPStructure params = null;
    //        Get current user
         try {
                   IWDClientUser wdUser = WDClientUser.getCurrentUser();
                   user = UMFactory.getUserFactory().getUserByLogonID(wdUser.getSAPUser().getName());
              //        obtain the Process template
                   IGPProcess process =
                   GPProcessFactory.getDesigntimeManager().getActiveTemplate(
              //        by specifying its ID
                   processId,
              //        and the user accessing it
                   user);
              //        obtain the Run Time Manager
                   IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
              //        create a new, empty role assignment list
                   IGPProcessRoleInstanceList roles = rtm.createProcesRoleInstanceList();
              //        get the number of roles required
                   int rolenum = process.getRoleInfoCount();
              //        iterate over the required roles
                   for (int i = 0; i < rolenum; i++) {
              //          add a new role assignment to the list
                    roles.createProcessRoleInstance(
              //          by specifying the role's unique name
                    process.getRoleInfo(i).getRoleName()).addUser(
              //          add the current user to every process role
                    user);
              //          Here you see how to populate parameters with data.
              //          This example only works, if you initiate the "Time-Off process"
              //          that is delivered per default with the GP Framework.
              //          You find it in the gallery below "Examples".
              //          Otherwise no parameters are initialized.
              String proc = processId;  // Got it as a Parameter
              IGPUserContext userContext =  GPContextFactory.getContextManager().createUserContext(user);
                               /* En Exception is Raised in this line: */
              IGPProcessInstance procesInst = rtm.getProcessInstance(proc, userContext);
              Iterator notifs = (Iterator) procesInst.getNotificationInstanceEnumeration();
              IGPNotificationManager notifManager = GPProcessFactory.getNotificationManager();
              while(notifs.hasNext())
                      IGPNotificationInstance notif = (IGPNotificationInstance)notifs.next();
                      if(notif.isDueDateNotification())
                                IGPDeadline deadline = GPNotificationFactory.createDeadline(
                                                                                         IGPDeadline.DEADLINE_ABSOLUTE_POINT,
                                                                                         null,
                                                                                         0,
                                                                                         (java.sql.Date.valueOf("2008-02-29")).getTime());
                                notifManager.updateNotification(
                                                                     proc,
                                                                     notif.getActivityInstanceID(),
                                                                     notif.getNotificationID(),
                                                                     deadline);
                    params = GPStructureFactory.getStructure(process.getInputParameters());
                    if (process.getTitle().equals("Time-Off Process")){
                         IGPStructure struc = params.addStructure("Time_off_data.1");
                         struc.setAttributeValue("AbsenceTypeText", "Vacation");
                         struc.setAttributeValue("SimulationCode", 0);
                         struc.setAttributeValue("CompletionCode", 0);
                         struc.setAttributeValue("PaidFlag", true);
                    params.setAttributeValue("data", java.sql.Date.valueOf("2008-02-28"));
              //          initiate the process template by passing the Process template
                    rtm.startProcess(process,
              //          a name,
                    "Process started by API ",
              //          a description,
                    "This process has been started by an API",
              //          the initiating user
                    user,
              //          the role assignment,
                    roles,
              //          the initial parameters
                    params,
              //          and the user actually executing this action
                    user);
          } catch (WDUMException ex) {
          logger.traceThrowableT(Severity.ERROR,
          "Current user could not be resolved: ", ex);
          } catch (GPInvocationException ex) {
          logger.traceThrowableT(Severity.ERROR,
          "Exception raised when trying to start process: ", ex);
          } catch (GPEngineException ex) {
          logger.traceThrowableT(Severity.ERROR, "Exception raised when trying to start process: ", ex);     
         catch (UMException ex) {
         logger.traceThrowableT(Severity.ERROR,
         "Exception raised when trying to start process: ", ex);
    Edited by: Francisco Perez on Mar 10, 2008 3:41 PM

    Hello All,
    You can change the deadline of a Due date notification of an process as given below:
               IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager();     
               String process = executionContext.getProcessId();
               IUser admin =   UMFactory.getUserFactory().getUserByUniqueName("administrator");
               IGPUserContext userContext =  GPContextFactory.getContextManager().createUserContext(admin);
               IGPProcessInstance procesInst = rtManager.getProcessInstance(process,userContext);
               Iterator notifs = (Iterator) procesInst.getNotificationInstanceEnumeration();
               while(notifs.hasNext())
                    IGPNotificationInstance notif = (IGPNotificationInstance)notifs.next();
                    if(notif.isDueDateNotification())
                        IGPDeadline deadline = GPNotificationFactory.createDeadline( IGPDeadline.DEADLINE_ABSOLUTE_POINT,null,0,(new Date(108,2,1)).getTime());
                        notifManager.updateNotification(process,notif.getActivityInstanceID(),notif.getNotificationID(),deadline);

  • How to forbidden the appover to modify the plan data

    HI.
    I use a bottom-up planning session, After the planner enter the forcast data, he sends it to appover. My current requirment is to forbidden the appover to modify the forcast data that is entered by planner. But from STS, the appover can jump to the planner's input layout and modify it.
    Can any one give me some hint?
    Best Regards.
    Alex

    Hi
    You can use versions to differentiate between the data.
    Say planner at lower level, plans data with version W - working version
    When approver opens layout allow him to only see data with version W
    using comparison coloumns.
    but when he uses STS, use different layout altogether which uses say version
    E - edited version and he can plan on this data.
    E version layout should copy the data from version W on opening of layout.
    This would in turn mean lot of data records in the cube. But you might be able to achieve your requirement.
    Hope this helps.
    Thanks
    Vidya.

  • Modify the value of the primary key...

    Hi all,
    I have made a mistake in the design of the table......
    and it is too late to get it changed....
    I have set the wrong field as primary key...
    These fields (keys) need to be modify , since i ve set it as a key, when ever modify those fields using
    "MODIFY ZTABLE VALUE INT_TABLE . ", it create a new row into the table because i change the primary key value. Using "UPDATE ZTABLE ....." it doesnt works because the key's value has changed.
    Thank you very much friends...

    Hi Wong,
    If the primary key value does not exist then MODIFY statement creates a new record and if exists it modifies(updates)...
    So better change the Table Primary key and try to reapeat u r code...
    For changing the primary key just goto SE11 and just check the primary key which  u want to assign and uncheck the preivous one ( make sure the primary key on to first line) then save it and before activating goto<b> Utilities --> Database Utility --> activate and adjust database</b>
    Now u r table is activated without deleting previous data also...
    Regards,
    Sridhar

  • Modifying the value of the line selected

    Hi Experts,
    Iam writing a ALV report , In which the basic list displays the values some thing like this
    MateriaNumber   Quantity
    10                      50
    Now my requirement is when when i click on this line i need to change the quantity , and the changed quantity needs to reflected in the secondary list
    I know how to use modify current line ,but i guess it is used only for simple list and not for ALV
    Can any one help me out with this
    Thanks a Lot in Advance...

    Hi,
    1) use event HOTSPOT_CLICK of cl_gui_alv_grid
    2) when user clicks, in your handle_htospot_click method change the value in the list and refresh it with REFRESH_TABLE_DISPLAY
    3) then when ALV has already new value, in the same handling method implement your logic with detailed list and display it
    or
    3) write another method which will use DATA_CHANGED_FINISHED event and after refreshing the list use this method (will be called after data in alv has changed) and provide your detailed list.
    That's it
    M.

  • How to modify the some data which is in German words along with the english

    I have a file which contains some German words among English sentences in the flat file. I am trying to convert them using BDC but It has been showing some special characters like * or ? in the sap system.
    How can I modify the German words at the time of transferring and After transferring they should be in the same German format only.
    Please help to get it asap.

    dont change anything in the code
    log onto SAP  in GERMAN language ..then run ur BDC ... let ur flat file content remain same .....
    ur german charaters will be reflceted ..once BDC is finished...
    try & let me know
    otherwise i have other solutin

  • Strange Behavior in modifying the values in VO

    I have a VO based on EO from a custom table. The query is something like:
    select EO.x, EO.y, (EO.x*EO.y) xy from EO
    I have displayed the values from this VO on to a table in OAF page. All the columns are messageTextInput but the third column (xy) is read-only. I have written a fireAction to execute when x or y values are changed to update the xy value accordingly.
    Code in CO:
    if ("ValueChange".equals(pageContext.getParameter(EVENT_PARAM)))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("UpdateXY");
    pageContext.forwardImmediately(<Same Page>, null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    Code in AM:
    public void UpdateXY()
    xxVOImpl vo = getxxVO1();
    Row r = vo.first();
    while (vo.hasNext())
    r = vo.next();
    Object X = r.getAttribute("X");
    String X_string = X.toString();
    float X_value = Float.parseFloat(X_string);
    Object Y = r.getAttribute("Y");
    String Y_string = Y.toString();
    float Y_value = Float.parseFloat(Y_string);
    Float XY = new Float(X_value*Y_value);
    r.setAttribute("XY",(Object)XY);
    The problem is as follows. During the first time I try to update a value, the control goes through the logic and returns to the page but the XY value is not updated. But if i change a second value and tab out, the codes works and displays both the updated values of XY. From then on, the code is working fine.
    I'm also not updating the first row and so I didnt perform any logic in AM for the first row.
    Please help me out in finding out the reason for this strange behavior.

    This nature is fine, basically initially your EO x and y columns are null and unless you do a commit, these values don't go in db. The third column will take x and Y coumns values from db and multiply and will get null.
    To solve this issue, you get the values from VO columns x and y in PPR and and put x*y in the third column of Vo, IN THAT ROW.or you can directly get hold of the bean which hold the value of x*y and use setValue after getting x*y.
    ---Mukul

  • How Do I Open The Excel Spreadshee​t And Modify The Cell Data

    How can I change the cell content in specific excel spreadsheet with ActiveX control? I am using LabVIEW7.1

     you can open the excel file using Active X . The procedur to open the excel file, will get in the examples. There is an ready made Vi. for that.
    Then select the properties Cell in active X, and you can change the cell data by doing some modification in that vi. i hope it will help you.

  • Adding or modifying the Release date on MUSIC

    I like to create play lists based on when the music was released. Many of my songs do not have a release date and I have been unable to find a way to enter the correct dates.
    It would also be nice if the smart playlist would include the release date field for sorting.
    The year field is a mystery to me. I have albums that by default say 2001 when the album was released in the 70's. I assume this is the year it was made available to Apple.

    The release date field annoyingly cannot be edited without using an external application. Using tagging software such as Musicbrainz Picard will achieve this, but updates all of the tracks metadata with that in the Musicbrainz database. You can read more about Musicbrainz here:
    http://musicbrainz.org/
    Alternatively, try an app like Kid3 Tag Editor to manually edit release date and other tags:
    http://sourceforge.net/projects/kid3/
    The reason the year tag is wrong for older releases is because it is the release year of the particular reissue rather than the original release year. So, for example, The Beatles 2009 remasters would have '2009" in the year tag.

  • Query the value (data) #

    Hello,
    Current we are using oracle forms 10g R2.
    In my database in a table in a particular column for some rows i have value as *#*. In the forms at run time i want to query those rows by entering *#* in that column in enter-query mode.
    If i give *# like '#'* in field in enter-query mode it’s querying the records. But i want to make it in such a way to query only giving value as # in that field.
    Please suggest any way to overcome this forms default behavior.
    Thanks in advance.
    Balaji M

    Try the following in the Pre-Query trigger of the Block :
    IF :BLOCK_NAME.ITEM_NAME = '#' THEN
    SET_BLOCK_PROPERTY ('BLOCK_NAME', DEFAULT_WHERE, 'ITEM_NAME = ''#''');
    :BLOCK_NAME.ITEM_NAME := NULL;
    ELSE
    SET_BLOCK_PROPERTY ('BLOCK_NAME', DEFAULT_WHERE, '');
    END IF; Note : ITEM_NAME is a field in the block and a column in the table on which the block BLOCK_NAME is based on. Please check the ELSE part above that is required as well.
    Edited by: Arif Khadas on Sep 20, 2010 11:28 AM

  • Can't be modify the value of window.event.keyCode in IE 11(Windows 7 Premium) where as in IE 8 (Windows XP) its working fine

    The following is the sample code whcih I have used to check.<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Sample Form</title>
    <script type="text/javascript">
    function keyDownEvent() {
    alert("KD:"+window.event.keyCode);
    window.event.keyCode=0;
    alert("KD:"+window.event.keyCode);
    function keyPressEvent() {
    alert("KP:"+window.event.keyCode);
    window.event.keyCode=0;
    alert("KP:"+window.event.keyCode);
    </script>
    </head>
    <body>
    <form>
    <input type="text" onkeydown="keyDownEvent()" onkeypress="keyPressEvent()" />
    </form>
    </body>
    </html>
    Kindly post your answers, am waiting for answers...

    This is the TechNet Forum for questions regarding
    Internet Explorer 8, 9, 10, 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions.
    For better assistance please ask for help in the MSDN
    IE Development Forums.
    Thanks & Regards,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

Maybe you are looking for