BP extend : how to use FM to update customer specific fields ?

Hello
I'm working on a CRM 2007 project and for customer needs, the BP data have been extent with specific fields using EEWB. So specific FMs have been automatically generated to manage the specific data. We want to use these FM to maintain the values of the specific fields. In the EEWB transaction, in the Task BUPA_API for the specific object, 2 FMs have been generated : ZZ1XO_BUPA_MAINTAIN and  ZZ1XO_BUPA_MNTN_ALL : we suppose we have to use these FMs to update the values fo this object. This object (customer specific data) is time dependent with gaps and multiple instance. We tried to use these 2 FMs to update values but it does not work : anybody has already used this kind of FMs ?
Thanks to all.

Jerome,
Normally I use the FM modules generated by the EEWB that contain API to update the data.  However keep in mind if this is a Z-Table and you don't like what is provided, then add your own BAPI modules to the BDT function group to update the data.
Take care,
Stephen

Similar Messages

  • Issue in Updating Customer specific fields in WBS using BAPI_BUS2054_CREATE_MULTI

    Hi Experts,
    I am able to create the WBS element using BAPI_BUS2054_CREATE_MULTI.But the issue is i am not able to update customer specific fields even after passing the fields as per specification in Function module documentation. I have also created an implementation of BADI  as per below specification in FM documentation:
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed,
    for which you want to enter customer-specific table enhancement fields, add a
    data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the
    keys that identify the table rows and then with the values of the
    customer-specific fields. By structuring the container in this way, it is
    possible to transfer its content with one MOVE command to the structure of the
    BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields for
    which the respective update indicator is set are changed). Therefore, even if
    you only want to change one field, all the fields that you transfer in
    ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI
    BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered
    values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the
    BAPI is processed further (if you only want to transfer the fields of the CI
    includes, no more action is required here).
    But still i am unable to update fields though i am able to create WBS with rest of the fields except  custom fields.
    I am using attached code to achieve this.Do we need to code anything inside method create_exit1 or create_exit2 implementation for BADI or
    Please help on priority

    Hi Rahul,
    First observation from your code is that i could not find the assignment for the field
    GWA_WBS_EXTIN-STRUCTURE. I hope you are not filling this field, that could be one reason for failure. Try to do it and let us know if you still have the problem.
    Br..
    Dwaraka

  • Can I update Customer specific fields with BAP_PO_CHANGE

    Using 4.7 and APO 4.0. We're having to create multiple schedule lines (EKET) for PO Items for TP/VS functionallity. I've found a neat trick for doing this by using BADI ME_PURCHDOC_POSTED to trigger an FM in a new task.
    This FM waits until PO is unlocked and then uses BADI_PO_CHANGE to "split" the schedule lines. However I'm having trouble finding an easy way to populate new customer (Z) fields on the Schedule Line at the same time.
    Any Ideas??? 
    Thanks
    Charles

    excuse me - I'm using BAPI_PO CHANGE not BADI.
    Thanks again

  • How to use *MonitorManager* to add custom messages in channel monitoring?

    Hi experts,
    How to use MonitorManager to add custom messages in channel monitoring for custom adapter development(Not in audit log).
    like
    Type   Time Stamp   Message ID   Explanation 
      6/25/11 6:39:47 AM 00199942-6e43-02df-96ca-8b538c63dd98 Message processing completed successfully
      6/25/11 6:39:47 AM 00199942-6e43-02df-96ca-8b538c63dd98 Message with ID 00199942-6e43-02df-96ca-8b538c63dd98 processed
      6/25/11 6:39:46 AM 00199942-6e43-02df-96ca-8b538c63dd98 Message processing started
      6/24/11 6:43:26 AM 00199942-6e43-02ef-96b1-7650f3495e03 Message processing completed successfully
      6/24/11 6:43:26 AM 00199942-6e43-02ef-96b1-7650f3495e03 Message with ID 00199942-6e43-02ef-96b1-7650f3495e03 processed
      6/24/11 6:43:24 AM 00199942-6e43-02ef-96b1-7650f3495e03 Message processing started
      6/23/11 6:45:52 AM 00199942-6e43-02df-9698-5be345a9ddf5 Message processing completed successfully
      6/23/11 6:45:52 AM 00199942-6e43-02df-9698-5be345a9ddf5 Message with ID 00199942-6e43-02df-9698-5be345a9ddf5 processed
      6/23/11 6:45:50 AM 00199942-6e43-02df-9698-5be345a9ddf5 Message processing started
      6/22/11 6:43:30 AM 00199942-6e43-02ef-95ff-2c03493dc078 Message processing completed successfully
    Edited by: SAP_PI_D on Jun 28, 2011 12:10 PM

    Solve by myself

  • How to use search term2 in customer master record

    hi
    how to use search term2 in customer master record. can anyone tell me plz
    thanks
    monica

    Hi,
    Search Term 2
    Label used for search helps.
    Only uppercase letters are stored in this field. Your entries are converted automatically to uppercase letters.
    There are two of these fields for search terms. These fields can be used independently of each other.
    Procedure
    You can use your own criteria for entering the search term.
    Example
    You can enter the main part of the name or an organizational ID.
    For example, for the company "Hechinger & Sons", you could enter "Hechinger" as the first search term.
    The second search term could then be the name ID you use within your company, to help you identify your data later.
    Please check out the following link:
    http://help.sap.com/saphelp_47x200/helpdata/EN/01/a9b331455711d182b40000e829fbfe/frameset.htm
    Hope this helps.
    Please assign points as a way to say thanks.
    Regards,

  • How to use customer-specific fields with FI-CA event 940?

    The following text can be found under FI-CA event 940:
    You can also set customer-specific fields if you have defined the predefined include for customer enhancements CI_FKK_ACCIT_CUS in the structure FKK_ACCIT_CUS. The fields included here must have the same field name as the fields included in the structure ACCIT. These can also originate from an enhancement of the coding block in General Ledger Accounting. The fields Reservation Class and Reservation Key of the reconciliation key and the totals record are available as import parameters.
    My requirement is to populate the field HZUON in this event, which will be called when running t-code FPG1 (Transfer of FI-CA total records to general ledger)
    The problem is the fact that the output of the event (i.e. output of function module FKK_SAMPLE_0940 at first) only have the following fields:
    E_ZUONR     LIKE     ACCIT-ZUONR     Zuordnung (BSEG-ZUONR)
    E_XREF2     LIKE     ACCIT-XREF2     Referenz  (BSEG-XREF2)
    E_SGTXT     LIKE     ACCIT-SGTXT     Positionstext
    E_BUPLA     LIKE     ACCIT-BUPLA     Businnes Place (Korea only)
    I tried adding a new field to structure CI_FKK_ACCIT_CUS and adding this field to the output of the event 940, but how do I ensure that the content of the field will be used to populate the HZUON field of the FI document during "transfer of FI-CA total records to general ledger"?
    Cheers,
    Teo

    Hi Teo,
    I happened to see this post from you when I searched for a similar scenario related to event 940. I also need to add two fields in CI_FKK_ACCIT_CUS and make these fields as outputof the event. Did you come across any solution for the same? If so, can you please share.
    Regards,
    Harikumar. S
    Edited by: Harikumar Sasidharan on Dec 30, 2009 12:14 PM

  • How to populate customer specific field data in table /SAPAPO/ORDFLDS

    Dear Gurus,
    I have explained in detail about the problem we face. I guess persons who has implemented enhancement:  /SAPAPO/RRP_IO_COL in their system can help me out.
    Background:
    Purchase requisitions in APO is created by an idoc that comes from a legacy system using BAPI CALL FUNCTION 'BAPI_POSRVAPS_SAVEMULTI3'.
    Business Requirement:
    I have a business requirement where I need to populate an additional data 'Original delivery date' from the idoc during PR creation in Product view.
    Development:
    To achieve the above requirement, we are following the below procedure in our development system.
    1. We are using enhancement:  /SAPAPO/RRP_IO_COL, method: RRP_USEX_COLS_FILL_01 and RRP_USEX_COLS_GET_TEXT_01 to display an additional field 'Original delivery date' in /sapapo/rrp3 - elements view. This field is restricted to Purchase requisition (Order category: AG) only. We are planning to populate the additional data 'Original delivery date' in this customer specific field and store it in table: /SAPAPO/ORDFLDS at the time of PR creation.
    2. Table: /SAPAPO/ORDFLDS is appended with the 'customer specific field'.
    3. We couldnt find a document on how the data can be populated in table /SAPAPO/ORDFLDS.
    4. How to polulate the live cache data in the table  '/APAPO/ORDFLDS' ? ( i.e using connection parameter )?
    Appreciate if you can throw me some light on this.
    Thanks
    Vignesh M

    Hi Vignesh,
    ANy luck on this ? I am trying the almost same thing...and stuck at same point.
    Please let us know if you have any more information.

  • How to create customer specific fields within PC 10.0?

    Hello,
    for previous Process Controls versions 2.5 and 3.0 it was available two how-to guides to create customer specific fields. Nevertheless so far I couldn't find those versions for PC10.0.
    Does anyone have them? Or know if the 3.0 version is also valid for 10.0?
    Regards
    Andre Yuji

    Dear Johannes,
    We have a few administration transactions that you can use on back-end. For example:GRFN_STR_CHANGE -GRFN_STR_CHANGE-Change Process Control
    as well as RE_RHGRENZ4 to  Set a new end date to the objects.
    At last case, you can run the program RHRHDL00 thru SE38 Tcode.Be carefull because this program delete the object from database.
    Regards,
    Karina Atonaidan

  • Report Painter: How to add new(customer specific) field to CCSS table

    Dear Experts,
    We have requirement to display the orders based on Profit center or Profit center groups in report painter. So in report library(6O1), we want to add fieild PRCTR or any customer specific field(ZPRCTR) to CCSS table. Could you please let us know how to add field ?
    or is possible to add customer specific field(ZPRCTR) in CCSS and link that field to Profit Cetner(PRCTR) and profit center group.
    Please help us..
    Thanks in advance

    You can check the below OSS notes:-
    <https://service.sap.com/sap/support/notes/929889>
    <https://service.sap.com/sap/support/notes/522581>
    <https://service.sap.com/sap/support/notes/43493>
    Regards,
    Gaurav

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • How to use new patch updates in track

    Hi All,
    I am a developer working in NWDI. We have everything in place and working fine upto now.
    SAP has release a patch for the software component i am using in a track. Basis guys have updated the track and they confirmed the patch is updated successfully.
    Now when ever i rebuild my DC, the changes are not effected as per the new patch. Please let me how I will be able to use new patch updates in my DC(In NWDS I can see the old source code only, I did all SYNC's and refresh but didnt worked, even NWDI is restarted)
    How I can confirm that the patch is updated to track successfully, from a developer point of view.
    I have access to CMS and CBS.
    Regards,
    Sateesh Chandra

    Did you update your configuration in the studio?
    --MLS

  • How to use the myAdapter.Update and OleDbCommandBuilder from dataGridView to update the db2 database

    hello,everybody ,it a question makes me crazy .my code is that :
            public string tableName = "";
            public DataSet ds;
            public OleDbDataAdapter myAdapter;
            public string sql = "";
            private   void button12_Click_1(object sender, EventArgs e)
                sql = textBox5.Text.Trim();
                OleDbConnection Conn = new OleDbConnection(st_contractconn);     
                Conn.Open();
                this.comboBox1.Items.Add(this.textBox5.Text);
                try
                    System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex(@"(?<=from\s)\w+(?=\s)");
                    System.Text.RegularExpressions.Match B = r.Match(sql);
                    tableName = B.ToString();
                   OleDbCommand cmd = new OleDbCommand("SELECT * FROM PT_PO",Conn);
                   Conn.Close();
                    myAdapter = new OleDbDataAdapter(cmd);
                    ds = new DataSet();
                    myAdapter.Fill(ds, "PT_PO");
                    dataGridView2.DataSource = ds.Tables["PT_PO"].DefaultView;                   
                    this.groupBox2.Text = "共查询到" + ds.Tables[0].Rows.Count.ToString() + "条记录" + tableName;
                catch (Exception ex)
                    MessageBox.Show(ex.Message);
            private void button26_Click(object sender, EventArgs e)
                OleDbConnection Conn = new OleDbConnection(st_contractconn);
                Conn.Open();
                OleDbCommandBuilder Builder = new OleDbCommandBuilder(myAdapter);
                Validate() ;            
                myAdapter.Update(ds.Tables["PT_PO"]);
                Conn.Close();
                ds.AcceptChanges() ; 
    when it run to the myAdapter.Update(ds.Tables["PT_PO"]);  it comes out a wrong "对于不返回任何基表信息的 SelectCommand 不支持动态 SQL 生成。" who knows  it is why ,my QQ is 501212848,thankyou very much.

    Hello,
    We were a IBM-DB2 shop for over 20 years, when we moved to .NET we found it was better to use the native DB2 data provider which you can download from IBM for free.
    Main objects
    IBM.Data.DB2.iSeries.iDB2Connection
    IBM.Data.DB2.iSeries.iDB2Command
    IBM.Data.DB2.iSeries.iDB2Parameter
    So you would not use adapters but write code using the key objects above. Then to get new primary keys we would use
    SELECT nextval for SOMETABLE_REF_AUTONUMBER_SEQUENCE from sysibm.sysdummy1
    Bottom line is the structure is create a connection, create a command, set the connection and command text along with creating parameters as needed.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
    what is the meaning about you ? db2 cannt using adapters  to update the datebase?

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

  • How to use SSHRParams in a custom page

    Hi
    I have been trying to use SSHRParams in my custom page. I need to use this to get AssignmentId and PersonID. Initially I tried using the SSHRParam package by just importing it. But it did not help. Below is the code that I had in my controller
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl;
    import oracle.apps.per.selfservice.common.SSHRParams;
    * Controller for ...
    public class PtoRequestDeleteCO extends PerOAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    SSHRParams localSSHRParams = new SSHRParams(pageContext.getRootApplicationModule());
    //localSSHRParams.initCtx();
    String personType = localSSHRParams.getSelectedPersonType();
    String personID = localSSHRParams.getSelectedPersonId();
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    I am new to OAF and I have tried almost everything that I can think of.
    Thanks
    Kumar
    Edited by: kvsankar on Feb 15, 2011 6:30 PM

    Here this is what you need to do
    1. get all the files from $PER_TOP/mds folder onto your pc.
    2. create folder structure called oracle/apps/per and put all the files from step1.
    3. zip above oracle folder and move it to jdevhome/jdev
    4. Attach this .zip file to the project by going into project properties -> libraries -> add libraries ( select the file in class path and source path example both these paths should be .../jdevhome/jdev/filename.zip)
    5. see my control code below ( remove any unnecessary code lines from below and use what u need, i am just pasting as is )
    package oracle.apps.pay.w4.webui;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.per.selfservice.common.SSHRParams;
    * Controller for ...
    public class W4mainCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule oaapplicationmodule = pageContext.getRootApplicationModule();
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    OAApplicationModule oaapplicationmodule1 = pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule1.findViewObject("W4VO1");
    SSHRParams sshrparams = new SSHRParams(pageContext.getApplicationModule(webBean).getOADBTransaction());
    String s = sshrparams.getPersonId();
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { s };
    am.invokeMethod("initDetails", parameters);
    let me know if you need any help.
    Thanks
    Karan

  • How to use I18N with a custom validator?

    This is my custom validator:
        public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
            Pattern pat=Pattern.compile(".+@.+\\.[a-z]+");
            Matcher m= pat.matcher(value.toString());
            if(!m.find())
                FacesMessage message = new FacesMessage("Not a valid e-mail address");
                throw new ValidatorException(message);
        }Instead of providing the text "Not a valid e-mai address", I'd like to get the text out of my ApplicationResources property file.
    How can I do this?
    I know how to use it with the provided validators, but not with own custom ones
    Please help me out, thanks

    I found a solution for this problem, I don't know it's best practice but here it is :
        public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
            String errortext;
            Pattern pat=Pattern.compile(".+@.+\\.[a-z]+");
            Matcher m= pat.matcher(value.toString());
            if(!m.find())
                ResourceBundle bundle =
                ResourceBundle.getBundle("be.vdab.resources.ApplicationResources", context.getViewRoot().getLocale());
                errortext = bundle.getString("erroremail");
                FacesMessage message = new FacesMessage(errortext);
                throw new ValidatorException(message);
        }

