Field value not updated in Dialog Programming

Hi experts
          My problem is when i change the field value in dialog programming, the text value is not updated, its showing the same value what exist in database.
   I have done coding as follows, what i need to change in coding, Pls give me the suggestion.
PROCESS BEFORE OUTPUT.
MODULE STATUS_1200.
PROCESS AFTER INPUT.
CHAIN .
    FIELD :  zrecpt-zrno.
    MODULE vali_zrno ON CHAIN-INPUT.
  ENDCHAIN.
module header_data10.
MODULE STATUS_1200 OUTPUT.
    SET PF-STATUS 'ZRECT'.
    SET TITLEBAR 'ZRECT'.
ENDMODULE.              
MODULE vali_zrno INPUT.
if zrecpt-zrno  is not initial.
    select single * from zrecpt
                    where zrno = zrecpt-zrno.
endif.
ENDMODULE.
MODULE header_data10 INPUT.
CLEAR : it_zrecpt.
  REFRESH : it_zrecpt.
  MOVE-CORRESPONDING zrecpt TO it_zrecpt.
  APPEND it_zrecpt.
ENDMODULE.
Thanks in advance.
Regards
Rajaram

Hello...
IN PAI,,
You were not updating into any database..
you were just appending to an internal table...
now either move the internal table values to the database ...
or you can simply move from the values entered...[text boxes ]
pls chk.....

