Very Urgent... to Restrict the entry of fields...

Im using Adobe Professional Live cycle designer 7.0 to design pdf form. Also, Im using an existing pdf (supplied by the customer), which is designed through teleform designer (with adobe 6.0) model for this design. In the existing one, the javascript methods are working fine for restricting keys, validation, etc. But these scripts are not working in designer as the designer is using XFA model.
Im trying to restrict the key inputs (like only numbers/characters should be entered). But I couldnt find the equivalent statements for some of the statements (which are used in the teleform pdf).
For eg.
event.rc = true. Allows keystroke to be added to entry. event.rc = false. Prevents keystroke being added to entry in the following function:
function TFTemplate_KeyStroke( mask )
if (event.willCommit) {
return;
var value = AFMergeChange( event );
if (!mask.test( value )) {
event.rc = false;
app.beep( 0 );
But I couldnt find the matching statements in Designer for event.willCommit, AFMergeChange(),event.rc, etc.
If I get, I can restrict the inputs.
Expecting any solutions from you...
Thanks in Advance...

Hi Vam,
For this you need to take the help of an ABAPer . Ask him to modify the user exit and add the logic.
For user exit please go through the below link it will help you to resolve your issue.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
Regards,
Krishna O
Edited by: Krishna O on Jun 3, 2010 12:29 PM

Similar Messages

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • F4 Help in Module pool and restricting the entries

    Hi all,
          I was looking how to give F4 help in module pool program and restrict the number of entries on tht event.
    Take a example of VBELN, it is having number of entries so for F4 help we first take all the entries for VBAK for VBELN and then use FM 'F4IF_INT_TABLE_VALUE_REQUEST' and pass the table.
    So how can we restrict number of entries initially 200 and then user can input number of hits.
    ( How to use Callback subroutin ).
       Waiting for valuable additions.
    Thanks,
    Anmol.

    Hi ,
        This is my query, I want to restrict the number of entries fetched by the search help depending on the user input like in standard help.
    Like VBELN is having number of records how can we asign a help to field like VBELN( for example ), is there any way to restrict the entries on search help rather than selection all the entries for tht field from database which is not good for performance. Like initially it should fetch 100 or 200 records, then if user want more entries to be fetch he can input the number of entries like in standard help. Any idea on this.
    Thanks,
    Anmol.

  • How to restrict the entry of same material twice on the order

    HI,
    How to restrict the entry of same material twice on the order before saving the Order ?
    I do not want my users to enter the same material as two different line items in the order.
    Any inputs wud b appreciated

    Hi Vam,
    For this you need to take the help of an ABAPer . Ask him to modify the user exit and add the logic.
    For user exit please go through the below link it will help you to resolve your issue.
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Regards,
    Krishna O
    Edited by: Krishna O on Jun 3, 2010 12:29 PM

  • How to restrict the entries of a database table based on the user name

    Hi All,
    I have created a Database Table. Table maintenance generator is generated for the table.
    UNAME(user name) is one of the fields in the table. whenever the user creates a new entry, the field UNAME will be populated automatically with SY-UNAME value. I have used Table event '05' to do this.
    My requirement is...
    When a user tries to maintain the entries of the table using SM30, when 'DISPLAY' is chosen, all the records of the table should be displayed.
    When 'MAINTAIN' is chosen, only those records which have UNAME = SY-UNAME(User Logged in) should be in EDIT mode. and rest all the records should be in DISPLAY mode(greyed out). It should allow to edit only those records which are created by the user logged in.
    Could you please tell me how to do this..? Thanks in advance.
    Thanks & Regards,
    Paddu.

    HI,
    In table main. gen there are number of events , try to select one event like 05 for the Sy-uname.
    For the  requirement:
    In that event write the code like
    this is basic idea not the code:
    Case ' Sy-ucomm'.
    when 'display'.  " button
       Nomally for the display button it will show all the records, but we need to write a code like this.
    select all records frm the table.
    ( Need to write the code in case if the user first maintained the data then again press the display , list has to be refreshed.)
    when ' Maintain'. " button.
    Fetch the records that are with SY-UNAME and find out the edit function and implement it on each and every record.
    endcase.
    Thanks and Regards,
    Bharani.

  • Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Thanks
    SAP BW

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Very urgent...accounting entries for (excise duty)taxes and duties on sales

    Hi Friends,
    I'd appreciate if anyone would help me out the entries for excise duty and cenvat utilisation during sales.
    During billing document:
    Customer -- dr
    To sales a/c --(cr)
    To CENVAT SUSPENSE AC (CR).
    Now could anyone tell me what kind of account is cenvat suspense account i.e., current asset or current liability.
    Like wise can anyone help me out with the entries of excise invoice creation, TR6C Challan, Entries for Fortnightly utilization etc. that is all the entries until that particular sale is completed.
    It would be greatly useful if you could even specify the kind of account is (for each account possibly) i.e, if the account is an expense or current asset or current liability.
    If anyone possesses a document in regards to the same plz do forward the same to my mail id:
    [email protected]
    regards
    kim.

    Hi!!! Kim,
    Entries related to Excise –
    When Availing of Cenvat Credit – (T.Code – J1IEX)
    (GL A/Cs against ETT – GRPO)
    RG23A BED A/C Dr. (BS GL – Current Assets)
    RG23A E.Cess A/C Dr. (BS GL – Current Assets)
    RG23A S&H E.Cess A/C Dr. (BS GL – Current Assets)
    To Cenvat Clearing A/C (BS GL – Current Liabilities)
    RG23C BED A/C Dr. (BS GL – Current Assets)
    RG23C E.Cess A/C Dr. (BS GL – Current Assets)
    RG23C S&H E.Cess A/C Dr. (BS GL – Current Assets)
    To Cenvat Clearing A/C (BS GL – Current Liabilities)
    When Billing Document is created, Corresponding A/C Entry -
    (GL A/Cs from VKOA & Tax Codes)
    Customer A/C Dr. (Recon GL – BS – Current Assets)
    To Sales A/C (P&L GL – Income)
    To BED. Recovered A/C / Cenvat Suspense A/C
    To E.Cess Recovered A/C / Cenvat Suspense A/C
    To S&H E.Cess Recovered A/C / Cenvat Suspense A/C
    When BED / E.Cess / S&H E.Cess Recovered A/Cs are used -
    These are P&L A/Cs & Grouped as Income A/Cs in FS Version.
    When Cenvat Suspense A/C is used  -
    It is BS A/C & Grouped in Current Liabilties in FS Version
    When Creation of Excise Invoice - (GL A/Cs against ETT - DLFC)
    E.D Paid A/C  / Cenvat Suspense A/C Dr.
    To BED. Payable A/C (BS GL – Current Liabilities)
    To E.Cess Payable A/C (BS GL – Current Liabilities)
    To S&H E.cess Payable A/C (BS GL – Current Liabilities)
    When E.D. Paid A/C (P&L GL - Expenditure)
    When Cenvat Suspense A/C (BS GL - Current Liabilities)
    When TR6 Challan & Deposit of Cash into PLA A/C - (JV by FB50 / F-02)
    PLA on Hold A/C Dr. (BS GL – Current Assets)
    To Cheque Issued A/C  (BS GL – Current Assets)
    Updation of TR6 Challan in J1IH – (GL A/Cs against ETT – TR6)
    PLA BED Dr. (BS GL – Current Assets)
    PLA E.Cess Dr. (BS GL – Current Assets)
    PLA S&H E.Cess Dr. (BS GL – Current Assets)
    To PLA on Hold A/C (BS GL – Current Assets)
    When Fortnightly Utilization – (T.Code – J2IUN)
    Utilization from RG23A Registers / RG23 C Registers (GL A/Cs against ETT – UTLZ)
    BED. Payable A/C Dr. (BS GL – Current Liabilities)
    E.Cess Payable A/C Dr. (BS GL – Current Liabilities)
    S&H E.cess Payable A/C Dr. (BS GL – Current Liabilities)
    To RG 23A BED A/C Cr. (BS GL – Current Assets)
    To RG23A E.Cess A/C Cr. (BS GL – Current Assets)
    To RG23A S&H Ecess A/C Cr. (BS GL – Current Assets)
    BED. Payable A/C Dr. (BS GL – Current Liabilities)
    E.Cess Payable A/C Dr. (BS GL – Current Liabilities)
    S&H E.cess Payable A/C Dr. (BS GL – Current Liabilities)
    To RG 23C BED A/C Cr. (BS GL – Current Assets)
    To RG23C E.Cess A/C Cr. (BS GL – Current Assets)
    To RG23C S&H Ecess A/C Cr. (BS GL – Current Assets)
    Hope that this information will serve your purpose.
    Please give necessary marks.
    Regards...
    Ameya D. Mohoni...

  • How to Restrict the values of Field TASKTYPE on a ALV Grid.?

    Hi;
    Let me explain my problem. I have report written by another abap developer who has gone now.
    On the ALV Grid there is a field called "Activity Process". By F1 F9 I can read that field depends on table TCATX_TASKTYPES and field TASKTYPE   . From se11 I can see that there is no search help related with the field.
    When the user press F4 all the data in the table is listed . The user want to filter some of the listed data according to same logic .
    When I debug the code after F4 on the field I found that the system finds Search Help: TCATX_TASKTYPES of type 'CT'. But unfortunately SE11 says that there in  no search help such as TCATX_TASKTYPES.
    The previous abap developer used BADI NETW_USER_FIELDS_F4 AT_F4 with class ZCL_IM_NETW_USER_FIELDS_F4 and interface IF_EX_NETW_USER_FIELDS_F4  for the transaction cj20n to filter the same field but this is not triggered by the F4 on the ALV Grid.
    What can I do ?
    Would you please help me ?

    I know i can do this using ADF Business Components as the business service but the problem is that the initial value for that attribute will be changed depending on the screen ... ill give u a simple example : lets say that I have employee table ( which include dept column) and under that table I have a table called "Emp_dept_movements" now in the main ADF page "employee entry" I have two blocks Employee data ( master view) employee dept data ( detail view ) now when the user press the create-insert button on the employee dept view the system should copy the dept no from the employee view to the dept no on the emp_dept_movements view... and the "Emp_dept_movements" will be used in another screen called " employee departement movements" without any initial value for the DeptNo
    I dont want to create more than one view and cant set the initial value for that attribute in the view , Can this be done through the UI by adding set action listener on that button and specifying from ( binding master_view.dept ) - to (binding of detail_view.dept) ..
    hope that am clear this time,
    Edited by: Delta on Jul 5, 2010 11:21 PM

  • URGENT VERY URGENT---------Error in Service Entry Sheet-ML81N

    Dear Experts,
    I am getting a Error msg while creating a Service Entry Sheet by ML81N. It says that " You cannot enter an Unplanned Order". wht to do pls help
    Its urgent
    Thnx
    Sankha.

    yes u have to make the serv entry sheet with rspt to Serv. P.O just go to ML81N here click on create icon, a small box opens here give the p.o no & click on continue.here give all necessary details like desc, valid dates , serv, location, etc then click on serv. sel tab which is at below then all line item which r in Serv. p.o will be picked up.
    Hope this can help
    Reward if useful,
    KM

  • Very urgent Issue - Convert the hours into Minutes

    Hello Guys,
    I have an infoobject zkabc, which is having hour information.
    eg: 24.588, which means 24 hrs and 30 min (..588 hrs).
    I want to display the infoobject value from 24.588 to 24.30 (24 hrs 30 minutes) is it possible in BEx.
    Issue critical.
    Thanks,
    Pratap

    Hello Kapadia,
    I have a small issues in the solution you gave me.
    I am getting the correct values when i implement the below formula you gave me.
    But i am getting incorrect values when i want to have average values.
    Lets say,
    I have 3 records in 2007 05 ( may month)
    I am getting the correct data for the 3 records, but when i have result for the 2007 05 month its giving different values.
    eg:
    K1(plant)     2007(yr)     May     5/29/2007     9.06     15.29     24.35
                   5/30/2007     7.50     21.43     29.33
                   5/31/2007     7.36     15.25     23.01
                                           Result     3.02     7.14     9.78
    It should be  sum of 3 records / no of records)
    Could you please explain how to solve the issue. Issue very critical.
    Thanks,
    Pratap.

  • Very Urgent - About Deploying the project on to OAS 10g

    Hi,
    We are in a serious problem.We are done with our project which is done using oracle portal development kit (PDK). We are using oracle portal 10g release2. Our Application server is also 10g.
    At the time of development we use to work on standalone OC4J server and deploy the files on to the server and then by running the index.jsp file the provider use to get running..
    The we use to find our .jsp files in portlet staging area..
    No we dont have any idea how to deploy this project at the server end OC4j.. as there are several modules in our project we need to integrate them and then deploy..
    In Simple words i need steps to deploy a oracle portal web application developed using oracle PDK on to oracle 10g AS.. We need to go live ASAP.. please help me..
    Regards,
    Thulasinath

    You can use Oracle Software Packager. It can be found on this site.

  • How to convert forms .fmx to .fmb --very urgent accedently deleted the fmb

    Hi,
    I have accedently deleted the files forms fmb, under cmd. I dont have any third party tool , to undelete my files.
    Tell me any way to convert the exefiles .fmx to .fmb
    Thanks
    Regards
    S. Djeanthi

    Check the recycle bin
    Avoid new Change Requests
    Search for older versions
    or
    Lastly, dont tell anyone and
    Quit the job as soon as possible ... dissappear as the fmbs did
    Sry Mate

  • How can I limit the entry options to specific alphabet characters or the numbers 1 to 100 in a text field?

    I've written a script on the change event in Adobe Livecycle Designer ES4 on the change* event which is supposed to do the following:
    Allow the user to enter any of the following values, but only ONE option is to be entered:
    Any numeric value from 1 to 100 (the field is limited to 3 characters)
    OR
    the entry of the value "na"
    OR
    the entry of the value "r"
    OR
    the entry of the value "i"
    Here is the script:
    // Test input in real time. Only allow approved grades, i, i, na
    if (xfa.event.change!="" && !xfa.event.newText.match(/^[0-9]+?$|^(na?)?$|^(r)?$|^(i)?$/))  {
         xfa.event.change ="";
         xfa.host.messageBox("Oops, incorrect entry, Please correct your input. Thank you.");
    On the exit event I've set the script to automatically uppercase the characters. This works
    Two problems:
    1. I can't restrict the numbers to be between 1 and 100.
    2. I can't restrict the entry of "na". The field still accepts "n" which I don't want.
    Is there a way to correct these two issues?  Thanks!

    Thanks, I also posted it there. Actually, it took spending time on the JavaScript sites to eventually figure out the answer. Here is what works for me:
    On the change event:
    //Test input in real time. Only allow approved grades between 1 and 100, r, i, n
    if (xfa.this.change!="" && !xfa.event.newText.match(/^[1-9][0-9]?$|^100|^(n|r|i)$/)){
         xfa.event.change ="";    
         xfa.host.messageBox("Incorrect entry... Thanks!");

  • Preventing entry into the Cost Center field during PO creation

    I need to ensure that the Cost Center assigned in a PR (with Account Assignment) cannot be changed when creating a PO with reference to the PR. Can anyone tell me how to restrict the Cost Center field in the PO document type to 'display' only?
    Thanks
    Akin

    I think it can be acheived making the Cost center display in the paticular movement type  using program RM07CUFA  ( in Tcode SE38 )
    best regards
    assign points if useful

  • How to restrict the results in the search help

    Hi Friends,
    My current assignment calls for a program using search help. The scenario is.. there are different radio buttons for organizational units and if a unit is selected, corresponding users need to be displayed in the screen. Multiple selection should be allowed.
    I created the search help and attached it to the screen field userid. I am able to display all the users.
    But my problem is , i need to consider the organizational unit before displaying the users... If the radio button for A/R is selected, only the A/R should be displayed.....
    Is there any way that we could restrict the entries in the search help? Please help me with your expert advices and
    suggestions.
    Thanks
    Poornima

    Hi,
    Refer this link:
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Regards,
    Prashant

Maybe you are looking for