ITS templates - checkbox value not updated

Hi,
I am experiencing a problem with checkboxes in my Internet Service (similar to problem described in forum: checkboxes in ITS (again) ).
The checkboxes are inside a table (step-loop) and is blank by default. If the user selects the checkbox, the value is cleared after user input.
I executed the dialog program and it is fine.
The generated service template was modified to accommodate the step-loop. I'm using the SAP_TEMPLATE tags for the WEBGUI look & feel.
To set the checkbox parameter according to the user's input, should an if-statement be inserted in the code or should I use the parameter "onclick" with a javascript function?
I inserted an if-statement but it doesn't work.
Here's my code:
`SAP_TemplateTableBegin(title="Some title:", type="SAP_WEBGUI")`
`if ( IT_BEHAV-DESCR.dim > 0 )`
`repeat with j from 1 to IT_BEHAV-DESCR.dim`
  `SAP_TemplateTableRowBegin(isSelectable="X")`
   `SAP_TemplateTableCellBegin(subtype="NONEDIT1")`   `IT_BEHAV-DESCR[j]` `SAP_TemplateTableCellEnd()`
<b>   `if (IT_BEHAV-SELECT[j].selected)` checked `end`
   `SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`")` </b>           
    `SAP_TemplateTableCellEnd()`
          `SAP_TemplateTableRowEnd()`
         `end`
       `end`
     `SAP_TemplateTableEnd()`
If the check on the value of the checkbox is performed within SAP_TemplateSimpleCheckbox tag (e.g. <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if (IT_BEHAV-SELECT[j].selected)` checked `end`"
)`</b>  ),
the checkbox values are still not updated.
My Business HTML and Javascript is not very good, please help.
Your assistance will be much appreciated.
Regards
Liza-Marie

Hi,
I tried
`if (IT_BEHAV-SELECT[j]=='X')`checked`end`
but it is still not working. I am not sure <i>where</i> it should be inserted...? I added it inside the checkbox tag as follows:
<b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if(IT_BEHAV-SELECT[j].selected)` checked `end`")`</b>
as well as before and after this tag, without results.
The tag SAP_TemplateSimpleCheckbox has the parameter <i>onclick</i>. I suppose this can be used to call a javascript function to control the checkbox values. I'm currently investigating this option, not that my javascript is any good!
If the input fields of length 1 is used inside the loop, would it still work like a checkbox? I mean, can the user input any character? Do you perhaps have example code for this?
Unfortunately I cannot debug on the ITS at this stage since I dont have access to the ITS server and it would take too long to get access or arrange for debugging to be set up.
Thanks for the help so far!
Regards
Liza-Marie

