Howto access EEWB-generated fields (in ABAP)

Hi all,
I have successfully used EEWB to extend the business partner object by some custom fields. I can also read and save values to this fields using the corresponding standard transactions. But: How can I access (read and write) to these new fields in ABAP? I mean, does the EEWB automatically create appropriate function modules, or do I have to access them directly via SQL for myself?
Thanks in advance for your help!
Kind regards, Matthias

I found the solution: BAPI "BUPA_CENTRAL_CI_CHANGE".
Kind regards, Matthias

Similar Messages

  • EEWB - How to adjust generation? remove generated field or adjust size

    Hi
    I have used EEWB(Easy Enhancement Workbench) to add new fields to ORDERADM_H.
    After EEWB generation I would like to change the length of some fields, remove other fields, and retain some fields exactly as they are.
    I don't see any way to do this in EEWB. It simply allows me to re-edit the definition using the Wizard or regenerate.
    I am too nervous to adjust the Wizard definitions( what fields will be added to ORDERADM_H) and re-generate incase it adds a whole new list of fields AGAIN! EEWB allows SAP to generate the field names so there is no field 'name' link to existing generated fields.
    There is no documentation on EEWB as regards this and no SAP press books mention this scenario.
    Many thanks,
    Dave

    Just for everybodies interest I will post solution.
    In the end in EEWB I reditied my additional fields by restarting the wizard. I removed fields and adjusted data elements of others. At the end of the Wizard it successfully went and adjusted all related objects. Simple. No generation performed though. That was only performed once when I defined my extensions.

  • Making a dynamically generated field as Read Only

    Hi All,
    I am extending a standard CO and in that I wanted to make an entire table as read only. I checked by personalizing the page from front end, but as the items are dynamically generated fields , they are not visible in personalize page.
    So is there any way to cach these fields and make them read only programmatically.
    Thanks,
    Srikanth

    Hi Pratap,
    I have looked into the view source and took the name of a input type ( There is no ID for the field) and used it in findIndexedChild, but it returns a null. I guess this is happening is the current CO is a mere region level CO and it is not being given the access.
    The code in the class file is as follows :
    public static void processTable(OAPageContext oapagecontext, OAWebBean oawebbean)
    oapagecontext.startTimedProcedure("CrossTableCO", "processTable");
    String s = null;
    String s1 = null;
    int i = oawebbean.getIndexedChildCount();
    String as[[][]] = new String[7];
    int j = 0;
    String as1[[][]] = new String[i][6];
    for(int k = 0; k < oawebbean.getIndexedChildCount(); k++)
    UINode uinode = oawebbean.getIndexedChild(k);
    if(!(uinode instanceof OAMessageStyledTextBean))
    continue;
    OAMessageStyledTextBean oamessagestyledtextbean = (OAMessageStyledTextBean)uinode;
    if(oamessagestyledtextbean.isRendered())
    oamessagestyledtextbean.setRendered(false);
    oamessagestyledtextbean.setAttributeValue("benCustomBeanRender", "Y");
    if("TotalPlanLabel".equals(oamessagestyledtextbean.getUINodeName()))
    s1 = oamessagestyledtextbean.getLabel();
    continue;
    if(s == null)
    s = oamessagestyledtextbean.getViewUsageName();
    as[j][0] = oamessagestyledtextbean.getViewAttributeName();
    as[j][1] = oamessagestyledtextbean.getSortByAttributeName();
    as[j][2] = oamessagestyledtextbean.getLabel();
    as[j][3] = oamessagestyledtextbean.getExportByViewAttrName();
    as[j][4] = oamessagestyledtextbean.getDestination();
    as[j][5] = oamessagestyledtextbean.getUINodeName();
    as[j][6] = oamessagestyledtextbean.getDataType();
    if(as[j][4] != null && as[j][5] != null)
    as1[j][0] = as[j][5];
    as1[j][1] = as[j][0];
    as1[j][2] = s;
    as1[j][3] = as[j][4];
    as1[j][4] = as[j][6];
    as1[j][5] = as[j][3];
    j++;
    continue;
    if("TotalPlanLabel".equals(oamessagestyledtextbean.getUINodeName()))
    s1 = "XXHideXXTotalXX";
    oawebbean.setAttributeValue("CrossTableUpdateInfo", as1);
    oawebbean.setAttributeValue("CrossTableRenderCount", Convert.getString(j));
    if(s == null)
    return;
    OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject(s);
    if(oaviewobject == null || !oaviewobject.isPreparedForExecution() || oaviewobject.first() == null)
    return;
    } else
    oawebbean.addIndexedChild(createTable(oawebbean, oaviewobject, as, j, s1));
    oawebbean.setAttributeValue("CrossTableRowCount", Convert.getString(oaviewobject.getRowCountInRange()));
    oapagecontext.endTimedProcedure("CrossTableCO", "processTable");
    return;
    private static UINode createTable(OAWebBean oawebbean, OAViewObject oaviewobject, String as[][], int i, String s)
    int j = oaviewobject.getRowCountInRange();
    DataTextNode datatextnode = new DataTextNode(new DataBoundValue("text"));
    String as1[] = new String[j + 1];
    CrossTableData acrosstabledata[] = new CrossTableData[i];
    int k = -1;
    for(int l = 0; l < i; l++)
    acrosstabledata[l] = new CrossTableData(new CrossTableCellData[j + 1]);
    for(int i1 = 0; i1 <= j; i1++)
    if(i1 > 0)
    try
    if(s != null && j > 1 && CT_NUM_MINUS_ONE.equals(oaviewobject.getRowAtRangeIndex(i1 - 1).getAttribute("GroupOiplId")))
    as1[i1] = s;
    else
    as1[i1] = (String)oaviewobject.getRowAtRangeIndex(i1 - 1).getAttribute("Name");
    catch(Exception exception)
    datatextnode = null;
    as1[i1] = "";
    if(k < 0 && j > 1 && "XXHideXXTotalXX".equals(s) && CT_NUM_MINUS_ONE.equals(oaviewobject.getRowAtRangeIndex(i1 - 1).getAttribute("GroupOiplId")))
    k = i1;
    for(int j1 = 0; j1 < i; j1++)
    if(i1 == 0)
    acrosstabledata[j1].getData()[i1] = new CrossTableCellData(as[j1][2]);
    else
    acrosstabledata[j1].getData()[i1] = new CrossTableCellData(null, as[j1][2], oaviewobject, i1 - 1, as[j1][0], as[j1][1], as[j1][3], as[j1][4], as[j1][5], as[j1][6]);
    TableBean tablebean = new TableBean("CrossTable", new ArrayDataSet(acrosstabledata), null, null, datatextnode, new ArrayDataSet(as1, "text"));
    tablebean.setWidth("100%");
    tablebean.setSummary(" ");
    tablebean.setNameTransformed(false);
    tablebean.setTableFormat(new DictionaryData("tableBanding", "rowBanding"));
    tablebean.setID((new StringBuilder()).append("CrossTable").append(oawebbean.getID()).toString());
    oawebbean.setAttributeValue("CrossTableId", tablebean.getID());
    DictionaryData adictionarydata[] = new DictionaryData[j + 1];
    Object obj = null;
    Object obj1 = null;
    for(int k1 = 0; k1 <= j; k1++)
    OAWebBean oawebbean1 = createColumn(k1);
    if(k1 == k)
    oawebbean1.setRendered(false);
    tablebean.addIndexedChild(oawebbean1);
    if(k1 == 0)
    adictionarydata[k1] = new DictionaryData("columnDataFormat", "textFormat");
    continue;
    try
    String s1 = (String)oaviewobject.getRowAtRangeIndex(k1 - 1).getAttribute("TextFormat");
    if("Y".equalsIgnoreCase(s1))
    adictionarydata[k1] = new DictionaryData("columnDataFormat", "textFormat");
    else
    adictionarydata[k1] = new DictionaryData("columnDataFormat", "numberFormat");
    catch(Exception exception1)
    adictionarydata[k1] = new DictionaryData("columnDataFormat", "numberFormat");
    tablebean.setColumnFormats(new ArrayDataSet(adictionarydata));
    return tablebean;
    private static OAWebBean createColumn(int i)
    OAFlowLayoutBean oaflowlayoutbean = new OAFlowLayoutBean();
    OAMessageTextInputBean oamessagetextinputbean = new OAMessageTextInputBean();
    OAMessageStyledTextBean oamessagestyledtextbean = new OAMessageStyledTextBean();
    OAMessageDateFieldBean oamessagedatefieldbean = new OAMessageDateFieldBean();
    OASwitcherBean oaswitcherbean = new OASwitcherBean();
    Hashtable hashtable = new Hashtable();
    hashtable.put("CtPPRTrgCol", new DataBoundValue(new CrossTableColumnData(i, "Name")));
    oaswitcherbean.setNamedChild("input", oamessagetextinputbean);
    oaswitcherbean.setNamedChild("date", oamessagedatefieldbean);
    oaswitcherbean.setChildNameBinding(new CrossTableColumnData(i, "Render"));
    oaflowlayoutbean.addIndexedChild(oaswitcherbean);
    oaflowlayoutbean.addIndexedChild(oamessagestyledtextbean);
    oamessagetextinputbean.setNameBinding(new CrossTableColumnData(i, "Name"));
    oamessagetextinputbean.setTextBinding(new CrossTableColumnData(i, "Text1"));
    oamessagetextinputbean.setAttributeValue(DESCRIPTION, new DataBoundValue(new CrossTableColumnData(i, "Label")));
    oamessagetextinputbean.setAttributeValue(COLUMNS_ATTR, "12");
    oamessagetextinputbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, OAWebBeanUtils.getFirePartialActionForSubmit(oamessagetextinputbean, null, "update", hashtable, null));
    oamessagetextinputbean.setDataType("NUMBER");
    oamessagetextinputbean.setAttributeValue(READ_ONLY_ATTR, new DataBoundValue(new CrossTableColumnData(i, "ReadOnly")));
    oamessagetextinputbean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, new DataBoundValue(new CrossTableColumnData(i, "SubmitValidator")));
    oamessagedatefieldbean.setNameBinding(new CrossTableColumnData(i, "Name"));
    oamessagedatefieldbean.setTextBinding(new CrossTableColumnData(i, "Text1"));
    oamessagedatefieldbean.setValueBinding(new CrossTableColumnData(i, "Text1"));
    oamessagedatefieldbean.setAttributeValue(DESCRIPTION, new DataBoundValue(new CrossTableColumnData(i, "Label")));
    oamessagedatefieldbean.setAttributeValue(COLUMNS_ATTR, "12");
    oamessagedatefieldbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, OAWebBeanUtils.getFirePartialActionForSubmit(oamessagedatefieldbean, null, "update", hashtable, null));
    oamessagedatefieldbean.setDataType("DATE");
    oamessagedatefieldbean.setAttributeValue(READ_ONLY_ATTR, new DataBoundValue(new CrossTableColumnData(i, "ReadOnly")));
    oamessagestyledtextbean.setTextBinding(new CrossTableColumnData(i, "Text2"));
    return oaflowlayoutbean;
    Pls let me know for any clarifications.
    Thanks,
    Srikanth

  • Addition of checkbox and 2 fields in ABap query selection screen

    Hi
    I need to add chack boxes and 2 fields in ABAP query which is using LDB QMI. can u pls let me know how to do that.

    Hi Tarun,
    I am still not clear with the problem..I guess you require plant in your selection screen which you have.
    i guess if you go to sq01tcode there is a option infoset query from where you can give your selection options and value.
    have you selected all the fields in infoset and made a selection screen?
    When you have done with your infoset you just need to diplay the fields and there is a automatic program generated.
    Let me know...
    Regards,
    Nihkil.

  • Table maintenance generator in webdypro abap

    Hi Experts,
    Please can you suggest how to implemnt Table maintenance generator in webdypro abap.
    Regards,
    BBC

    Hi,
    Thanks for your inputs,
    Now I have included add, modify, delete and save functionalities to ALV table.
    Here What I did, fist it shows the list of records from data base table with ALV table as ready only mode.
    Then
    If we click on add button then last row will add with editable mode,
    If we select a row and click on modify button then in that row fourth field only editable (because first three are primary key fields).
    If we select row and click on delete then record deleted and updated in database table.
    If click on save button, it captures the modified ones then saved.
    if we test individual functionality, it is working fine.
    If we do fist add functionality then after saving if we click on modify row then it is showing total row as in editable mode.
    Here as per modify fyctionlaity in that row fourth field only have to show editable.
    Please can you suggest how to resolve this issue?
    Regards,
    BBC
    Edited by: BBC Achari on Sep 7, 2011 9:23 AM

  • Run Time Error - You attempted to access an unassigned field s

    Dear All
    I created a report to display purchase order history. there is no syntax error.but runtime which i have pasted below.
    help me to find the error.
    Runtime Errors         GETWA_NOT_ASSIGNED
    Date and Time          26.02.2008 06:25:56
    Short text
         Field symbol has not yet been assigned.
    Error analysis
         You attempted to access an unassigned field s
         (data segment 32820).
         This error may occur if
         - You address a typed field symbol before it
           ASSIGN
         - You address a field symbol that pointed to
           internal table that was deleted
         - You address a field symbol that was previou
           UNASSIGN or that pointed to a local field t
           longer exists
         - You address a global function interface, al
           respective function module is not active -
           not in the list of active calls. The list o
           can be taken from this short dump.
    Trigger Location of Runtime Error
        Program                                 SAPLSLVC
        Include                                 LSLVCF36
        Row                                     3.176
        Module type                             (FORM)
        Module Name                             FILL_DATA_TABLE
    Source Code Extract
    Line  SourceCde
    3146                               alv_style_align_center_top.
    3147         endif.
    3148
    3149         append ls_lvc_data to ct_lvc_data.
    3150       endif.
    3151
    3152 ************************************
    3153 * Column per Fieldcat Entry
    3154 ************************************
    3155       loop at it_fcat_local assigning <ls_fcat>.
    3156         clear: ls_lvc_data-href_hndl,
    3157                ls_lvc_data-drdn_hndl,
    3157                ls_lvc_data-drdn_hndl,
    3158                ls_lvc_data-style,
    3159                ls_lvc_data-style2,
    3160                ls_lvc_data-style3,
    3161                ls_lvc_data-style4,
    3162                ls_lvc_data-maxlen.
    3163
    3164         clear: lt_color_lvc, lt_color_slis.
    3165
    3166         add 1 to ls_lvc_data-col_pos.
    3167
    3168         if not <ls_fcat>-indx_field is initial.
    3169           assign component <ls_fcat>-indx_field
    3170                            of structure <ls_data> to <l_field_value>.
    3171         else.
    3172           assign component <ls_fcat>-fieldname
    3173                            of structure <ls_data> to <l_field_value>.
    3174         endif.
    3175
    >>>>         macro_cell_data_get
    3177           <ls_fcat>
    3178           <ls_data>
    3179           <l_field_value>
    3180           ls_lvc_data-value.
    3181
    3182 *>>> new API
    3183         if ir_salv_adapter is bound.
    3184           clear ls_lvc_data-style.
    3185
    3186 * color
    3187           if g_gui_type ne 1.
    3188             if <ls_fcat>-key eq abap_true.
    3189               ls_lvc_data-style = alv_style_color_int_key.
    3190             elseif l_style_color is initial
    3191                   and ( <ls_fcat>-emphasize is initial or
    3192                         <ls_fcat>-emphasize = '$' ).
    3193               if <ls_stin>-counter is initial.
    3194                 ls_lvc_data-style = alv_style_color_normal.
    3195               else.

    Hi
    You are getting the dump because you have not populated the field catalog properly.  There will be some mistake in the structure which you are using.  Kindly check the same.
    THanks
    Vijay
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 12:41 PM

  • Creation of local field in ABAP Query

    Hi
    Please let me know how to create a local field in ABAP query. I am finding the option inactive in SQ01.
    Regards
    Priyadarshini

    hi priya,
         *__Adding u201CLocal Fieldu201D (user defined field) in SAP Query_ :
    There is also facility to add the user defined fields in SAP query output. Also we can provide calculation formula for calculating values for this user defined field.
    Calculation formula consists of standard fields from standard SAP tables. So the values fetched for particular standard SAP fields from standard SAP tables get calculated as per the calculation formula defined for the user defined field and displays the value accordingly.
    To do this first go to change mode for Query which automatically takes you to screen shown below and click on icon   , as below :
    Then further screen will appears. So select the Field group and again click on the same icon button   .
    Then switch on the Short names for the fields and give the short names to fields which we need to use in Calculation formula.
    Give the short names and then created u201CLocal Fieldu201D, as shown in below screen shot. Also Short names are given to fields, which can be used further for calculation.
    Defining Local Field u201CREM_QTYu201D along with its field type and Calculation formula.
      In this case we have 
      defined field type for new  
      field as similar to
      ORD_QTY and
      Calculation formula is  
      defined.
    Also its possible to have Conditional logic for Local field by putting Condition in u201CConditionu201D line.
    Now activate this newly added Local field for coming it in output screen. To do the same again go to u201CBasic Listu201D and activate the Local Field as shown below :
    i think this will help u
    regards,
    sindhu.

  • How to restrict AS02 access to certain fields only

    How to restrict AS02 (Asset Master Record) access to certain fields only. Currently when you assigned AS02 to a certain user, this will enable the user to change all the fields in the asset master record. Suppose i want only the user to restrict the access to certain field eg.NDJAR (Life in Yrs).
    Thanks for your inputs.
    Regards,
    Robert

    hello,
    basis has to assign the proper activity with object A_S_ANLKL. in this case they have to allow activity 03 only with combination of Cocode,asset class. see some more details below.
    This authorization object is the first part of the object "asset master record."
    The definition at this level determines whether the user is authorized to process data in a given company code. The activity type for the transaction is also defined here. This authorization object is used for master data transactions, for the display of value fields, and for reporting.
    Defined Fields
    The following fields are assigned to the authorization object
    Asset class (specified by entering a value in the pop-up window)
    Company code (specified by entering a value in the pop-up window)
    Activity type - there are three different activity types:
    01 = Create
    02 = Change (including blocking and deleting)
    03 = Display

  • Access HTML hidden field value in JSP

    Hi,
    I have a JSP and need to access the hidden fields on that HTML page,
    i.e. in HTML i have a hidden tag
    <form name="login">
    <input type="hidden" name="language" value="en">
    </form>
    in my jsp i want to read the value of hidden field language
    how can i do it???

    You read it as any other field :
    String lng=request.getParameter("language");
    The string lng will contain the value "en"
    regards

  • How to access Infocube content using an ABAP program

    Hi,
       I am trying to access infocube contents using a ABAP program in BW.
       It is easy to access ODS content as we have NEW DATA or ACTIVE DATA
       tables. Is there any way we can access Infocube content.
       I tried using the FACT table but it has only Keyfigure data.
    thanks
    arshad.

    Hi,
    I would suggest to use a transactionnal cube, even if you do not use BPS to feed it.
    Then, you create a layout in transaction BPS0 (~ similar to a query), and you can access the cube content by simply using the SAP function <b>API_SEMBPS_GETDATA</b>.
    This is easy and fast.
    Regards,

  • How to generate field on UCM check-in form???

    Hi,
    How to generate field on UCM check-in form???
    I mean in check-in new document form i have an option list metadata field (ex: Type)
    When i select Person like Type value, it generate me input text depended on it for exemple
    - Name (input text)
    - Adress (input text)
    - phone (input text)
    And when i click on check-in button it save the input value on Person table
    Please help me
    Khadim

    Hi jiri.machotka
    I Know this link but what i want to do is generating dynamically a sub form (in checkin form) depending on choice
    For example when my choice is Person it generate a sub form containing
    Name (input with its label)
    Firstname
    Lastname
    Age
    Regard
    CABDiop

  • URGENT!Can I user a THIN jdbc driver to access a CLOB field from oracle 8.0.5 DB?

    URGENT!Can I user a THIN jdbc driver to access a CLOB field from oracle 8.0.5 DB?

    I think you'd need to contact Oracle support to get access to older versions of the driver.
    Since 8.0.5 isn't supported any longer, however, is it possible for you to update your Oracle client to one of the supported releases-- 8.1.7 or 9i?
    Justin

  • How to put Mandatory option for selection screen fields in ABAP Queries

    Hi Experts
    Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
    Manually I had written code in the At Selection Screen  option in infoset to display error message if that field is blank.
    But I need to display the selection fields with the tick mark (obligatory mark).
    How to do this?
    Appropriate answers will be awarded

    Hi
    For parameter option
    parameters : p_kunnr type kna1-kunnr  obligatory.
    For select option
    select-options: s_date for vbak-erdat obligatory.
    Plz rewards points ,
    Regards ,
    Ganesh.

  • Access Portal groups in webdynpro ABAP component

    Hi Experts,
    I have a requirement to access portal group in web dynpro ABAP application and based on whether user is assigned to particular group or not further processing for application will be done.
    Are there any UME API or some other API's available to access portal groups in Webdynpro ABAP component?
    Thanks in Advance..!!
    Regards,
    Shruti Shah

    This might be a question better suited to the portal forum. The WDA Portal APIs do not have such functionality.  You might be able to take the Java Portal APIs and wrap them in a web service so that they are callable from ABAP.

  • [Microsoft][ODBC Microsoft Access Driver] COUNT field incorrect

    Hello togehter!
    I get the following error when I try to execute a insert statment in a table:
    [Microsoft][ODBC Microsoft Access Driver] COUNT field incorrect
    I have a table with PictureID (Autowert), Path and Diagnostic (Strings)
    My preparedStatement is:
    INSERT INTO Pictures (Path, Diagnostic) VALUES (?,?)
    Any ideas??

    private static int addPicture(String path, String diagnostic)throws SQLException
              PreparedStatement statement = DataBase.getConnection().prepareStatement("INSERT INTO Pictures (Path, Diagnostic)" +
                   "VALUES (?,?)");
              statement.setString(1,path);
              statement.setString(1,diagnostic);
              statement.executeUpdate();
              statement.close();
    this is the part of my method that is nor working.
    Thanks for your help.

