How to change TableControl-COLS data

Hi ,expert ,
    I create a screen to show day1~day31 data .
and  I want to disabled  field day31 base month days.
I  know i can set
     TC-cols[31]-INVISIBLE = 'X' .
The field day31 will be disappeared .
but I don't know how to change data in deep structure .
some cane tell me how to do it ?
thanks for your help .

share...
DATA: I_COLS LIKE LINE OF TC_PLAN-COLS.
           LOOP AT TC_PLAN-COLS INTO I_COLS .
            CASE W_LAST .
              WHEN 31 .
                I_COLS-INVISIBLE = '' .
              WHEN 30 .
                IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' .
                  I_COLS-INVISIBLE = 'X' .
                ENDIF.
              WHEN 29 .
                IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD30' .
                  I_COLS-INVISIBLE = 'X' .
                ENDIF.
              WHEN 28 .
                IF I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD31' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD30' OR I_COLS-SCREEN-NAME = 'I_PLAN_QTY-DD29'.
                  I_COLS-INVISIBLE = 'X' .
                ENDIF.
            ENDCASE .
            MODIFY TC_PLAN-COLS FROM I_COLS INDEX SY-TABIX.
           ENDLOOP .

Similar Messages

  • How to change the default date in Person assignment tab?

    Hi experts,
    Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
    Thanks and rgs,
    Michelle

    Hi Michelle,
    Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
    Hope this is useful...
    Regards
    Aatish

  • How to change the posting date at the line item level in a sales order

    how to change the posting date at the line item level in a sales order

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to change crystal report data field at runtime ?

    Hello everyone,
    I have a Crystal Report file ,which i am using to generate report for my windows form project .
    In that report i have a filed called as Quantity which data type is set as decimal, the requirement is like that the number of value those comes after decimal point that should be set according to the value which is given by the user at the run time .
    For eg: If user gives 1 at the run time then the report Qty field value set one value after decimal point. Like 12.1
    if user gives 2 then Qty field the value is 12.22 like tat  but user can give from zero to any number.. and if it is zero it should not show decimal
    Note: The main idea hear is how to change the filed in Crystal Report decimal point value by using code(or we say writing code we need to set manually as user input it will change)
    Can any body help me how to solve this issue .
    S.K Nayak

    I think you could probably make the field you see a formula field and take a parameter as the number of decimal places.
    totext converts a number to a string.
    totext({decimalField}, 2)
    That's 2 decimal places.
    You could probably substitute a {parameter} for that 2.
    If not then you could substitute an entire formula.
    To explore formulas:
    foreach (FormulaFieldDefinition f in rpt.DataDefinition.FormulaFields)
    MessageBox.Show(f.Name);
    // f.Text = your new formula
    Where rpt is an instantiated report.
    Or add another string field which you display in the column and do the calculation with the original decimal.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • How to change the capitalization date

    Hi ,
    I carried out WBS to AUC settlement on 31.12.2009, due to which AUC cap. date becomes 31.12.2009. Now i want to change the cap date to 01.12.2009. How do i do it? Reversing the settlement using CJ88 can only change the first Acq date but not the cap date. Also cap date is not an editable option in AS02.
    Reason for all this is that i want the cap date of fixed asset to be 01.12.2009.
    Regards,
    DP

    Hi Srinu,
    Thanks for your reply. Are there any implications of changing the cap date manually? Is it an advisable option or is it better to keep asset value date as 31.12.2009 and then post an unplanned dep for the asset.
    Regards,
    DP

  • How can change the created date on a photo?

    Hi
    I have imported photos that were originally taken in summer 2002 (and where dated as such), now they have been imported to iPhoto, the created and modified dated have changed to the date I imported them (14th Sept 06), therefore they are now sitting in the wrong years folders.
    How can I move this pictures back to the correct folder i.e 2002/ I have tried amended the date in 'get info' however the date can't be changed.
    thanks
    mini mac   Mac OS X (10.4.7)  

    I haven't tried moving photos among the 'years' folders, but you can alter a photo's date in the 'info' box that pops up at the lower left when you click on the "i" button down there. You can also change the date of an existing folder by the same means -- that will change the sort-order of the library.

  • How to change the Org Data depending on the Person Responsible?

    Hi Group,
    I have a requirement relating to Org data changing as :
    while creating the activities in CRM, by default I was getting the <b>Org data</b> for the person responsible ( whoever has created the <b>Activity</b> ).
    there is a provision that, we can change the <b>Person Responsible</b> for the Activity.
    and when the <b>Person Resp</b> is changed, the <b>Org data</b> also to be changed accordingly....
    But, this was not happening due to some technical reasons....
    So please give me some inputs as how to change the <b>Org data</b> according to the changes to the <b>Person Resp</b>.
    Thanks in advance.
    Regards,
    Vishnu.

    for this u have to maintain the rules profiles and attach this to transaction type for header or item category
    documentaion is there
    spro ->MD->org managment ->org data deter -->change rules and profiles

  • How to change Asset Capitalization date ?

    Hello
    All Experts,
    I want to chnage asset capitilizatio date so how can I ?
    Experts guidance is needed.
    Regards,
    Pankaj.

    Hi,
    You can change the asset cap date at any point of time using AS02.
    But the date in the First acquisition on cannot be changed, since it is a display field.
    At the time of changing the cap date, system will shows an warning message like below.....
    You should no longer change the capitalization date
    Message no. AA225
    Diagnosis
    You have changed the asset capitalization date.
    You can make this change, however this warning should make you aware of the consequences of such a change.}
    And what is the business requirement to change the cap date?, since if you have already posted the dep posting, it doesnot make any adjustment to it.
    Thanks,
    Srinu

  • How to change proposed delivery data in a SO

    Hi Gems,
        I am new to SD.
    I am creating SO with order type OR.
    The system is proposing Delivery date (and some other date like goods issue date, loading date etc.) as 2 days ahead of the current date.(these dates can be changed manually)
    U can find all these date in schedule line/Shipping.
    I want to change the proposed date to current date.
    beside this there are 2 other date in Availability control.
    1) Complete delivery (Dely/Conf. Date)
    2) Dely Proposal (Dely/Conf. Date)
    these are also proposing dates 2 days ahead and not giving permission to change it manually to current date (u can able to change it to any future date but not to any past date of proposed date).
    There is no problem while creating SO. But when I am trying to create delivery it's giving error as 'Dely/Conf. Date' is in future.
    Now, how to change these dates?
    Please help me to solve this problem.

    Hi Surajit
    As you have maintained 2 days , so go to VA02-> item data->schedule lines tab->check the delivery date
    If the delivery date is 14.02.2009 then go to VL01N and give manually the delivery date as 14.02.2009 ,
    then you can do  delivery
    Example :
    Today's date : 12.02.2009 ;
    Maintained days : 2 days
    Delivery date : 14.02.2009 ;
    Check the following parameters wheather you have maintained or not :
    In shipping point details check pick, pack , goods in transit  time
    In VOV8 check the Lead time in days
    In MMR check the GR time , In house production time
    Regards
    Srinath

  • How to change String to Date

    Hi All
    How to change Java String to Java Date
    thanks in advance
    by
    mahender

    import java.text.*;
    import java.util.Date;
    class dateparsing{
         public static void main (String args[]){
              String myString ="12/10/2001";
              DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
              ParsePosition pos = new ParsePosition (0);
              Date myDate = df.parse(myString,pos);
              System.out.println(myDate.toString());
    }import java.text.*;
    import java.util.Date;
    class dateparsing{
         public static void main (String args[]){
              String myString ="12/10/2001";
              DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
              ParsePosition pos = new ParsePosition (0);
              Date myDate = df.parse(myString,pos);
              System.out.println(myDate.toString());
    }

  • How to change language for date in ipad.

    Hi,
    I have ipad 4 with iOS 7.1. I bought it in Japan one week ago.Can any 1 tell me how to change the language for date. My calendar shows days and month typed in Japanese and I want to change it to English. I had selected my language as English, initially. Everything else is in English except for dates and months. I guess need to change some settings in the app calendars.

    Sorry, Settings >> General >> International >> Calendar. Change to Gregorian.

  • How to change actions due date

    Hi Experts,
         How can I change actions due date through gp api.
    Regards,
    Pratik Khandelwal

    Hi Christiaan,
    You can refer this link
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/9a32cea5726573e10000000a11466f/frameset.htm
    Regards,
    Pratik

  • How to change Valid to date in BOM

    Hi Sap experts
    I have two questions:
    1. How to change the valid to date in BOM for either header or component material.
    2. If the answer of the above question is NO, then from where the system takes the value for valid to date in BOM. If its default, then where that default date is actually set in?
    Thanks & Regards
    Akhtar Shaikh

    Dear Akhtar,
    If ECM is not activated then deflaut systems takes Valid to-date as  31-12-9999
    It is inbuilt in program designed by SAP
    Valid from date will be the date which you are creating BOM
    If ECM is activated then you can go with required dates ( with change numbers )
    Check this link in which you can find Mr. Mangalraj and experts Replies
    [ECM|Re: BOM valid to date]
    Regards
    Madhu

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • How to change the standard data type in xi

    Hi,
    presently we have SCM.i want to change the standard data type i.e" Replinishment order notification ".i want to change the length of the field .
    but there is no edit option for that data type.
    i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)
    thanks in advance.
    atmakur

    Hi Atmakur,
      <i>i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)</i>
        After doing this have you activated the change list? If not please do it and refresh it..and try to open..it will work..
    Regards,
    Prasanthi.

Maybe you are looking for