Similar Messages

  • Print Module templates layouts do not update on the fly

    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This occurs in all three Layout Styles. The very first layout chosen in Single Image/Contact Sheet, Picture Package, or Custom Package is the permanent 'default' and cannot be changed. The Preview will show as expected however any image stays stuck in the very first layout I chose after installing LR4 beta.
    For example, I first chose Template Browser>Lightroom Templates>Maximum Size, and Layout Style>Single Image/Contact Sheet. Clicking through any other Templates (Lightroom or User defined) will alter the preview but not the layout display in the Print window. Same problem in either of the other Layout styles. I have been trying for days to rectify this, but it seems somehow more difficult than LR3. and not what I expect.
    As a comparison, using the same steps in LR3 works perfectly as all print template/layouts can be changed on the fly as expected. I have no problems generating different layouts in LR3 and have been using LR print module since version 1 without this issue.
    Is this a bug or are there any extra steps or workarounds I have not discovered? Any other testers seen this?

    Update with more info. What am I doing wrong, if anything?
    Print layouts do not update on the fly when attempting to choose between various Print Module>Template Browser> Lightroom or User templates. This is not a hang since the layouts do not change after the initial choice no matter how much time elapsed.
    iMac OS 10.6.8. 8GB RAM.Processor Intel Core 2 Duo. NVIDIA GeForce 8800 GS.
    The steps as follows:
    1) Lightroom 3.6 & LR4Beta exist side by side.
    2) LR4 Beta> Print Module;
    3) From filmstrip choose image;
    4) Template Browser> Lightroom4Beta Templates>Maximum Size;
    5) Preview displays as expected;
    6) Layout Styles>Single Image/Contact Sheets
    7) Template Browser> Lightroom4Beta Templates>click through any other templates (Lightroom or User defined);
    8) Image layout in main window does not update;
    9) Previews update;
    10) Layout Style>Picture Package;
    11) Template Browser>Maximum size is then automatically shown, however the template in the main window is actually (1) 7x5, (2) 2.5x3.5;
    12) Any further attempts to change the layouts regardless of Style Layout choices are not successful.
    13) Close LR4Beta>re-open LR4Beta;
    14) Repeat test;
    15) Print Module layouts do not update on the fly as expected;
    16) Close LR4Beta and all applications;
    17) Reboot iMac.
    18) Open LR4Beta only;
    19) LR4Beta>Print Module>Template Browser >Lightroom Templates>Maximum Size;
    20) Image displays in main layout window with Template and Preview display as expected;
    21) Choose different image>Template Browser>Lightroom Templates>Maximum Size;
    22) Click through templates, layouts DO NOT update in main window although previews do automatically update.
    23) CONCLUSION - In Lightroom 4 Beta>Print Module>Template Browser, image layouts do not change after initial choice as expected.
    I posted this on Photoshop.com as a problem.

  • Contract value not updated in open order value of credit management

    My requirement is i have created the contract and activated the credit management by assigning credit  group to contract document type, In item category the credit is active and in pricing subtotal is also assigned .
    But when i create the contract , the open order value is not updated .
    i do not want the credit to be active at order level.
    Dear guru's
    please let me know where i am going wrong
    thanks in advance

    hi,
    open sales orders value not updating currectly in sales value of CM
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CreditmangementIn+SD-FI
    i think you have to run a report which is under the link number 1.
    regards,
    balajia

  • Statistic condition values not updated during Sales order Settlement

    Hi,
    In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
    We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
    For this purpose we have created one COPA Assessment Cycle.  Tracing factor is Sales Revenue and receiver is Materials.
    In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
    For this reason we have created one new statistic condition type,  what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
    Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
    So is it possible update during sales order settlement time statistic condition values.
    Please give me suggestion.
    Regards,
    Thiru

    Hi Ajay Sir,
    As you said is correct.
    But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field.  System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
    Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
    Please suggest me is there any alternative.
    Regards,
    Thirumalesh .

  • Subscription value not updated despite payment made days ago

    Please help this is frustrating have been waiting for 3 days now payments have been made but subscription value not updated on skype account 

    Hello and welcome to the Skype Community.
    You have totally different issues. ALWAYS start your own topic please.
    1.0. Philippines Subscription.
    Your account shows that you have used your full minutes allocation in your current billing cycle and your next minutes will be added to your account when your next billing cycle starts on July 17th 2015.
    Renewing your monthly Subscription before your billing cycle ends has no effect on the date upon which your minutes allocation will be added to your account.
    To continue calling until your next minutes allocation is applied to your account please purchase either a Subscription but with a different amount of minutes or Skype Credit.
    2.0. Your account shows that you are calling a cellphone in Austria. Please note that only calls to landlines in Austria are included in the Unlimited World Subscription.

  • VOFM Condition base value not updating(Urgent)

    Hi All,
    I have created a Condition Base Value 901 for Sales Order in Transaction VOFM.
    Following is the code when I enter the Sorce text.
    FORM FRM_KOND_BASIS_901.
    *{   INSERT         DEVK901384                                        1
    DATA: XXKOMV TYPE KOMV,
          XAKOMV TYPE KOMV,
          VKAWRT LIKE KOMV-KAWRT.
    IF KOMP-VKAUS = 'YAB'.
    XXKOMV = XKOMV.
    CLEAR VKAWRT.
    LOOP AT XKOMV INTO XAKOMV WHERE KSCHL = 'YIPR'.
    IF XAKOMV-KAWRT > 0.
    VKAWRT = XAKOMV-KWERT.
    ENDIF.
    ENDLOOP.
    XKAWRT = VKAWRT.
    CLEAR XKOMV.
    XKOMV = XXKOMV.
    ENDIF.
    *}   INSERT
    ENDFORM.
    But this code is not updating the Condition screen for items condition value.
    Regards
    Vijai

    no, the code contains the logic to determine the base value, then the value has to be passed to xkwert.
    take some other base formula as template.
    pls. rewad if helpful
    Roberto

  • Field value not updated in Dialog Programming

    Hi experts
              My problem is when i change the field value in dialog programming, the text value is not updated, its showing the same value what exist in database.
       I have done coding as follows, what i need to change in coding, Pls give me the suggestion.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1200.
    PROCESS AFTER INPUT.
    CHAIN .
        FIELD :  zrecpt-zrno.
        MODULE vali_zrno ON CHAIN-INPUT.
      ENDCHAIN.
    module header_data10.
    MODULE STATUS_1200 OUTPUT.
        SET PF-STATUS 'ZRECT'.
        SET TITLEBAR 'ZRECT'.
    ENDMODULE.              
    MODULE vali_zrno INPUT.
    if zrecpt-zrno  is not initial.
        select single * from zrecpt
                        where zrno = zrecpt-zrno.
    endif.
    ENDMODULE.
    MODULE header_data10 INPUT.
    CLEAR : it_zrecpt.
      REFRESH : it_zrecpt.
      MOVE-CORRESPONDING zrecpt TO it_zrecpt.
      APPEND it_zrecpt.
    ENDMODULE.
    Thanks in advance.
    Regards
    Rajaram

    Hello...
    IN PAI,,
    You were not updating into any database..
    you were just appending to an internal table...
    now either move the internal table values to the database ...
    or you can simply move from the values entered...[text boxes ]
    pls chk.....

  • BED,ECS, values not updating

    Hi All Gurus,
    Is any one did configuartion for CIN in version 4.6C. We are using the formula base tax procedure and TAXINJ.
    The challange I am having is RG1 register update for all local sales as well as Export sales.
    Both sale (export/ local) our values of (exbas) excise base amount does not get updated in table J_1IRG1.
    Similarly , during the export under non bond its same, no values apear on the screen.
    Can some one give me some hints/tips what all things I should check in configuration, or any things I have to set up if they are missing in our system.
    Appreciate all of your solutions at the earliest.
    rgds,
    Shyam

    Hi friend,
    To update the RG1 register please note that the finished goods movement type need to be assigned.
    Please navigate through SPRO>logistics general>India>Business transactions>Incoming excise invoice-->Specify which movement types involve Excise invoices.
    Once you do that please also ensure the chapter ID in J1id whether the Rg1 register is selected.
    Regards
    Saju

  • Letter of Guarantee Value not Updating with Payments

    Dear Expert
    The requirement from the user is that when a payment is made , the system should deduct the amount paid and refresh the new available value for the customer.
    For Example : A Financial document is created with 1000 value . And Sales order created for 8000 . Therefore now the open value is 2000. This means that the customer can order goods worth 2000 only.
    In the meanwhile the first order is delivered and billed . And the customer has paid 8000 when he received the bill. this means that now he has paid so he can now order more goods worth 8000.
    but in the system it still shows open value as 2000 , although now that the customer has paid, it should be updated with the payments made so the value can be used by the customer that he had paid.
    If any of you has any idea how to tackle this ( it works same way in credit management ) but not in financial documents.
    we were thinking of another work around , i.e by closing the Financial document that has been paid and creating a new one by adding the remaining balance. i.e 2000+ 8000 , this way the customer can again use his value. but then how can we automate the system to alert the sales user that the payment has been made for a certain invoice for a certain LG.
    your idea's and suggestion are highly welcome
    Best regards,

    Dear ATGSD,
    The functionality in GTS is designed for modelling of a single financial document for which the initial value is not updated.
    I understand your user's requirement, but surely that is dealt with simply by setting a credit limit in the SAP ERP system?  There should be no need to use the GTS functionality at all.  In the ERP system, the credit limit is updated by the account payments, exactly as your user requires.
    Please let us know if that would work, or if there are more detailed requirements that are not apparent from your post - thanks.
    Regards,
    Dave

  • Excise base value not updated

    Dear all,
    We have found that excise base value is not updated after creating excise invoices,later we corrected it,
    excise base value started updating in table J_1IEXCDTL,
    Intially for 2 months excise base value is not updated in table,
    Is there any problem will arise in future ?
    or
    How to solve this issue ?
    Jeyakanthan

    Awaiting valuable replies.....
    Edited by: Jeyakanthan A on Mar 6, 2010 5:36 PM

  • Automatic Product Selection item value not updated in S067

    Hello,
    We have a requirement for Automatic product selection based on ATP with pricing at item level. This is working fine.
    But the value of the subitem is not updated in open delivery value S067 after saving the delivery.
    The item category is marked as credit active. update group is 15.
    If i do main item pricing then the value is getting updated successfully.
    I check several notes but nothing helped.
    Pls. help.
    Regards,
    Praveen

    assigned it in sales order at item level in Billing tab
    Assign the same at header level billing tab in sale order.
    thanks
    G. Lakshmipathi

  • Open order value not updated in F.35

    Hi
    While using item category Tas ( Third party item ) in Sale order, it is not updated in open order value at F.35.
    please give your suggestions. thanks.
    Regards,
    Tirumal.R

    1/ Check your credit control area settings
    2/ Check your sales order config, if it works for one sales order type and not the other compare the two/

  • Invoice correction request (net value not updating)

    Hi guys,
    I have a problem when creating an Invoice correction request (RK).
    When I change the Target quantity in the item (L2N), the Net value is not updated. So I have to go to Conditions and Carry out new pricing.
    Any idea to fix this.
    Best regards,
    Eduardo

    Hi Eduardo
    Check the copy control  VTFA , what is the pricing type it is being used and what is the quantity field maintained  -ve or +ve or kept blank .
    Even Go to item data->conditions tab and click on analysis you will know the problem why it is not changing the gross price
    Regards
    Srinath

  • Invoice value not updating for limit PO

    Hi Experts,
    SRM 5, SP 10 ECC 6.
    Limit PO is created, invoice posted in ECC, the invoice vaue is not updating in the Statistics tab at item level of PO,Calculated Value  is showing 0.00 only
    any idea.
    Thx

    Hi David,
    The problem is coming for limit order only, not for normal order and bbp_get_status is running fine for confirmation and normal po, so no need to run again

  • Values not updated in CRM ,CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile

    Hi All,
    We are unable to make changes in CRM
    Implemented the Change BADI CRM_BADI_BUPA_MOBILE_CHANGE  (For language and timezone fields).
    please check my previous post.
    Implementing  CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile
    On mobile made changes for these fields ,checked in DOE ,CE structures ,they are not updated with new values.
    checked the FM CRM_BUPA_MOBILE_CHANGE ,BADI is getting triggerd.
    How the dat flows ..mobile->doe ->crm ?(for update values)?
    Thanks,
    Anitha.

    Hi siva,
    Thanks for the information.
    data : ls_address TYPE bapibus1006_address,
    CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL'
          EXPORTING
            iv_partner           =ls_ce_bupa_hdr-partner
            iv_xaddress           = 'X'
          IMPORTING
            es_address            = ls_address
          EXCEPTIONS
            no_partner_specified  = 1
            no_valid_record_found = 2
            OTHERS                = 3.
    loop at ce_bupa_header into ls_ce_bupa_hdr.
        IF ls_ce_bupa_hdr-FIELD_NAME = 'LanguageKey'.
          ls_address-languiso =  ls_ce_bupa_hdr-FIELD_VALUE.
        elseIF ls_ce_bupa_hdr-FIELD_NAME = 'ZTIME_ZONE'.
          ls_address-time_zone = ls_ce_bupa_hdr-FIELD_VALUE.
        endif.
          endloop.
    CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
      EXPORTING
         IV_PARTNER                      =ls_ce_bupa_hdr-partner
          IV_PARTNER_GUID                 =
          IV_ADDRNUMBER                   =
          IV_ADDRGUID                     =
      IS_ADDRESS                      =
           IS_ADDRESS_X                    =ls_address
          IV_DUPLICATE_MESSAGE_TYPE       =
          IV_ACCEPT_ERROR                 = ' '
    U mean to say this?.
    Will try executing and come back.
    Thanks.
    Anitha.

