'BAPI_ALM_ORDER_MAINTAIN' Not Updating Fields

Hi,
We are using BAPI_ALM_ORDER_MAINTAIN to update Special Stock indicator
(RESB-SOBKZ) at component level for a service order (IW32).
BAPI is not updating the value which we are passing for this field but
intrestingly BAPI is updating rest of the fields at component level,
like Component Quntity, Componen Plant etc. Only Special Stock
Indicator field is an exception.
We are passing value in "BAPI_ALM_ORDER_COMPONENT-SPECIAL_STOCK" field
and updating BAPI Update table with X for this field.
Can somebody provide help on this.
Steps for the Reconstruction 
Below is the source code which i am using to update Srvice order via
this BAPI
REPORT zbapi .
DATA t_meth TYPE TABLE OF bapi_alm_order_method.
**Internal table for Operation (BAPI)
DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
DATA t_comp TYPE TABLE OF bapi_alm_order_component.
**Internal Table for Opertaions UP (BAPI)
DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
**Internal table for BAPI Return code
DATA t_ret TYPE TABLE OF bapiret2.
***WORK AREA DECLARATIONS
**Work Area for Hedaer
DATA:wa_header TYPE caufvdb,
wa_meth TYPE bapi_alm_order_method,
wa_op TYPE afvgb,
wa_comp TYPE resbb,
wa_comp1 TYPE bapi_alm_order_component,
wa_comp_up TYPE bapi_alm_order_component_up,
wa_oper TYPE bapi_alm_order_operation.
PARAMETERS:TEST.
****Fill Method Internal table
CLEAR wa_meth.
wa_meth-method = 'SAVE'.
APPEND wa_meth TO t_meth.
wa_meth-refnumber = sy-tabix.
wa_meth-objecttype = 'COMPONENT'.
wa_meth-method = 'CHANGE'.
wa_meth-objectkey(12) = '000004000104'.
wa_meth-objectkey+12(4) = '0010'.
wa_meth-objectkey+16(4) = '0010'.
APPEND wa_meth TO t_meth.
**Component Internal table
wa_comp1-reserv_no = '0000001072'.
wa_comp1-res_item = '0001'.
wa_comp1-activity = '0010'.
wa_comp1-item_number = '0010'.
wa_comp1-special_stock = 'B'.
wa_comp1-requirement_quantity = '15'.
wa_comp1-stge_loc = '0001'.
wa_comp1-backflush = 'X'.
APPEND wa_comp1 TO t_comp.
**Component Update Internal table
wa_comp_up-special_stock = 'X'.
wa_comp_up-backflush = 'X'.
wa_comp_up-requirement_quantity = 'X'.
wa_comp_up-stge_loc = 'X'.
APPEND wa_comp_up TO t_comp_up.
**Call Bapi
BREAK-POINT.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = t_meth
it_component = t_comp
it_component_up = t_comp_up
return = t_ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Hi Ferry,
1. I have also tried ur given code before BAPI_TRANSACTION_COMMIT.
    l_fname = 'SOBKZ'.
    l_fvalue = 'U'.
    CALL FUNCTION 'CO_BH_MOD_SINGLE_FIELDS'
      EXPORTING
        aufnr_imp = wa_meth-objectkey(12)
        field1    = l_fname
        value1    = l_fvalue.
but this program is giving dump for only this particular Value saying that This is PROTECTED field.
Can anyone help me out on How to Update Special Stock Indicator on Components Tab of Maintenance Order (IW32).
If anyone has faced such type of problem & solved it then please let me also.
2. Which BADI to use for Updating Special Stock Indicator when we press enter on Components tab in Transaction IW32 ?..
Thanks in advance,
Hope to get the solution soon from all SAP gurus.
and help will be appriciated .
Gaurav.

