Enhancement: Append Fields to Types Structure Fails

Hi all,
need some help.
It seems weird that this enhancement could not be checked correctly although i compared it with the copied version.
Typen
TYPES: BEGIN OF t_show_vzzbepp.
INCLUDE  STRUCTURE vzzbepp.
TYPES:   shwhr           TYPE waers,       " Hauswährung
         icon_jonlaen    TYPE icon_jonlaen,  " Icon für JONLAEN
         icon_sreorg     TYPE icon_sreorg,  " Icon für SREORG
         color(3)        TYPE c,       " Farbe
         x_mark          TYPE c,       " Markierung für Änderung
         n_tabix         LIKE sy-tabix," Referenz zur Bewegung
       Erweiterung für die Simulation der Korrekturbuchung
         sold_new        TYPE tb_sold_new,  " Datensatz alt / neu
"""""""*"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$SE:(1 ) Typ T_SHOW_VZZBEPP, End                                                                                S
$$-Start: (1 )----
$$
ENHANCEMENT 2  ZISB_LFVD_ALVF01.    "inactive version
*Additional fields
         zsprice(16)     TYPE p DECIMALS 2,
         zunepft(16)     TYPE p DECIMALS 2,
ENDENHANCEMENT.
$$-End:   (1 )----
$$
       END OF t_show_vzzbepp.
/code
It dishes out standard "comma without preceeding colon (after zsprice(16))".
Im guessing its because of "tb_sold_new," 's colon?
This is an enhancement to LFVD_ALVTOP at function group FVD_ALV.

Try changing
         sold_new        TYPE tb_sold_new,  " Datensatz alt / neu
To:
         sold_new        TYPE tb_sold_new.  " Datensatz alt / neu
Period instead of comma. Other similar changes needed as well.
Rob

