Structure Enhancement

Hi Experts,
When i do Extended Syntax check to a pgm i am getting Priorty2 error like this:
"After a structure enhancement, assignment or comparison may no longer be permitted"
which i have to resolve..Can any body let me know how to solve this?
T_EXTENSIONIN      LIKE BAPIPAREX OCCURS 0 WITH HEADER LINE.
  CLEAR T_EXTENSIONIN.
  T_EXTENSIONIN-STRUCTURE  = 'BAPE_VBAK'.

Hi,
Substitute T_EXTENSIONIN-VALUEPART1 assignment with this piece of code.
DATA: BEGIN OF T_DNTAB OCCURS 0.
        INCLUDE STRUCTURE DNTAB.
DATA: END OF T_DNTAB.
data: temp(284) type c.
data fname(50) type c.
data temp1 type string.
    CALL FUNCTION 'NAMETAB_GET'
         EXPORTING
              langu   = sy-langu
              tabname = 'BAPE_VBAK'
         TABLES
              nametab = t_dntab.
loop at i_dntab.
        concatenate '<workarea for the table>' '-' t_dntab-fieldname into fname.
        assign (fname) to <fs1>.
        move <fs1> to temp1.
concatenate temp temp1 into temp.
endloop.
T_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
T_EXTENSIONIN-VALUEPART1 = temp.
*******************************Reward points if found useful**********************
Regards,
Kriththika.