Maybe you are looking for

  • IS there any way to re-instate my contacts and diary on my i-phone as they have disappeared?

    Epic technological fail. So I was an IT winner this morning when I added various email accounts to my i-phone. Celebrated with a cuppa and porridge, as you do. Went to send a text message - no contacts! Went to check my diary for today - no entries A

  • E609n Wireless Printing

    I have just setup my printer for wireless printing. I am able to print from my Iphone and Ipad via the ePrint app properly. I am also able to print test-pages via my laptop through the HP Solution Center. In My Devices the printer shows up as Ready.

  • My ipad wants me to restore it. Is there any hope for me getting back the data before this happened?

    So I went to turn on the ipad2, and there is an icon telling me to connect it with my MacBook to restore it. It worked fine the night before. Anyway, is there any way to get back what was on it. I am mostlry concerned with photographs. I am ashamed t

  • Flex charts: How to hide axis lines with CSS?

    Hello! How do I hide my axis lines with CSS? Shouldn't this work? <mx:Style>   @namespace mx "library://ns.adobe.com/flex/mx";   mx|ColumnChart {     horizontalAxisStyleName: myAxisStyles;     verticalAxisStyleName: myAxisStyles;   .myAxisStyles { sh

  • Help! - JRE can't find classes that use inner classes!

    Whenever I try to launch an app using the JRE, if the class was built with an inner class definition, the JRE says it can't find the class. For instance: I created a class called GUI, which contains anonymous inner class definitions for the button ha