Similar Messages

  • Custom fields values not saved in AUFK using bapi_alm_order_maintain

    Hi ,
        We have a requirement where we have to update the custom fields in enhancement tab of IW31 using bapi_alm_order_maintain.
    We are able to get the successful creation of work order ,but the custom fields are not updated in enhancement tab aswell in aufk table. We are passing values in below table of bapi.
    EXTENSION_IN
                STRUCTURE           =  CI_AUFK
                VALUEPART1        =  '20091223' .
    Please provide the solution.

    Hi Phani,
    May be these links are helpful:
    BAPI extention to work order aiming AUFK custom field filling
    Update custom fields in MARA (BAPI_MATERIAL_SAVEDATA)
    Also search sdn using the BAPI function module, you may get some idea.
    Regards,
    Swarna Munukoti

  • Statistic condition values not updated during Sales order Settlement

    Hi,
    In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
    We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
    For this purpose we have created one COPA Assessment Cycle.  Tracing factor is Sales Revenue and receiver is Materials.
    In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
    For this reason we have created one new statistic condition type,  what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
    Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
    So is it possible update during sales order settlement time statistic condition values.
    Please give me suggestion.
    Regards,
    Thiru

    Hi Ajay Sir,
    As you said is correct.
    But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field.  System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
    Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
    Please suggest me is there any alternative.
    Regards,
    Thirumalesh .

  • Contract value not updated in open order value of credit management

    My requirement is i have created the contract and activated the credit management by assigning credit  group to contract document type, In item category the credit is active and in pricing subtotal is also assigned .
    But when i create the contract , the open order value is not updated .
    i do not want the credit to be active at order level.
    Dear guru's
    please let me know where i am going wrong
    thanks in advance

    hi,
    open sales orders value not updating currectly in sales value of CM
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CreditmangementIn+SD-FI
    i think you have to run a report which is under the link number 1.
    regards,
    balajia

  • Nokia E52 Message Sender Name Field is not updated...

    Nokia E52 Message Sender Name/Field is not updated automatically on Firmware 054.003!
    Issue 1: Message Sender Name/Field is not updated automatically after changes made in contacts.
    e.g. Message send by Mr. A is displayed in inbox, however when same contact changed to Mrs. AB in contacts does not update sender name/field inside inbox. Sender name remains Mr. A physically on handset. However the changes made to contacts and Message Sender Name/Field is updated automatically on use of Nokia PC Suite 7.1.60.0 and Nokia Ovi Suite 3.0.0.290 but not on phone. 

    Thanks for sharing the answer here, it is really helpful for others with the similar issue.
    Qiao Wei
    TechNet Community Support

  • Subscription value not updated despite payment made days ago

    Please help this is frustrating have been waiting for 3 days now payments have been made but subscription value not updated on skype account 

    Hello and welcome to the Skype Community.
    You have totally different issues. ALWAYS start your own topic please.
    1.0. Philippines Subscription.
    Your account shows that you have used your full minutes allocation in your current billing cycle and your next minutes will be added to your account when your next billing cycle starts on July 17th 2015.
    Renewing your monthly Subscription before your billing cycle ends has no effect on the date upon which your minutes allocation will be added to your account.
    To continue calling until your next minutes allocation is applied to your account please purchase either a Subscription but with a different amount of minutes or Skype Credit.
    2.0. Your account shows that you are calling a cellphone in Austria. Please note that only calls to landlines in Austria are included in the Unlimited World Subscription.

  • Field value not getting updated in R/3

    Hello Experts!!
    I am facing a problem while updating a field value back in R/3.
    The Syncbo is of type U01 and the field has data type char 40.
    The meRepMeta.XML file has following description
    Field name="DESCR1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
    <Input type="modify">false</Input>
    1) when i test the function module in R/3. The field value is gets updated.
    2) when i create a record for the sync BO from client , i can see the field value being created on the client.
    3) when i synchronize, i dont get any error or warning and get a successful message.
    S        15.07.2008 12:19:09 All updates for one TOP block were successful (seq. no.=65, TOP cntr.=0000000001)
    15.07.2008 12:19:09 Synchronizer UPLOADER completed successfully (mobile ID=0000002646, SyncBO=ZDBMSERORD)
    I am not able to locate where is the problem
    Please suggest!!
    Regards,
    Priya Ghosh

    Hi,
    please check your maping in the create handler in MEREP_SBUILDER. Perhaps the value is created on the client but not mapped to the field of the function module. Furthermore have a look into MEREP_MON and see if the data gets forwarded in there.
    At last I would dump the information received by the function module into a table without any logic. So you can see what data actually is forwarded into the funct module - if brake point i not possible.
    Hope this helps.
    Regards,
    Oliver

  • Aggregate value of a transient field is not updated from cache

    Hello together,
    A view object has a transient field which display the count of records from a view accessor. In the EO for the view object ( of the view accessor) opearations on rows are perfomed from a different view object, this changes are not reflected in the transient field value.
    I know is not very clear,here is sample:
    Woker VO
    -Worker EO
    Worker2Department VO
    -Worker2Department EO
    Department VO
    -Deparment EO
    -workerCount: WorkersCounterViewAccesor.count("WorkerID")
    WorkerCounter VO
    -Worker EO
    -Worker2Department EO
    attribute binding: DepartmentID
    If from Worker2Department records are deleted or inserted, the value of workerCount is not updated.
    I've try to executeQuery on each view object,without success. I've notice that the WorkerCounter VO is having always the same records count after Worker2Department VO is updated.
    If the method getDBTransaction().postChanges() is invoked, then the data is correctly fetched but then there are different other problems, and i would like to avoid using of postChanges().
    My question is: why when rows are inserted/removes into/from a view object the changes are not visibile on different view objects declared for the same entiy object? Or how to make sure that the changes from an entity object are reflected in each view object that are using it?
    Thank you a lot,
    Bogdan

    Hi,
    If you place the 0WBS_ELM_EX  in the ODS ,either in the key field or in the data field , you can find it as a charecteristic in the report and you can drag it into the rows.
    To reflet the changes that you made to the masterdata , you need to run the attribute change run every time you load the data .
    regards,
    haritha

  • Value field does not updated in COPA Billing

        Hi,
    We are facing one issue in COPA.
    We are created one Condition type ABC, this condition type we have selected the check box for Accruals in control data 2 ,then we are created one Account key 123 , in pricing procedure we have assigned this one ABC condition type to accrual account key 123.Then Vkoa setting in TAble one customer/mat/ acckey combination we have assign one g/l like transfer cost with (11 cost element) in provision for accrual column.
    COPA side setting as been done :
    step 1: user defined value field like NMR and this value field is assign in ke4i with respective condition type ABC  value filedNMR.
    We are generated the billing document.in a/c document is below entry.
    Customer a/c dr 10
    Trasnfer Cost a/c dr 1
       To Cost on sales a/c 11-
    Above one 1 rs in coming in condition records in billing document.But In COpa document  my revunue is 10 rs with value filed, NMR  value filed  amount "1" is not updated.
    Note :above condition type ABC  we are not selecting the statistical check box  in Pricing procedure
    Please give me suggestion.
    Regards
    Reddyrrreddr

    Hi Reddy
    As far as I understand, any GL Account maintained in VKOA under provision column will not flow to COPA, be it B/S 8754 or P/L 4567.
    The GL mapped under G/L Account column would essentially flow to COPA. Therefore in your case, values posted to GL 1234 should flow to NMR Value field through SD Condition type ABC.
    I dont have access to system so can you check below options:
    1) Once you had done KOFK, did you create the cycle from scratch to evaluate the results. If so and if its still not working, can you please share with us the output of the KEAT and / or KE4ST report for the billing document, posted to accounts.
    2) Also check in the pricing procedure, if you set an account key under accruals column, then in VKOA, you need not have to mention seperate GL under Provision Column. Just maintain the GL account under "G/L account" column for each Account keys (4 records with KOFI & KOFK)
    3) If above also doesnt help, test if removing the check from Accruals in the ABC Condition type configurations really helps, in which case you may need to maintain GL under provision column.
    Will explore more options and will revert back hopefully by tuesday.
    Hope it helps
    Regards

  • ITS templates - checkbox value not updated

    Hi,
    I am experiencing a problem with checkboxes in my Internet Service (similar to problem described in forum: checkboxes in ITS (again) ).
    The checkboxes are inside a table (step-loop) and is blank by default. If the user selects the checkbox, the value is cleared after user input.
    I executed the dialog program and it is fine.
    The generated service template was modified to accommodate the step-loop. I'm using the SAP_TEMPLATE tags for the WEBGUI look & feel.
    To set the checkbox parameter according to the user's input, should an if-statement be inserted in the code or should I use the parameter "onclick" with a javascript function?
    I inserted an if-statement but it doesn't work.
    Here's my code:
    `SAP_TemplateTableBegin(title="Some title:", type="SAP_WEBGUI")`
    `if ( IT_BEHAV-DESCR.dim > 0 )`
    `repeat with j from 1 to IT_BEHAV-DESCR.dim`
      `SAP_TemplateTableRowBegin(isSelectable="X")`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")`   `IT_BEHAV-DESCR[j]` `SAP_TemplateTableCellEnd()`
    <b>   `if (IT_BEHAV-SELECT[j].selected)` checked `end`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`")` </b>           
        `SAP_TemplateTableCellEnd()`
              `SAP_TemplateTableRowEnd()`
             `end`
           `end`
         `SAP_TemplateTableEnd()`
    If the check on the value of the checkbox is performed within SAP_TemplateSimpleCheckbox tag (e.g. <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if (IT_BEHAV-SELECT[j].selected)` checked `end`"
    )`</b>  ),
    the checkbox values are still not updated.
    My Business HTML and Javascript is not very good, please help.
    Your assistance will be much appreciated.
    Regards
    Liza-Marie

    Hi,
    I tried
    `if (IT_BEHAV-SELECT[j]=='X')`checked`end`
    but it is still not working. I am not sure <i>where</i> it should be inserted...? I added it inside the checkbox tag as follows:
    <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if(IT_BEHAV-SELECT[j].selected)` checked `end`")`</b>
    as well as before and after this tag, without results.
    The tag SAP_TemplateSimpleCheckbox has the parameter <i>onclick</i>. I suppose this can be used to call a javascript function to control the checkbox values. I'm currently investigating this option, not that my javascript is any good!
    If the input fields of length 1 is used inside the loop, would it still work like a checkbox? I mean, can the user input any character? Do you perhaps have example code for this?
    Unfortunately I cannot debug on the ITS at this stage since I dont have access to the ITS server and it would take too long to get access or arrange for debugging to be set up.
    Thanks for the help so far!
    Regards
    Liza-Marie

  • Set Default Values in Listbox with Dialog Programming

    Hi all,
    I am stuck with a problem i.e  I am working with Dialog Programming Screen
    where i have to set default values in some n numbers of Listbox which i have created on Screen.
    This default value is needed to be fetched from database table.
    I am using single table. Hence no confusion that i have to first fetch data from 1st listbox then corresponding data is fetched into second & so on ..NO NO This is not required.
    Simple one screen which will update a table in database, where  some fields on the screen needs to be default set as per tables domain default values set while table creation.
    Please help me out in this.
    Thanks & Regards,
    Sandhya.

    Please search SDN, before you post a new forum from next time... any ways just follow the below code..
    u need to use the FM 'VRM_SET_VALUES' to implement list box in module pool. Check the below code. u have to write this code in PBO..
    if c = 0.
    select land1 landx from t005t into table wi_country.
    sort wi_country by land1.
    delete adjacent duplicates from wi_country comparing all fields.
    loop at wi_country.
    wa_ctry-key = wi_country-land1.
    wa_ctry-text = wi_country-landx .
    append wa_ctry to wi_ctry.
    endloop.
    call function 'VRM_SET_VALUES'
    exporting
    id = 'ZCUST_MASTER1-COUNTRY'
    values = wi_ctry
    exceptions
    id_illegal_name = 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.
    c = 1.
    endif.
    Hope this helps u,
    Regards,
    Rajesh

  • Round trip clearing adobe form field values not binded to webdynpro context

    Hi ,
    I have developed a webdynpro ABAP application with Interactive form. I'm calling a webservice on 'exit event' of the one of the form fields. Once webservice is executed, Im filling a table with 300 rows which is in the form. The table fileds are binded to webservice fields from the dataview of the form , these are not webdynpro context attributes in the data view.
    But when I open any seach help , this table values are disappearing. I need to execute the webservice again to get the values.
    can any one tell why the values in the table are disappearing? since I have binded to the webservice fields the values should remain there.
    Apprecaite your response.
    Regards,
    Ravi

    I looked over that note yesterday, but too quickly - i thought it was an older note explaining which standard programs to run to test out the connection etc...
    but i see now that there is an important point:
    The "pdfSource" attribute of the InteractiveForm UI element should be linked only if the Web Dynpro ABAP application requires the PDF document for further processing (saving data to the database, and so on). However, it is mostly only the data entered in the interactive form that is relevant for the application. If this attribute is linked, the Web Dynpro ABAP framework must request an updated PDF document from the Adobe document services each time data is changed in the form.
    It looks like this is saying that a round trip is possible in WDA.
    EDIT - I wish SAP would fix this certificate issue. My first post every day is doubled because of it.
    Edited by: robert phelan on Jan 7, 2010 3:22 PM
    Edited by: robert phelan on Jan 7, 2010 3:25 PM

  • PO service item - custom field value not copied to GR

    Hi All,
    I have a custom field in SC,PO and GR. For a sevice and limit items, the value in custom field in PO is not copied to GR. For goods, it is copied.
    When I debugged, I found that the system tries to match PO item internal number with that of backend item internal number. If this is matched, the custom field values are copied.
    But here it is not matched. What can be the possible reason. Is there any configuration for item internal numbers?
    I found a note 848797 for transfer. But exactly at the corrected code in note, program is failing.
    Have anyone faced this issue before?
    Thanks
    Nandalal

    Yes Disha, the notes are correctly implemented.
    I am confused on whether the internal number generated for the item is copied from some configured internal range, because when I enter two service items, the items shows backend internal numbers like 0000000010 and 0000000020 (increment by 10). But in SRM it is 0000000001 and 0000000002.
    When the code tries to match the respective numbers, it fails and skips the logic to copy custom fields.
    I dont have access to r/3 data.
    Please help.
    Have anyone tried to create a GR with service item and has custom field?
    Thanks
    Nandalal

  • Invoice correction request (net value not updating)

    Hi guys,
    I have a problem when creating an Invoice correction request (RK).
    When I change the Target quantity in the item (L2N), the Net value is not updated. So I have to go to Conditions and Carry out new pricing.
    Any idea to fix this.
    Best regards,
    Eduardo

    Hi Eduardo
    Check the copy control  VTFA , what is the pricing type it is being used and what is the quantity field maintained  -ve or +ve or kept blank .
    Even Go to item data->conditions tab and click on analysis you will know the problem why it is not changing the gross price
    Regards
    Srinath

  • Reference field is not updating in VBAK table

    Hi Experts,
    I am using SD_SALESDOCUMENT_CREATE bapi for Credit Memo Creation .
    but the field XBLNR is not updating in the table vbak.
    Kindly help me to sort out this issue.
    Thanks in advance.
    In which field i should pass the value to update in the table vbak.
    Regards,
    Ajay.
    Edited by: srinivasan12345 on Nov 14, 2011 9:21 AM

    Hi,
    follow this,may help u..
    Re: Credit Memo Creation
    thanks & regards.

Maybe you are looking for

  • How do I Setup broadcasting in BW 3.5

    Hi All We would like to setup broadcasting in BW 3.5. Can you please kindly share ideas how to schedule the Bex query output to email in HTML and in XLS formats Thanks Karen

  • Motion and Macbook

    I have motion 2.0 with FCP studio, all of the other programs in it run fine...no problems with them really, will edit with final cut for a long time and no prob...but when i go to open motion, the screen comes up ask me what i want to do, i select ne

  • Error with BEx Analyzer to open

    Hi, I am facing with this error message with the BEx Analyzer (Office 2007) when trying to open any query. " A critical program error occured. The program has to close. Please refer to the trace for further information". The patch level of GUI is 5(S

  • Finding original photo

    My copy of iPhoto 08 has lost its links to some of the photos in an album I created. I see the thumbnails, but when I try to open the photo, it says it can't find the original and asks if I want to try to find it. I found the photos earlier in the Fi

  • Help installing new dvr

    Hi, i just ordered another DVR for a room that i am now renting out(was empty before). The room has a coxial cable outlet, but when i plug in the dvr, it says it cannot auto set-up. almost as if it doesnt detect a coaxial cable.  I checked outside of