Problem In Enhacing field EKPO - BRTWR and EKPO-MWSKZ

Hello SAP Experts ,
                                   I want to enhace two fields ekpo-brtwr and ekpo-mwskz  for Purchasing data source 2lis_02_itm .BUt Datasource dosnt contain field value not even as hidden filed.
I tried to direct entry by structure maintain for that two fields but its not allowing me ...
give any solution to Enhace these fields .

Hi
It will not allow to enter this fields directly
Do following steps
double click the data source in Rsa6
double click the extractstructure name
this will open Extractstructure in Data Dictionary
Click on append structure button
Give a name to append structure
This will create a new struture
Enter the New fields u want to Append
like ZZBRTWR  give reference of  ZZWAERS in currency/quantity   fields tab
ZZWAERS
ZZMWSKZ
Now you need to Code in exit to populate fields  using CMOD or BADI
Hope this helps.. ask if you have further query
Sonal...

Similar Messages

  • Sync Problem on OUTLOOK fields like Address and no...

    OVI does copy outlook address and Note fields on its base (and on the Nokia base), but NOT onto the mobile although Memory size is big enough (see later). Sync message is "success".
    I restarted from scratch to avoid all conflicts (Phone, Ovi and Nokia internet base totally emptied). Sync works OK and copies outlook contacts fully on its own base, but address fields are not copied onto the mobile (Telephone connected via USB)
    The only way I found to get them onboard was to copy contacts (drag & drop) from Ovi onto the phone. Unfortunately, this causes all other fields (Phone numbers, E-mail) to be copied again as if they were additional fields and synchronization pushes all theese additional fields on Ovi Data base and Nokia data base. Finally I get a base not usable to be transferred on other phones.
    I suppose this is because Nokia software does not recognize Telephone 2 or address 2 outlook fields as such. It would be ok with me if I had a way to get all existing outlook address fieds being copied at the beginning. Thanks for any help

    Hi!
    I am using a X3-02 with Ovi Suite and seem to have the same problem.
    I'm also interested to find a solution.
    There seem to be several cases with different phones and Ovi Suite as well as Nokia PC suite discussed in this dicussion portal. But I didn't find any solution here.
    Some details from my case maybe extend the picture of the problem:
    Outlook and Ovi Suite (latest version, updated today) exchange contact data as desired (Names, multiple phone numbers, provate and business addresses, notes, ...). The address data is visible and editable in the Ovi Suite.
    Ovi Suite and Nokia X3-02 "successfully synchronize" (as stated by Ovi Suite) contacts. But there are no addresses (or sometimes only the country)! Names, numbers, e-mail-address and notes are available.
    Deleting all contacts on the mobile and resynchronizing does not solve the problem.
    Editing the contacts in the Ovi Suite and synchronizing afterwards does also not solve the problem.
    Looked for some information about field mapping (assignment from one source to another, sometimes possible when exporting from Outlook), but didn't find any hint.

  • Open PO (field EKPO-ELIKZ)

    Hi all.. this is my first post threat trying to "see the light"...
    Imagine this scenario, please...
    PO with 10 units
    GR with 7 units
    Then, this position in the PO, the Deliv.completed flag is marked... Right here, all ok.. But, if I'm making again a new GR regarding this PO position, system lets me make it !!!!  but the PO was completed, wasn't it? so.. field EKPO-ELIKZ doesn't work in order to know if you can post new GR for the same PO positions.. the way to ensure this, is to block the PO position... right or not?
    I have to make a report to inform about completed positions not matching quantities, but I realized that with field EKPO-ELIKZ = 'X' system is able to make new GR...
    Thanks to all...

    Hi
    Welcome to SDN forum.
    That's why we calculate the actual qty's of all GR's from MSEG table(for All PO items) and equate the EKPO Qty (PO item qty's) and see whether the PO is open or not without considering the field ELIKZ.
    So if POqty = GR QTy then only it is closed.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • 2LIS_02_ITM enhacement add EKPO-BUKRS but we get Purchase Order Line for 2

    Hi All
       We have active extractor 2LIS_02_ITM, This exctractor has an enhacenment, we add field EKPO-BUKRS before activate this extractor...
       Now... in Production system we look that we have the combination of SAPR/3- purchase order - line item - company code diferent...
      We load the information into ODS with key:
      Technical Name of R/3
      Purchase Order
      Line Item
      Company code
       So, at this moment If we receive:
    R/3      Purchase Order       Item     Company code
    DFE1   788888                    1         0444
    DFE1   788888                    1         0875
       These record can´t be over write because company code is part of key in table...
       This purchase order como from one instance (SAP R/3)...DFE1..
        I review directly in R/3 system and the record only exist for compañy code 0444...
        I don't understand in which moment the system sent the Purchase order for other company code that doesn't exist in source system.
        Do you hace any idea??
         Thank you a lot!
    Al

    Hi....i explain you.....you have two scenarios ....
    First....document number ranges are specified and configured in R3 and depends of this configuration if it can be repeated by Year, Company Code or Sales Office.....in the Configuration!...
    Appears like the codes for purchase orders depends on Company code.....it means that...for every comapny code you will have a different range....independent of each other.....in this case you will have document number 001 for company A and document 001 for company B and both documents are totally different....you will not overwrite the documents you receive....because are differents...
    Second one....the Company Code was changed in a document ...in this case you must put off this field from the key of the ODS....
    I hope this helps you...
    Regards

  • Hi All, I just installed PS CC 2014 and Deleted PS CS6.  I have a HUGE problem! The Liquify Filter on PS CC 2014 is not working.   When the filter comes up, my photo is reduced to two color fields - bright turquoise and lime green!  Can anyone help me?  I

    Hi Everyone,
    I just deleted PS CS6 and installed PS CC 2014. I'm trying to use the Liquify Filter and it does not work.  When I click on the Liquify Filter, my photo does not appear properly.  The photo appears as two flourescent color fields - bright turquoise and lime green!  Can anyone help me with this?  Also, does anyone know if I can re-install Photoshop CS6?
    Thanks!
    Laraine

    Hi Everyone....I figured it out.  Strangely, although I had NEVER used Liquify in PS CC 2014....I just realized that in Liquify Advanced Mode that the "SHOW MASK" option was on by default!  I unchecked SHOW MASK.  Everything is OK. Whew!  Tks!

  • Problem in assigning field symbol to a nested internal table

    Hi All,
    I have searched the forum but could not find a solution to this problem. I have a requirement where I need to define an internal table within an internal table, so I have used pointer within the outer internal table(itab2) which point to the inner table. However, I am facing problem while assigning the pointer.
    data: begin of struct1 occurs 0,
            fld3(10) type C,
           end of struct1.
    data: begin of itab2 occurs 0,
            fld1(10) type C,
            fld2(10) type C,
            p_inner like ref to struct1,
          end of itab2.
    field-symbols <inner_table> type any.
    I want to assign "itab2->p_inner->* " to "<inner_table>".
    However, the following statement is Not working:
    assign itab2->p_inner->* to <inner_table>.
    I want to fill the values within fields fld1, fld2 and fld3 and append it in itab2.
    The final table should be like:
    ITAB2:
    fld1    fld2    fld3
    aa      bb      cc
                     dd
                     ee
    11      22      33
                     44
                     55
    I have tried many other ways too but could not suceed, please help.
    Thanks,
    Vishal.

    Thanks Matt,
    But how do I append the values within this internal table ??
    When I am using the following code:
    ls_wa-fld3 = 'A'.
    ls_wa-t_in-fld1 = 'B'.
    ls_wa-t_in-fld2 = 'C'.
    ls_wa-t_in-fld1 = 'D'.
    ls_wa-t_in-fld2 = 'E'.
    append ls_wa to lt_tab.
    Its giving an error that:
    The data object "LS_WA" does not have a component called "T_IN-FLD1".
    I wanted the values to be appended in the following way in lt_tab:
    fld3     fld1     fld2
    A     B     C
         D     E
    Please help.

  • Problem with currency  field in smart form

    hi
    friends ..
    i had problem with currency field in smartform iam printing 5 currecny
    fields after the main window .But not getting printed on right way gets printed down from the given mesaurement and i get lot of gap betwen the
    each fields for ex.
    33,260.00
    120.00
    0.00
    0.00
    0.00
    i thought the the problem is with space .so iwanted to condense it but cannot as it is currency field so move into character fields .but the user want out put in currency format like 22,60.20 if i  get the value in char variable i get 2260.20 which i dont want .
    so pls help me how to condense or shift left and print the currency field on right place.
    regards
    answers will be rewarded points.

    hi,
    this is a normal problem u can avoid this by moveing these currencu value to a character field then print the char field us ing condece... &var(C)&..
    eve if not solve the problem use the TEMPLATE node..
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Cannot see form fields on EBay and Ad trader sites

    cannot see form fields on EBay and Ad trader sites. when asked to fill a form with item details the boxes that you have to fill in are missing. using Firefox 3.6.2. i have contacted Ad trader with the question but have got no replies.
    i have to use Internet Explorer to see them. does anyone have the solution to my problem? i hate explorer so much and Firefox is so quick i use it as my main browser.
    == URL of affected sites ==
    http://http://www.adtrader.co.uk/

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    <br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
    <br />

  • Performance problem with selecting records from BSEG and KONV

    Hi,
    I am having performance problem while  selecting records from BSEG and KONV table. As these two tables have large amount of data , they are taking lot of time . Can anyone help me in improving the performance . Thanks in advance .
    Regards,
    Prashant

    Hi,
    Some steps to improve performance
    SOME STEPS USED TO IMPROVE UR PERFORMANCE:
    1. Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2. Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3. Design your Query to Use as much index fields as possible from left to right in your WHERE statement
    4. Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    5. Avoid using nested SELECT statement SELECT within LOOPs.
    6. Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
    7. Avoid using SELECT * and Select only the required fields from the table.
    8. Avoid nested loops when working with large internal tables.
    9. Use assign instead of into in LOOPs for table types with large work areas
    10. When in doubt call transaction SE30 and use the examples and check your code
    11. Whenever using READ TABLE use BINARY SEARCH addition to speed up the search. Be sure to sort the internal table before binary search. This is a general thumb rule but typically if you are sure that the data in internal table is less than 200 entries you need not do SORT and use BINARY SEARCH since this is an overhead in performance.
    12. Use "CHECK" instead of IF/ENDIF whenever possible.
    13. Use "CASE" instead of IF/ENDIF whenever possible.
    14. Use "MOVE" with individual variable/field moves instead of "MOVE-
    CORRESPONDING" creates more coding but is more effcient.

  • Problems with filling out/going back and editing filled out information and signing forms

    Users cannot fully fill out, edit and save forms--
    the forms were set up in InDesign CS6, then edited in Adobe Acrobat Pro 9 for all the form info and after that was set up the forms were saved as extended pdfs to allow adobe reader users to fill them out and sign.
    The users are having all kinds of issues with the forms and its been difficult to pin point the exact cause.
    Here are 2 errors:
    This document enabled extended features in Adobe reader. This document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document.
    The security settings on this document prevent adding text and/or placing a signature on it from Adobe Reader. To fill out and sign this document you need to print it out.
    ---I've checked the security on the form and there is no security not allowing them to fill it out and I believe that originally they were able to but the form was saved and then they went back and were unable to edit it. I need to know if its something I need to do on my end or an instruction I need to give to them--steps to filling out and saving programs vesions to use etc..
    sorry for some of the holes in the info. the form was created for a client and they sent it out to their employees so I do not have direct contact with the people having the issues just two screenshots, and I have not been able to find an answer that works--this is what I thought would help but it didnt:
    It should solve the signature/adding text  issue—From : http://forums.adobe.com/thread/987256
    Your user should go to Extended pane in Reader to apply a digital signature to the Reader extended PDF.
    The user is probably trying to use the Sign pane in Reader which has some options disabled according to the document permissions. The new Sign pane in Reader is an integration with Adobe EchoSign service in the sense that it enables an end user to fill-up documents, electronically sign and then send a PDF document, without having the need to print them. The Sign pane provides two options to the user:
    1 - Fill and Sign: Here the user can place text using 'Add Text'. Users can add arbitrary text to a PDF, eg. in documents where Reader cannot interact with the document even though the document looks like a form, in forms where user cannot save the filled-up form. In such cases the only option a user has is to print the form, fill it and then fax or fedex the filled up document to the author or scan it and send it electronically. Using the Sign pane in Reader, a user can add text and also electronically sign the document (this is not the same as digital signature) using an image of their signature. He can create a 'signature' from a scanned paper which has user's handwritten signature and place it on the PDF.
    2 - Send for Signature: Here the user is sent to EchoSign for collecting signatures from others.

    You will get that first message when the document has been changed in a way that invalidates the internal digital signature that's applied when a document is Reader-enabled. Certain changes are allowed (e.g., filling fields, commenting, signing) and will not invalidate the signature, but others are not. The exact cause of the change is often hard to track down, but it can be due to font problems, some type of file corruption, or something that Acrobat/Reader attempts to correct when the file is opened/saved. You will also get the message if the users system time is not correct and is currently set to some time before the document was Reader-enabled. It seems best to use the most recent version of Acrobat to enabled the documents and recent versions of Reader to work with them.
    It problem is probably not related to the user using anything in the Sign pane.

  • Problems with Apple Preview filled forms and compatibility with Windows?

    Anyone else having problems with Apple Preview filled out forms and compatibility with Microsoft Windows after Lion?
    I've had it happen recently with two different people, where the data I had entered on a fillable PDF form could not be seen by Microsoft Windows, but I saw my data just fine.
    I don't know what version of Adobe Acrobat they were running.
    Thanks,
    kt

    You will get that first message when the document has been changed in a way that invalidates the internal digital signature that's applied when a document is Reader-enabled. Certain changes are allowed (e.g., filling fields, commenting, signing) and will not invalidate the signature, but others are not. The exact cause of the change is often hard to track down, but it can be due to font problems, some type of file corruption, or something that Acrobat/Reader attempts to correct when the file is opened/saved. You will also get the message if the users system time is not correct and is currently set to some time before the document was Reader-enabled. It seems best to use the most recent version of Acrobat to enabled the documents and recent versions of Reader to work with them.
    It problem is probably not related to the user using anything in the Sign pane.

  • Problem in custom fields in mm02/mm03

    Hi folks,
    i want to add the custom fields in mm01.iam able to add and update database.but iam facing problem in when iam checking the particular material in mm02/mm03.the custom field data is not correctly.for every material the last custom field data is showing. in database it is updating correctly but in mm02/mm03 it is displaying incorrectly.
    By the following code i can able to display the data in mm02/mm03.but my problem is the last created custom field(model) data is showing for all the materials when iam checking in mm02/mm03.
    here my custom field is "MODEL"
    for eg matnr-10 model -xx.
    matnr-20 model-yy.
    if iam checking in mm02/mm03 for matnr-10 model-yy it is displaying.in database it is updating correctly.
    can u please tell me how can i write a code to select the custom data(model data) for that particular material.
    Module get_data.
    if sy-tcode = 'MM02'.
    select single model into mara-model from mara
    where matnr = mara-matnr.
    elseif sy-tcode = 'MM03'.
    select single model into mara-model from mara
    where matnr = mara-matnr.
    loop at screen.
    if screen-name = 'MARA-MODEL'.
    screen-input = 0.
    modify screen.
    ENDIF.
    endloop.
    endmodule.
    Thanks in advance,
    Neelu.

    Just read the OSS note mentioned earlier.
    Symptom
    You want to integrate customer-specific fields in material master maintenance.
    Other terms
    SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001
    Solution
    To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
          1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
          2. Enhancing online maintenance in customized material master maintenance:
          Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
          In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
          If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F):
          Application examples for standard field selection:
          The field is mandatory and is to be flagged with a "?".
          The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
          The following data is required for each field:
                a) Field name        (T130F-FNAME)
                b) Field selection group (T130F-FGRUP)
                Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
                You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
                Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
                c) Maintenance status (T130F-PSTAT)
                List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
                d) Reference        (T130F-KZREF)
                This indicator must be set if the field from the reference material should be proposed during creation with reference.
    Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
    You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
    In addition, you must not add new standard fields to table T130F.
          3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
          Add the fields to central field table T130F (see above).
          Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
          Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
          For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
          If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
          Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
          As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
                a) Add the customer-specific fields to include CI_MMH1.
                The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
                Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
                b) Activate include CI_MMH1.
                c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
                d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
    Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
    In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
    Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
    If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
    If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
    To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
    Regards

  • Requirment to add new field in kna1 and maintiane using XD02

    hi
    i have a requirment need suggestion on that
    1) the requirmen is to add a new field email id on kna1 standard table
    ( it can be done by append structure pls give me full steps to do it and complication involved in it)
    2) now is it possible that user able to maintiane this new field by using Tcode XD02
    will it be visible there if we use a new zappend structure and how the data will be populate in that field by Xd02 do any change required in Xd02
    3) we have to create another tcode for display of these threee fields kunnr name1 and email id that will be done by moudle pool again so is there any compication in thati method later is above steps are done
    main th ing is how data will be populated in kna1 using xd02
    regards
    ARora

    hi Seshu
    my main problem in this is that
    since we are using append structure how data wil be populated in the kna1 table in this new field email id?
    as we need to find some user exists to do so as it is a structre not a field so population of data is a problem in that?
    2) and wheter i should new ztable but customer is asking to add in the standard table and maintian by some xtransaction whetehr it is possible or not?
    #) also can us suggeest on the primary keys i should give for t his data types and records as pasted below if i create a new table and should i check init check box also?
    kunnr        email id                                       name1
    100400     [email protected]      TECHNOLOGY HONG KONG LTD
    100400     [email protected]      TECHNOLOGY HONG KONG LTD
    100400     [email protected]     TECHNOLOGY HONG KONG LTD
    100400     [email protected]               TECHNOLOGY HONG KONG LTD
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]                      INDUSTRIAL CO. LTD.
    100550     [email protected]                      INDUSTRIAL CO. LTD.
    100550     [email protected]      INDUSTRIAL CO. LTD.
    100550     [email protected]                       INDUSTRIAL CO. LTD.
    regards
    Arora

  • In SharePoint Calendar lists, fields [Start Time] and [End Time] do not exist at the Site Column level.

    <header style="box-sizing:border-box;color:#777777;line-height:1;font-size:13px;padding-right:46px;margin-bottom:3px;font-family:'Helvetica Neue', arial, sans-serif;">
    </header>
    I'm doing SP app development and have the following problem.
    I need to check Start time and End Time in SharePoint Calendar using CAML query and then add a new event to Calendar list using the Start time and End Time that user has entered in 2 datapickers
    in the form.
    function AddCalendarListItems() {
    var SD = document.getElementById("datepicker1").value;
    var SThh = document.getElementById("St1").value;
    var STmm = document.getElementById("St2").value;
    var ED = document.getElementById("datepicker2").value;
    var EThh = document.getElementById("Et1").value;
    var ETmm = document.getElementById("Et2").value;
    var T = document.getElementById("Title").value;
    var S1 = SThh;
    SD = SD.slice(6, 10) + "-" + SD.slice(0, 2) + "-" + SD.slice(3, 5) + "T" + SThh + STmm + ":00Z";
    ED = ED.slice(6, 10) + "-" + ED.slice(0, 2) + "-" + ED.slice(3, 5) + "T" + EThh + ETmm + ":00Z";
    //alert("SD= " + SD + " , ED= " + ED);
    var siteUrl = SiteCollurl + "/SharePointApp11";
    var clientContext = new SP.ClientContext(siteUrl);
    var oList = clientContext.get_web().get_lists().getByTitle('Calendar');
    var ListItemCInfo = new SP.ListItemCreationInformation();
    var newEvent = oList.addItem(ListItemCInfo);
    newEvent.set_item("Title", T);
    newEvent.set_item("EventDate", SD);
    newEvent.set_item("EndDate", ED);
    newEvent.update();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAddCalendarSucceeded2), Function.createDelegate(this, this.onQueryAddCalendarFailed2));
    function onQueryAddCalendarSucceeded2(sender, args) {
    alert("Success");
    function onQueryAddCalendarFailed2(sender, args) {
    alert('Add new item to the calendar failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    But I receive the following error:
    Add new item to the Calendar failed. Column 'Start time' does not exist. It may have been deleted by another user.
    I've checked and 'Start time' does exist. So it seems in SharePoint Calendar lists, field [Start Time] and [End Time]  exist but do not exist at the Site Column level.
    Please advise.

    Hi Khojasteh,
    Use “EventDate” for Start Time field, and “EndDate” for End Time field. They are the internal name of the two fields, you can check it in the column settings page url like “Field=EndDate”.
    If it isn’t the issue, please debug the code, in which line the error occurs.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • Problem with a field set to refresh after insert at Row level

    hello all,
    i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    newRow.setAttribute("mandatoryAttribute1",value1);
    newRow.setAttribute("mandatoryAttribute2",value2);
    <more init here but not the serial since it will be set by the DB trigger>
    insertVO.insertRow(newRow);
    but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
    One way to get the serial is to commit after each insert but i don't want to commit between inserts.
    i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
    How can i get the value back properly ?
    thanks
    -regards

    The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
    If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
    Long next = (Long)seq.getData();
    newRow.setAttribute("primaryAttribute", new Number(next));
    ...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want.

Maybe you are looking for

  • I am trying to update my version of Firefox on my Mac.

    I am trying to update Firefox on my Mac. I am running OSX 10.5.8, but the website is telling me the latest version does not support my operating system. I downloaded it anyway, and it doesn't work. I have deleted all version of Firefox from my comput

  • Dynamic edit on a Report.

    Hi, I have a report where I am giving edit link for each record. By clicking this user can go to another page where they can edit this record. But, the requirement is that this button should apprear only for those records where its status is of certa

  • Linked text frame in enumeration

    in one document there are many embedded text frame (object style applied = "myObjSty1") I want to write increasing numbers I tried to write but did not Can you help me in this regard Thank you in advance var sNo = 1; var doc = app.activeDocument;  ap

  • Help in BAPI_GOODSMVT_CREATE

    Hi frnds, I m facing problem while calling bapi BAPI_GOODSMVT_CREATE in my badi , i m passing all the required parameter, and after that perform commit operation, but it is giving error message as follows, The function module MB_CREATE_GOODS_MOVEMENT

  • Help! How to get DS 5.2 SP4 to startup automatically @ boot?

    Hi, I've been working on the installation and configuration for DS 5.2 P4 (on Solaris 9), and I ran across the same problem that I did awhile ago. After doing the DS installation using "setup", the "directoryserver" command/script (/usr/sbin/director