Settting Matrix field value to contain a Tab

Hi
I am using the Matrix control in order to allow for a structured system to be created of header levels and sublevels so that I can have something like:
Header 1
              Sub Level 1
              Sub Level 2
Header 2
              Sub Level 1
              Sub Level 2
All of this will go into 1 column however I'm having a problem in getting the Sub Level rows to be indented so that it is easily visible which Sub Sections belong to which Header Sections.
I've tried setting the Matrix field by using:
oMatrix.Columns.Item("Sections").Cells.Item(2).Specific.value = vbTab & "Sub Section 1"
and also by just putting "     " before the value, however it always takes this out when actually displaying it.
Is there any way to get leading spaces on a Matrix field value?
Thanks a lot
Steve

Hello Steven,
Did you look at a grid? You have the property CollapseLevel for this problem.
Maybe this is working for you.
HTH Regards Teun

Similar Messages

  • How to assign custom tab field value to corresponding standard tab field value.

    Dear friends,
                         I want  assign a field value ( advice code , advice code description ) in a custom tab  to corresponding field value in standard tab (advcode ,).   in me51n. 
    following screen shot are given below

    Hi SK,
    It looks both the tabs are custom ones. In that case, you can either use Export/Import statement or you can use Set/Get Parameter ID for  setting value.
    If one is standard subscreen, you can export value from custom subscreen and use line item level user-ext/enhancement to assign the value on standard subscreen.
    Hope this helps.
    Regards,
    Naveen

  • How to in-sync two fields value on two different tabs?

    Hi,
    I am using two tabs for master-detail relationship. First tab contains master block and second tab has detail block. User input date value in a field on master block and detail block date field should contain the same date value.
    Version: FORM6i
    Problem: If I use WHEN-VALIDATE-ITEM trigger on master block field and put code like this
    :detblk.tdate : = mblk.tdate;
    then second tab is halted b/c the data is only displayed when user click on the tab.
    Please guide on this issue.
    Regards
    Kamran

    Hello,
    What about using when-tab-changed Trigger..
    =================================
    For me i had the same case but displaing the total summarized columnin the detail block in master bloclk too as total.
    i used the post-change Trigger in the quantity-item which is summerized in total displayed item.
    ==========================================================
    Hope this help too,
    pls let me know what happened..?
    regards,
    Abdetu..

  • Payload field value in container for alert

    Hi All,
    I am configuring Alerts for my client.I have to insert a value of one of the field from payload in the alert long message.
    I have gone through SDN to search for any blogs.
    1) I dont want to use BPm
    2) Other option of using RFC lookup in mapping is not feasible.
    Does any one else has any other idea about implementing the same.I could see some System Fields  like XPATH_GET_VALUE in the alert category.But ,how can we use it?
    Thanks
    Nidhi

    If you are using the Alert category definition of SAP PI
    there are default container values that can be used to include
    data in the alert message.
    Refer to: [Alert Category definition|http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm]
    this should be the first place to look for work methods and features.

  • User defined field values doesnot show up in summary tab

    Hi,
    I have created my own stylesheet to display some of my user defined field values (associated with organization address book entry type) in the summary tab of the addressbook entry. But Groupwise 8.0 client FAILS to display any of the user defined field values in the summary tab FOR ONLY ORGANIZATION ADDRESSBOOK ENTRY types. NOTE: These organization addressbook entries are created using the C++ Groupwise object API. But the Advanced tab of these organization addressbook entry shows those user defined fields with values in it.
    Also Groupwise 8.0 Client is able to display the user defined field values in the summary tab for the PERSON ADDRESSBOOK ENTRY types, that are created using the Groupwise Object API. Also when I create a Organization addressbook entry using the Groupwise Client (NEW ORGANIZATION) and fill in the user defined field values using the Advanced tab or that addressbook entry, the summary tab displays those user defined field values.
    So there could be some problem in setting the user defined field value for the Organization address book entry using the Object API or it could be Groupwise 8.0 Client issue in displaying the user defined field values ONLY FOR ORGANIZATION ADDRESS BOOK ENTRY, WHICH ARE CREATED USING THE OBJECT API. I also tried to see the underlying XML data in the summary tab and that XML data is missing the USERDEFINEDFIELDS and CATEGORIES tag for the organization address book entry.
    I would like to know, if there is any need for special handling only for Organization addressbook entry in Groupwise 8.0 API. Any thoughts or help is really appreciated.

    Hi,
    Does anyone have an idea?? Think I have the same issue. Except, when I log in the client (ver. 802) then all the info is displayed. But when the user logs in on the same client and the same pc, he sees the xml info except the office address.
    Any help is greatly appreciated!
    Grtz,
    Joost Brenters

  • Grouping field value in the additional data tab is saved with capital lette

    Hi,
    Whenever I change the value in the 'Grouping field' in the additional data tab, it gets saved with all letter caps.
    For e.g, if i enter 'Manager'.. it gets saved as 'MANAGER'.
    what could be the reason for this? Is there any configuration for this?
    Regards,
    Simmi

    Hi Simmi,
    For Grouping and Search Field, this seems to be the standard system behaviour in cProjects and as per my knowledge there are no settings for the same.
    Probably you can raise an OSS message regarding the same.
    Regards,
    Vivek Pandey

  • Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .

    Hi Chhayank,
    the problem is not the exported xls. If you have a look inside with Notepad or something like that, you will see that your leading zeros are exported correct.Excel-settings occurs this problem, it is all about how to open the document. If you use the import-assistant you will have no problems because there are options available how to handle the different columns.
    Another solution might be to get familiar with ABAP2XLS-Project. I got in my mind, that there is a method implemented, that will help you solving this problem. But that is not a five minute job
    ~Florian

  • Error: Find criteria must contain at least one sort field value.

    Hi
    I am getting the followng error in Sort.as when I click on a column in a DataGrid that is bound to a nested property (e.g. parent.name)
    Error: Find criteria must contain at least one sort field value.
    I can see why this is failing.
    In the findItem function of Sort.as the code tests whether there is data in line (456) hasFieldName = values[fieldName] !== undefined. This fails and so an error is raised later in the function by:
         if (fieldsForCompare.length == 0)     {
         message = resourceManager.getString("collections", "findRestriction"); 
              throw new SortError(message);     }
     The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    In the case of a non nested property, everything works fine.
    There is lots of discussion about nested properties in DataGrid and there is this jira:
    http://bugs.adobe.com/jira/browse/SDK-9801
    There is talk of using a labelFunction or an itemRenderer and other third party solutions (extensions of DataGridColumn).
    Is this a bug?  is there a workaround using labelFunction or itemRenderer which can stop the error in Sort.as?
    James
    Here is the code of findItem in Sort.as of SDK 3..4.0.9271
    public  
    function findItem(items:Array,values:Object,
    mode:String,
    returnInsertionIndex:Boolean =
    false,compareFunction:Function =
    null):int{
    var compareForFind:Function; 
    var fieldsForCompare:Array; 
    var message:String; 
    if (!items){
    message = resourceManager.getString(
    "collections", "noItems"); 
    throw new SortError(message);}
    else if (items.length == 0){
    return returnInsertionIndex ? 1 : -1;}
    if (compareFunction == null){
    compareForFind =
    this.compareFunction; 
    // configure the search criteria
    if (values && fieldList.length > 0){
    fieldsForCompare = [];
    //build up the fields we can compare, if we skip a field in the
    //middle throw an error. it is ok to not have all the fields
    //though
    var fieldName:String; 
    var hadPreviousFieldName:Boolean = true; 
    for (var i:int = 0; i < fieldList.length; i++){
    fieldName = fieldList[i];
    if (fieldName){
    var hasFieldName:Boolean; 
    try
    hasFieldName = values[fieldName] !==
    undefined;}
    catch(e:Error){
    hasFieldName =
    false;}
    if (hasFieldName){
    if (!hadPreviousFieldName){
    message = resourceManager.getString(
    "collections", "findCondition", [ fieldName ]); 
    throw new SortError(message);}
    else
    fieldsForCompare.push(fieldName);
    else
    hadPreviousFieldName =
    false;}
    else
    //this is ok because sometimes a sortfield might
    //have a custom comparator
    fieldsForCompare.push(
    null);}
    if (fieldsForCompare.length == 0){
    message = resourceManager.getString(
    "collections", "findRestriction"); 
    throw new SortError(message);}
    else
    try
    initSortFields(items[0]);
    catch(initSortError:SortError){
    //oh well, use the default comparators...
    else
    compareForFind = compareFunction;

    I have tried a sortCompareFunction:
    var sort:Sort = new Sort();
    sort.compareFunction = compareFunction;sort.fields = [sortField];
    data.sort = sort;
    data.refresh();
    this makes no difference.
    James

  • Create Excel file in application server but the field value is incorrect

    Hi Experts,
    i am facing a problem when create excel file in application server using OPEN DATASET command.
    the internal table have 4 field and one of those field contains 19 digit number --> ICCID.
    the code running well, successfully create EXCELfile in application server but the problem is SAP only copy exactly first 15 digit numeric only and the rest became zero 0
    Example :
    the field value in internal table is 8962118800000447654 but when i opened in the excel file the value became 8962118800000440000.
    and if i add alphabet like a8962118800000447654 then it is correct.
    is there is anything wrong with my code?
    here is my code
    CONSTANTS: c_tab TYPE abap_char1 VALUE cl_abap_char_utilities=>horizontal_tab. "Tab Char
    Data : begin of lt_zdsdmmdt00005 occurs 0,
             SERNR (18) type c,
             MSISDNl(20) type c,
             BOX1 (20) type c,
             ICCID(30) type c,
           end of lt_zdsdmmdt00005.
    data : ld_temp(100) type c.
    i_file = '/usr/sap/DM/test_excel.xls'.
    open dataset i_file for output in legacy text mode.
      loop at lt_zdsdmmdt00005.
        move lt_zdsdmmdt00005-ICCID to ld_iccid .
        concatenate lt_zdsdmmdt00005-sernr  lt_zdsdmmdt00005-MSISDN  lt_zdsdmmdt00005-BOX1 ld_iccid
        into ld_temp separated by c_tab.
        transfer ld_temp to i_file.
      endloop.
      close dataset i_file.
    Best Regard,
    Akbar.

    Hi Naveen,
    thanks for your reply,
    i already tried and the result still the same. any idea?
    Best Regard,
    Akbar.

  • Distribution of fields from screen into different tabs in tabstrip.

    Hi All,
    I am having a screen 400 in program 'SAPLMR1M' which is the main program for MIRO transaction.
    The screen is having some 15 fields into it.
    When I run the MIRO transaction, I can see some of those fields appearing in the different tabs.
    My question is if a screen has 10 fields. Can I get the fields from one single screen distributed in different tabs in a tabstrip.
    Eg. 2 fields in tab1.
          4 fields in tab2.
          4 fields in tab3.
    Thanks in advance.
    Regards,
    Gaurav.

    Hi,
    Yes. It is possible.
    If you consider any transaction then it contains various tables for updation.
    Suppose if a screen contains 10 fields . Then 2 situations arises:
    1) If all that 10 fields belong to the same table then we can get directly based on the key value into any number of tab strips.
    2) Incase if we have field from more than 1 table then we have to create separate internal tables for each tabstrip and based on primary key we have to fetch the data using JOINS or FOR ALL ENTRIES and you can display in the tabstrips or table controls.
    Reward points if helpful;.
    Thanks and regards.

  • Container with tabs

    hello guys ...shahid here
    can we define a container with tabs in a report?
    for ex: a report program (not MP) , defined to a tcode. when we ran a tcode there will be a selection screen and we give input values in that and it will generate a container or a sub window in the screen with tabs. can u tell me how to do this?
    shahid

    REPORT  YH627_TABSTRIP.
    DATA: BEGIN OF FS_SPFLI,
            MANDT TYPE SPFLI-MANDT,
            CARRID TYPE SPFLI-CARRID,
            CONNID TYPE SPFLI-CONNID,
            COUNTRYFR TYPE SPFLI-COUNTRYFR,
          END OF FS_SPFLI.
    DATA: BEGIN OF FS_SFLIGHT,
            MANDT TYPE SFLIGHT-MANDT,
            CARRID TYPE SFLIGHT-CARRID,
            CONNID TYPE SFLIGHT-CONNID,
            FLDATE TYPE SFLIGHT-FLDATE,
          END OF FS_SFLIGHT.
    data:
      t_spfli   like standard table of fs_spfli,
      t_sflight like standard table of fs_sflight,
      ok_code   type sy-ucomm.
    controls:
      c_tabstrip type tabstrip.
    select *
      from spfli
      into corresponding fields of table t_spfli.
    select *
      from sflight
      into corresponding fields of table t_sflight.
    call screen 101.
    *call screen 102.
    *call screen 103.
    *&      Module  STATUS_0101  OUTPUT
          text
    MODULE STATUS_0101 OUTPUT.
      SET PF-STATUS 'TABSTRIP'.
      SET TITLEBAR 'TABSTRIP'.
    ENDMODULE.                 " STATUS_0101  OUTPUT
    *&      Module   USER_COMMAND_0101  INPUT
          text
    MODULE  USER_COMMAND_0101 INPUT.
      case ok_code.
        when 'BACK' or 'EXIT'.
          leave program.
          clear ok_code.
        when 'SPFLI'.
          leave to list-processing.
          loop at t_spfli into fs_spfli.
            write:/
              fs_spfli.
          endloop.
          clear ok_code.
        when 'SFLIGHT'.
          leave to list-processing.
          loop at t_sflight into fs_sflight.
            write:/
              fs_sflight.
          endloop.
          clear ok_code.
      endcase.
    ENDMODULE.                 "  USER_COMMAND_0101  INPUT
    <b>Double on call screen 101 and write the below code...</b>
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0101.
    call subscreen spfli_ref1 including sy-repid '102'.
    call subscreen sflight_ref1 including sy-repid '103'.
    PROCESS AFTER INPUT.
    call subscreen: spfli_ref1, sflight_ref1.
    MODULE USER_COMMAND_0101.
    <b>In the layout define a tabstrip control with two tabs.</b>
    Regards,
    Pavan.

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Selection screen field value capturing

    Hi,
    I have developed a report for displaying amendment changes in a purchse order. The input are purchase order
    and plant. Now they have asked for an additional input of version field, which should also have F4 field-value help.
    For version field, default there is no F4 key. So, i have written code like after entering the PO number when we press the enter key, for the corresponding PO, it brings the version no in input field. But my problem is it is displaying the values for version field, but when i select some value it is not getting updated in selection-screen version field. I have attached my code below... please help me
    in the below code my problem is only between
    AT SELECTION-SCREEN on value-request for P_REVNO.
    and
    start-of-selection event...
    TABLES : ekko,
    ekpo,
    cdhdr,
    cdpos,
    MEPO1325,
    t001,
    t166c,
    t166t,
    adrc,
    komp, " net rate of header
    konv, " net value of purchase order
    zammendpodet.
    TYPES : BEGIN OF ts_cdpos,
    ebeln TYPE ekbe-ebeln,
    ebelp TYPE ekbe-ebelp,
    matnr type ekpo-matnr,
    maktx type makt-maktx,
    prdat type ekpo-prdat,
    belnr TYPE ekbe-belnr,
    budat TYPE ekbe-budat,
    tkey(70),
    txz01 TYPE ekpo-txz01,
    ctxnr TYPE t166c-ctxnr,
    desp(20) type C,
    MEINS LIKE MARA-MEINS,
    chtxt TYPE t166t-chtxt.
    INCLUDE STRUCTURE cdpos.
    TYPES : END OF ts_cdpos.
    data : begin of it_makt occurs 0,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of it_makt.
    data : begin of it_maRA occurs 0,
    matnr like maRA-matnr,
    mEINS like maRA-mEINS,
    end of it_maRA.
    *Internal table declartion
    DATA : it_erev TYPE TABLE OF erev WITH HEADER LINE,
    it_ekko1 type table of ekko with header line,
    it_konv2 type table of konv with header line,
    it_ekpo TYPE TABLE OF ekpo WITH HEADER LINE,
    it_ekpo1 TYPE TABLE OF ekpo WITH HEADER LINE,
    it_cdhdr TYPE TABLE OF cdhdr WITH HEADER LINE,
    it_t166c TYPE TABLE OF t166c WITH HEADER LINE,
    it_ekbe TYPE TABLE OF ekbe WITH HEADER LINE,
    IT_AMMEND TYPE TABLE OF ZAMMENDPODET WITH HEADER LINE,
    IT_AMMEND1 TYPE TABLE OF ZAMMENDPODET WITH HEADER LINE,
    it_komp TYPE TABLE OF KOMP WITH HEADER LINE,
    it_konv type table of konv with header line,
    it_konv1 type table of konv with header line,
    it_cdpos TYPE TABLE OF ts_cdpos WITH HEADER LINE.
    data : BEGIN OF it_erev1 occurs 0,
    revno TYPE erev-revno.
    data : end of it_erev1.
    data : begin of it_cdpos1 occurs 0.
    include structure cdpos.
    data : ebeln like ekko-ebeln,
    item like ekpo-ebelp,
    aedat like ekpo-aedat,
    matnr like ekpo-matnr,
    txz01 like ekpo-txz01,
    desp(20) type C,
    MEINS LIKE MARA-MEINS,
    item1 like ekpo-netpr.
    data : end of it_cdpos1.
    types : dy_temp TYPE lips-lgort.
    DATA : dyfields LIKE dynpread OCCURS 1 WITH HEADER LINE, dy_value TYPE dy_temp.
    DATA: progname TYPE sy-repid,
    dynnum TYPE sy-dynnr,
    dynpro_values TYPE TABLE OF dynpread,
    field_value LIKE LINE OF dynpro_values.
    *Work variable declaration
    DATA : v_revno TYPE erev-revno,
    revno1 type zammendpodet-revno,
    w_version TYPE erev-revno,
    w_erdat TYPE erev-erdat,
    w_eruhr TYPE erev-eruhr,
    wv_eruhr TYPE erev-eruhr,
    v_tabkey TYPE cdpos-tabkey,
    v_temp(5),
    v_olddate(8),
    v_newdate(8),
    v_value_old TYPE cdpos-value_old,
    V_OLD TYPE EKPO-BRTWR, " OLD VALUE FOR PURCHASE ORDER
    l_ind TYPE i,
    temp value 0 type i,
    temp1 type i,
    temp2 type i,
    temp3 type i,
    wa_cdpos like line of it_cdpos,
    wa_cdpos1 like line of it_cdpos1,
    v_tabkey1 TYPE cdpos-tabkey.
    PARAMETERS : p_ebeln TYPE ekko-ebeln,
    p_ebelp TYPE ekpo-ebelp.
    p_bukrs TYPE t001-bukrs,
    p_revno type erev-revno.
    INITIALIZATION.
    AT SELECTION-SCREEN on value-request for P_REVNO.
    CLEAR: dyfields[], dyfields.
    dyfields-fieldname = 'P_REVNO'.
    APPEND dyfields.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = sy-cprog
    dynumb = sy-dynnr
    TABLES
    dynpfields = dyfields.
    READ TABLE dyfields INDEX 1.
    SELECT revno
    FROM erev
    INTO TABLE it_erev1 WHERE edokn = p_ebeln.
    IF sy-subrc = 0.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'REVNO'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'P_REVNO'
    value_org = 'S'
    TABLES
    value_tab = it_eREV1
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    START-OF-SELECTION.
    SELECT SINGLE *
    FROM t001
    WHERE bukrs EQ p_bukrs.
    IF sy-subrc EQ 0.
    SELECT SINGLE *
    FROM adrc
    WHERE addrnumber EQ t001-adrnr.
    ENDIF.
    SELECT SINGLE *
    FROM ekko
    WHERE ebeln
    EQ p_ebeln
    AND frgke = 2.
    select * from konv into corresponding fields of table it_konv where knumv eq ekko-knumv.
    useful informations will be rewarded.
    thanks and regards,
    subbu.,

    Hi ,
           Use this function module
        call function 'DYNP_VALUES_UPDATE'
          exporting
            dyname               = sy-repid
            dynumb               = sy-dynnr
          tables
            dynpfields           = t_dynpfields
          exceptions
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            undefind_error       = 7
            others               = 8.
    where t_dynpfields would contain name of field and value you want to update.
    Please reward if useful.

  • Custom Field value is not getting populated in Display mode

    Hi Experts ,
    I have created a custom field on sales tab for BP Role Bill to prty in BP transaction in SAP CRM. The problem i am facing is that , after i chose my sales area field value is not populating in first time no matter whether i am in display or change mode but the moment i switch to the other mode the value is being populated. Kindly help me in solving this.
    Regards,
    Ameet

    Dear Chetan,
    If the field is added through AET, can you please check the Get & Set Methods?
    If the field value has fixed values which you have defined while creating, then check GET_V & GET_P methods.
    Thanks & Kind Regards,
    Ravi Kumar A R

  • Field values in detail line being cutoff

    I am using Crystal Reports 2011.
    I have a report created in Crystal Reports and is being populated by a Dataset.
    The report is displayed in a CrystalReportViewer in an ASP.Net page.
    I am finding that sometimes the string data  in fields in the detail line are being cutoff.
    For example:
    There is a column in the report called Status.
    The table field has a value of Started1234567.
    When the report is displayed in CrystalReportViewer, the Status column only shows Started12 in the detail line.
    Even when the report is exported to a MS Excel .xls file and you click on the cell with that value, it still only has a value of Started12 instead of Started1234567.
    I am not concerned that the value is cutoff in CrystalReportViewer.
    But it would be better to be able to see the whole value when the report is exported to a file, especially to a MS Excel .xls file.  Is there a way to keep the value from being cutoff when being exported?
    Sincerely,
    Keith Jackson

    Hi,
    Setup the font size is smaller i.e based on your requirement..
    Format the field and on the paragraph tab put a small value in the Indentations Left box.  I use 0.1 cm, but it depends on your settings in Page Setup..
    As of now these are the possible ways....
    Refer this link:  Data gets cut off after 20 characters
    Thanks,
    DJ

Maybe you are looking for