Smasr form isuue(Tds form triggering based on year)

Hi Friends,
I am working on tdsform with codintion IF ZPDATE-LOW >= '20100401'. when we given date as out put
Posting Dates                   01.04.2010         to    29.12.2010
Document Type                                      to
Bank Challan Numbers                               to
Bank Challan Dates              01.04.2010         to    29.12.2010
Vendors                                            to
it will trigger the smartform fm SSF_FUNCTION_MODULE_NAME.
_and we will give_
Posting Dates                   01.01.2010         to    10.01.2011
Document Type                                      to
Bank Challan Numbers                               to
Bank Challan Dates              01.01.2010         to    10.01.2011
Vendors                                            to
it will trigger the standard script andit will directly go to open_form displaying out put.
under the condition
data : temp_date type bkpf-budat value '99999999',
       month type i.
*Get the month & year corresponding to the earliest posting date that we are looking at.
loop at zpdate.
   if zpdate-sign = 'I'.
      if temp_date > zpdate-low.
         temp_date = zpdate-low.
      endif.
   endif.
endloop.
month = temp_date+4(2).
year  = temp_date(4).
*The guideline for mainitaining the acknowledgement entries is as follows :
*Suppose the acknowledgement number for
   Apr'07 - Jun'07 is 1
   Jul'07 - Sep'07 is 2
   Oct'07 - Dec'07 is 3
   Jan'08 - Mar'08 is 4,
*Then the entries in the table j_1iewt_ackn_n would be....
*BUKRS GJAHR SECCO PERIOD ACKN_NUMBER
*IN47  2008  IN01  Q1     1
*IN47  2008  IN01  Q2     2
*IN47  2008  IN01  Q3     3
*IN47  2008  IN01  Q4     4
*The assumption here is that the running the certificate for date range
*01/01/2008 to 31/12/2008 is incorrect as it covers 2 different Fiscal years
*according to the Income tax laws.
If month > 3 and month <= 12.
   year = year + 1.
endif.
endform.                    " DETER
So any body give the solution for that and we need to give the date upto 2012.03.24
                                                                    Thanks&Regards,
                                                                   siva.
Edited by: gsivaramakrishnamohan on Jan 11, 2011 10:05 AM
Edited by: gsivaramakrishnamohan on Jan 11, 2011 10:06 AM

Can this be accomplished using some javascript, since my code only works when updating? I thought that the MRUs fire first that this would work. What is the best process for this?
Mary
Edited by: MaryM on Mar 4, 2010 8:19 AM