Similar Messages

  • OC4j10.1.2CMP bean not updating field after creating a record in the table.

    I have a simple table in Oracle 9i database:
    SQL> desc temp_tbl
    Name Null? Type
    OPER_ID NOT NULL NUMBER(5)
    OPER_STS_TM_DT NOT NULL DATE
    OPER_STS_CD NUMBER(2)
    First 2 fields are the Primary Key. last field is standalone. No FK references.
    I generate a CMP bean using Jdeveloper 10.1.2 for this table.
    Then I try to insert a record into this table and update the oper_sts_cd field.
    Problem: CMP inserts the record correctly, but does not update the field: oper_sts_cd, even though trace indicates that the field has been updated.
    ( shown in pgm below).
    THE SAME CODE WORKED in OC4J9.0.4 Container.
    Since we upgraded to 10g Rel2 ( OC4J10.1.2) , it does not.
    Code:
    Session Bean:
    package model;
    import java.rmi.RemoteException;
    import java.sql.Timestamp;
    import java.util.Calendar;
    import javax.ejb.CreateException;
    import javax.ejb.FinderException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class SessionEJBBean implements SessionBean
    public void ejbCreate()
    public void ejbActivate()
    public void ejbPassivate()
    public void ejbRemove()
    public void setSessionContext(SessionContext ctx)
    private TempTblLocalHome getTempTblLocalHome() throws NamingException
    final InitialContext context = new InitialContext();
    return (TempTblLocalHome)context.lookup("java:comp/env/ejb/local/TempTbl");
    public void createOperation() throws RemoteException
    try
    TempTblLocalHome tempHome = (TempTblLocalHome) this.getTempTblLocalHome();
    System.out.println("Succcess loading Temp Entity EJB");
    Timestamp currDate = new Timestamp(Calendar.getInstance()
    .getTimeInMillis());
    TempTblLocal tempLocal = tempHome.create(new Long("1294"),currDate,new Long("1") );
    System.out.println("created Temp Op=" + tempLocal.getOperId() + " date=" + tempLocal.getOperStsTmDt() );
    //tempLocal.setOperStsCd(new Long("" + 1) );
    Long stsTypeCd = new Long("1");
    System.out.println("Putting long value in db=" + stsTypeCd + "-");
    tempLocal.setOperStsCd(stsTypeCd);
    System.out.println("Stored value in db=" + tempLocal.getOperStsCd() );
    catch( NamingException ne)
    throw new RemoteException(ne.getMessage());
    catch(CreateException ce)
    throw new RemoteException(ce.getMessage());
    ejb-jar (generated)
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>TempTbl</display-name>
    <ejb-name>TempTbl</ejb-name>
    <local-home>model.TempTblLocalHome</local-home>
    <local>model.TempTblLocal</local>
    <ejb-class>model.TempTblBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>model.TempTblPK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>TempTbl</abstract-schema-name>
    <cmp-field>
    <field-name>operId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>operStsTmDt</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>operStsCd</field-name>
    </cmp-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params/>
    </query-method>
    <ejb-ql>select object(o) from TempTbl o</ejb-ql>
    </query>
    </entity>
    <container-transaction>
    <method>
    <ejb-name>TempTbl</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Supports</trans-attribute>
    </container-transaction>
    orion-ejb-jar.xml (generated):
    <entity-deployment name="TempTbl" data-source="jdbc/Marcs_DS" table="MARCS.TEMP_TBL">
    <primkey-mapping>
    <cmp-field-mapping>
    <fields>
    <cmp-field-mapping name="operId" persistence-name="OPER_ID" persistence-type="NUMBER(5)"/>
    <cmp-field-mapping name="operStsTmDt" persistence-name="OPER_STS_TM_DT" persistence-type="DATE"/>
    </fields>
    </cmp-field-mapping>
    </primkey-mapping>
    <cmp-field-mapping name="operId" persistence-name="OPER_ID" persistence-type="NUMBER(5)"/>
    <cmp-field-mapping name="operStsTmDt" persistence-name="OPER_STS_TM_DT" persistence-type="DATE"/>
    <cmp-field-mapping name="operStsCd" persistence-name="OPER_STS_CD" persistence-type="NUMBER(2)"/>
    </entity-deployment>

    >
    Srini.r wrote:
    > I have added a new field in IT0006
    > Srini R
    Have you done this through PM01?
    ~Suresh

  • Not update field PPEHDR.TIMSTMP

    G'day!
    Has anyone faced with following problem:
    field PPEHDR.TIMSTMP not update then:
    1. Something change in phantom node PPE
    2. User get release key in ECNs (change master record) in AccessNode PPE
    3. User wrote material in Access Variant PPE
    May be have BADI or system transaction for setting?
    Best regard,
    Igor

    This is not correct forum you to post this problem here.

  • BAPI_ALM_ORDER_MAINTAIN not Updating Special stock indicator field

    Hi Experts
                  I am using BAPI_ALM_ORDER_MAINTAIN to create and  then update a Customer Service Order. When am trying to update the Special stock indicator field in the Components Tab(of IW32) through BAPI, its not doing so, and no error is thrown as well.
    The required qty and the batch field in the components tab get updated which ensures that the logic am using is the correct one.
    Please let me know if anyone has faced such a situation before. Any workaround(some other FM) to update this field is also welcome.
    Points guaranteed.
    Thanks
    Kulpreet Singh.

    Hi!
    BAPI_ALM_ORDER_MAINTAIN is only updating a field, when you set the update flag also in CHANGE method.
    So if you are maintainig the IT_COMPONENT table, you have to put an 'X' into the same field in the IT_COMPONENT_UP table also.
    And of course don't forget to commit the modification.
    Regards
    Tamá

  • Bapi : BAPI_ALM_ORDER_MAINTAIN not updating table AFVU-USR08

    Hi,
    I have a requirement to update table AFVU-USR08.I am actualy dealing with tcode IW32/IW33 where in we need to update operation-->enhancement tab.I am using BAPI : BAPI_ALM_ORDER_MAINTAIN to do this.I am testing the BAPI directly( Not called in any program ),I can see a message like so and so order saved under notification,But there is no entry in table AFVU-USR08.
    If any one have come across this prob. and got the sol. Pl. share it with me.
    Your solution will be more helpful.
    Thanks,
    Bharani.

    Hi Ferry,
    1. I have also tried ur given code before BAPI_TRANSACTION_COMMIT.
        l_fname = 'SOBKZ'.
        l_fvalue = 'U'.
        CALL FUNCTION 'CO_BH_MOD_SINGLE_FIELDS'
          EXPORTING
            aufnr_imp = wa_meth-objectkey(12)
            field1    = l_fname
            value1    = l_fvalue.
    but this program is giving dump for only this particular Value saying that This is PROTECTED field.
    Can anyone help me out on How to Update Special Stock Indicator on Components Tab of Maintenance Order (IW32).
    If anyone has faced such type of problem & solved it then please let me also.
    2. Which BADI to use for Updating Special Stock Indicator when we press enter on Components tab in Transaction IW32 ?..
    Thanks in advance,
    Hope to get the solution soon from all SAP gurus.
    and help will be appriciated .
    Gaurav.

  • Database Adapter using Logical Delete Polling Strategy not updating field

    I have an ESB database adapter defined against a table. The adapter is set to use the Logical Delete Polling Strategy, and the table has an extra column defined as the "delete" field. When I register the adapter to the ESB and add a record to the table, the adapter reads the contents of the record as expected. However, 15 seconds later (that being the polling interval) it reads it again, and again 15 seconds after that, ad infinitum.
    I have defined the logical delete field as a single character field and set the Read value for "T" (a record is normally inserted with that field having a null value). Results as outlined in the previous paragraph. I redefined the field as a number and set the Read value to "1" (with a record normally inserted with that field having a value of "0"). Results as outlined in the previous paragraph.
    Apparently the update of the logical delete value to the Read value is not occurring. My question (obviously) is: Why?
    Thanks for your time.

    Here is the adapter WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    name="Poll_PM_LOG"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Poll_PM_LOG/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Poll_PM_LOG/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPMLOG"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPMLOG"
    schemaLocation="PollPMLOG_table.xsd"/>
    </schema>
    </types>
    <message name="LogCollection_msg">
    <part name="LogCollection" element="top:LogCollection"/>
    </message>
    <portType name="Poll_PM_LOG_ptt">
    <operation name="receive">
    <input message="tns:LogCollection_msg"/>
    </operation>
    </portType>
    <binding name="Poll_PM_LOG_binding" type="tns:Poll_PM_LOG_ptt">
    <pc:inbound_binding/>
    <operation name="receive">
    <jca:operation
    ActivationSpec="oracle.tip.adapter.db.DBActivationSpec"
    DescriptorName="PollPMLOG.Log"
    QueryName="Poll_PM_LOG"
    PollingStrategyName="LogicalDeletePollingStrategy"
    MarkReadFieldName="PROCESSED"
    MarkReadValue="T"
    SequencingFieldName="ID"
    MaxRaiseSize="1"
    MaxTransactionSize="unlimited"
    PollingInterval="15"
    NumberOfThreads="1"
    UseBatchDestroy="false"
    ReturnSingleResultSet="false"
    MappingsMetaDataURL="PollPMLOG_toplink_mappings.xml" />
    <input/>
    </operation>
    </binding>
    <service name="Poll_PM_LOG">
    <port name="Poll_PM_LOG_pt" binding="tns:Poll_PM_LOG_binding">
    <jca:address location="eis/DB/PM"
    UIConnectionName="PM"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    />
    </port>
    </service>
    <plt:partnerLinkType name="Poll_PM_LOG_plt" >
    <plt:role name="Poll_PM_LOG_role" >
    <plt:portType name="tns:Poll_PM_LOG_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    The field PROCESSED is defined as CHAR(1), and is normally null when a record is inserted. The value of the field is to be set to 'T' when the record is read by the polling adapter.

  • SetAttribute not updating field in table or database

    Hi I'm using Jdev 11.1.2.3.0,
    I have a table where only one attribute is editable (There's also a condition on whether it is editable or not). The table is in editAll mode.
    Basically I launch a business action that should multiply this attribute in AMImpl and set the new value. It also sets two other attributes in the view (based on entity)
    Ok so the weird behavior is that the attribute is not being updated neither in the database nor on the page, while the others are being updated (in the db, and the table).
    I'm obviously committing because the other variables are set, and also refreshing the table (I even have a button that can re-execute the query but nothing changes). I even debugged my code and noticed that new different value of the attribute is being when i call the row.setAttribute method.
    Now another thing, I removed the whole column of the editable attribute from the table, and launched the business action; The fields in the database were updated with the correct values.
    Does anyone have any ideas of what might be happening, any help would be appreciated
    Thanks,
    Mo

    Hi Timo,
    I'm making the changes inside the Application Module class, by getting the view object first then the selected row, and after doing the calculations I'm using the row.setAttribute() method. The same goes for the other two attributes that are affected by changes.
    I tried closing and opening the browser and app, the values didn't change in either (db and page).
    I'm also using taskflows to launch business actions (don't know if that changes anything)
    Thanks
    Mo

  • OIM LDAP connector does not update fields

    Hi,
    I have installed and configured LDAP connector to SunOne directory server. All default adapters configured in the process form seem to work. But when I added my own attributes and used the adpIPLANETMODIFYUSER to update the values to LDAP server, nothing happened. The create user action works with the new attributes. It does not do anything when I change the values of those user defined fields.
    Any help will be appreciated.
    Iris

    Hi Iris,
    For a process task to be called the name of the task should start with label of the field.For example if the Last Name field is updated the task name should be 'Last Name Updated', So make sure your task name is like that.
    Also check the Conditional box in the Task. This will make the task called when a condition is met. Also enable the adapter to be called during the Pre-Update in the event handler form.
    Lookup definition is the mapping defined from xellerate resource profile to the end resource. If it is a new field which is not added by default, then you have to update the lookup definition. For example for AD there is a mapping called Atmap.AD. I am wondering if there is such mapping for iPlanet.(Check if the lookup definition is present).
    Thanks.
    Subhani Shaik

  • Forms not updating field lengths

    All,
    I've been changing field lengths in forms all day in OIM 9.1, and it never updates the actual column lengths when the form is activated. I've reverted to directly updating the column sizes in the database to get things working. Am I missing something here, or are field length changes in OIM completely useless?
    S

    We faced recently a similiar problem, but regarding export/import operations.
    We changed the forms in our dev environment, and sizes updated correctly in the database. But when exporting and importing the forms into the QA environment, although field size in the form definition was updated, the field size in the database table didn't.
    The workaround we found was to manually change field sizes in the form definition.
    Hope this help!

  • How to update field in table FAGLFLEXA/FAGLFLEXT

    Hi Gurus,
         we are stay in ECC 5.00. The new g/l have activated but we have not assigned the relevant scenario to the ledger (Refer note no 990612)
         now we have assinged following field:
         FIN_CCA: RCNTR (Cost center), SCNTR (Sender cost center)
         FIN_CONS: RASSC (Trading partner), RMVCT (Transaction Type)
         FIN_GSBER: RBUSA (Business area), SBUSA (Trading partner's business area)
         FIN_PCA: PRCTR (Profit Center), PPRCTR (Partner Profit Ctr)
         FIN_SEGM: SEGMENT (Segment), PSEGMENT (Partner segment)
         FIN_UKV: RFAREA (Functional Area), SFAREA (Partner Functional Area)
         our problem is the data was posted before that does not update fields in table FAGLFLEXA/FAGLFLEXT,How to update field in table FAGLFLEXA/FAGLFLEXT?
    Thanks,

    Hello Jenjira,
    Since this was a question asked few years back, I think you can share your experience with activation of a Scenario subsequent to Go-Live of new GL functionality (We are contemplating activation of one more scenario for Functional Area updation in new GL. 4 update scenarios were activated at time of New GL Implementation 4 years ago).
    Please share following:
    1. Impact of this subsequent activation on Open documents in the live system.
    2. How you addressed the issues arising on Point 1.
    3. Any support that you got from SAP Support Team on issues thereof.
    Any inputs will be of great help.

  • Not all fields are getting updated in transformation

    Dear all,
    Please help me in the following issue:
    I have the following scenario:
    DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
    Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
    The fields exist in DSO 1 but don't go into cube.
    I did the following:
    1. deleted transformation and dtp, recreate = > not working
    2. copied the cube, and create new transformation and DTP...not working.
    Any help would be appreciated
    Thank you
    Ramona

    Hi Ramona,
    Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
    Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
    Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
    Cheers,
    CK

  • Work order should not update the fields in PR

    Hi  Gurus
    My requirements is that workorder should not updates the purchasing data fields in PR  do not go to the shoping cart. How can make it possible.
    Thanks in Advance

    Hi,
          I am not sure of your requirement clearly but check up the below user exits :-
    COZF0001 Change purchase req. for externally processed operation
    COZF0002 Change purchase req. for externally procured component
    or BADI :- IWO1_PREQ_BADI BAdI for Manipulation of P.Reqs from Orders + Networks ,SE18
    regrds
    pushpa

  • Sharepoint 2013 Active Directory Import- Manager field not updating

    Hi,
      SharePoint 2013 Active directory import  -Manager field not updating
    Concern/Issue-
     We are using SharePoint and configured the Active Directory Import .First import it seems everything is working fine and OOB Organization chart  built using User profile data is coming out right.
    Now the user is moved from one Organization Unit to Another.
    Now our Manager field is not Updating .There is change in AD manager attribute but not reflecting in the SharePoint User profile.
    Manger field is mapped to "manager" attribute in SharePoint.
    We tried removing the user and Re-Import using Incremental import but no luck.
    Thanks for help in advance
    Sachin

    Moving a user from one OU to another in AD won't normally change the Manager attribute in AD.  You would need to edit the user's organization settings to change the manager value in AD.  I've also seen these changes not be picked up unless something
    other than just the manager field in AD changing.  Try changing something like Office location and see if the manager change is picked up by AD Import.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Valuation field not updated in Profit Center view

    Good morning Gurus,
    I am facing a big problem in KE24 report. As I've checked here, one of my valuation fields related to Raw Materials (VVM01) is only being updated in Legal View from CO. Even I check it in CE1SA01 table (my table for CO documents), the value is not updated there for Profit Center view. I've check all exits that we have here, but the problem is not there. Derivation rules for the field are not customized, so I don't know where is the problem.
    Anyone have already faced this problem? Could you please help me? Points will be awarded.
    Many thanks in advance,
    Diogo Patriota.

    Issue has been resolved.1
    Issue has been resolved

  • DYNP_VALUES_UPDATE not Updating the Field on my Dynpro

    Hi.
    I want to create a dynpro where two fields are. Field 1 allows the user to enter a customer number, field two shall come up with a number that is calculated somehow. The calculation can last up to 20 seconds, so I dont want to make the user waite for this number.. .he shall be able to work with the rest of the dynpro.
    Therefore I called the function that does the calcuiation like that:
    MODULE user_command_0100 INPUT.
      DATA: lv_guid_16 TYPE guid_16.
      IF kna1-kunnr IS NOT INITIAL AND kna1-kunnr <> gv_kunnr
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_16 = lv_guid_16.
        gv_taskid = lv_guid_16+8(8).
        CALL FUNCTION 'YDETERMINE_DEPOTDISTANCE' 
          STARTING NEW TASK gv_taskid
          PERFORMING receive_depent ON END OF TASK
          EXPORTING
            i_kunnr = kna1-kunnr.
      ENDIF.
    ENDMODULE. 
    The next piece of code shall get the returning value if the function wants to return its results.
    FORM receive_depent USING i_task TYPE clike.
      TABLES: d020s.
      DATA: dyname LIKE d020s-prog,
            dynumb LIKE d020s-dnum.
      DATA: BEGIN OF dynpfields OCCURS 1.
              INCLUDE STRUCTURE dynpread.
      DATA: END OF dynpfields.
      IF i_task = gv_taskid.
        RECEIVE RESULTS FROM FUNCTION 'YDETERMINE_DEPOTDISTANCE'
        IMPORTING
          e_depent         = kna1-yydepent
          e_accuracy       = gv_accuracy.
        MOVE 'KNA1-YYDEPENT' TO dynpfields-fieldname.
        MOVE kna1-yydepent TO dynpfields-fieldvalue.
        APPEND dynpfields.
        dyname = sy-cprog.
        dynumb = '0100'.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname               = dyname
            dynumb               = dynumb
          TABLES
            dynpfields           = dynpfields
          EXCEPTIONS
            invalid_abapworkarea = 01
            invalid_dynprofield  = 02
            invalid_dynproname   = 03
            invalid_dynpronummer = 04
            invalid_request      = 05
            no_fielddescription  = 06
            undefind_error       = 07.
        ASSERT sy-subrc = 0.
      ENDIF.
    Problem is: The DYNP_VALUES_UPDATE does not update the field on my dynpro at all. If I hit enter another time, then the field is provided by the value as another PBO will be processed. What is my mistake here?
    Regards
    Manfred
    Edited by: Rob Burbank on Oct 29, 2010 12:07 PM

    Hi Manfred,
    Replace all the DYNP_VALUES_UPDATE-related content by the following statement:
    SET USER-COMMAND 'xxx'.
    While DYNP_VALUES_UPDATE does update the fields, a roundtrip is not triggered so the content of the fields will not be refreshed. The SET USER-COMMAND does that.
    Hope this helps you!
    Cheers, Roel

Maybe you are looking for

  • Computed page item no longer working after upgrade to 1.6

    Hi team, I noticed that the pages where I was using conditional computations based on sql queries for setting the value of items are no longer working as before. If I run the page in debug mode however I see that the computation is actually performed

  • OEM Problem in Communicating with Listener

    Dear all, for some reason, my OEM is corrupted and when it's enabled, it messes up with the listener. I concluded the problem lies in OEM rather than in the listener since I can establish connection between SQLdeveloper and the server via the listene

  • How to get the PERNR & TRIPNO(REINR) in T&E Webdynpro Component

    Hi Experts, We are Implementing T&E Module. We are using Webdynpro ABAP to create iviews in portal. I want to know in which webdynpro component i can able to get the PERNR & TRIPNO(REINR), means if i want to create a Expense Report for a approved tra

  • Call transaction CV02N - Add original

    Hi all, I have a call transaction which adds an original (as template) in CV02N to a document. We have customized in transaction DC30 that when you have chosen a template then a client program opens the template file (e. g. word) Now I want to call t

  • Integrated Tools for Window live messenger

    I have an application server (written in JMS) which uses to send/receive messages from mobile/desktop client. My intention is to send messages (text format) into window live messenger. I need any help on how do i integrated from application server in