VOFM - Vales not getting changed in the Screen

Hi,
I am working on the VOFM routines and want to change the condition value for gross price using the same.
I have created the routine number 600 in the application V1.
I have put a breakpoint in the routine which is getting triggered. But when I try to change the value of the variable XKWERT, the
same does not reflect in the screen and it still shows the original condition value.
I read many posts on SDN and tried those suggestions, but in vain. What could be the possible reasons for the same.
Regards,
Sagar

Hi Madhumahesh,
Thanks for the reply. Please find below the code:
DATA :  lv_kwert TYPE kwert.
FIELD-SYMBOLS : <lfs_xkomv> TYPE KOMV_INDEX,
                <lfs_tkomv> TYPE KOMV.
*calculate the value of Excise Duty
  CALL FUNCTION '/BGT/ED_PRICING_PURCHASE'
    EXPORTING
      i_komk        = komk
      i_komp        = komp
   IMPORTING
      e_wert        = lv_kwert.
  IF lv_kwert IS NOT INITIAL.
    xkwert = lv_kwert.
*modify XKOMV
    LOOP AT xkomv ASSIGNING <lfs_xkomv> WHERE kschl = 'ZI11'.
      <lfs_xkomv>-kwert = lv_kwert.
   ENDLOOP.
*modify TKOMV
    LOOP AT tkomv ASSIGNING <lfs_tkomv> WHERE kschl = 'ZI11'.
      <lfs_tkomv>-kwert = lv_kwert.
    ENDLOOP.
    UNASSIGN : <lfs_xkomv>, <lfs_tkomv>.
ENDIF.
But after coming out of "Condition Value formula", these values are overwritten by the standard SAP code (as described above in earlier posts- by RETTKOMV in Include LV61AA55).
Kindly let me know what I'm missing in my code.
Awaiting for your valuable response.
Best regards,
Anurag Khanna