Similar Messages

  • 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

  • Structure Enhancement Error Error in Extended Program Check in ECC 6.0

    Hi Experts,
    I am working on ECC 6.0 I am a structure like "BAPIACWT09" , "BAPIACCAIT" in my program when i run Extended Program Check i am getting an error 
    <b>
    "BAPIACWT09" can be enhanced. After a structure enhancement, the semantics of the  parameter transfer may change.</b>
    How to eliminate this Error

    Raghu,
    Every structure has to be created with an enhancement category.
    In Transaction SE11, when you are creating a structure or a table , go to extras - enhancement category to see it.
    I guess BAPIACWT09 has been defined with a category of can be enhanced, and SAP is warning you that if the enhancement is used in the future your program can have syntax errors.
    There is nothing you can do about this.  If you find out something, Please share.

  • EPC--Structure  Enhancements

    Hi Everyone,
    In Epc I am getting the following error in the structure enhancements
    The data type T9IDA can be enhanced in any way. After a structure enhancement,
    this assignment or parameter might be syntactically incorrect . . . . . . . . .
    Internal Message Code: MESSAGE G:P
    Can any one has the solution for this....
    Thanks in Advance,
    Badri

    Hi,
    This is because the structure which u are using has an enhancement category as 'Can be Enhanced'. If u want to see the enhancement category goto se11. Give ur structure name and give display. Then take the menu Extras->Enhancement category. U will find the enhancement category of ur structure/table. If this is a custom table(Z*), then u can change the enhancement category as 'Cannot be Enhanced'. This u can do only if u are sure that this structure will not have any enhancements in the future.
    If it is a standard table then u wont be able to do anything.
    Usually these kind of errors can be ignored.
    Keerthi.

  • BDoc structure enhancement for replication

    Hi All,
    We need to replicate ISU Customer contacts (Txn BCT0) to CRM Activities (Txn CRMD_ORDER). For this the mapping table BPCT_CRM_CLASS and Bdoc BUS_TRANS_MSG are used.
    The standard is to map <class> and <action> to <description> on the activity. But, we want to map ISU <class> and <action> standard fields on contact into CRM <category> and <sub-category> custom fields on the activity.
    I suppose the standard Bdoc BUS_TRANS_MSG and mapping table BPCT_CRM_CLASS need to be modified for achieving this.
    Could you please help me with this? How the Bdoc structure can be enhanced in order to map to custom fields? Is it recommended or not?
    Please share any relevant documents.
    Thanks in advance.
    Alka

    Hi
    What u need to do is just make an append structure to the komp for this u can find a option append structure next to hierarchy display once u click the Append structure .
    it will give u a pop up where u can find the create append over the top of the append and u can create your fields as per your requirement.
    Hope this helps u and if u still have queries kindly revert.
    Thanks,
    Joe

  • Structure enhance ment

    i am enhancing a structure kuweg ..that is i am inserting another stucture into that structure
    by using appending structure.->and in that i use .include  type <my struc type>
    tthe problem is i can get the data saved in db tables but they are not coming in screen  va01 ..which shd come
    using user exit move_field_to_vbak

    Hi..
    If u enhance the Structure in DDIC then those fields not automatically added to the Screen in VA01 . For that you have to implement the Screen Exit for VA01 tcode. (only if the Screen exit is available for VA01).
    reward if Helpful.

  • Info Structure Enhancement

    Hi,
             We are trying to enhance infostructure 2LIS_01_S988,for that i enhanced extract structure using append structure but i cant able to see that fields in info structure can anyone help me
    Thanks and Regards
    Prakash B.

    Hi,
    First check in the source system that the Appended fields are not hidden, second have you replicated the datasource in the BW system, in the transfer structure you need to then select them and map them to InfoObjects.
    Hope that helps

  • 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.

  • Datasource structure enhancement in SRM 5.0

    Dear All,
    I have enhanced the extraction structure for datasource 0BBP_TD_CONTR_2 in SRM . The structure BBP_CTR_BW_GET_TD_STRUC gets enhanced with an append structure but the same is not reflected in the Datasource. Is there some other transaction to be performed in order to get the appended structure as part of the datasource extract structure.
    Thankx in advance.
    Mou

    Hi gopal,
      I suppose you are talking about the structures for CUSTOM fields...The structure have been modified from SRM 3.0 to SRM 4.0.
      Frm SRM 4.0 we have the INCL_EEW_* structures.(there is no structure in SRM 4.0 by the name CI_BBP_ITEM_SC ).
      The structures for addition of custom fields prior to SRM 4.0 release were CI_BBP_* structures.
      i have no idea about SRM 5.0.You can refer OSS notes 541877
    672960
    458591
    for detailed information on these structures.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Extract Structure Enhancement

    Hi All,
    We need to enhance the std SD extraction structure with few fields. Now for some fields already base table of 2LIS_11_VA* i.e VBAK/VBAP are enhanced and same fields i need to use in 2LIS_11_VA*. So do i need to write exit code for these fields????

    Hi,
    You have to enhance your extract sturcture by
      appending the extract structure along with other activities.
    Append the extract structure with required fields
    Enable the fields for display in the transfer structure (this will come when u save the DSafter appendings)
    Write code in the exit to populate the newly
    go to CMOD t-code check which all methods are there...and you have to find the one which is used to enhance the data sources for BW.
    Hope this helps you ..
    Regards,
    Shikha

  • LIS Structure Enhancement

    I need to append a field in LIS datasource, Please anyone give the guideline(how to implement) and what are the things needs to consider(precautions) before doing the enhancement.
    This is for retail LIS datastore.
    Thanks for your help.

    Hi,
    an alternative to Shravan's proposal would be changing the information structure S933 itself. This is no modification since it has been created by the customer (S501-S999 = customer namespace). For this you can use the transaction MC22.
    However, you can only add fields via MC22 that are already part of a field catalogue for the relevant application. You can add any new fields you appended to a LIS communication structure (e.g. MCEKKO for purchasing header, MCVBAP for sales order item, etc.) via transaction MC18 to a newly created field catalogue.
    After you have successfully enhanced the information structure (this probably includes deletion of the existing data!), you still need to
    a) find the right user exit to fill the appended fields and
    b) regenerate the LIS environment for 2LIS_xx_S933 via transaction LBW0.
    I can not help you much with a) without knowing the S933's application. Try looking up the exits starting with 'MC'.
    Hope that helps,
    Bernd Sieger

  • Open hub - output structure enhancement - will delta need to disturb ?

    Hi,
    We have done some changes to the Open hub output structure and added few output fields, now we need to move it to production. I can see in production it is delta enabled i.e. only newly added data is written in output file.
    Now, I need to move new structure to the Production, I wanted to know shall I need to distrube the delta management for Open hub output, ot it will taken care automatically.
    Kindly advice.

    Thanks,
    Which is the best ABAP function to extract an SAP table to a flat file??
    Because at this point, I have put in <b>IF_EX_OPENHUB_TRANSFORM~TRANSFORM</b>
    the following:
    method IF_EX_OPENHUB_TRANSFORM~TRANSFORM.
    data: l_s_data_in type /BIC/CYZEPC_OH_EPCOT_PROSPER,
          l_s_data_out type ZEPC_I_EPCOT_PROSPER.
      data l_dummy.
      message i899(rsbo) with 'exit started' into l_dummy.
      i_r_log->add_sy_message( ).
      clear e_t_data_out.
      loop at i_t_data_in into l_s_data_in.
        move: l_s_data_in-/BIC/ZEPCC0018 to l_s_data_out-MARQUEFIL,
              l_s_data_in-/BIC/ZEPCC0005 to l_s_data_out-GENRE,
              l_s_data_in-CALMONTH       to l_s_data_out-MOISFERME,
              l_s_data_in-/BIC/ZEPCC0008 to l_s_data_out-TYPPROSPER,
              l_s_data_in-CALYEAR        to l_s_data_out-ANNEE,
              'ABC'                 to l_s_data_out-COD_MVT.
        insert l_s_data_out into table e_t_data_out.
      endloop.
      message i899(rsbo) with 'exit finished' into l_dummy.
      i_r_log->add_sy_message( ).
    endmethod.
    So now my <u>destination DB ta</u>ble, <b>/BIC/OHZEPC_OH_E</b> (same as structure <b>ZEPC_I_EPCOT_PROSPER</b> above) should have the data inside. 
    Can I now just insert a fuction at the end to download the table to flat file???
    Thanks,
    Tim

  • Basic IDOC Structure Enhancement

    My requirement is to add a new segment to the basic IDOC structure
    I have tried this using a <b>Z</b> type IDOC with reference to the basic type then i am getting an error saying that clipboard is empty.
    Please help me to solve this.
    <b>Thanq</b>

    My requirement is to add a new segment to the basic IDOC structure
    I have tried this using a <b>Z</b> type IDOC with reference to the basic type then i am getting an error saying that clipboard is empty.
    Please help me to solve this.
    <b>Thanq</b>

  • Structure enhancement for KOMP/KOMPAZ

    Hi,
    I am trying to add new fields in KOMP structure. Could anybody tell me how to proceed. i couldn;t able to extend KOMP.
    the main purpose is, I need to use this fields in "USEREXIT_PRICING_PREPARE_TKOMP"
    Thanks,
    Ram

    Hi
    What u need to do is just make an append structure to the komp for this u can find a option append structure next to hierarchy display once u click the Append structure .
    it will give u a pop up where u can find the create append over the top of the append and u can create your fields as per your requirement.
    Hope this helps u and if u still have queries kindly revert.
    Thanks,
    Joe

  • Reg: DS enhancement code in production

    Hi to all,
    We are now in the production support. I want to change the DS enhanced code which is written in the implementation bcoz of performance reason. What is the procedure to do that and is there any prerequisites to take. No need to code help here.
    Thanks,
    Babu.

    Hi Babu,
    You just need to change the code in EXIT from development system and then do a transport. The code changes will be directly reflected in production after transport.
    You don't need to worry about any delta or anything else as there are no structural changes and new code will start executing from next extraction onward.
    Just transport the EXIT FM, no need to transport DS or anything else. If you are doing further structural enhancement then you will have to transport other objects accordingly. But if you are only doing code changes then just transport EXIT.
    Regards,
    Durgesh.

Maybe you are looking for

  • Automatic payment config and run problem

    hi friends, Now the payments are generating on one bank account 123456, now client wants to post if the vendor payment morethan $1000 send through another bank account 987654 both are currency USD only and in bank determination(fbzp) the config is ba

  • Help finding hp laserjet 1000 print driver for mac ox s 10.7.5 lion

    Any idea where I can find a print driver for an hp laserjet 1000 for my macbook pro OX S 10.7.5 lion? 

  • Screen becomes black during the connection is based.

    Since two day, every time if I call somebody as soon as the phone the connection is based the display becomes black. It is the same problem, if I select someone from the contacts or I gives a number. If I press the off/on button the call ends. If I d

  • Reporting a problem

    Hey guys, I brought IronMan and its very poor quality. Its stops and starts throughout the whole movie. I thought maybe it could be my mac so i tried another movie that i brought and had no trouble at all with it. When i got my receipt from apple it

  • Cisco ISE Guest Login

    Hi, I have a weird problem; after a guest user account has been created on Cisco ise 1.1.4 patch 8; when the guest user is redirected to the ise guest portal; the first login is always unsuccessful. Upon entering the login credential and password cor