Maybe you are looking for

  • No output at all from weblogic.Admin HELP | GETSTATE | VERSION on linux

    Hi, somehow I am getting zero output from weblogic.Admin command, is it redirected somewhere? #>java -cp $WH/server/lib/weblogic.jar weblogic.Admin -adminurl $AURL -username weblogic -password $WPWD VERSION #>java -cp $WH/server/lib/weblogic.jar webl

  • EPM 11.1.2.2 x Linux 6.3

    Dear, I am newbie in infrastructure Hyperion, I'm installing ODI EPM 11.1.2.2 and 11.1.1.6 on Linux redhat 6.3. But I'm having trouble with deployment tools and can not even begin installing ODI, because as below error OS does not meet the prerequisi

  • I need help find a user

    I can't find my friends playlist by using there username it doesn't show up. But there account is active. And I want to follow them

  • File / Folder encryption

    I would like to enquire about how to encrypt one file or folder in Mac OS X and not the entire home folder, as in the concept of FileVault. Is this possible either through the Terminal or Aqua? Thanks for the help here. Cheers, Jason Ellis

  • HT204291 Since upgrading to iOS7, i have experienced issues with Airplay button missing

    Since upgrading to iOS7, i have experienced issues with Airplay button missing from the control menu as well as in Spotify.  It is as if airplay is not runing.  A temp fix: Reboot of the ipad mini (Home button+standby) Is there anything permanent? I