Similar Messages

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • AR Invoices not getting changed to the status Close

    Hi,
    The AR - Invoices are not changing the status - from 'open' to 'close' even after applying the receipts aganist the invoices.
    Kindly advice what could be the problem or any functional setup should be done to change the status.
    Thanks
    Ramya Nomula

    Hi,
    Do you mean ra_customer_trx_all.status_trx or ar_payment_schedules_all.status?
    If you mean the first one, it is not supposed to be changed when the invoice is totally paid.
    When the balance goes to 0, AR changes the column status in ar_payment_schedules_all. According to AR user guide, you can use ra_customer_trx_all.status_trx to define your own approval system.
    Regards,
    Ketter Ohnes

  • HT204053 My I tune I'd is not getting changed as the old e mail is out service.

    My old e mail I'd  is not provided by service provider at present.therefore I have changed my e mail I'd and entered it to Apple services.
    The iTunes doesnot accept the same and on downloading it comes out with the old  e mail I'd and doesnot accept any password.

    If you updated your existing account then try logging out of it on the iPad by tapping on the id in Settings > iTunes & App Stores (Settings > Store if it's not on iOS 6) and then log back in and see if that 'refreshes' the account on it.

  • Drop down vales not getting populated all the records

    Hi,
    I have the scenario. Drop down has the values. But it is getting populated for only one record. Second record drop down is there, but values are not there.It is blank from second record.
    Thanks
    GJ

    Hi ,
    Sorry for the confusion.
    I am working on xml schema offline scenario. I have 10 line items. It has one drop down list. I have populated the value in drop down. But in the first item drop down list, the first value is appearing as deafult one. From the second line item onwards, it is not appearing as default value. When you dropped down on the list, I can see all the values. I want all the drop down list, the first value should be appear as default value.
    Thanks
    GJ

  • OLM Courses uploaded thru API not getting displayed on the screen

    Hi All,
    I am new to OLM. I am working on Oracle Apps EBS 11.5.10.2.
    I have uploaded a list of courses using Oracle provided API (OTA_ACTIVITY_VERSION_API.CREATE_ACTIVITY_VERSION) and it got successfully uploaded into the base tables.
    But I am unable to see those uploaded course on the --> Learning Administrator responsibility >Catalog screen.
    Kindly give your inputs so as to resolve the issue.
    Thanks and regards,
    Ahmed.

    Hi user629449 ,
    Can you share the (OTA_ACTIVITY_VERSION_API.CREATE_ACTIVITY_VERSION) API you wrote and lets see the API and what could cause the error.
    This will make it easy to learn and resolve.
    Best Regards

  • Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Battery , time , signal strength bar is not getting displayed in home screen , these will be displayed only when i click on any app. Can u let me know the setting change ?

    Did you check the Zoom setting?
    Have you tried a reset (reboot)? Hold HOME and SLEEP until an Apple logo appears.
    If it isn't Zoom and a reboot doesn't help try Settings/General/Reset - Reset all settings

  • OS X Server Error: No existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    Editing any user profile, when I try to save the change I get the error: no existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    This is also being disucssed somewhere else https://discussions.apple.com/thread/5486117. I have the same problem, sorry i can't help.

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

  • I am trying to manage my "Location Services" on my iTouch but the device does not allow me to make changes. The screen is muted indicating that changes cannot be made. Anyone experience something similar?

    I am trying to manage my "Location Services" on my iTouch but the device does not allow me to make changes. The screen is grayed-out indicating that changes cannot be made. Anyone experience something similar?

    Do you have any Restictions set? (Settings>General>Restrictions)

  • When i open the organizer for elements 12 on my mac...i can not get to top of screen....help

    when i open the organizer for elements 12 on my mac...i can not get to top of screen....help

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • I tired to erase the settings of my iphone 4g but its not getting turned. On screen I can see apple logo

    I tired to erase the settings of my iphone 4g but its not getting turned. On screen I can see apple logo

    You asked in your first post if you can legally use this iPhone.
    The answer is, almost definitely, no, you cannot.  In many jurisdictions, failing to turn in found property over a certain value is called theft by finding.  Your Aunt should have turned it in to local law enforcement.  I have no way of knowing if Chinese law actually allows for property to be kept if it is found like that, but that's beside the point in this situation.  It's not your iPhone.  You didn't pay for it.  The true owner enabled protections on the device, including Activation Lock.
    Apple will NOT assist you with disabling the Activation Lock.
    You have a useless paperweight.

  • HT1688 Hi, my iphone power button doesnt work. Its not turning off and is getting hot since the screen is not turning off.

    Hi, my iphone power button doesnt work. Its not turning off and is getting hot since the screen is not turning off.

    Use the assistive touch controls
    General  >. Accesabilty >> assistive touch

  • I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, until the next time I need to use it and it does not get recognized again. Is there any fi

    I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, starting the vicious cycle again: i need to use the password, it does not get recognized three times, then the system asks me to change it again, and again, and I am stuck!! Is there any fix for this "glitch?

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • Batch Classification Values not getting changed

    Hi Gurus,
    I am using the following bapi ( BAPI_OBJCL_CHANGE ) to change Batch classification values Eg: Cut clarity etc.
    when i pass these values thru the function module in the program it is not getting changed while when i change it through msc2n it gets changed successfully...
    I have passed the following values in the parameters of the bapi :
    OBJECTKEY            = v_objectkey          
    OBJECTTABLE        = 'MCH1'          
    CLASSNUM             = V_CLASSNUM 
    CLASSTYPE           = '023'
    KEYDATE                = 30.04.2010
    ALLOCVALUESCHARNEW
    CHARACT = CLARITY
    VALUE_CHAR =  P040
    VALUE_NEW   = P040.
    Can some one help me solve this....
    Needed urgently..
    Edited by: NAVIN FERNANDES on Apr 30, 2010 12:31 PM
    Edited by: NAVIN FERNANDES on Apr 30, 2010 12:32 PM

    Hi Jacky,
    I am posting the code here.. Do let me know if u have ne queries:
    REPORT  ZNAVBATCH.
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS: P_MATNR TYPE MATNR,
                P_CHARG TYPE CHARG_D,
                P_WERKS TYPE WERKS_D,
                P_LGORT TYPE LGORT_D.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      DATA: WA_BATCH TYPE BAPI1003_OBJECT_KEYS,
            WA_ALLOCCHAR TYPE BAPI1003_ALLOC_VALUES_CHAR,
            WA_ALLOCVAL TYPE BAPI1003_ALLOC_VALUES_NUM,
            INT_BATCH TYPE STANDARD TABLE OF BAPI1003_OBJECT_KEYS,
            INT_RET1 TYPE STANDARD TABLE OF BAPIRET2,
            INT_RET2 TYPE STANDARD TABLE OF BAPIRET2,
            INT_RET3 TYPE STANDARD TABLE OF BAPIRET2,
            LV_KEY TYPE BAPI1003_KEY-OBJECT,
            INT_ALLOCVAL TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_NUM,
            INT_ALLOCCHAR TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_CHAR,
            INT_ALLOCCURR TYPE STANDARD TABLE OF BAPI1003_ALLOC_VALUES_CURR.
      WA_BATCH-KEY_FIELD = 'MATNR'.
      WA_BATCH-VALUE_INT = P_MATNR.
      APPEND WA_BATCH TO INT_BATCH.
      WA_BATCH-KEY_FIELD = 'CHARG'.
      WA_BATCH-VALUE_INT = P_CHARG.
      APPEND WA_BATCH TO INT_BATCH.
      CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
        EXPORTING
          OBJECTTABLE    = 'MCH1'
        IMPORTING
          OBJECTKEY_CONC = LV_KEY
        TABLES
          OBJECTKEYTABLE = INT_BATCH
          RETURN         = INT_RET1.
      IF SY-SUBRC = 0.
       WRITE: 'SUCCESSFUL'.
        CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
          EXPORTING
            OBJECTKEY              = LV_KEY
            OBJECTTABLE            = 'MCH1'
            CLASSNUM               = 'ZTBATCHCHR'
            CLASSTYPE              = '023'
            KEYDATE                = SY-DATUM
          UNVALUATED_CHARS       = ' '
          LANGUAGE               = SY-LANGU
        IMPORTING
          STATUS                 =
          STANDARDCLASS          =
          TABLES
            ALLOCVALUESNUM         = INT_ALLOCVAL
            ALLOCVALUESCHAR        = INT_ALLOCCHAR
            ALLOCVALUESCURR        = INT_ALLOCCURR
            RETURN                 = INT_RET2
        IF SY-SUBRC = 0.
          WRITE : 'SUCCESSFUL'.
          READ TABLE INT_ALLOCCHAR INTO WA_ALLOCCHAR WITH KEY CHARACT = 'CLARITY'.
          IF SY-SUBRC = 0.
            WA_ALLOCCHAR-VALUE_CHAR = 'C02'.
            WA_ALLOCCHAR-VALUE_NEUTRAL = 'C02'.
            MODIFY INT_ALLOCCHAR FROM WA_ALLOCCHAR INDEX SY-TABIX TRANSPORTING VALUE_CHAR VALUE_NEUTRAL.
          ENDIF.
          CALL FUNCTION 'BAPI_OBJCL_CHANGE'
            EXPORTING
              OBJECTKEY                = LV_KEY
              OBJECTTABLE              = 'MCH1'
              CLASSNUM                 = 'ZTBATCHCHR'
              CLASSTYPE                = '023'
             STATUS                   = '1'
             STANDARDCLASS            =
             CHANGENUMBER             =
             KEYDATE                  = SY-DATUM
             NO_DEFAULT_VALUES        = ' '
           IMPORTING
             CLASSIF_STATUS           =
            TABLES
              ALLOCVALUESNUMNEW        = INT_ALLOCVAL
              ALLOCVALUESCHARNEW       = INT_ALLOCCHAR
              ALLOCVALUESCURRNEW       = INT_ALLOCCURR
              RETURN                   = INT_RET3
          IF SY-SUBRC = 0.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
               WAIT          = 'X'
            IMPORTING
              RETURN        =
            IF SY-SUBRC = 0.
              WRITE: 'SUCCESSFUL'.
            ENDIF.
          ENDIF.
        ENDIF.
    ENDIF.

Maybe you are looking for

  • Unable to setup fixed number of report columns based on a dynamic query

    Hi guys, I need to find a way to replicate below output. Unfortunately it cannot be done using the column group feature due the fact it will create not so many rows as I need. In the below case it would create only four columns. I need 10 columns. Ba

  • Upgradephase: PREPARE, problems in IS_SELECT

    Hello, we are doing an upgrade from 4.6C to ECC 6.0 Now just during Prepare in phase IS_SELECT we ran on a problem. Prepare found an addon ST 02C (I admit that's really an old one). But the "delete" option is not available. In case we do nothing, pre

  • Default value for af:richTextEditor

    Hi Whenever nothing is written in af:richTextEditor null is displyed on screen. Is there any way to specify, black space or any default value if nothing is entered in af:richTextEditor. I tried doing it with required="true immediate="true" but in my

  • Reload and return to tab 3 in tabbed panel

    The code as below is in Tab 3 for a tabbed panel on a page. When I click NEXT/PREVIOUS, it will reload the return to same page tab 1. But, I wish it return to tab 3 on the same page. but, I have no idea how to make it. <?php $maxPage = ceil($numrows/

  • Install Oracle E-Business Suite Release 12.1.1 Media Pack to Windows Server

    Hi, I am completely new to Oracle - I have used My SQL in the past and I am coming from a windows Background. I have just downloaded Oracle E-Business Suite Release 12.1.1 Media Pack for Microsoft. Now this has gave me about 30+ Zip folders - how do