Maybe you are looking for

  • How can I get my hp Laserjet 1012 to work with Windows 7?

    How can I get my hp Laserjet 1012 to work with Windows 7?

  • Want to do a non-destru​ctive restore of XP Profession​al SP3 (Was SP2)

    System:  Presario SR1817cl, as originally configured from factory.  XP Professional 32-bit SP3 (was SP2) 512 MB RAM, onboard card reader, ATI onboard video.  AMD processor.  IE8 installed. System was badly infected with 31 malware, (trojans, exploits

  • BLANKET PURCHASE ORDER로부터 ASL과 SOURCING RULE을 생성하는 방법

    제품 : MFG_PO 작성날짜 : 2005-11-08 BLANKET PURCHASE ORDER로부터 ASL과 SOURCING RULE을 생성하는 방법 ================================================================= PURPOSE Blanket PO로부터 ASL과 Soucing Rule을 생성하는 방법을 알아본다. Explanation 1. Site level로 아래의 profile optio

  • Posting In COPA PSG

    The scenario is that I have a promotion bill say for 5000. This is related to one vendor.The promotion is for 3 materials. 5 customers consume this materal.When posting to vendor Account through FB60, Profitability Segment (PSG) will be selected , th

  • Using sqlplus to connect to an Oracle DB

    I want to connect to an Oracle data base running on a Windows server. The name is ora_prod6. In the tnsnames.ora file: ORA_PROD6.world = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = ORACLE-01.XXX.XXX.COM)