Similar Messages

  • How to append fields to the structure rfposxext........

    hi all,
    i have to append one field i.e.
    Credit Representative Group: (Table: KNKK; Field Name: SBGRP)to the standard structure 'rfposxext'.
    can anybody suggest me,how to do it?
    thanx in advance.

    Hi,
    Are you talking Web Dynpro? There is a seperate forum for that.
    If you are, I believe it is not possible to change structures that you import as a model. (standard structure?)
    You can create your own custom structure that contains the model structure + the field you require.
    I hope it makes sense.
    Good luck!
    Roelof

  • Infs Structure append fields

    Hi .
    how to append fields to info structure say s911 .
    Regds,Ö

    HI
    GOOD
    FOLLOW THIS PROCEDURE
    Use
    With this procedure you append nodes to an entry structure, thereby building a navigation hierarchy.
    Prerequisites
    You are editing the entry structure and are on the Edit Structure  screen.
    Procedure
    Select a node in the entry structure.
    Choose Info object ® Insert ® At same level or Info object ® Insert ® As subnode.
    In the next dialog box choose Create new info object.
    In the next dialog box, create entry structures for navigation with info object class Topic (IWB0NOD) or info object class General info object (IWB0GEN).
    Enter the required data and choose Continue.
    When you insert a node of info object class Topic, a document is opened in MS Word whose first paragraph contains the name (or title) of the info object. Enter further contents for the info object and save them.
    Insert further hierarchy nodes in the entry structure as required.
    Save the entry structure.
    THANKS
    MRUTYUN

  • Structure enhanced but fields don't appear in View Config

    Hi,
    I have enhanced the structure CRMST_QUERY_COMPL_BTIL with an append structure that has the fields CREATED_AT_DATE (type CRMT_CREATED_AT_DATE), SALES_OFFICE (type CRMT_SALES_OFFICE) and SALES_ORG (type CRMT_SALES_ORG).
    Now I see these fields in the 'View Structure' tab of the component workbench, under the context node SEARCH in the view BT120S_CPL/AdvSearchComplEF. However, I do not see these fields in the 'Available Search Criteria' table in the 'Configuration' tab.
    Do I need to do anything additional to make these three new fields appear in the available search criteria?
    I am not using design layer.

    Hi Rohan,
    Create an attribute by right clicking on the context node's attribute list.There in the bol field you can select the field which u added as an append structure.
    Once this is done,in the view config just add the newly created attribute as the search criteria from the available fields.
    You need to implement some badi though to filter on the value of this search criteria.
    Hope this helps.
    thanks,
    Ashish.

  • F4 help for a customer defined field added as structure enhancement

    I am trying to get the F4 help on a customer defined field added as structure enhancement. This can be achieved by programming the "F4IF_INT_TABLE_VALUE_REQUEST" (as I have data in an internal table) in the Process On Value-Request event. The problem is because it is a customer field addition as structure enhancement. I am not sure where I should put this code segment to make it work. Any help would be highly appreciated.

    Could you create a search help and attach that to the data element of your field, and then populate the data using code in the function exit of your search help if it cannot be directly read from a table or view?
    This would remove your code from the SAP dialog program.  The only mod you may need to make is to add / flag the search help on the screen field.
    Andrew

  • Want to create a user field with type alphanmumeric and structure text through coding

    i want to create a user field with type alphanumeric and structure text through coding.am using vb
    plz help me

    Hi.
    Please take a look at samples in SAP B1 SDK.
    Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
    oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
    ' Adding "Name" field
    '// Setting the Field's properties
    oUserFieldsMD.TableName = #YOUR_TABLE_NAME#
    oUserFieldsMD.Name = "Name"
    oUserFieldsMD.Description = "Name"
    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
    oUserFieldsMD.EditSize = #LENGTH_OF_FIELD#
    '// Adding the Field to the Table
    lRetCode = oUserFieldsMD.Add
    GC.Collect() 'Release the handle to the User Fields
    Hope it helps.
    Regards,
    Pawel

  • Appending fields to LIS

    Hi,
    I am new to SAP. I have to fetch data from billing tables for which i am using LIS structures. But there are few more filed on which i need to report on which are in delivery and sales tables. Can I append these fields to the LIS strucuture using Sales Document Number as a KEY.
    Rgds

    Roberto,
    please try your suggestion with a recent PI/PI_BASIS release. You will get the error message R8525 ("DataSource 2LIS_12_VCITM does not allow append structures").
    This is true for all recent PI_BASIS releases and all Cockpit Data Sources.
    Furthermore, if you would try to enhance an extract structure without the LO cockpit knowing it, you will face the following major risk:
    If SAP in a future release decides to deliver a field as part of the extract structure you enhanced, that has the same name than one of the fields you appended, then the upgrade will fail with an activation error. Please have a look at my OSS note 489259, reason 1 in the solution part.
    Of course this is not a risk, if you only append ZZ* fields.
    Best regards,
    Bernd Sieger

  • Need to add one field in standard structure???

    Hi Experts,
    I wanted to add one Z-field in standard structure. Anybody will suggest me how to do that step by step??

    open the table in se11 and press append structure in application tool bar
    press create button on pop up window.
    give the append name and include the fields u required.
    Yes, you can add the extra fields to the standard table.
    Create Z-Structure with the fields needed and append the structure to the standard table by using the option append structure within table display
    we can enhance the standard tables by using Append structures and customizing includes.
    Append structures allow you to attach fields to a table without actually having to modify the table itself. Table enhancements using append structures therefore do not have to be planned by SAP developers. An append structure can only belong to exactly one table.
    In contrast, CI_includes allow you to use the same structure in multiple tables. The include statement must already exist in the SAP table or structure. Table enhancements using CI_includes do, however, have to be planned by SAP developers
    regards.
    Rahul
    reward if useful

  • Field symbol type casting

    Hi
    how can i change the data type of a field symbol at run time..(say Packed  to  char)
    may be it can have a field data  or structure data..
    please help me ..........
    Regards
    albert

    hi
    thank you for your reply
    i am trying to do as follows but i am not getting the expected output
    where do i go wrong.............
    *"*"Local Interface:
    *"  TABLES
    *"      IT_OUT STRUCTURE  THENV OPTIONAL
    DATA: v_date type sy-datum,
               mytype type C.
    FIELD-SYMBOLS: <fs>,
                   <fs1>.
    v_date = sy-datum.
    ASSIGN v_date TO <fs>.
      append <fs> to it_out.
    WRITE / <fs>.      " ---------------->20.09.2011
    ASSIGN v_date TO <fs1> casting TYPE C.
      append <fs1> to it_out.
    WRITE / <fs1>.       " --------------->20110920
    LT_OUT  is having the data as 20110920
                                                                     20110920
    but i expect in date format     20.09.2011
                           20.09.2011

  • Updating custom field bill type in standard table ERCH

    Hi All,
    I need to update the custom field bill type in table ERCH depending upon the bill transaction( if bill transaction is periodic,bill type will be updated as P and so on for other cases)
    I am implementing a BADI ISU_DEF_BILL_PERIOD and i have used case statements(when abrvorg is P,bill type is P). While debugging i saw that the importing parameter bill document is generated but if i enter the same bill document number at that point in time in table ERCH, it shows no entries found. Thus sy-subrc is retrieved as not zero and hence the custom field bill type does not get updated.
    I would like to know how do i go about this requirement since it seems that the bill document entry is made in table ERCH outside this BADI.I used x_new_billing_doc-erch-zbill_type = 'P' in the code but it says that it cannot be changed. Any structure which can be used to be filled here?
    Thanks,
    Shreeraj

    Sheeraj,
    You're using a wrong enhancement for your requirement. ISU_DEF_BILL_PERIOD is used to specify billing key date of a billing or print document depending on your requirements,.
    SAP provides enhancement EBIA0001 for any custom enhancements to billing document. You can update the custom fields  in the billing document before the document is updated.
    Best,
    Sai

  • How to uncheck the hide field in extract structure.

    Hello All,
    I have enhanced (Appended)  a field ZZVATREC to a generic data source created for billing data(A View). This field is as hide field in the extract structure.I am able to unhide the field in change mode  but when saving an error is comming like still errors in OLTP source system.
    This field is I want to  populate by coding and done proper coding also.
    I have tried with Roosfield table. but I did am unable to see my appended field in roosfield table for the datasource.
    In Rsa3 this field is populated.
    Could anyone help me to solve this issue.
    Regards

    Hi Nivas,
    The probable reason could be that the feild being appended is either a quantiy or currency feild and hence the definition of the append is not complete.
    This requires to mention the currency or unit refernce and then would you be able to unhide.
    There are amny posts for this topic in this forum.
    Try searchin it, if you have any difficulty making hte change.
    Naveen.A

  • 0WBS element (external format) as append field in generic extractor?

    Hi Guru's,
    we use an generic extractor for our CO-PA data, as a join of different tables. Now I get the issue with this internal format of PSP element. It is of NUMC 8 and my basic data PSP element is CHAR 24. As they are not matching I want to add the POSID as an append field. But how to do this?
    In table PRPS I found the Include PRPS_INC an thought about using this in my extract structure? Is this possible? How do I need to go on and to simply have my additional field - with content! - in my extract structure?
    First I used an append and put in my include. As there are no fields extracted to BI I think this is wrong!? How can I delete my append?
    Thanks

    Hi Siggi,
    I have not created an special Append on the VEKP. I created an generic extractor on the VEKP. All fields of VEKP are available and I can hide or choose selection-field for all of these fields. No problem.
    i created an append on the extract structure via RSA6 - enhancement. I know that after generating the generic extractor with RSO2 all settings done in former times in  RSA6 are lost. But, my problem is: <b>I can not see any of the fields I put into the append. They are not there.</b> Not in ROOSFIELD and following not in RSA6. And that's the problem.
    Thanks for your support.
    OJ

  • Length of a field in a structure

    Hi,
    Is there any restriction on the length of the field in a structure which is CHAR type ??
    Thanks.

    Sample
    report zrich_0001
           line-size 1023.
    data: begin of s,
          a(65510) type c,
          b(25) type c,
          end of s.
          s-a = 'This is field 1 asdfkljas;dfkja;sldkjf;aslkdjf;alskdjfa' &
                'asdfkajsd;kfjas;dlkfj;aslkdjf;alksjdf;lkasjdf;lasdfasdf' &
                'asdfkljas;dlkfj;askdjf;askjdf;lkasdjf;lkasj  thd end'.
          s-b = 'This is field 2'.
          Write:/ s-a.
          write:/ s-b.
    Regards,
    Rich Heilman

  • Appended field is not available in BI

    Hi Gurus,
    I have appended a field in the datasource, removed a hidden tick so that it will be available in BI system but after replication of datasource I still could  not get this field in transfer structure. When I was checking I found that in display datasource window under "Fields" tab for that particular field "Transfer" column is uncheck, due to which the field is not available.
    Now my concern is that how should I make this available in BI.
    any Help will be heavily appreciated.
    Thanks,
    Saurabh.

    Hi,
    I am on BI 3.5 system.
    and I didn't mean that my datasource is not in ROOSFIELD table, it is there but what you are saying is not applicable in my case. in ROOSFIELD, for the appended field  the OLPTSrc version is "A" and Field Attribute is "P" which is what the ABAP program stated above will do and I was very well aware of the program.
    My, ROOSFIELD output is,
    2LIS_XX_XXX                      A               ZZXXXX                      P
    This field was not hidden earlier as well, i could get this field for selection in RSA3 and even in infopackage also.
    But, the only concern is what I posted in my 1st question.
    How will I get that checkbox ticked?
    Thanks,
    Saurabh

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

Maybe you are looking for

  • Exchange Rate Firxed in PO

    Dear Experts, I fixed the exchange rate in PO but when I do the MIGO the rate calculate by exchage rate M how can I calculate by PO fixed rate in MIGO and MIRO. RCR

  • Bt infinity in a block of flats

    Okay so I finally moved out from my parents house and bought a flat with my girl friend, however We are a bit broadband crippled here, I'm currently with Sky Broadband ( Naughty I know being with another provider and posting in a BT forum) Becasue w

  • MRP: how to avoid Purchase orders/ Production orders generation

    Hello, I would like to know how can I avoid the generation of purchase orders / production orders for MRP execution. I am interested in knowing which are going to be my future needs for a material running the MRP, but I am not interested in generatin

  • Get agents gives "unauthorized error" in system prep

    In solman 7.1 in system prep, in connect diagnostics agents,  when I do a "get agents" I get the following error?            SOAP:1,007 SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")            Web service invocation problem on host

  • How can I extract .rar files that are dependent on the next in order to finish the extraction?

    Ex: Part 1 finishes, then asks for part 2, so on so forth! Trying to open something a colleague sent me, but is rather large. I have 5 .rar files. I cannot extract them seperatly or it errors/fails. Yet I cannot find a program that asks or searches f