Similar Messages

  • Converting Oracle Forms to J2ee - (Focus on Form triggers/ Form Procedures)

    Hi,
    We are in the process of exploring the option of migrating forms to J2EE using JheadStart tool. After migration of forms using Jheadstart tool, what will happen to my Form triggers, Procedures? Does the GUI look and feel - canvases and tabbed pages etc will be exactly same?
    Ex: I have created a sample master detail form with few buttons and triggers. After migrating the form using jheadstart evaluation copy, I am not finding the buttons and as well as any logic enforced on buttons. On top of that the GUI is not same as in FORM, it comes with one find window and then navigates to master detail block. Does that mean, I need to customize the pages also for each form to be migrated?
    Would be very much thankful to you for your early response on the same.
    Thanks and Regards,
    Venkateswar NDT

    Venkateswar,
    JHeadstart Designer Generator does not transform all functionality of your Forms into J2EE. JHeadstart focuses on providing the same data reporting and manipulation capabilities.
    The reason for this is that we want to produce an application that can easily and productively be maintained and extended. The migration is not the final stage of the trip, it is only the beginning of the journey. The migration result should be (close to) what you would have developed from scratch.
    What is not migrated:
    * Business logic coded in Forms
    * Fancy layouts that cannot be built using HTML
    * Complex, cross-forms navigation
    We think this is preferrable over line by line translations of PL/SQL into Java, because the Forms architecture is so different from J2EE architecture. It would lead to a badly structured J2EE application that would be very hard to maintain. Instead, we want to give you a head start in creating a well structured, maintainable J2EE application.
    You get a migrated application with:
    * Professional and powerful HTML user interface
    * Most common layout styles are fully generated
    * Compliant with the Model-View-Controller Paradigm
    * Component based architecture that enables you to wire different business component together
    In the JHeadstart Developer's Guide (which is shipped with the evaluation copy), chapter 5, you can find more about the JHeadstart Designer Generator. Look for example at page 5-19 and onwards, for details about what parts of Designer Modules are transformed. You can also take a look at the JHeadstart Designer Generator Reference, to which a link is included in the JHeadstart Documentation Index ([JHeadstart Home]\jheadstart\doc\index.html)
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • Speed Oracle forms (web based) versus client server

    2 years ago we've tested forms 9i
    Everything went very smoothly:
    We had no problems in converting our old forms to 9i.
    We've installed a new database on a new server and we've installed a application server on a second server (Both servers had 2 CPU's and 2GB of memory).
    In short everything worked perfectly ... except the speed.
    Oracle forms (web based) are a lot slower than client-server forms on a LAN, so we kept developing client-server.
    We just use forms on our own local network (100Mbit) but
    we use a lot of triggers in our forms (perhaps the reason for the poor performance?)
    Has anything changed?
    Is it now possible to use web based forms, that are at leased as fast as client server forms?

    OK, I agree: changing the form (more views, less post-query, more pl/sql on database) will improve performance.
    But then I have to recreate every form (> 1000), so then converting c/s to web is not just recompile.
    We don't use images in our forms, the database is connected to the application server with a gigabit line. We did tests when even the client was on gigabit, but c/s remains faster. We did the test with just 1 client. and we have never experienced a bottleneck on the network using c/s (even with post-query on millions of records)
    So 1 database (2 Xeon CPU's 2GB RAM), 1 App server (2 XEON CPU's, 2GB RAM) and 1 client (XEON workstation, 512MB RAM) using web forms on a gigabit network is slower than the same client using forms (c/s) without an appl. server. => A lot more hardware for less performance?
    In short my question: is the latest version of forms faster than the previous version?
    Can webforms have the same performance as client server?

  • Sequence of firing form triggers

    Could you plese tell me what is the sequence of firing of form triggers when a form is opened for the first time?

    This is described in the help documentation.

  • Problem Saving AdobeForm: INTERACTIVE FORMS DEVELOPMENT BASED ON ADOBE

    Gurus,
    I am basically developing "INTERACTIVE FORMS DEVELOPMENT BASED ON ADOBE SOFTWARE".
    The problem comes when I save the Adobe Form. I am loosing the value (Meaning not able to save the form).
    As far as i understand, this is surely pertaining to the Adobe Version that i am using.
    Can somebody throw light on what Version should be used to go solve the problem
    Regards,
    Arvind Kugasia

    Arvind,
    In the Adobe Forms forum, I told this solution , it worked for him,
    Re: Adobe interactive forms: unable to create part
    The IDEInstaller might not installed the Adobe related files properly.
    In the directory <plugins>\com.sap.ide.webdynpro.adobetemplatedesigner
    \lib\.. there exists a file
    "WDAdobeControl.dll".
    This has to be registered.
    For that following steps have to be performed:
    1. Close the NetWeaver Studio.
    2. Open the command prompt.
    3. Type : regsvr32 "C:\......<plugins>\com.sap.ide.webdynpro.
    adobetemplatedesigner\lib\WDAdobeControl.dll".
    4. Re-open the Studio.
    Thanks, Let me know whether this worked for you.
    Raj.

  • How to make DFF mandatory in forms personalization based on another field

    how to make DFF field mandatory in forms personalization based on another field ,and also user can put values in the DFF field.
    Edited by: SinghP on Mar 14, 2012 12:16 AM

    Hi,
    4 DFFs are enabled.
    CASE1: when payment is voided DFF4 should be mandatory feild
    CASE2: when user queries the voided payment , above DFF4 should be readonly or not editable
    Unable to acheive both the cases with Forms Personalization.
    When trying case2 error pops up saying null canvas.
    Can you please provide some examples if you have any.
    I can find any customizations on this form
    Thanks
    Edited by: user11344029 on Mar 15, 2012 11:28 AM

  • Forms 6i based application compatibility with Oracle Lite 10g

    My client is currently using an Oracle Forms 6i based application (together with a Jinitiator)
    in an application deployed to 50 countries using Oracle Lite 9i as the Mobile Application Server and Oracle 8i as the database.
    We are considering an update to Oracle 10g database and 10g Rel 3 mobile application server.
    Can anyone advise on the impact of such an application on the Forms 6i application and if there is a recommended process for the upgrade of the forms application?

    do you mean the OAS 10g Rel. 3 ? That application server has no forms-component. Only the Rel.2
    Your Forms 6i is certified against 10g databases with patch 17 and 18. Download them from the metalink.oracle.com

  • Way to make Reader Mobile (IOS/Android) to fill in form cells based on input made in other cell?

    Hi, Is there a way to make Acrobat Reader Mobile (IOS/Android) to fill in form cells based on input in another cell?
    I made a timesheet where based on an activity code input in a dropdown box the description corresponding the activity code is displayed automatically in another cell.(see below)
    This is working flawlessly as long as I am using a PC, however does not work on any kind of phone.(I suppose this feature is not supported on Acrobat Mobile yet)
    My question is if anybody can suggest an alternative method for mentioned feature which works also on phones?
    Any suggestion would be much appreciated
    In the Format field:
    if(event.willCommit)
    console.println(event.value);
    switch(event.value)
       case "    1      01":
        this.getField("REMARK1").value = "Offloading";
        break;
       case "    2      01":
        this.getField("REMARK1").value = "Preparation";
        break;
       case "   19     44":
        this.getField("REMARK1").value = "Support-3rd party insp/contract.";
        break;   case " ":
        this.getField("REMARK1").value = " ";
        break;
    Regards: Robert

    Try getting rid of that console.println statement. If that doesn't help, it should work if you convert that from a format script of the dropdown to a calculate script of the REMARK1 field.

  • Form pagination based on search results. Classic report

    hei folks,
    can anyone give me idea how to implement form pagination based on report search results on other page?
    and im using Classic Report.
    pagination by default gives me 1...count(rowid) number of pages
    best regards,
    Simon

    Done.
    Process Get Next or Previous Primary Key Value has a field Optional WHERE clause, you can repeat the 10 store high Where clause from your original report (on page 1). If report includes more then one table - use a view, because inside Optional WHERE clause you can only use one table/view.
    nJoy,
    Simon

  • Forms Triggers execution priority

    Hi Friends
    Can any one tell me answers for the following ones?
    1. When Form loads what are all the triggers fires and the sequence.
    2.Can any one give me one example for Statment Triggers and Rowlevel triggers.
    thanks
    Reddy

    Statement triggers and row level triggers are database server triggers that run in response to updates and inserts to a specific table. They are not related to Forms triggers.

  • Alpha numeric numer ranges for Shopping Cart based on year and month

    Dear All,
    My client requirement is that Shopping cart number should be generated based on year and month specific.
    Though it is possible through smart numbering, it should generate automaticaly.
    For eg:- Shopping cart generated for March 2011 should be  1103SC00001 to 1103SC99999
                  Shopping cart generated for June   2011 should be  1106SC00001 to 1106SC99999
                  Shopping cart generated for January 2012 should be  1201SC00001 to 1201SC99999
    Is thera any badi available for this.
    Regards,
    Raju

    why dont you add this to description field?

  • Extract Data Based on Year and Month

    My clients have taken an Oracle DB TimeStamp field and
    downloaded it to Access in a TEXT field format.
    Sample data: 20060401001348CS
    All I am trying to do is extract data based on year and
    month. I have equal to 200604*, 200604%. Have also tried to used
    LIKE.
    Nothing works. It just can't be that dificult. Please help.
    Thanks

    After breaking my inquiry down into bits and pieces the
    problem is not just the LIKE, it is a combination of events. The
    entire picture is this:
    User selects Year from a drop down (2006), then selects month
    from drop down (04). I then build a variable called
    EventReport Date with the statement <cfset EventReportDate
    = Session.InquiryYear & Session.InquiryMonth & "%">
    It correctly displays as 200604% - When used by itself as
    below, it works just fine.
    WORKS
    <cquery name="GetEventCount" datasource="CountyDB">
    Select count(AD_ID) as EventCount, TYCOD, TYP_ENG, CURENT,
    CDTS
    FROM aeven
    WHERE CDTS LIKE '#EventReportDate#'
    Group By AG_ID, TYCOD, TYP_ENG, CURENT, CDTS
    </cfquery>
    WORKS (additional WHERE criteria)
    <cquery name="GetEventCount" datasource="CountyDB">
    Select count(AD_ID) as EventCount, TYCOD, TYP_ENG, CURENT,
    CDTS
    FROM aeven
    WHERE ((AG_ID = '#Session.InquiryAgencyCode#') AND (CURENT =
    'T'))
    Group By AG_ID, TYCOD, TYP_ENG, CURENT, CDTS
    </cfquery>
    FAILS **** There is something wrong with the combination of
    the WHERE clause items
    <cquery name="GetEventCount" datasource="CountyDB">
    Select count(AD_ID) as EventCount, TYCOD, TYP_ENG, CURENT,
    CDTS
    FROM aeven
    WHERE ((AG_ID = '#Session.InquiryAgencyCode#') AND (CURENT =
    'T')
    AND (CDTS LIKE '#EventReportDate#'))
    Group By AG_ID, TYCOD, TYP_ENG, CURENT, CDTS
    </cfquery>
    NOTE: There is not an error message, it just comes back with
    zero records.
    MORE LOST THAN EVER! Thanks for your help
    Ron

  • Billing no based on year

    hi,
    is it possible to maintain billing no range based on year say
    2008  1 to 100
    2009  500 to 600
    Pl suggest

    sapsd,
    No, but we follow the following prcedure.
    In SD Billing you are setting the number range based on "no" - number range number, This no. we assign within Billing document type.
    Note: Number range Number : Identifies a number range interval within an object or subobject.
    Say you create number range for the year 2008
    No --> From Number --> To Number    --> Current Number
    Z1  --> 0000000001    --> 0004999999  -->  1024
    you can extend this number range for year 2009 as follows
    No --> From Number --> To Number    --> Current Number
    Z2  --> 0000001025    --> 0004999999  --> 
    now assign this "Z2" within billing document type
    Note:
    1. The "No" should not exist, when you are creating no. ranges
    2. Number ranges should not overlap.
    Regards
    Sathya

  • How to make a tabular form readonly based on an item value

    Hi everyone,
    I am getting there, but I need to make a tabular form read-only based on an item value.
    I've copied this from somewhere (thanks) and changed it for my needs and it works great to set the second column of my form
    to read only.
        var els = jQuery('#Entry_Form input[name="f02"]');
        /*var r = confirm("els is " + els);*/
        els = els.filter(function(index){
          return jQuery(this).val() != "";
        });Just need to set the jQuery selector to jQuery("td[headers='PRODUCT_NAME']"), cos that's my column name.
    also need to give a static id of Entry Form to the form.
    I'll try to understand what this code means exactly one of these days, but now I need to make
    the whole tabular form read only based on a text item, :P5_CONTROL.
    Grateful for any help on this, in the above format if possible. Greek to me but compact and it works.
    Regards.
    Leckraj

    Hi,
    actually, there is no code, just one dynamic action. You may have to change the event which triggers it.
    Event: Change
    Selection Type:     Items(s)
    Item(s): P1_ED     
    Condition: equal to     
    Value: D
    True Action 1
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    True Action 2
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    False Action 1
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    False Action 2
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    Regards, Garry

  • WSDL Data connection not working - SAP Interactive Forms(Adobe Based)

    Greetings,
    I am trying to explore the features of Adobe based forms in SAP (WAS 6.4) and have been trying to create an interactive form.
    I am trying to use the WSDL file Data Connection but with no success. This is what I have been doing, starting with a blank form in the "Layout" tab,
       - In the "Data View", created a "New Data Connection".
       - Selected "WSDL file" Option.
       - Browsed to and selected the desired WSDL file.
       - Selected the WebService Option listed (Only one in my case).
    The WebService in this case is programed to "Request" two numbers and "Response" back the sum. (This was just for trial).
    - The connection subsequently appeared in the "Data View".
       - Expanded the "Request" and "Response" trees and dragged the elements to the "Body Page" screen.
       - Dragged the Data Connection Button to the screen.
       - On the Properties of the Button, Went to the "Object" tab and then to the "Execute" tab.
       - Checked "Re-Merge Form Data" and Run at "Client and Server"
       - Generated the PDF Preview
       - On the preview, entered the values for the "Requested" fields and clicked the button. It displays the error message "Couldn't post data to ".
    This was my long story, but with this background, what I want to know is:
       - How do i get it to work, I expected to see the sum in the field.
       - What is meant by running at "Client or Server".
    We do use a proxy server to connect to the Internet.
    As a bottom line, I intend to make an interactive form with which I can display real-time transactional data on the form from our R/3 46C server based on a user input on the form itself (eg: PO info on entering of PO number on the form output itself)
    Best Regards,
    Sanyam Kapur

    Hi Sanyam,
    Looking for messages with zero reply I have found yours.
    Even if it is some time ago, when you posted the message, I would like to give some hints here:
    Web Dynpro does not allow to access data coming directly from a Web Service and display it within a pdf file. You need to create a Web Service modell first. Then you would bind the InteractiveForm property to the context and the data can be shown.
    Hope that helps.
    Best regards,
    Karin

Maybe you are looking for

  • How many times can i install?

    Well guys this is the problem, i've got parallels and boot camp and i am looking at getting windows xp home sp2 to run on my mac but then i realized you can only install it on one computer. Does installing it in bootcamp and parallels count as two co

  • Create Process Order by BAPI (COR6)

    Hi, I am looking for BAPI to create Process Order (Order category = 40), Instead of doing BI to transaction COR6. I try <b>BAPI_PRODORDCONF_CREATE_HDR</b> but with no success, because it works only with Production Order (Order category = 10). I get t

  • Scorm pkg made up of number of FLV files takes time to load in LMS

    Hi everyone, I m creating the scorm packages in captivate. The source, i have received in MP4 format which I am converting into FLV files. I have loaded these FLV files on to slides in captivate. This way I am creating the scorm package using scorm 1

  • Reminder Email from Apple

    If anyone pre-ordered an Iphone4 for store pickup, you should have gotten an email yesterday at some point reminding you to pick it up (like there is any chance any of us could forget). I got mine, and when I told my friend about it he freaked when h

  • Manugisitc Adapter

    Hello: Is there anyone using SAP-Manugistic Adapters for XI? or if anyone is interfacing with Manugistics from/to SAP, is the connection mostly with JDBC comm channels? Thanks George