My start and end form is not working .

My start and end form is not working .
It showing error that start form in invalid.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
   DIALOG                            = 'X'
   FORM                              = 'YSAMPLE1'
   LANGUAGE                          =  SY-LANGU.
loop at itab1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
   ELEMENT                        = '525'
   FUNCTION                       = 'SET'
   TYPE                           = 'BODY'
   WINDOW                         = 'MAIN'.
endloop.
CALL FUNCTION 'START_FORM'
EXPORTING
  ARCHIVE_INDEX          =
   FORM                   = 'ysample1'
  LANGUAGE               = ' '
   STARTPAGE              = 'next'.
   CALL FUNCTION 'END_FORM'.
Thanks and regards
Mave
CALL FUNCTION 'CLOSE_FORM'.

You should use END_FORM and START_FORM when you want to say to your system:
- OK! Here document print begins and there it finishes.
Infact you can print many document opening the sapscript only one time:
CALL OPEN_FORM
LOOP MY_DOCUMETS.
Here the print of document starts:
  CALL START_FORM
  CALL WRITE_FORM
  CALL WRITE_FORM
Here the print of document finishes
  CALL END_FORM
ENDLOOP.
CALL CLOSE_FORM.

Similar Messages

  • HT1766 # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    http://support.apple.com/kb/HT1848  Did you transfer your purchased item, take a look at the link

  • SNP Planned order start and end dates are not calculated correctly

    Hello SNP Guru's
    The SNP planned orders generated after the Heuristics run, have a start and end date based on the Activity Duration (Fixed), while the resource consumption is based on the Bucket Consumption (Variable), which is correct.
    The Activity Duration (Fixed) is based on the BOM Base Quantity. So if the Activity Duration = 1 day, and if the order quantity is more than a day, the start and end dates, still shows as 1 day. So no matter what is the order quantity, the start and end dates is always = 1 day.
    Does anyone have any experience in implementing any code to change the start and end dates on SNP Planned Order?
    Seems like it should work as standard.
    Am i missing something?
    Thanks,
    Mangesh

    Dear Mangesh,
    SNP is a infinite planning tool. If you have defined fixed duration to be 1 DAY in the activity, no matter how many quantity you input for your planned order, the order will last for one day. If the resourced is overloaded, you then run capacity levelling to
    banlance the capacity. What your expected beahavior happens in PPDS planning.
    Claire

  • Start and End Time in Record Working Time- Weekly View

    HI,
    In record working time we have 2 views, daily and weekly. In daily view, we have start time and end time, which we do not have in weekly view. Can these 2 fields be incorporated in Weekly View?

    Hi Siddharth,
    Can you please clarify what "iView development using NWID" really means?
    - Is that Java Web-dynpro development? - Can it be either Java Web-Dynpro or ABAP web-dynpro?
    - Does it mean that we have to customize the standard-delivered “record working time” application, or does it mean that a custom copy of the application needs to be developed?
    Thank you!
    Daniel.

  • CFWINDOW and a form submit not working as expected

    Hello, everyone.
    I currently have a page that allows certain users the ability to edit content directly, without having to log on to a CMS; the user can click an edit button if they have permission which will open a CFWINDOW that contains the pre-populated form for editing.
    If I open the form directly in a browser (IE7 on WinXP SP3) and click the submit button, all is well.
    However, when I use the EDIT link and open the form in the CFWINDOW, clicking submit will post all form data EXCEPT the input="file"; upon submit, I get an error saying that the field for file doesn't exist.
    Any idea what could be causing this?
    Thanks,
    ^_^
    PS.  If required, I can post some code; but I cannot provide a link as this is on a private internal network that the public does not have access to.

    Here's the code I have, thus far.
    Main webpage (this calls the CFWINDOW):
    <cfoutput>
         <div class="more-info">
         [<a href="javascript:void(0);" onclick="windowModal('Edit_NU','#trim(url.thisNav)#',500,700,'Edit News & Updates - #ucase(url.thisNav)#','edit_nu.cfm?thisNav=#trim(url.thisNav)#',true)">edit</a>]
         </div>
    </cfoutput>
    windowModal function:
    function windowModal(win_name,TID,h,w,t,f,m){
         var windowName = typeof win_name === 'undefined' ? 'CFWindowName' : win_name;
         var thisID = typeof TID === 'undefined' ? 0 : TID;
         var thisHeight = typeof h === 'undefined' ? 400 : h;
         var thisWidth = typeof w === 'undefined' ? 700 : w;
         var thisTitle = typeof t === 'undefined' ? "_" : t;
         var thisDocument = typeof f === 'undefined' ? "faq.cfm?faqID="+thisID+"" : f;
         var thisModal = typeof m === 'undefined' ? true : m;
         ColdFusion.Window.create(windowName,
              thisTitle,
              thisDocument,
              {width:thisWidth,height:thisHeight,center:true,resizable:true,modal:thisModal,draggable:thisModal});
         //ColdFusion 9 bug fix
         ob = ColdFusion.Window.getWindowObject(windowName);
        ob.center();
         ob.body.applyStyles("background-color:#fff");
         ColdFusion.Window.onHide(windowName,destroyWindow);
    function destroyWindow(name){
         ColdFusion.Window.destroy(name,true);     
    edit_nu.cfm
    <cfset client.thisNav = trim(url.thisNav) />
    <iframe src="edit_nu2.cfm" name="NU_update" width="100%"
         marginwidth="0" height="100%" marginheight="0" align="top" scrolling="No" frameborder="0" hspace="0" vspace="0">
    Your browser does not support iFrame and cannot be used for this action.
    </iframe>
    edit_nu2.cfm:
    <cfoutput query="resultset">
    <cfform action="edit_nu2.cfm?nuid=#resultset.NU_ID#&amp;thisNav=#trim(url.thisNav)#" method="post" enctype="multipart/form-data" preloader="no" format="html" onsubmit="return getFileName();">
    <cfswitch expression="#val(resultset.active_ind)#"><cfcase value="1"><cfset variables.yesChecked = 1><cfset variables.noChecked = 0></cfcase><cfcase value="0"><cfset variables.yesChecked = 0><cfset variables.noChecked = 1></cfcase></cfswitch>
    <table width="100%">
         <tr>
              <td style="width:25%; text-align:right; vertical-align:center;">Page & ID: </td>
              <td style="width:75%; text-align:left; vertical-align:top;">#client.thisNav# - #resultset.NU_ID#      Active:<cfinput type="radio" name="active_ind" value="1" checked="#val(variables.yesChecked)#" /> Y <cfinput type="radio" name="active_ind" value="0" checked="#val(variables.noChecked)#" /> N</td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Large HL: </td>
              <td style="text-align:left; vertical-align:top;"><cfinput type="text" name="large_headline" visible="true" style="width:98%;" value="#resultset.NU_large_headline#" maxlength="100" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Small HL: </td>
              <td style="text-align:left; vertical-align:top;"><cfinput type="text" name="small_headline" visible="true" style="width:98%;" value="#resultset.NU_small_headline#" maxlength="50" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top; height:130px;">Image: </td>
              <td style="text-align:left; vertical-align:top;"><cfif isDefined("resultset.NU_large_image") AND len(resultset.NU_large_image) gt 0><cfset variables.imageData = resultset.NU_large_image /><cfset variables.thisWidth = 300 /><cfimage action="writeToBrowser" source="#ToBinary(variables.imageData)#" width="200" /><cfelse>None</cfif></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Upload/Replace: </td>
              <td style="text-align:left; vertical-align:top;"> </td>
         </tr>
         <tr>
              <td style="text-align:center; vertical-align:top;" colspan="2"><input type="file" name="NU_image" style="width:95%;" /><br /><input type="hidden" name="NU_image_name" /></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Article: </td>
              <td style="text-align:left; vertical-align:top;"> </td>
         </tr>
         <tr>
              <td style="text-align:center; vertical-align:top;" colspan="2"><cftextarea richtext="yes" name="article_content" tooltip="Content" value="#resultset.NU_article_content#" style="width:97%;" height="350"></cftextarea></td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Inserted: </td>
              <td style="text-align:left; vertical-align:top; font-weight:bold;">#resultset.NU_inserted_by# on #DateFormat(resultset.NU_inserted_dttm,'mm-dd-yyyy')# #TimeFormat(resultset.NU_inserted_dttm,'hh:mm tt')# </td>
         </tr>
         <tr>
              <td style="text-align:right; vertical-align:top;">Last Updated: </td>
              <td style="text-align:left; vertical-align:top; font-weight:bold;">#resultset.NU_updated_by# on #DateFormat(resultset.NU_updated_dttm,'mm-dd-yyyy')# #TimeFormat(resultset.NU_updated_dttm,'hh:mm tt')# </td>
         </tr>
         <tr>
              <td colspan="2" height="*" style="text-align:center; vertical-align:top;"><cfinput type="submit" name="submitBtn" value="Update"></td>
         </tr>
    </table>
    </cfform>
    </cfoutput>
    I've got the form inside an iFrame, already.  If I open edit_nu2.cfm directly in a browser, it works with no problem.  But opening it in the JS created CFWINDOW prevents the contents of the input type="file" from being recognized.
    ^_^

  • Update Contract Start and End dates via BAPI_SALESORDER_CREATEFROMDAT2

    Hi Experts.
    We are successfully using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.
    Only problem is that the contract start and end date do not get updated.
    We are passing that in ORDER_HEADER_in-CT_VALID_F and ORDER_HEADER_IN-CT_VALID_T.
    After debugging, I found that there is one more table SALES_CONTRACT_IN in SD_SALESDOCUMENT_CREATE. Updating the values in that table works.
    But the problem is this table is not available in BAPI_SALESORDER_CREATEFROMDAT2. How to update Contract start and end dates from this FM ?
    I could not find anything in the search of this forums. So I guess this is not an issue and I am doing something wrong. Can someone suggest to me please?
    Thanks in adv.
    Aishi

    Are you creating a contract or a sales order?

  • TS1702 Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a

    Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.

    Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
    By the way, it might help if you indicated where you are located.
    To complain to Apple use http://www.apple.com/feedback/ipad.html

  • Hyperion Planning dynamic forms based on start and end date across years

    Hi All,
    I have a requirement where i need to be able to view a form showing periods across years that are dynamically built depending on the start and end dates. If i have a start date of 01/11/2009 and an end date of 31/7/2013 i want to be able to view a form that shows all of the periods (Jan,Feb etc) in a form that is driven by these dates, in addition it will need to show the actual scenario up to the current month and the forecast from the current month to the end date. So basically if a user inputs the start and end dates the form will display the relevant periods driven by these dates.
    Any tips very much appreciated!

    Hello,
    This is difficult to realize, but you can get quite far with a workaround. The first question is, where do you want to input your selection of time periods? Assuming you have a webform with the complete timeline in months and years and you type in the start period and end period.
    Webforms have the option to suppress rows and columns.
    This can be extended with option of empty cells or not empty cells.
    You will need to apply your creativity on this.
    Put every month-year combination in a column and add the suppression.
    Calculate the timeline between start period and end period with a dummy member, so data exists for these and columns will show.
    Maybe you will need to copy the required timeline into a separate version for this, to avoid having periods which were outside the selection and still have data.
    I hope these hints help a bit in this challenge.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

  • SCSM 2012 Change form issue - Scheduled start and end times default to 12:00:00

    I have a report that the Change Form in SCSM 2012 is not allowing users to set the scheduled start and end times.  The date stays correct, but the time reverts back to 12:00:00, and the user has to save to the initial form,  then re-open and
    change the times.
    I checked in the authoring tool, the time/date field is set to full date and time. (I think these are custom fields)
    I am not sure where else to look to adjust any settings as needed.
    Thanks for any assistance.
    Joshua Fuente

    Hi Joshua,
    Is this situation on all consoles or few ones? Check the time format on the user's PC. 24h or 12h could affect the DateTime control's behavior.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Calculate the working days having the start and end dates only

    Hi,
    Can BIP be able to calculate the working days having the start and end dates only? It is like the NETWORKDAYS function in Excel. (i.e. excluding weekends and holidays).
    Thanks.

    Not out of the box.
    But You could extend your BIP functions
    Look at here:
    http://blogs.oracle.com/xmlpublisher/2009/05/bip_by_extension.html
    Based on that what you need is similar to the following Java code:
    http://objectlabkit.sourceforge.net/
    regards
    Jorge A.

  • Reduce Working Days by Emp Start and End Dates

    I'm banging my head trying to get this working. The set-up:
    DimResources table with various employee information including a Start and End Date.
    A Calendar table with FullDate, Year, Quarter....WorkingDays (1 for working and 0 for non-working) and WorkingDayNumber (working days increased by 1, weekends are not).
    Page View report with page view filters for Business, Role, Month, Week, Year.
    In the calculation the denominator is total working days for the period * 8. Works great. Further reduced by any submitted time off. Again, so far so good. The part I'm having trouble with is trying to further reduce total working days by
    the number of days the person wasn't available in a month, defined by the person's start or end date.
    The calculated field works great when only 1 person is selected. As soon as more than 1 person is selected or the slicer is cleared, an error is thrown.
    Any ideas on what is wrong or better ways to accomplish what's needed?
    TotalWorkingDays2CF=CALCULATE
     SUM(Calendar[WorkingDays]),
                    FILTER(Calendar,Calendar[WorkingDays]=1),
                    Calendar, DATESBETWEEN(Calendar[FullDate],SUM(DimResources[Start Date]),SUM(DimResources[End Date]))
    Error:
    <detail>
      <ErrorCode>rsErrorExecutingCommand</ErrorCode>
      <Message>Query couldn't run for dataset 'Tablix41DataSet'.</Message>
      <ProductName>Power View</ProductName>
      <ProductVersion>11.0.2150.3</ProductVersion>
      <MoreInfo>MdxScript(Model) (10, 27) Calculation error in measure 'Calendar'[TotalWorkingDays2CF]: An invalid numeric representation of a date value was encountered.</MoreInfo>
    </detail>
    Dennis DeRobertis

    ok, but this is not a running total but just a sub-total/grand-total
    so what you can do is the following:
    create two measures - first calculate the workdays per ressourcen and second use SUMX() to get the sub-/grand-total if multiple employees are selected (e.g. subgroups, groups,division, etc)
    WorkdaysRessource:=CALCULATE(
    COUNTROWS('Date'),
    FILTER('Date',
    'Date'[Date] >= CALCULATE(MIN('DimResources'[Start Date]))
    && 'Date'[Date] <= CALCULATE(MIN('DimResources'[End Date])))
    Workdays:=CALCULATE:=SUMX(
    'DimResources',
    [WorkdaysRessource]
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • TA44551 My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work.

    My 1-year ipod nano locked up and would not start overnight. The on/off button will not work and stopped holding charge. No water damage, no fall, nothing unusual. I restored it (twice) but it will still not hold charge and on/off does not work. I tried to restore it again and charged it in three different locations with different cables. etc but nothing. Suggestions?

    - After charging for 1/2 hour or so, does iTunes see the iPod?  If yes, restore the iPod from backup.
    - If no, se if placing the iPod in recovery mode will make it visible so you can restore the iPod.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • When I start it up it shows two two nested windows on the screen, has a Firefox yellow tab in the corner, does not display the toolbar bookmarks, the back and forth buttons do not work and there is no page refresh. No clue what is going on.

    Every time I open up Firefox it appears to open two nested and linked windows, each with their own minimize, maximize and close buttons but the both work the same. The homepage does not come up, the back and forth buttons do not work. Both the refresh button and F5 do not work. The Bookmark Toolbar does not show up until I disable it in View and then re-enable it and this causes the outer nested window to disappear or close.

    This issue can be caused by an extension or theme that isn't working properly.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • I m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me. thanks ravi

    i m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me.
    thanks
    ravi
    <Email removed by Host>                                                                                                                                                                                                                                       

    sounds more like Bluetooth rather than moue, but w/o knowing w/o posting mac model type/year we... will... not... know... what you have
    All computers are personal computers, a PC though is also "non-Apple" in common usage.
    Mac also is platform and OS.
    Very confused reading what you are trying to tell us.

  • I recently bought iphone6, My imessage and face time is not working and still it charged me for normal text message multiple times and still not able to authorise the usage. Let me know how I can start using the same.

    I recently bought iphone6, My imessage and face time is not working and still it charged me for normal text message multiple times and still not able to authorise the usage. Let me know how I can start using the same.

    Hello vinay34,
    If you are having issues with activating your Apple ID for FaceTime and iMessage, then take a look at the article below to get it sorted out. Make sure that you have the Date and Time set to Automatic as well as any other steps listed in the article. 
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/en-us/ts4268
    Regards,
    -Norm G. 

Maybe you are looking for

  • Can no longer play movies via home sharing on Apple TV 2

    I'm having trouble sharing movies via iTunes through home sharing.  Everything I have is Mac, a 2008 iMac, Airport Extreme, (2) Apple TV 2's, and a Macbook Pro.  Everything was fine with this entire setup with all of the movies I've ripped (using the

  • My iMac HD seems to be shrinking...

    I am using an iMac intel chip 17inch with 2 gig ram running OS X 10.4.11 I've noticed that the HD on my iMac seems to be getting smaller and smaller... Currently, I only have 66 gig of HD space yet two weeks ago, had almost 100 gig. Haven't created a

  • Flowable form not flowing to second page - flowing to top of first page

    The content on my Dynamic flowable form flows to the top of my initial, first page, instead of the second page. I have created a form where the subforms are set to flowed, flow direction is either Top to Bottom or Western Text and the "Allow page bre

  • Image deletion won't display in browser

    Hey everyone, simplly put I am displaying a picture I have created to the user, after it is displayed I wish to delete it from my drive, the only problem is that the image is deleted before it is displayed, i want it the other way round. I have creat

  • Refusing to trash events and error codes

    Trying to move an event to trash and got this message: This file could not be moved: /Users/johngraham/Movies/iMovie Events.localized/THE SABINA REPORT* ( Error code: -43 ) Any ideas? What is error code -43? Is there a composite list of errors?