How to change postion of the field in a tabular form

Hello Gurus,
My Table is like .Please ignore dots they have been placed just for better readability
Year.....product....w1_dt..........w1_qty....w2_dt..........w2_qty.....w3_dt...........w3_qty......w4_dt...........w4_qty
2010....1.............4-jan-2010....1............11-jan-2010....2.............18-jan-2010.....3.............25-jan-2010....4
2010....2.............4-jan-2010....4............11-jan-2010....5.............18-jan-2010.....7.............25-jan-2010....8
I have to make a tabular form for updation only, the tabular form should look like this
year......product......w1.................w2.................w3..................w4
2010.....1..............4-jan-2010.......11-jan-2010.....18-jan-2010.....25-jan-2010........-----dates can't be eddited
............................1....................2....................3...................4.......................-----this is qty column user will update this qty column
2010.....1..............4-jan-2010.......11-jan-2010.....18-jan-2010.....25-jan-2010........
............................4....................5....................7...................8......................
Please tell how could I make date field to come over qty field
Regards
Shashi
Edited by: user4285062 on Jul 22, 2010 1:03 AM
Edited by: user4285062 on Jul 22, 2010 1:10 AM
Edited by: user4285062 on Jul 22, 2010 1:12 AM

Hi,
For your scenario, you need to have two cellVariant as TableStandardCell (say successTSC & failTSC). Add tableCellEditors to these 2 TableStandardCell as you like. Mark there variantKey property as var1 & var2 respectively.
Do change the cellDesign as you like the color for the TableStandardCell.
Bind an attribute selectedVariant to your column selectedCellVariant property.
Now in wdDoModify you can write:
for(int i=0;i<wdContext.nodeCountries().size();i++){
if(wdContext.nodeCountries().getCountriesElementAt(i).getStatus().equals("SUCC")){
// Here node countries is the datasource of your table.
wdContext.nodeCountries().getCountriesElementAt(i).setVariantKey("var1");
} else if(wdContext.nodeCountries().getCountriesElementAt(i).getStatus().equals("FAIL")){
wdContext.nodeCountries().getCountriesElementAt(i).setVariantKey("var2");
The article below will definetly help you in your requirement.
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961]
Hope this will surely solve your problem.
thanks & regards,
Manoj

Similar Messages

  • How could I fill in the fields in a PDF form.

    Hello,
    I received a form in PDF format that has fields to be filled in.
    I coulld not type in the fields in my computer that has Win 7 or in my Mac Book Air that has Snow Leopard.
    The pdf form protection -> Security Properties-> has "filling of Form Filelds" as -> Allowed.
    Regards

    Are you sure those are real fields, and not just graphic elements that looks like fields?
    At any rate, if they are fields but they are locked, for example, then there's nothing you can do. You need Acrobat to unlock them.

  • How to change one of the fields in the infoset

    Hi,
    I created a query and infoset using sq01,sq02 transaction i have Cost Center field in the query that is pointing to P0001-KOSTL.
    when i execute the query by giving the cost center criteria ,query is getting executed on the Local Cost Center .But i want that to be executed on Global Cost Center.
    Does Cost Center point to Local Cost Center only.How will I change it to point to Global Cost Center
    Thanks
    Bala Duvvuri

    Bala,
    Your question is not clear. Cost center is maintained on employee infotype 0001 (home cost center) or in infotype 0027. If the selection criteria is on costcenter field on IT 0001 then query will filter based on that.
    thanks
    Sridhar

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to change password in the default realm programtically?

    Hello,
    Does any one have experience in how to change password in the default realm programtically in WebLogic 8.1?
    Thanks.
    Bimal Patel

    Hi again;
    Please also check previous thread about same question:
    Forum Password
    Change password on forum
    How to change the password of the site/forum ?
    Re: change password for this forum
    I belive you can find answer in those thread more easly ;)
    Regard
    Helios

  • How to change color in the title line?

    Hi experts, How to change color in the title line, i show an image for explained better
    !http://img688.imageshack.us/img688/9259/imagenjar.png!
    thanks

    in Views.css file
    file below object.and change border-color as you desired to reflect.
    .TitleTable {
         font-family: arial, helvetica, sans-serif;
         border-width: 0 0 4px 0;
         border-style: solid;
         border-color: #6666cc; ----> change here.
    hope this helps !
    -Niranjan K

  • How to change language of the server monitor ?

    hi all,
    How to change language of the server monitor ? i got it in japanese and would like to turn it into English.
    Thx for your help,

    We use japanese strings only when your server locale has "jp": FindNoCase("Japan", GetLocale()) NEQ 0. So you may not be able to individually change  server monitor's flash client, but there are two ways to change it back to english on server level
    1) Check your server locale and change it to anything but japanese.
    2) Rename smresource_en.xml to smresource_jp.xml in CFIDE\administrator\monitor (take a back up).
    Thanks,
    Chandan Kumar

  • How to change size of the fonts in report

    Hello:
    How to change size of the fonts in report for when I print it?
    Thank's

    Hi..,
    You cannot do that with REPORTS.., With scripts or smartforms u can do that !!
    plz do remember to close the thread, when your problem is solved !!
    reward if it helps u..
    sai ramesh

  • My Reader11.0.07 is showing a dark grey background today. Why? How to change back to the original white.

    My Reader11.0.07 is showing a dark grey background today. Why? How to change back to the original white.

    I have no idea what you are asking; can you post a screenshot of what you see: https://forums.adobe.com/thread/1070933

  • I wanted to purchase an item on my iPad and I was redirected to the US store, now I don't know how to change back to the Tanzania store, which is the store my account is linked to.how do I change back?

    I wanted to purchase an item on my iPad and I was redirected to the US store, now I don't know how to change back to the Tanzania store, which is the store my account is linked to.how do I change back?

    Change your country on iPhone, iPad, or iPod touch
    Tap iTunes Store, App Store, or iBooks Store.
    At the bottom of the Featured page, tap Sign In.
    If you're already signed in, skip to step 5.
    Tap Use Existing Apple ID.
    Enter your Apple ID and password and tap OK.
    Tap your Apple ID.
    Tap View Apple ID or View Account.
    Tap Country/Region.
    Tap Change Country or Region.
    Tap the Store menu and tap your country.
    Tap Next.
    Review the Terms and Conditions and Apple Privacy Policy.
    Tap Agree if you agree to the terms and conditions.
    In the prompt that appears, tap Agree.
    Select a payment method and enter your payment information.
    Enter your billing address and tap Next.
    http://support.apple.com/kb/ht6119

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • Query regarding the fields details in particular form for all the users in

    Dear All,
                  I have one query regarding the fields details in particular form for all the users in company.
    Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce   4.Total   5. Location.
    While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including  above 4 fieds .
    Now my question is how to set the User choice fiels for the particular form that are common to all users.
    Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........

    You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
    This is a manual job and you have do do it with every user login.
    Alternately, you can try out this link that explains
    [How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html]

  • How to check the source query of tabular form ....

    Hi All ,
    is there any way to change the source query of tabular form ......
    ya ... i could see it in the source but it is normal sql query ....
    where as to generate the addrow functionality the sql query must be
    Select empno , ADD_ITEM.TEXT(1,empno), ename ,ADD_ITEM.TEXT(2,ename)................
    then where can i find this query .?
    i could see that ADD button is calling ADDROW process and which inreturn calling ADD function ....
    can any one tell me , where to see the code for this ADD function ....
    as i checked it in db ..... it is not there at all.

    You can have a look here for the manual tabular forms:
    http://apex.oracle.com/pls/otn/f?p=31517:170
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to make one of the columns in my tabular an text item with popup lov

    Hello,
    I want to manually make one of the columns say for the deptno in my tabular form as on text item popup lov using apex_item package
    and whenever user clicks on the text item popup lov, it should open up an dept table report and from which he/she needs to select
    the deptno and this deptno should be returned into the text item popup lov column.
    like for example: say if i have an emp table tabular form with all the columns and deptno column as an popup lov and when user clicks on this column
    it should open up an new sql report(similar to popup lov window), the select statement for this would be
    select deptno,dname,loc from dept order by 1;
    And from this popup lov report whenever an user selects a particular deptno, the same deptno should be returned to my text item popup column in emp tabular form.
    something like this
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    APEX_ITEM.TEXT(3,deptno,20,50,'readonly=true') || '<img height="16" align="middle" width="16" style="vertical-align: middle;" alt="Popup Lov" src="/i/lov_16x16.gif"/>' deptno
    from "#OWNER#"."EMP"
    like i made my column as an text item lov and now I want to write an onclick event for the text item lov so that an popup window is displayed which is a sql report of the table dept (select deptno,dname,loc from dept order by 1;) and in this report i want to make deptno as an link so that when ever an user clicks on it
    -- this value should be returned to my text item popup lov column deptno in the emp tabular form.
    can anyone help me out with this issue.
    thanks,

    Hi,
    Refer to the link for the detailed information on ALV Grid.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on May 25, 2009 9:13 AM

Maybe you are looking for